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.
 
Back
Top