Description of Tracer Code Preprocessor Options
Preprocessor options are turned on in the rundeck by adding:
#define {optionName} in the section delineated by the lines "Preprocessor Options" and "End Preprocessor Options". The following describes the options available pertaining to tracer code:
- TRACERS_ON = general switch to turn on tracer code
- TRACERS_WATER = allow tracers to interact with water (for example, wet deposition, cloud interaction, or tracers which are themselves water).
- TRACERS_DUST = include dust tracers
- TRACERS_DUST_Silt4 = include 4th silt size class of dust
- TRACERS_DRYDEP = tracers may undergo dry deposition (the default scheme)
- TRDIAG_WETDEPO = provide more than the default wet deposition diagnostics
- NO_HDIURN = exclude hdiurn diagnostics
- TRACERS_SPECIAL_Shindell = turn on a set of mostly trace-gas chemistry tracers, based on the work of Drew Shindell.
- SHINDELL_STRAT_CHEM = when added to TRACERS_SPECIAL_Shindell, chemistry is throughout the troposphere + stratosphere (highly recommended when TRACERS_SPECIAL_Shindell is on)
- RAD_O3_GCM_HRES = Allows use of radiation code offline ozone input at the GCM's horizontal resolution, rather than a fixed 4 deg x 5 deg resolution. To be used with object module RAD_native_O3. For example, if 2x2.5 horizontal resolution is employed, one would use radiation code input files of the form listed in templates/O3_2010_144x90_input_files rather than templates/O3_2005_input_files.
- AUXILIARY_OX_RADF = The ozone radiative forcing diagnostic is the difference between the radiation code called with the model's "in-use" ozone column and a call with a reference ozone column. The "in-use" ozone may be tracer ozone (chemically interactive) or an offline prescription. Ocassionally, it is useful to e.g. have the "in-use" ozone be climatological but to also output a diagnostic of what the radiation code would have calculated if the tracer had been used. Or the other way around. One can use (carefully) AUXILIARY_OX_RADF for this kind of thing.
- TRACERS_TERP = include terpenes tracers in gas-phase chemistry. Requires TRACERS_SPECIAL_Shindell.
- BIOGENIC_EMISSIONS = turn on climate-sensitive isoprene emissions. Rremember to remove the prescribed Isprene source from the rundeck, if it exists.
- TRACERS_AEROSOLS_Koch = turn on a set of aerosol and aerosol-related tracers, based on the work of Dorothy Koch. Tracers enabled are sulfate, organic aerosols, black carbon and sea-salt. When TRACERS_AEROSOLS_SOA is not enabled, SOA are included as a yield from terpenes emissions; otherwise semi-volatile SOA are being used, as described by TRACERS_AEROSOLS_SOA.
- SULF_ONLY_AEROSOLS = when used with TRACERS_AEROSOLS_Koch, it only enables sulfate aerosols
- TRACERS_AEROSOLS_SOA = include Secondary Organic Aerosols tracers/chemistry. Needs to be enabled with TRACERS_SPECIAL_Shindell and TRACERS_AEROSOLS_Koch.
- SOA_DIAGS = enable many SOA diagnostics, useful for debugging
- TRACERS_NITRATE = include nitrate and ammonium aerosol, using EQSAM
- TRACERS_HETCHEM = include heterogeneous nitrate and sulfate formation on dust
- BC_ALB = include tracer black carbon affects on snow albedo
- CLD_AER_CDNC = include aerosol-cloud interactions _______________
- BLK_2MOM = ____________________________
- WATER_MISC_GRND_CH4_SRC = when CH4 (methane) tracer is in use, and its emissions sources are active (e.g. rundeck parameter use_rad_ch4=0), this option adds lake, ocean, and misc. ground sources. One must include the emissions file: CH4gsfMGOLjal_blank_2x2.5_h.
- CALCULATE_FLAMMABILITY = activate code to determine flammability of surface vegetation. In AR5 era code, this is based on fixed vegetation density from the VEG_DENSE file, surface air temperature, 30-day running average precipitation, near-surface relative humidity and the model's vegetation cover fractions.
- DYNAMIC_BIOMASS_BURNING = when CALCULATE_FLAMMABILITY is in use, this turns on flammability-based biomass burning emissions. Please remember to turn off any prescribed biomass burning for affected tracers (unlist their files and remove their corresponding *_nBBsources rundeck parameters). Note that this source will mix throughout the PBL and thus show up as a 3D source.
- CALCULATE_LIGHTNING = A lightning flash rate calculation is done when TRACERS_SPECIAL_Shindell is turned on. This option allows the calculation to be done otherwise (for exmple in runs with no tracers).
- SHINDELL_STRAT_EXTRA = turns on additional diagnistic tracers for Shindell chemistry (recommended in conjuction with HTAP_LIKE_DIAGS and ACCMIP_LIKE_DIAGS options). Specific things you will get with this option:
- Tracer GLT for "Generic Linear Tracer" is added to the tracers complement to assist with age-of-air/circulation calculations. Its initial concetration starts at 1 ppbv everywhere. Its lowest model level concentration is overwritten each time step to a value that increases by 1% per year. Thus the difference in concetration of the tracer compared to a reference point can give a spatial estimate of age-of-air. Due to the different ways that a simulation can be started (e.g. ISTART settings) one must take care to check that initial conditions indeed start at 1 ppbv (if starting a new simulation) or continue their values from parent simulation (if your age-of-air calculations will span the simulations.) This can normally be achieved by proper setting of itime_tr0( ) parameters in the rundeck, or in more complicated setups by altering this line of code:
new_mr = GLTic * (1.d0 +(Itime-ItimeI-itime_tr0(n_GLT))*DTsrc*by_s_in_yr*1.d-2) !pppv
in subroutine overwrite_GLT.
- if ACCMIP_LIKE_DIAGS is also turned on, tracer codirect is added. This is an idealized carbon monoxide-like tracer that starts at zero concentration, has emissions from a rundeck file at the surface, and a single loss via a 50-day decay time, functionally identical to radioactive decay in the model.
- if ACCMIP_LIKE_DIAGS is also turned on, a stratospheric ozone diagnostics tracer is added (stratOx). This is non-functional in this model version but code was left in in case a fix was easily implementable. So no further details are given here. One consequence is a model stop in RAD_DRV.f when rundeck parameter clim_interact_chem is .le. 0. (This model stop can be safely commented-out if one is not going to use the stratospheric ozone radiative forcing diagnostic anyway.)
- HTAP_LIKE_DIAGS = adds several diagnostics for Hemispheric Transport of Air Pollution project (recommended in conjuction with SHINDELL_STRAT_EXTRA and ACCMIP_LIKE_DIAGS options). Specific things you will get with this option:
- adds GridH diagnostic estimate of grid box geometric thickness
- the OH concentration diagnostic OH_con in molecules/cm3 units is replaced by a diagnostic OH_vmr in volume mixing ratio units.
- diagnostics are added for CO production and destruction rates and CH4 destruction rate. Ox production and destruction rates are also added, but are not very useful as they include fast (photochemical) interconversions within odd oxygen that do not yield a net ozone change. Hence the difference (prod-loss) is consistent with conventional definitions, but the separate terms are very large.
- The Air tracer is added.
- ACCMIP_LIKE_DIAGS = adds many diagnostics as defined by the Atmospheric Chemistry and Climate Model Intercomparison project (recommended when using TRACERS_SPECIAL_Shindell. Needs SHINDELL_STRAT_EXTRA and HTAP_LIKE_DIAGS). Specific things you will get from this option:
- shortwave and longwave top of the atmosphere (TOA) diagnostics are added for radiative forcing of the greenhouse gases CH4, N2O, CFC11 and CFC12
- a diagnostic is added estimating the part of ozone dry deposition that is via stomata
- adds working codirect and non-functional stratOx tracers. See SHINDELL_STRAT_EXTRA above.
- adds 3 dimensional diagnostics for ozone production from HO2+NO, CH3O2+NO, RO2+NO and loss from OH, HO2, and Alkenes (individually), O1D production from ozone, and OH production from O1D+H2O. These need to be treated with care -- see note about ozone production/loss terms under HTAP_LIKE_DIAGS above.
- adds 3 dimensional diagnostics for NOx production from lightning (2 dimensional diagnostic is always available), and NO and NO2 mixing ratios (as these are not tracers like NOx).
- when TRACERS_AEROSOLS_Koch is defined, adds 3 dimensional diagnostics of SO4 aqueous and gas phase chemical sources
- please note that you must have rundeck parameter rad_forc_lev=0 to choose TOA radiative forcing diagnostics for aerosols. There is a online check for this.
- TES_LIKE_DIAGS = for some sub-daily diagnostics (SUBDD) that output on fixed pressure levels, turning this on changes (and increases the number of) those target levels for comparison with satellite measurements. Namely: T, Q, ozone, NOx, NO2, and CO. Instead of being placed in files with the pressures in the filenames, these are written to multi-level files with "TES" in the filename.
- INTERACTIVE_WETLANDS_CH4 = turns on climate-interactive methane wetland source (for use with TRACERS_SPECIAL_Shindell)
- GFED_3D_BIOMASS = turns on special code for IIASA AR4 GFED biomass burning. This should still work if you list the correct emissions files, but it might be more logical to use updated GFED emissions files with the normal tracer emissions scheme.
Other ones listed in 2010 in ../cppConditionals.txt that seem tracer-related:
NO_WASHOUT_IN_CLOUDS
PS_BVOC
SKIP_TRACERS_RAD
SKIP_TRACER_DIAGS
TRACERS_AGE_OCEAN
TRACERS_AMP
TRACERS_AMP_M1
TRACERS_AMP_M2
TRACERS_AMP_M3
TRACERS_AMP_M4
TRACERS_AMP_M5
TRACERS_AMP_M6
TRACERS_AMP_M7
TRACERS_AMP_M8
TRACERS_ATM_ONLY
TRACERS_Alkalinity
TRACERS_COSMO
TRACERS_GASEXCH_land
TRACERS_GASEXCH_land_CO2
TRACERS_GASEXCH_ocean
TRACERS_GASEXCH_ocean_CFC
TRACERS_GASEXCH_ocean_CO2
TRACERS_HYCOM_Ventilation
TRACERS_MINERALS
TRACERS_OCEAN
TRACERS_OCEAN_INDEP
TRACERS_OCEAN_WATER_MASSES
TRACERS_OM_SP = Obsolete; I doubt it even works, eliminated from the development branch
TRACERS_OceanBiology
TRACERS_QUARZHEM
TRACERS_RADON
TRACERS_SPECIAL_Lerner
TRACERS_SPECIAL_O18
TRACERS_WATER_OLD
TRAC_ADV_CPU