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

Error in creating surface datasets in CLM4.5

Hi,Im trying to generate surface data files for res 1.9x2.5 with crop on for years 1850 to 2005. Im using the following command: ./mksurfdata.pl -crop -years 1850-2000 -res 1.9x2.5. On using this im getting the following error:** trouble getting vegtyp file with: ./../../../bld/queryDefaultNamelist.pl -res 1.9x2.5 -csmdata /scratch/cas/phd/asz122525/inputdata silent -justvalue -phys clm4_0 -onlyfiles  -res 0.5x0.5 -options sim_year=1850,crop='on' -var mksrf_fvegtyp -namelist clmexp Im not sure why Im getting this error. Im not using hirespft. Also i tried th same in clm4.0 with -irrig on but got the same error.
Please let me know how to resolve this Thank you in advance! Roshni MathurIIT, Delhi
 

sacks

Bill Sacks
CSEG and Liaisons
Staff member
Transient crop runs, like the one you're trying to do here, are not supported for clm4 or clm4.5. There is quite a lot of software infrastructure required for transient crop runs, so it will not be possible for you to do this with the current release code base. They will be supported in CLM5, which will be released in the next public release of CESM.
 
Hi Ashutosh,Yes I have been running the model with irrigation on. In CLM4.5 irrigation needs to be on if crop is on. Let me know what issues you are getting and if I could be of any help. Roshni MathurIIT-Delhi
 
Hi Roshni,Thanks for the reply. I am editing env_run.xml file and changing CLM_BLDNML_OPTS value as "irrig .true."and then going to user_nl_clm and puttingirrig = .true.fsurdata = '/mnt/lustre/cas2/caspande/ipd/lnd/clm2/surfdata/surfdata_0.23x0.31_simyr2000_c100406.nc'I did not create this dataset though. It is the default one from CESM repository.Perl script threw some error so I tried using the default global dataset as it has PFT values across the globe so I believe it should work.But after running ./cesm_setup I got error as ERROR: unrecognized arguments: irrig .true.Note: I used ICLM45CNCROP compset for the above experiment. Also I tried running the similar procedure for ICN compset (CLM4.0 physics) there the model was built successfully using the above method. As of now, it is in the queue at the system so I will get to know in a day or two if the irrigation scheme is working or not. So could you please tell me how did you switch on the irrigation in your case? I may be missing some links somewhere.If possible please attach (or mail at ashutosh348@gmail.com) snapshot of the namelist or any other relevant file changes required. Thanks. 
 
Hi Ashutosh,Firstly, In CLM4 you do not have to enter irrigation option in usr_nl_clm. This is only for CLM4.5. By changing env_run.xml file, irrigation with be switched on. In CLM4.5, the correct option is irrigate = .true. and to provide surface datasets its fsurdat = " " in usr_nl_clm. Please check spellings.  What resolution are you using?Let me know if your run is successful. Roshni MathurIIT-Delhi 
 
Hi Roshni,So the simulation ran successfully with CLM 4.0 :) I am getting QIRRIG values in the output.I am yet to try the CLM4.5 physics but as of now it should be good enough for me.Thanks again for the help!  
 
Top