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

running CLM with coupler history output from CAM directly without modifying files

aswann2

Abigail Swann
Member
I'm using CESM2.1.5 and I am trying to save and then use coupler history output. TLDR is there a way to directly use the saved coupler history files as input files without having to modify the files? Where is that setting?

To generate coupler history output I added these lines to my clm namelist in an F-case:
Code:
histaux_a2x3hr = .true.
histaux_a2x3hrp = .true.
histaux_a2x1hri = .true.
histaux_a2x1hr = .true.
histaux_a2x24hr = .true.
histaux_a2x = .true.

I then created an I-case with these xml changes
Code:
# Set DATM forcing to be from CESM output
./xmlchange DATM_MODE="CPLHIST"
./xmlchange DATM_PRESAERO="cplhist"
./xmlchange DATM_TOPO="cplhist"
./xmlchange DATM_CPLHIST_DIR="/glade/scratch/aswann/archive/f.e21.F1850.f09_f09.FLAT10ctrl-esm.001.leafcn_high.bgc_spinup/cpl/hist/"
./xmlchange DATM_CPLHIST_CASE="f.e21.F1850.f09_f09.FLAT10ctrl-esm.001.leafcn_high.bgc_spinup"

The cpl hist files that were generated have filenames of YYYY-MM-DD
But the I-case is searching for cpl files with YYYY-MM

I have looked at the instructions for running with coupler history output and it doesn't mention anything about having to change settings for either the writing or reading time interval of coupler files. The workaround we have been using in my group is to concatenate all of the DD files into one file per month, and then also have to add some variables to the first file.

My question: is there a setting somewhere that I can change so that the coupler history output that gets written can be directly read into an I-case without having to modify the netcdf files?
 

oleson

Keith Oleson
CSEG and Liaisons
Staff member
I'm not aware of any settings that will control the time interval of coupler history files. I've always had to post-process them using a script as you are doing (that I obtained from Keith Lindsay). The new version of the model puts out coupler history files that don't have to be post-processed. They can be directly read in. But, sorry, that doesn't help you for cesm2.1.5.
 

aswann2

Abigail Swann
Member
Thanks for the response Keith @oleson ! At least I'm not missing something obvious! Glad to hear that this got fixed in later versions.
 
Top