Child pages
  • Changing Output: Frequency, Species and Regions

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added aircraft track section

...

Section


Column
width80%

Adding the following species to user_nl_cam will write out files with a h1 suffix.

Code Block
languagetext
&cam_history_nl
fincl2              = 'PS','OH','H2O','H2O2','HO2','O3','NO3','NO','NO2','CO','ISOP','PHIS','CH2O','T','PAN','PM25','PDELDRY','AODDUST','AODVISdn','Z3'

The temporal resolution of the output files is also specified via the user_nl_cam:

Code Block
languagetext
avgflag_pertape     = 'A','A'
mfilt               = 1,4
nhtfrq              = 0,-6
/



Column
width20%


Tip
titleTip for New Users:

A list of all possible history file variables can be found here: https://www.cesm.ucar.edu/models/cesm1.0cesm2/camatmosphere/docs/ug5_0ug6/hist_flds_fv_cam5cam4_waccm.html



Where columns correspond to finclX in order. The namelist variables define:

...

Note, if your simulation ends within a month, the partial monthly average is stored in the $CASENAME.cam.rh0.* file, so you can continue the simulation from that date and get the monthly average when the simulation completes that month.

Saving output along aircraft or satellite tracks

It is possible to save output along a time-varying track to match aircraft or satellite observations using the 'sathist' namelist variables.  The user must create a netcdf file with the time, latitude and longitude of the desired track and the model profile is saved for the closest locations for the closest timestep(s).  If sathist_ntimestep and sathist_nclosest are set to 1 only the closest profile in time and space will be saved.  If values greater than 1 are used, the user can interpolate the output to the actual observation location.  As many variables as desired can be specified in the 'fincl'; when the file gets too large, a new file will be automatically started.  NOTE: the aircraft output file is NOT automatically copied to your 'archive' directory at the completion of the run. 

Code Block
languagetext
 sathist_track_infile = '/glade/p/acom/MUSICA/flight_tracks/aircraft_profilelist_20180724_20190905_wecan-firexaq_togamrg_c20210316.nc'
 sathist_ntimestep = 2
 sathist_nclosest = 4
 sathist_hfilename_spec = '%c.cam.aircraft_togamrg_4closest2tstep.%y-%m-%d-%s.nc'
 sathist_fincl = 'PS', 'PMID', 'Z3', 'M_dens', 'T', 'U', 'V', 'Q', 'H2O', 'RELHUM', 
                 'O3', 'O3S', 'NO', 'NO2', 'CO', 'O3_Prod','O3_Loss'


Saving output for a given local time for comparison to satellite observations

...