Hi Dom,
I need your help again. I created the intermediate files via my code and then using ungrib as:
SST:2012-07-31_12
SST:2012-08-01_12
...
...
for every 24 hr using daily SST and ICEC mean values as well
as LANDMASK from the statis lsmask file. I can read the content of the
intermediate file using "rd_intermediate.exe" fine, which is:
================================================
FIELD = sst
UNITS = degree C DESCRIPTION = Sea surface temperature
DATE = 2012-07-31_12:00:00 FCST = 213.000000
SOURCE = NOAA
LEVEL = 201300.000000
I,J DIMS = 1440, 720
IPROJ = 0 PROJECTION = LAT LON
REF_X, REF_Y = 1.000000, 1.000000
REF_LAT, REF_LON = -89.750000, -179.750000
DLAT, DLON = 0.250000, 0.250000
EARTH_RADIUS = 6367.470215
DATA(1,1)=-999.000000
================================================
FIELD = xice
UNITS = fraction DESCRIPTION = ice cover
DATE = 2012-07-31_12:00:00 FCST = 213.000000
SOURCE = NOAA
LEVEL = 201300.000000
I,J DIMS = 1440, 720
IPROJ = 0 PROJECTION = LAT LON
REF_X, REF_Y = 1.000000, 1.000000
REF_LAT, REF_LON = -89.750000, -179.750000
DLAT, DLON = 0.250000, 0.250000
EARTH_RADIUS = 6367.470215
DATA(1,1)=-999.000000
================================================
FIELD = landmask
UNITS = DESCRIPTION = land cover
DATE = 2012-07-31_12:00:00 FCST = 213.000000
SOURCE = NOAA
LEVEL = 201300.000000
I,J DIMS = 1440, 720
IPROJ = 0 PROJECTION = LAT LON
REF_X, REF_Y = 1.000000, 1.000000
REF_LAT, REF_LON = -89.750000, -179.750000
DLAT, DLON = 0.250000, 0.250000
EARTH_RADIUS = 6367.470215
DATA(1,1)=0.000000
SUCCESSFUL COMPLETION OF PROGRAM RD_INTERMEDIATE
FORTRAN STOP
====================================
Then, I set data_sources in "namelist.init_atmosphere" file as:
&data_sources
config_geog_data_path = '/aa/kgurer/WPS_GEOG/'
config_met_prefix = 'FILE'
config_sfc_prefix = 'SST'
config_fg_interval = 86400
config_landuse_data = 'USGS'
config_use_spechumd = true
/
Thus, I have:
FILE:2012-07-31_12
SST:2012-07-31_12
...
...
in my run directory. Yet, when I try to create surface initialization file, I get "landmask field is zero" error:
*******************************************************************************
The global maximum of the 'landmask' field is zero, which suggests that this
field was not in the input file. A 'landmask' field is needed to properly
interpolate surface fields.
Please rerun after specifying a static or initial conditions file as input in
the 'streams.init_atmosphere' file.
*******************************************************************************
I looked at the "mpas_init_atm_surface.F" file where I think it is looking for the variable name (I assume capitalization being important) within the intermediate file as "landmask", but that doesn't help. As the error states, I tried to include intermediate input file into streams.init_atmosphere, but apparently I can only put one input file, and that has to be the gridded mesh file at the moment. I either put these variables into that file, or do something else. Am I setting streams.init_atmosphere and/or namelist.init_atmosphere file wrong? I attached both files and one sample intermediate file (gzipped) to this message for your information. I appreciate if you could help me on that. Thank you.
Kemal.