should time= 0 in surfdata_0001x0001.nc ?

While I managed to get CLM3.5 to run offline for a global run (1 day), I still get the following error when i run it in regional mode using grid and surface datasets created using the tools.

---------------------------
(GETFIL): attempting to find local file surfdata_0001x0001.nc
(GETFIL): using /home/pettijoc/clm3.5/tools/mksurfdata/surfdata_0001x0001.nc
netcdf error from readMonthlyVegetation
netcdf strerror = NetCDF: Index exceeds dimension bound
ENDRUN: called without a message string
MPI_Abort: error code = 1
--------------------------------

I have an idea what may be causing my problem, and could really use some feedback. As shown in the below excerpt from my 'surfdata_0001x0001.nc' file, the 'time' variable for the monthlyvegetation files is = 0. Should this be = 0? Is this somehow related to the dynamic vegetation mode (I do not define DGVM in my run-pc.csh)? Thanks so much for any help! -c

---- (the following from 'surfdata_0001x0001.nc', generated using the mksurfdata tool):

float MONTHLY_LAI(time=0, lsmpft=17, lsmlat=1, lsmlon=1);
:long_name = "monthly leaf area index";
:units = "unitless";
float MONTHLY_SAI(time=0, lsmpft=17, lsmlat=1, lsmlon=1);
:long_name = "monthly stem area index";
:units = "unitless";
float MONTHLY_HEIGHT_TOP(time=0, lsmpft=17, lsmlat=1, lsmlon=1);
:long_name = "monthly height top";
:units = "meters";
float MONTHLY_HEIGHT_BOT(time=0, lsmpft=17, lsmlat=1, lsmlon=1);
:long_name = "monthly height bottom";
:units = "meters";
int time(time=0);
:long_name = "month";
:units = "month";
:_CoordinateAxisType = "Time";
 

slevis

Moderator
Staff member
Your suspicion is correct that time should not equal 0 in the surfdata file. You should be able to confirm this by looking in a surfdata file that works.

This is not related to the DGVM. The variables that have a time dimension in surfdata contain data for every month of the year.

Sam Levis


coritosu said:
While I managed to get CLM3.5 to run offline for a global run (1 day), I still get the following error when i run it in regional mode using grid and surface datasets created using the tools.

---------------------------
(GETFIL): attempting to find local file surfdata_0001x0001.nc
(GETFIL): using /home/pettijoc/clm3.5/tools/mksurfdata/surfdata_0001x0001.nc
netcdf error from readMonthlyVegetation
netcdf strerror = NetCDF: Index exceeds dimension bound
ENDRUN: called without a message string
MPI_Abort: error code = 1
--------------------------------

I have an idea what may be causing my problem, and could really use some feedback. As shown in the below excerpt from my 'surfdata_0001x0001.nc' file, the 'time' variable for the monthlyvegetation files is = 0. Should this be = 0? Is this somehow related to the dynamic vegetation mode (I do not define DGVM in my run-pc.csh)? Thanks so much for any help! -c

---- (the following from 'surfdata_0001x0001.nc', generated using the mksurfdata tool):

float MONTHLY_LAI(time=0, lsmpft=17, lsmlat=1, lsmlon=1);
:long_name = "monthly leaf area index";
:units = "unitless";
float MONTHLY_SAI(time=0, lsmpft=17, lsmlat=1, lsmlon=1);
:long_name = "monthly stem area index";
:units = "unitless";
float MONTHLY_HEIGHT_TOP(time=0, lsmpft=17, lsmlat=1, lsmlon=1);
:long_name = "monthly height top";
:units = "meters";
float MONTHLY_HEIGHT_BOT(time=0, lsmpft=17, lsmlat=1, lsmlon=1);
:long_name = "monthly height bottom";
:units = "meters";
int time(time=0);
:long_name = "month";
:units = "month";
:_CoordinateAxisType = "Time";
 
Back
Top