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

NetCDF: Invalid dimension ID or name

yinjiyuan

Jiyuan Yin
Member
Hi, everyone! I am running CESM 2.1.3 with F2000climo compset. I set the surface and initial data using the following code:
echo "fsurdat = ${CESM_ROOT}/input_data/lnd/clm2/surfdata_map/release-clm5.0.18/surfdata_0.9x1.25_hist_16pfts_Irrig_CMIP6_simyr2000_c190214.nc" >> user_nl_clm
echo "fsurdat = ${CESM_ROOT}/input_data/lnd/clm2/initdata/clmi.BCN.2000-01-01_0.9x1.25_gx1v6_simyr2000_c100303.nc" >> user_nl_clm
But there is a mistake as follow:
pio_support::pio_die:: myrank= -1 : ERROR: nf_mod.F90: 1288 :
NetCDF: Invalid dimension ID or name
Do you know how to solve it? Thank you!

I attached the "cesm.log.6096930.240815-232554" below.
 

katec

CSEG and Liaisons
Staff member
Hi, typically when we see that error it means the model is looking for a dimension or metadata on the file that doesn't exist. It looks like you have set the variable "fsurdat" to two different files. The model will overwrite the first one with the second one. And the second one's name doesn't look like a surface data file. So I think you may have a typo here where some other filename or variable should be set to "${CESM_ROOT}/input_data/lnd/clm2/initdata/clmi.BCN.2000-01-01_0.9x1.25_gx1v6_simyr2000_c100303.nc" NOT fsurdat.
 
Vote Upvote 0 Downvote
Top