CESM_postprocessing icon indicating copy to clipboard operation
CESM_postprocessing copied to clipboard

Timeseries files for both MOSART and RTM are being generated

Open olyson opened this issue 6 years ago • 0 comments

Both MOSART and RTM (the runoff models) timeseries files are being generated for CMIP6 cases despite the fact that only MOSART was run in the simulation.

For example, I see only MOSART h0 files here:

/glade/scratch/cmip6/archive/b.e21.BSSP585cmip6.f09_g17.CMIP6-SSP5-8.5.001/rof/hist

But I see both RTM and MOSART files in the corresponding timeseries directory:

/glade/collections/cdg/timeseries-cmip6/b.e21.BSSP585cmip6.f09_g17.CMIP6-SSP5-8.5.001/rof/proc/tseries/month_1

The "rtm" files seem to be duplicates of the "mosart" files.

The hypothesis is that this is happening because both mosart and rtm have entries in the env_timeseries.xml file, and generally TIMESERIES_GENERATE_ALL = TRUE.

I did some testing to confirm this:

With both mosart and rtm in env_timeseries.xml and TIMESERIES_GENERATE_ALL = TRUE, both types of files were generated.

With both mosart and rtm in env_timeseries.xml and TIMESERIES_GENERATE_ALL = FALSE, only mosart files were generated.

With only mosart in env_timeseries.xml and TIMESERIES_GENERATE_ALL = TRUE, only mosart files were generated.

So, one proposed fix is to remove rtm from the env_timeseries.xml template. Presumably, if rtm were run, changing mosart to rtm in env_timeseries.xml would generated only rtm files. I don't have any rtm files around to test this however.

olyson avatar Aug 23 '19 14:08 olyson