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

Failed: Example of using CLM_USRDAT_NAME to run a simulation using user datasets for a specific region over Alaska

I'm just trying run the example of using CLM_USRDAT_NAME to run a simulation using user datasets for a specific region over Alaska.I did it step by step according to the sample :> cd scripts
> ./create_newcase -case my_userdataset_test -res CLM_USRDAT -compset I
-mach yellowstone_intel
> cd my_userdataset_test/
> set GRIDNAME=13x12pt_f19_alaskaUSA
> set LMASK=gx1v6
> ./xmlchange CLM_USRDAT_NAME=$GRIDNAME,CLM_BLDNML_OPTS="-mask $LMASK"
> ./xmlchange ATM_DOMAIN_FILE=domain.lnd.${GRIDNAME}_$LMASK.nc
> ./xmlchange LND_DOMAIN_FILE=domain.lnd.${GRIDNAME}_$LMASK.nc
> ./cesm_setup
The surface data exists in my $CSMDATA: surfdata_13x12pt_f19_alaskaUSA_simyr2000.ncBut, after I execute ./cesm_stup, a erro  occured : infile is /home/yangkai/cesm1_2_0/scripts/my_userdataset_test/Buildconf/cplconf/cesm_namelist
CLM configure done.
CLM build-namelist:: setting clm_usr_name -- but did NOT find any user datasets: 13x12pt_f19_alaskaUSA
ERROR: clm.buildnml.csh failed
ERROR: ~/cesm1_2_0/scripts/my_userdataset_test/preview_namelists failed: 25344I'm confused with this problem.I hope someone could help me to solve this problem.Thanks
 

erik

Erik Kluzek
CSEG and Liaisons
Staff member
Hi Kai I checked and found the issue is that the needed file was missing on yellowstone. It looks like the file is there, but it was in the "surfdata" directory instead of the "surfdata_map" directory. On yellowstone you wouldn't have had permissions to be able to "svn export" the file from the repository either. The "linkdirtree" just does a softlink from the main CESM "inputdata" directory to your own directory, so you'd have to create the file on your own. The "getregional" script wasn't working or available in that version, so there wasn't a way for you to create the file yourself.I then ran the example using cesm1.2.2 and did find that the file available on SVN:inputdata was NOT correct. So I've recreated a file that DOES work. It is now available in the inputdata repository and on yellowstone. The file pointed to by cesm1_2_2 is:   $DIN_LOC_ROOT/lnd/clm2/surfdata_map/surfdata_13x12pt_f19_alaskaUSA_simyr2000_cesm1_2_x_clm4_5.nc a file with the same contents, but different name is $DIN_LOC_ROOT/lnd/clm2/surfdata_map/surfdata_13x12pt_f19_alaskaUSA_simyr2000_c150331.nc THE FILE IN THE INPUTDATA REPOSITORY CALLED  $DIN_LOC_ROOT//lnd/clm2/surfdata_map/surfdata_13x12pt_f19_alaskaUSA_simyr2000.nc DOES NOT WORK FOR CLM4.5! DO NOT USE IT.(However, the file with that name on yellowstone is just a softlink to the correct file). Thank you for pointing out this issue. Let us know if you have further trouble. I will adjust the instructions in the CLM User's Guide accordingly. Thank you for pointing out this problem.  
 
Top