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

A guide to removing WACCM's default history outputs

santos

Member
By default, WACCM and CAM-CHEM cases generate a large number of output fields in the various history files. To add extra output, while keeping all defaults, the process is as follows:

1) Create a case and run cesm_setup.
2) Copy the values of the "fincl" variables to user_nl_cam.
3) Add additional fields to the fincl variables.

However, removing the default variables is not so simple. In regular CAM cases, you can remove most output by simply setting "history_amwg = .false." in the namelist. However, this doesn't work very well for WACCM or CAM-CHEM, since those output a large number of fields that are not part of the AMWG set. There are two options here:

1) Use the namelist option "empty_htapes = .true." to turn off all defaults. In this case, nothing will be output unless it is in fincl.

2) Use "fexcl" to remove specific fields from specific files (for instance, "fexcl1" removes fields from the "h0" history file, just as "fincl1" adds fields to h0). The format of fexcl is the same as the format of fincl. In this case, you will still get all the default fields except the ones that you specifically removed with fexcl.

Regardless of which option you choose, you also have to edit the fincl options in order to remove any variables that are added there, as well as to add any inputs that you do want. The "fincl" options override every other option, so if a value is in both fincl1 and fexcl1, it will always be output. Some fields may be in fincl and added by default even when fincl is empty, so in order to remove them, you have to edit both fincl and fexcl, or both fincl and empty_htapes.

In future versions of CESM, we will be revisiting this system to simplify it a bit. However, the above information is valid for all CESM releases up through CESM 1.2.2.
 
Dear,I am running WACCM in CESM 1_2_1 and trying to turn off CLM outputs. I used the same method to remove history variables in CAM and CLM by modifying "user_nl_cam" and "user_nl_clm" files.I added "empty_htapes = .true." and "hist_empty_htapes = .true.", trying to trun off all defaults, and then added fincl to add variables I need. But it didn't work in WACCM. Do you know why? Thanks,Kai
 
Dear,I am running WACCM in CESM 1_2_1 and trying to turn off CLM outputs. I used the same method to remove history variables in CAM and CLM by modifying "user_nl_cam" and "user_nl_clm" files.I added "empty_htapes = .true." and "hist_empty_htapes = .true.", trying to trun off all defaults, and then added fincl to add variables I need. But it didn't work in WACCM. Do you know why? Thanks,Kai
 

mmills

CSEG and Liaisons
Staff member
Some compsets add output to the history files via a namelist "use case". In that case, eliminating the history tapes requires adding fincl variables to your user_nl_cam in which you set the list equal to single quotes with a blank space between, i.e.:fincl2 = ' 'fincl3 = ' 'fincl4 = ' 'fincl5 = ' 'fincl6 = ' '
 

mmills

CSEG and Liaisons
Staff member
Some compsets add output to the history files via a namelist "use case". In that case, eliminating the history tapes requires adding fincl variables to your user_nl_cam in which you set the list equal to single quotes with a blank space between, i.e.:fincl2 = ' 'fincl3 = ' 'fincl4 = ' 'fincl5 = ' 'fincl6 = ' '
 
Top