Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

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
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";
 
Top