Madronich

  • MadronichCloudGrid model gaschem madronich

    The cloud-refined radiative-transfer grid of WRF-Chem's Madronich photolysis, on a FIXED grid padded with zero-thickness layers (chem/module_phot_mad.F:2205-2320, WRF v4.8.0).

  • MadronichColumnSetup model gaschem madronich

    Stage 1 of WRF-Chem's Madronich photolysis (phot_opt = 1): everything madronich1_driver and the head of photolysis_mad do to turn the model column into the column the radiative transfer runs on (chem/module_phot_mad.F:1526-1563 and :1798-1893, WRF v4.8.0).

  • MadronichJValues model gaschem madronich

    Stage 5 of WRF-Chem's Madronich photolysis (phot_opt = 1): the wavelength integral that turns an actinic flux into the 21 photolysis frequencies the RADM2 mechanism reads (chem/module_phot_mad.F:1955-1970 and :1604-1624, WRF v4.8.0).

  • MadronichLayerColumns model gaschem madronich

    Stage 2 of WRF-Chem's Madronich photolysis (phot_opt = 1): the layer-mean quantities SUBROUTINE subgrid derives from the interface column (chem/module_phot_mad.F:2446-2510, WRF v4.8.0) -- the layer temperature, the air, ozone and aerosol columns, the cloud optical depth, and the O2 column above each layer mid-point that the Schumann-Runge parameterization runs on.

  • MadronichOpticalDepth model gaschem madronich

    Stage 4 of WRF-Chem's Madronich photolysis (phot_opt = 1): the per-bin layer optical properties SUBROUTINE optics builds, the delta-Eddington scaling and the pseudo-spherical slant-path geometry of SUBROUTINE sphers, and the direct beam that falls out of them (chem/module_phot_mad.F:2547-2649 and :3440-3595, WRF v4.8.0).

  • MadronichParameters model gaschem madronich

    Scheme constants of WRF-Chem's Madronich photolysis (phot_opt = 1, PHOTMAD), transcribed from chem/module_phot_mad.F of WRF v4.8.0. Only constants that the scheme itself defines or redefines live here; everything physical comes from lib/wrf_constants.esm. Three separate values of pi are in play on this code path and they are NOT interchangeable at the tolerance these tests use, so each is named for where it is spelled: pi_zenith is the literal 3.1415926535590 that SUBROUTINE calc_zenith assigns to its own local `pi` (module_phot_mad.F:2676) and uses for every degree-to-radian conversion inside the ephemeris; pi_driver is the 3.141592654 of chem/module_data_radm2.F:123, which is the `pi` in scope in madronich1_driver and therefore the one used for zenita = cos(zenith*pi/180.) (module_phot_mad.F:1497); WRF's own piconst (3.141592653589793, share/module_model_constants.F:72) is used by neither. The difference between pi_zenith and piconst is 4e-11 relative and between pi_driver and piconst 2e-10 relative, both below the 1e-5 single-precision tolerance of the tests here, but they are transcribed faithfully so that a future double-precision kernel reference still matches.

  • MadronichSolarGeometry model gaschem madronich

    Solar geometry of WRF-Chem's Madronich photolysis scheme (phot_opt = 1): SUBROUTINE calc_zenith (chem/module_phot_mad.F:2653-2759 of WRF v4.8.0) and the zenith post-processing of madronich1_driver (:1494-1499), which turns the zenith angle into the effective cosine `zenita` that photolysis_mad takes as its argument `a`.

  • MadronichSpectra model gaschem madronich

    Stage 3 of WRF-Chem's Madronich photolysis (phot_opt = 1): the temperature- and pressure-dependent absorption cross sections and quantum yields that SUBROUTINE subgrid builds on top of the static xs/xqy tables (chem/module_phot_mad.F:2326-2445 and :2519-2530, WRF v4.8.0).

  • MadronichTwoStream model gaschem madronich

    Stage 5 of WRF-Chem's Madronich photolysis (phot_opt = 1): SUBROUTINE ps2str, the pseudo-spherical delta-Eddington two-stream solve, and the tridiagonal system it is closed by (chem/module_phot_mad.F:2935-3435, WRF v4.8.0). This is the piece that actually SOLVES for the radiation field, and the piece the existing gaschem/fastjx component replaces with a lookup table.