ESCOMP / CDEPS

Community Data Models for Earth Prediction Systems
https://escomp.github.io/CDEPS/versions/master/html/index.html
20 stars 45 forks source link

ERA5 DATM forcing option is missing from config_component.xml, so hence does NOT work #247

Open ekluzek opened 1 year ago

ekluzek commented 1 year ago

Using the ERA5 option for DATM results in the following error, as shown from testing:

SMS.f10_f10_mg37.2000_DATM%ERA5_CLM45%SP_SICE_SOCN_MOSART_SGLC_SWAV.cheyenne_intel.clm-default

2023-09-25 13:49:55: CREATE_NEWCASE FAILED for test 'SMS.f10_f10_mg37.2000_DATM%ERA5_CLM45%SP_SICE_SOCN_MOSART_SGLC_SWAV.cheyenne_intel.clm-default'.
Command: /glade/work/erik/conda-envs/ctsm_pylib/bin/python3 /glade/work/erik/ctsm_worktrees/ctsm5.2.mksurfdata/cime/CIME/scripts/create_newcase.py --case /glade/work/erik/ctsm_worktrees/ctsm5.2.mksurfdata/cime/scripts/SMS.f10_f10_mg37.2000_DATM%ERA5_CLM45%SP_SICE_SOCN_MOSART_SGLC_SWAV.cheyenne_intel.clm-default.C.20230925_134954_ulhx7h --res f10_f10_mg37 --compset 2000_DATM%ERA5_CLM45%SP_SICE_SOCN_MOSART_SGLC_SWAV --test --machine cheyenne --compiler intel --project P93300041  --workflow default --srcroot /glade/work/erik/ctsm_worktrees/ctsm5.2.mksurfdata --user-mods-dir /glade/work/erik/ctsm_worktrees/ctsm5.2.mksurfdata/cime_config/testdefs/testmods_dirs/clm/default 
Output: Did not find an alias or longname compset match for 2000_DATM%ERA5_CLM45%SP_SICE_SOCN_MOSART_SGLC_SWAV 
Automatically adding SESP to compset
Compset forcing is 1972-2004
ERROR: No description found for comp_class atm matching compsetname 2000_DATM%ERA5_CLM45%SP_SICE_SOCN_MOSART_SGLC_SWAV_SESP in file /glade/work/erik/ctsm_worktrees/ctsm5.2.mksurfdata/components/cdeps/datm/cime_config/config_component.xml, expected match in ['DATM'] % ['QIA', 'WISOQIA', 'CRU', 'CRUv7', 'GSWP3v1', 'MOSARTTEST', 'NLDAS2', 'CPLHIST', '1PT', 'NYF', 'IAF', 'JRA', 'JRA-1p4-2018', 'JRA-RYF8485', 'JRA-RYF9091', 'JRA-RYF0304']

 ---------------------------------------------------

Other settings for ERA5 exist, so presumably just adding it to the list to the description should allow it to work.

uturuncoglu commented 1 year ago

@ekluzek I initially added it for UFS HAFS application and extensively used under UFS Weather Model but I think it is not well tested under CESM. There might be issue in the XML configuration files. Let me know if you need help from my side.