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

question in setting up atmospheric grid

Dear Sam:

Today I tried to use 1 deg x 1deg global atmospheric forcing data to drive clm3.5. I met this error when the model was attempting to set up atmospheric grid:

surfrd_get_latlon ERROR: ni or nj not set 0 0

Followed this message I found the ni and nj are the number of longitude points and latitude points and should be set in preproc.h as LSMLON and LSMLAT. I wonder how can I modify the csh file or the configure file to add LSMLON and LSMLAT?

Thanks!
 

slevis

Moderator
Staff member
I suggest that you take a look at the default atmosphere data provided with the clm. You should make the format of your 1x1 dataset look like the default one. Then the clm should be able to read it.

Sam
 
Thank you, Sam. I found that I used different variable attribute name (latitude and longitude instead of lat and lon) and did not define the edges of the atmosphere before. I changed that and it now works.
 
Top