Version: dev

NoahSoilVegParameters

SUBROUTINE REDPRM of phys/module_sf_noahlsm.F (WRF 4.8, sf_surface_physics = 2): the per-soil-type, per-vegetation-type and per-slope-type parameters Noah copies out of SOILPARM.TBL, VEGPARM.TBL and GENPARM.TBL for the grid cell it is about to run, plus the four quantities REDPRM derives from them (kdt, frzfact, frzx) and the four it selects by greenness (xlai, embrd, z0brd, alb). Each lookup is interp.linear on a constant table with a constant integer axis, the pattern anderson13_fuel_table.esm already uses: the category index lands exactly on an axis knot, so the interpolation returns the table entry unchanged, and a category outside the table clamps at the end rather than reading past it. TWO THINGS A CONSUMER MUST CHECK. (1) The vegetation table is the USGS 27-category one. WRF also ships a 20-category MODIS table (isurban = 13 instead of 1) with different rows, and the real-terrain reference run in data/eqwefic/gwdo_real uses THAT one, so this component must not be mounted for a MODIS run; the SOILPARM table is the same in both, which is why the soil half of this component is tested against seven soil types drawn from the real-terrain dumps and the vegetation half only against the idealized column. (2) The table values are the REAL32-WIDENED numbers WRF actually held, not the decimal text of the .TBL files: those tables are read into real32 arrays, so a real64 reference replay uses the widened single, and writing the decimal instead puts up to 2.3e-8 relative error into smcmax -- six times the 1e-9 tolerance these tests run at. THE BARE-SOIL OVERRIDE. REDPRM sets SHDFAC = 0 on the bare-soil category (VEGPARM.TBL's BARE, 19 for USGS, read here as par.bare like the other VEGPARM scalars) before SFLX selects xlai, embrd, z0brd and alb by greenness, so those four and every downstream user see shdfac_eff, not the driver's shdfac. The urban override REDPRM applies when vegtyp == isurban (smcmax 0.45, smcref 0.42, smcwlt 0.40, smcdry 0.40) is NOT transcribed, and neither is the fatal-error path for an out-of-range category; a consumer must not mount this on an urban cell.

.esm schema
2.0.0
Source
components/land_surface/noah/soil_veg_parameters.esm

Description

SUBROUTINE REDPRM of phys/module_sf_noahlsm.F (WRF 4.8, sf_surface_physics = 2): the per-soil-type, per-vegetation-type and per-slope-type parameters Noah copies out of SOILPARM.TBL, VEGPARM.TBL and GENPARM.TBL for the grid cell it is about to run, plus the four quantities REDPRM derives from them (kdt, frzfact, frzx) and the four it selects by greenness (xlai, embrd, z0brd, alb). Each lookup is interp.linear on a constant table with a constant integer axis, the pattern anderson13_fuel_table.esm already uses: the category index lands exactly on an axis knot, so the interpolation returns the table entry unchanged, and a category outside the table clamps at the end rather than reading past it. TWO THINGS A CONSUMER MUST CHECK. (1) The vegetation table is the USGS 27-category one. WRF also ships a 20-category MODIS table (isurban = 13 instead of 1) with different rows, and the real-terrain reference run in data/eqwefic/gwdo_real uses THAT one, so this component must not be mounted for a MODIS run; the SOILPARM table is the same in both, which is why the soil half of this component is tested against seven soil types drawn from the real-terrain dumps and the vegetation half only against the idealized column. (2) The table values are the REAL32-WIDENED numbers WRF actually held, not the decimal text of the .TBL files: those tables are read into real32 arrays, so a real64 reference replay uses the widened single, and writing the decimal instead puts up to 2.3e-8 relative error into smcmax – six times the 1e-9 tolerance these tests run at. THE BARE-SOIL OVERRIDE. REDPRM sets SHDFAC = 0 on the bare-soil category (VEGPARM.TBL’s BARE, 19 for USGS, read here as par.bare like the other VEGPARM scalars) before SFLX selects xlai, embrd, z0brd and alb by greenness, so those four and every downstream user see shdfac_eff, not the driver’s shdfac. The urban override REDPRM applies when vegtyp == isurban (smcmax 0.45, smcref 0.42, smcwlt 0.40, smcdry 0.40) is NOT transcribed, and neither is the fatal-error path for an out-of-range category; a consumer must not mount this on an urban cell.

Reference

  • Cosby, B. J., et al. (1984). A statistical exploration of the relationships of soil moisture characteristics to the physical properties of soils. Water Resour. Res., 20, 682-690.
  • Chen, F., and J. Dudhia (2001). Coupling an advanced land surface-hydrology model with the Penn State-NCAR MM5 modeling system. Part I. Mon. Wea. Rev., 129, 569-585.
  • wrf-model/WRF v4.8.0 phys/module_sf_noahlsm.F SUBROUTINE REDPRM lines 2315-2535, and the SOILPARM.TBL (STAS, 19 categories), VEGPARM.TBL (USGS, 27 categories) and GENPARM.TBL that run/ ships; values as WRF loaded them, carried in the tbl_* fields of the noah dump.

Parameters

NameUnitsDefaultDescription
soiltyp14.0Soil category index into SOILPARM.TBL, 1..19 for the shipped STAS table (4 = silt loam). An out-of-range value gathers off the end of the table; WRF’s REDPRM would stop the run instead.
vegtyp12.0Vegetation category index into VEGPARM.TBL, 1..27 for USGS (2 = dryland cropland and pasture). The MODIS table is a DIFFERENT table with a different length and different rows; this component carries the USGS one, so a MODIS run must not mount it.
slopetyp11.0Slope category index into GENPARM.TBL SLOPE_DATA, 1..9.
shdfac10.5Green vegetation fraction of this time step as the driver passes it (WRF’s SHDFAC on entry to SFLX). REDPRM may overwrite it – see shdfac_eff.
shdmin10.0Annual MINIMUM green vegetation fraction, WRF’s SHDMIN.
shdmax10.0Annual MAXIMUM green vegetation fraction, WRF’s SHDMAX. In the idealized reference run shdmin = shdmax = 0, so every point takes the shdfac >= shdmax branch and xlai = laimax.

Observed

NameUnitsDefaultDescription
bexp1Clapp-Hornberger pore-size distribution index b, SOILPARM.TBL BB. Sets the steepness of both the retention curve and the conductivity curve.
dksatm/sSaturated hydraulic conductivity, SOILPARM.TBL SATDK.
dwsatm^2/sSaturated soil water diffusivity, SOILPARM.TBL SATDW.
f11SOILPARM.TBL F11, a soil-type coefficient of the (unused in WRF 4.8) alternative thermal-conductivity form. Carried because REDPRM sets it and SHFLX passes it on.
psisatmSaturated soil matric potential, SOILPARM.TBL SATPSI.
quartz1Quartz volume fraction, SOILPARM.TBL QTZ, which sets the solid-phase thermal conductivity in TDFCND.
smcdrym^3/m^3Air-dry soil moisture, SOILPARM.TBL DRYSMC, at which direct soil evaporation ceases. Identical to smcwlt in the shipped STAS table for every soil type.
smcmaxm^3/m^3Soil porosity (saturation moisture), SOILPARM.TBL MAXSMC.
smcrefm^3/m^3Soil reference moisture (field capacity), SOILPARM.TBL REFSMC, above which transpiration is unstressed.
smcwltm^3/m^3Soil wilting point, SOILPARM.TBL WLTSMC.
slope1Bottom drainage-slope factor, GENPARM.TBL SLOPE_DATA, which multiplies the free-drainage flux out of the deepest soil layer.
nroot1Number of soil layers in the root zone, VEGPARM.TBL NROTBL. Carried as a real count because TRANSP divides an UNWEIGHTED sum by it.
rsmins/mMinimum (unstressed) stomatal resistance, VEGPARM.TBL RSTBL.
rglW/m^2Solar-radiation threshold of the rcs stress function, VEGPARM.TBL RGLTBL.
hskg/kgVapour-pressure-deficit coefficient of the rcq stress function, VEGPARM.TBL HSTBL.
snupmSnow depth at which the snow-cover fraction reaches one, VEGPARM.TBL SNUPTBL. Carried for the snow branch, which is not yet written.
laimin1Leaf area index at minimum greenness, VEGPARM.TBL LAIMINTBL.
laimax1Leaf area index at maximum greenness, VEGPARM.TBL LAIMAXTBL.
emissmin1Surface emissivity at minimum greenness, VEGPARM.TBL EMISSMINTBL.
emissmax1Surface emissivity at maximum greenness, VEGPARM.TBL EMISSMAXTBL.
z0minmRoughness length at minimum greenness, VEGPARM.TBL Z0MINTBL.
z0maxmRoughness length at maximum greenness, VEGPARM.TBL Z0MAXTBL.
albedomin1Background albedo at MAXIMUM greenness, VEGPARM.TBL ALBEDOMINTBL. The name is WRF’s and it is the wrong way round: REDPRM assigns ALBEDOMIN when shdfac >= shdmax.
albedomax1Background albedo at MINIMUM greenness, VEGPARM.TBL ALBEDOMAXTBL. See albedomin: the two are used in the opposite sense to their names.
kdt1Infiltration parameter, refkdt dksat/refdk: the reference infiltration parameter rescaled by how conductive this soil is relative to the reference soil.
frzfact1Frozen-ground scaling factor, (smcmax/smcref)(0.412/0.468), where the two literals are the reference soil’s porosity and field capacity.
frzx1Per-soil-type frozen-ground parameter, frzk frzfact, which sets how strongly soil ice throttles infiltration. Used only by the frozen branch of SRT, which this reference set never exercises.
interp_fraction1Greenness interpolation weight, clamp((shdfac_eff - shdmin)/(shdmax - shdmin), 0, 1); 0.5 where shdmax equals shdmin.
shdfac_eff1Green vegetation fraction as REDPRM leaves it: the input shdfac, except ZERO on the bare-soil category (vegtyp == par.bare, 19 for USGS), ‘IF (VEGTYP .eq. BARE) SHDFAC = 0.0’ at module_sf_noahlsm.F:2503. REDPRM runs before the greenness selection below and before every downstream use, so THIS is the shdfac the rest of SFLX (canopy_resistance, evapotranspiration, soil_heat, …) must see.
xlai1Leaf area index selected by greenness between laimin and laimax (the .NOT. RDLAI2D branch; a run that reads LAI from the input file bypasses this).
embrd1Background surface emissivity selected by greenness between emissmin and emissmax.
z0brdmBackground roughness length selected by greenness between z0min and z0max.
alb1Background albedo selected by greenness. NOTE THE ORDER: WRF takes ALBEDOMIN at MAXIMUM greenness and ALBEDOMAX at minimum, the opposite of the other three, because a green canopy is darker than bare ground. The .NOT. USEMONALB branch.

Observed expressions

$$ bexp = \mathrm{linear}\left(table=\mathrm{const}\left(\right), axis=\mathrm{const}\left(\right), x=soiltyp, n=19\right) $$

Clapp-Hornberger pore-size distribution index b, SOILPARM.TBL BB. Sets the steepness of both the retention curve and the conductivity curve.

$$ dksat = \mathrm{linear}\left(table=\mathrm{const}\left(\right), axis=\mathrm{const}\left(\right), x=soiltyp, n=19\right) $$

Saturated hydraulic conductivity, SOILPARM.TBL SATDK.

$$ dwsat = \mathrm{linear}\left(table=\mathrm{const}\left(\right), axis=\mathrm{const}\left(\right), x=soiltyp, n=19\right) $$

Saturated soil water diffusivity, SOILPARM.TBL SATDW.

$$ f1 = \mathrm{linear}\left(table=\mathrm{const}\left(\right), axis=\mathrm{const}\left(\right), x=soiltyp, n=19\right) $$

SOILPARM.TBL F11, a soil-type coefficient of the (unused in WRF 4.8) alternative thermal-conductivity form. Carried because REDPRM sets it and SHFLX passes it on.

$$ psisat = \mathrm{linear}\left(table=\mathrm{const}\left(\right), axis=\mathrm{const}\left(\right), x=soiltyp, n=19\right) $$

Saturated soil matric potential, SOILPARM.TBL SATPSI.

$$ quartz = \mathrm{linear}\left(table=\mathrm{const}\left(\right), axis=\mathrm{const}\left(\right), x=soiltyp, n=19\right) $$

Quartz volume fraction, SOILPARM.TBL QTZ, which sets the solid-phase thermal conductivity in TDFCND.

$$ smcdry = \mathrm{linear}\left(table=\mathrm{const}\left(\right), axis=\mathrm{const}\left(\right), x=soiltyp, n=19\right) $$

Air-dry soil moisture, SOILPARM.TBL DRYSMC, at which direct soil evaporation ceases. Identical to smcwlt in the shipped STAS table for every soil type.

$$ smcmax = \mathrm{linear}\left(table=\mathrm{const}\left(\right), axis=\mathrm{const}\left(\right), x=soiltyp, n=19\right) $$

Soil porosity (saturation moisture), SOILPARM.TBL MAXSMC.

$$ smcref = \mathrm{linear}\left(table=\mathrm{const}\left(\right), axis=\mathrm{const}\left(\right), x=soiltyp, n=19\right) $$

Soil reference moisture (field capacity), SOILPARM.TBL REFSMC, above which transpiration is unstressed.

$$ smcwlt = \mathrm{linear}\left(table=\mathrm{const}\left(\right), axis=\mathrm{const}\left(\right), x=soiltyp, n=19\right) $$

Soil wilting point, SOILPARM.TBL WLTSMC.

$$ slope = \mathrm{linear}\left(table=\mathrm{const}\left(\right), axis=\mathrm{const}\left(\right), x=slopetyp, n=9\right) $$

Bottom drainage-slope factor, GENPARM.TBL SLOPE_DATA, which multiplies the free-drainage flux out of the deepest soil layer.

$$ nroot = \mathrm{linear}\left(table=\mathrm{const}\left(\right), axis=\mathrm{const}\left(\right), x=vegtyp, n=27\right) $$

Number of soil layers in the root zone, VEGPARM.TBL NROTBL. Carried as a real count because TRANSP divides an UNWEIGHTED sum by it.

$$ rsmin = \mathrm{linear}\left(table=\mathrm{const}\left(\right), axis=\mathrm{const}\left(\right), x=vegtyp, n=27\right) $$

Minimum (unstressed) stomatal resistance, VEGPARM.TBL RSTBL.

$$ rgl = \mathrm{linear}\left(table=\mathrm{const}\left(\right), axis=\mathrm{const}\left(\right), x=vegtyp, n=27\right) $$

Solar-radiation threshold of the rcs stress function, VEGPARM.TBL RGLTBL.

$$ hs = \mathrm{linear}\left(table=\mathrm{const}\left(\right), axis=\mathrm{const}\left(\right), x=vegtyp, n=27\right) $$

Vapour-pressure-deficit coefficient of the rcq stress function, VEGPARM.TBL HSTBL.

$$ snup = \mathrm{linear}\left(table=\mathrm{const}\left(\right), axis=\mathrm{const}\left(\right), x=vegtyp, n=27\right) $$

Snow depth at which the snow-cover fraction reaches one, VEGPARM.TBL SNUPTBL. Carried for the snow branch, which is not yet written.

$$ laimin = \mathrm{linear}\left(table=\mathrm{const}\left(\right), axis=\mathrm{const}\left(\right), x=vegtyp, n=27\right) $$

Leaf area index at minimum greenness, VEGPARM.TBL LAIMINTBL.

$$ laimax = \mathrm{linear}\left(table=\mathrm{const}\left(\right), axis=\mathrm{const}\left(\right), x=vegtyp, n=27\right) $$

Leaf area index at maximum greenness, VEGPARM.TBL LAIMAXTBL.

$$ emissmin = \mathrm{linear}\left(table=\mathrm{const}\left(\right), axis=\mathrm{const}\left(\right), x=vegtyp, n=27\right) $$

Surface emissivity at minimum greenness, VEGPARM.TBL EMISSMINTBL.

$$ emissmax = \mathrm{linear}\left(table=\mathrm{const}\left(\right), axis=\mathrm{const}\left(\right), x=vegtyp, n=27\right) $$

Surface emissivity at maximum greenness, VEGPARM.TBL EMISSMAXTBL.

$$ z0min = \mathrm{linear}\left(table=\mathrm{const}\left(\right), axis=\mathrm{const}\left(\right), x=vegtyp, n=27\right) $$

Roughness length at minimum greenness, VEGPARM.TBL Z0MINTBL.

$$ z0max = \mathrm{linear}\left(table=\mathrm{const}\left(\right), axis=\mathrm{const}\left(\right), x=vegtyp, n=27\right) $$

Roughness length at maximum greenness, VEGPARM.TBL Z0MAXTBL.

$$ albedomin = \mathrm{linear}\left(table=\mathrm{const}\left(\right), axis=\mathrm{const}\left(\right), x=vegtyp, n=27\right) $$

Background albedo at MAXIMUM greenness, VEGPARM.TBL ALBEDOMINTBL. The name is WRF’s and it is the wrong way round: REDPRM assigns ALBEDOMIN when shdfac >= shdmax.

$$ albedomax = \mathrm{linear}\left(table=\mathrm{const}\left(\right), axis=\mathrm{const}\left(\right), x=vegtyp, n=27\right) $$

Background albedo at MINIMUM greenness, VEGPARM.TBL ALBEDOMAXTBL. See albedomin: the two are used in the opposite sense to their names.

$$ kdt = par.refkdt \cdot \frac{dksat}{par.refdk} $$

Infiltration parameter, refkdt dksat/refdk: the reference infiltration parameter rescaled by how conductive this soil is relative to the reference soil.

$$ frzfact = \frac{smcmax}{smcref} \cdot \frac{0.412}{0.468} $$

Frozen-ground scaling factor, (smcmax/smcref)(0.412/0.468), where the two literals are the reference soil’s porosity and field capacity.

$$ frzx = par.frzk \cdot frzfact $$

Per-soil-type frozen-ground parameter, frzk frzfact, which sets how strongly soil ice throttles infiltration. Used only by the frozen branch of SRT, which this reference set never exercises.

$$ interp_{fraction} = \mathrm{ifelse}\left(\mathrm{>}\left(shdmax, shdmin\right), \mathrm{max}\left(\mathrm{min}\left(\frac{shdfac_{eff} - shdmin}{shdmax - shdmin}, 1.0\right), 0.0\right), 0.5\right) $$

Greenness interpolation weight, clamp((shdfac_eff - shdmin)/(shdmax - shdmin), 0, 1); 0.5 where shdmax equals shdmin.

$$ shdfac_{eff} = \mathrm{ifelse}\left(vegtyp = par.bare, 0.0, shdfac\right) $$

Green vegetation fraction as REDPRM leaves it: the input shdfac, except ZERO on the bare-soil category (vegtyp == par.bare, 19 for USGS), ‘IF (VEGTYP .eq. BARE) SHDFAC = 0.0’ at module_sf_noahlsm.F:2503. REDPRM runs before the greenness selection below and before every downstream use, so THIS is the shdfac the rest of SFLX (canopy_resistance, evapotranspiration, soil_heat, …) must see.

$$ xlai = \mathrm{ifelse}\left(\mathrm{>=}\left(shdfac_{eff}, shdmax\right), laimax, \mathrm{ifelse}\left(\mathrm{<=}\left(shdfac_{eff}, shdmin\right), laimin, \left(1.0 - interp_{fraction}\right) \cdot laimin + interp_{fraction} \cdot laimax\right)\right) $$

Leaf area index selected by greenness between laimin and laimax (the .NOT. RDLAI2D branch; a run that reads LAI from the input file bypasses this).

$$ embrd = \mathrm{ifelse}\left(\mathrm{>=}\left(shdfac_{eff}, shdmax\right), emissmax, \mathrm{ifelse}\left(\mathrm{<=}\left(shdfac_{eff}, shdmin\right), emissmin, \left(1.0 - interp_{fraction}\right) \cdot emissmin + interp_{fraction} \cdot emissmax\right)\right) $$

Background surface emissivity selected by greenness between emissmin and emissmax.

$$ z0brd = \mathrm{ifelse}\left(\mathrm{>=}\left(shdfac_{eff}, shdmax\right), z0max, \mathrm{ifelse}\left(\mathrm{<=}\left(shdfac_{eff}, shdmin\right), z0min, \left(1.0 - interp_{fraction}\right) \cdot z0min + interp_{fraction} \cdot z0max\right)\right) $$

Background roughness length selected by greenness between z0min and z0max.

$$ alb = \mathrm{ifelse}\left(\mathrm{>=}\left(shdfac_{eff}, shdmax\right), albedomin, \mathrm{ifelse}\left(\mathrm{<=}\left(shdfac_{eff}, shdmin\right), albedomax, \left(1.0 - interp_{fraction}\right) \cdot albedomax + interp_{fraction} \cdot albedomin\right)\right) $$

Background albedo selected by greenness. NOTE THE ORDER: WRF takes ALBEDOMIN at MAXIMUM greenness and ALBEDOMAX at minimum, the opposite of the other three, because a green canopy is darker than bare ground. The .NOT. USEMONALB branch.

Raw .esm

Raw .esm JSON (this component)
{
  "expression_template_imports": [
    {
      "ref": "esm:std/interp.esm",
      "only": [
        "linear"
      ]
    }
  ],
  "subsystems": {
    "par": {
      "ref": "./noah_parameters.esm"
    }
  },
  "variables": {
    "soiltyp": {
      "type": "parameter",
      "units": "1",
      "default": 4.0,
      "description": "Soil category index into SOILPARM.TBL, 1..19 for the shipped STAS table (4 = silt loam). An out-of-range value gathers off the end of the table; WRF's REDPRM would stop the run instead."
    },
    "vegtyp": {
      "type": "parameter",
      "units": "1",
      "default": 2.0,
      "description": "Vegetation category index into VEGPARM.TBL, 1..27 for USGS (2 = dryland cropland and pasture). The MODIS table is a DIFFERENT table with a different length and different rows; this component carries the USGS one, so a MODIS run must not mount it."
    },
    "slopetyp": {
      "type": "parameter",
      "units": "1",
      "default": 1.0,
      "description": "Slope category index into GENPARM.TBL SLOPE_DATA, 1..9."
    },
    "bexp": {
      "type": "unknown",
      "units": "1",
      "description": "Clapp-Hornberger pore-size distribution index b, SOILPARM.TBL BB. Sets the steepness of both the retention curve and the conductivity curve."
    },
    "dksat": {
      "type": "unknown",
      "units": "m/s",
      "description": "Saturated hydraulic conductivity, SOILPARM.TBL SATDK."
    },
    "dwsat": {
      "type": "unknown",
      "units": "m^2/s",
      "description": "Saturated soil water diffusivity, SOILPARM.TBL SATDW."
    },
    "f1": {
      "type": "unknown",
      "units": "1",
      "description": "SOILPARM.TBL F11, a soil-type coefficient of the (unused in WRF 4.8) alternative thermal-conductivity form. Carried because REDPRM sets it and SHFLX passes it on."
    },
    "psisat": {
      "type": "unknown",
      "units": "m",
      "description": "Saturated soil matric potential, SOILPARM.TBL SATPSI."
    },
    "quartz": {
      "type": "unknown",
      "units": "1",
      "description": "Quartz volume fraction, SOILPARM.TBL QTZ, which sets the solid-phase thermal conductivity in TDFCND."
    },
    "smcdry": {
      "type": "unknown",
      "units": "m^3/m^3",
      "description": "Air-dry soil moisture, SOILPARM.TBL DRYSMC, at which direct soil evaporation ceases. Identical to smcwlt in the shipped STAS table for every soil type."
    },
    "smcmax": {
      "type": "unknown",
      "units": "m^3/m^3",
      "description": "Soil porosity (saturation moisture), SOILPARM.TBL MAXSMC."
    },
    "smcref": {
      "type": "unknown",
      "units": "m^3/m^3",
      "description": "Soil reference moisture (field capacity), SOILPARM.TBL REFSMC, above which transpiration is unstressed."
    },
    "smcwlt": {
      "type": "unknown",
      "units": "m^3/m^3",
      "description": "Soil wilting point, SOILPARM.TBL WLTSMC."
    },
    "slope": {
      "type": "unknown",
      "units": "1",
      "description": "Bottom drainage-slope factor, GENPARM.TBL SLOPE_DATA, which multiplies the free-drainage flux out of the deepest soil layer."
    },
    "nroot": {
      "type": "unknown",
      "units": "1",
      "description": "Number of soil layers in the root zone, VEGPARM.TBL NROTBL. Carried as a real count because TRANSP divides an UNWEIGHTED sum by it."
    },
    "rsmin": {
      "type": "unknown",
      "units": "s/m",
      "description": "Minimum (unstressed) stomatal resistance, VEGPARM.TBL RSTBL."
    },
    "rgl": {
      "type": "unknown",
      "units": "W/m^2",
      "description": "Solar-radiation threshold of the rcs stress function, VEGPARM.TBL RGLTBL."
    },
    "hs": {
      "type": "unknown",
      "units": "kg/kg",
      "description": "Vapour-pressure-deficit coefficient of the rcq stress function, VEGPARM.TBL HSTBL."
    },
    "snup": {
      "type": "unknown",
      "units": "m",
      "description": "Snow depth at which the snow-cover fraction reaches one, VEGPARM.TBL SNUPTBL. Carried for the snow branch, which is not yet written."
    },
    "laimin": {
      "type": "unknown",
      "units": "1",
      "description": "Leaf area index at minimum greenness, VEGPARM.TBL LAIMINTBL."
    },
    "laimax": {
      "type": "unknown",
      "units": "1",
      "description": "Leaf area index at maximum greenness, VEGPARM.TBL LAIMAXTBL."
    },
    "emissmin": {
      "type": "unknown",
      "units": "1",
      "description": "Surface emissivity at minimum greenness, VEGPARM.TBL EMISSMINTBL."
    },
    "emissmax": {
      "type": "unknown",
      "units": "1",
      "description": "Surface emissivity at maximum greenness, VEGPARM.TBL EMISSMAXTBL."
    },
    "z0min": {
      "type": "unknown",
      "units": "m",
      "description": "Roughness length at minimum greenness, VEGPARM.TBL Z0MINTBL."
    },
    "z0max": {
      "type": "unknown",
      "units": "m",
      "description": "Roughness length at maximum greenness, VEGPARM.TBL Z0MAXTBL."
    },
    "albedomin": {
      "type": "unknown",
      "units": "1",
      "description": "Background albedo at MAXIMUM greenness, VEGPARM.TBL ALBEDOMINTBL. The name is WRF's and it is the wrong way round: REDPRM assigns ALBEDOMIN when shdfac >= shdmax."
    },
    "albedomax": {
      "type": "unknown",
      "units": "1",
      "description": "Background albedo at MINIMUM greenness, VEGPARM.TBL ALBEDOMAXTBL. See albedomin: the two are used in the opposite sense to their names."
    },
    "kdt": {
      "type": "unknown",
      "units": "1",
      "description": "Infiltration parameter, refkdt dksat/refdk: the reference infiltration parameter rescaled by how conductive this soil is relative to the reference soil."
    },
    "frzfact": {
      "type": "unknown",
      "units": "1",
      "description": "Frozen-ground scaling factor, (smcmax/smcref)(0.412/0.468), where the two literals are the reference soil's porosity and field capacity."
    },
    "frzx": {
      "type": "unknown",
      "units": "1",
      "description": "Per-soil-type frozen-ground parameter, frzk frzfact, which sets how strongly soil ice throttles infiltration. Used only by the frozen branch of SRT, which this reference set never exercises."
    },
    "interp_fraction": {
      "type": "unknown",
      "units": "1",
      "description": "Greenness interpolation weight, clamp((shdfac_eff - shdmin)/(shdmax - shdmin), 0, 1); 0.5 where shdmax equals shdmin."
    },
    "shdfac": {
      "type": "parameter",
      "units": "1",
      "default": 0.5,
      "description": "Green vegetation fraction of this time step as the driver passes it (WRF's SHDFAC on entry to SFLX). REDPRM may overwrite it -- see shdfac_eff."
    },
    "shdmin": {
      "type": "parameter",
      "units": "1",
      "default": 0.0,
      "description": "Annual MINIMUM green vegetation fraction, WRF's SHDMIN."
    },
    "shdmax": {
      "type": "parameter",
      "units": "1",
      "default": 0.0,
      "description": "Annual MAXIMUM green vegetation fraction, WRF's SHDMAX. In the idealized reference run shdmin = shdmax = 0, so every point takes the shdfac >= shdmax branch and xlai = laimax."
    },
    "shdfac_eff": {
      "type": "unknown",
      "units": "1",
      "description": "Green vegetation fraction as REDPRM leaves it: the input shdfac, except ZERO on the bare-soil category (vegtyp == par.bare, 19 for USGS), 'IF (VEGTYP .eq. BARE) SHDFAC = 0.0' at module_sf_noahlsm.F:2503. REDPRM runs before the greenness selection below and before every downstream use, so THIS is the shdfac the rest of SFLX (canopy_resistance, evapotranspiration, soil_heat, ...) must see."
    },
    "xlai": {
      "type": "unknown",
      "units": "1",
      "description": "Leaf area index selected by greenness between laimin and laimax (the .NOT. RDLAI2D branch; a run that reads LAI from the input file bypasses this)."
    },
    "embrd": {
      "type": "unknown",
      "units": "1",
      "description": "Background surface emissivity selected by greenness between emissmin and emissmax."
    },
    "z0brd": {
      "type": "unknown",
      "units": "m",
      "description": "Background roughness length selected by greenness between z0min and z0max."
    },
    "alb": {
      "type": "unknown",
      "units": "1",
      "description": "Background albedo selected by greenness. NOTE THE ORDER: WRF takes ALBEDOMIN at MAXIMUM greenness and ALBEDOMAX at minimum, the opposite of the other three, because a green canopy is darker than bare ground. The .NOT. USEMONALB branch."
    }
  },
  "equations": [
    {
      "lhs": "bexp",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "linear",
        "bindings": {
          "table": {
            "op": "const",
            "args": [],
            "value": [
              2.7899999618530273,
              4.260000228881836,
              4.739999771118164,
              5.329999923706055,
              3.859999895095825,
              5.25,
              6.769999980926514,
              8.720000267028809,
              8.170000076293945,
              10.729999542236328,
              10.390000343322754,
              11.550000190734863,
              5.25,
              0.0,
              2.7899999618530273,
              4.260000228881836,
              11.550000190734863,
              2.7899999618530273,
              2.7899999618530273
            ]
          },
          "axis": {
            "op": "const",
            "args": [],
            "value": [
              1.0,
              2.0,
              3.0,
              4.0,
              5.0,
              6.0,
              7.0,
              8.0,
              9.0,
              10.0,
              11.0,
              12.0,
              13.0,
              14.0,
              15.0,
              16.0,
              17.0,
              18.0,
              19.0
            ]
          },
          "x": "soiltyp",
          "n": 19
        }
      }
    },
    {
      "lhs": "dksat",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "linear",
        "bindings": {
          "table": {
            "op": "const",
            "args": [],
            "value": [
              4.659999831346795e-05,
              1.4100000043981709e-05,
              5.230000169831328e-06,
              2.8100000690756133e-06,
              2.179999910367769e-06,
              3.3799999528127955e-06,
              4.44999977844418e-06,
              2.029999905062141e-06,
              2.4500000108673703e-06,
              7.220000043162145e-06,
              1.3400000398178236e-06,
              9.740000450619846e-07,
              3.3799999528127955e-06,
              0.0,
              0.00014099999680183828,
              1.4100000043981709e-05,
              9.740000450619846e-07,
              0.00014099999680183828,
              4.659999831346795e-05
            ]
          },
          "axis": {
            "op": "const",
            "args": [],
            "value": [
              1.0,
              2.0,
              3.0,
              4.0,
              5.0,
              6.0,
              7.0,
              8.0,
              9.0,
              10.0,
              11.0,
              12.0,
              13.0,
              14.0,
              15.0,
              16.0,
              17.0,
              18.0,
              19.0
            ]
          },
          "x": "soiltyp",
          "n": 19
        }
      }
    },
    {
      "lhs": "dwsat",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "linear",
        "bindings": {
          "table": {
            "op": "const",
            "args": [],
            "value": [
              2.6499999876250513e-05,
              5.140000212122686e-06,
              8.05000036052661e-06,
              2.390000008745119e-05,
              1.6600000890321098e-05,
              1.4299999747890979e-05,
              1.0099999599333387e-05,
              2.350000067963265e-05,
              1.1299999641778413e-05,
              1.8700000509852543e-05,
              9.639999916544184e-06,
              1.1199999789823778e-05,
              1.4299999747890979e-05,
              0.0,
              0.00013600000238511711,
              5.140000212122686e-06,
              1.1199999789823778e-05,
              0.00013600000238511711,
              2.6499999876250513e-05
            ]
          },
          "axis": {
            "op": "const",
            "args": [],
            "value": [
              1.0,
              2.0,
              3.0,
              4.0,
              5.0,
              6.0,
              7.0,
              8.0,
              9.0,
              10.0,
              11.0,
              12.0,
              13.0,
              14.0,
              15.0,
              16.0,
              17.0,
              18.0,
              19.0
            ]
          },
          "x": "soiltyp",
          "n": 19
        }
      }
    },
    {
      "lhs": "f1",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "linear",
        "bindings": {
          "table": {
            "op": "const",
            "args": [],
            "value": [
              -0.47200000286102295,
              -1.0440000295639038,
              -0.5690000057220459,
              0.16200000047683716,
              0.16200000047683716,
              -0.3269999921321869,
              -1.4910000562667847,
              -1.1180000305175781,
              -1.2970000505447388,
              -3.2090001106262207,
              -1.9160000085830688,
              -2.138000011444092,
              -0.3269999921321869,
              0.0,
              -1.1109999418258667,
              -1.0440000295639038,
              -10.472000122070312,
              -0.47200000286102295,
              -0.47200000286102295
            ]
          },
          "axis": {
            "op": "const",
            "args": [],
            "value": [
              1.0,
              2.0,
              3.0,
              4.0,
              5.0,
              6.0,
              7.0,
              8.0,
              9.0,
              10.0,
              11.0,
              12.0,
              13.0,
              14.0,
              15.0,
              16.0,
              17.0,
              18.0,
              19.0
            ]
          },
          "x": "soiltyp",
          "n": 19
        }
      }
    },
    {
      "lhs": "psisat",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "linear",
        "bindings": {
          "table": {
            "op": "const",
            "args": [],
            "value": [
              0.0689999982714653,
              0.035999998450279236,
              0.14100000262260437,
              0.7590000033378601,
              0.9549999833106995,
              0.35499998927116394,
              0.13500000536441803,
              0.6169999837875366,
              0.2630000114440918,
              0.09799999743700027,
              0.3240000009536743,
              0.46799999475479126,
              0.35499998927116394,
              0.0,
              0.0689999982714653,
              0.035999998450279236,
              0.46799999475479126,
              0.0689999982714653,
              0.0689999982714653
            ]
          },
          "axis": {
            "op": "const",
            "args": [],
            "value": [
              1.0,
              2.0,
              3.0,
              4.0,
              5.0,
              6.0,
              7.0,
              8.0,
              9.0,
              10.0,
              11.0,
              12.0,
              13.0,
              14.0,
              15.0,
              16.0,
              17.0,
              18.0,
              19.0
            ]
          },
          "x": "soiltyp",
          "n": 19
        }
      }
    },
    {
      "lhs": "quartz",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "linear",
        "bindings": {
          "table": {
            "op": "const",
            "args": [],
            "value": [
              0.9200000166893005,
              0.8199999928474426,
              0.6000000238418579,
              0.25,
              0.10000000149011612,
              0.4000000059604645,
              0.6000000238418579,
              0.10000000149011612,
              0.3499999940395355,
              0.5199999809265137,
              0.10000000149011612,
              0.25,
              0.05000000074505806,
              0.6000000238418579,
              0.07000000029802322,
              0.25,
              0.6000000238418579,
              0.5199999809265137,
              0.9200000166893005
            ]
          },
          "axis": {
            "op": "const",
            "args": [],
            "value": [
              1.0,
              2.0,
              3.0,
              4.0,
              5.0,
              6.0,
              7.0,
              8.0,
              9.0,
              10.0,
              11.0,
              12.0,
              13.0,
              14.0,
              15.0,
              16.0,
              17.0,
              18.0,
              19.0
            ]
          },
          "x": "soiltyp",
          "n": 19
        }
      }
    },
    {
      "lhs": "smcdry",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "linear",
        "bindings": {
          "table": {
            "op": "const",
            "args": [],
            "value": [
              0.009999999776482582,
              0.02800000086426735,
              0.04699999839067459,
              0.08399999886751175,
              0.061000000685453415,
              0.06599999964237213,
              0.0689999982714653,
              0.11999999731779099,
              0.10300000011920929,
              0.10000000149011612,
              0.12600000202655792,
              0.1379999965429306,
              0.06599999964237213,
              0.0,
              0.006000000052154064,
              0.02800000086426735,
              0.029999999329447746,
              0.006000000052154064,
              0.009999999776482582
            ]
          },
          "axis": {
            "op": "const",
            "args": [],
            "value": [
              1.0,
              2.0,
              3.0,
              4.0,
              5.0,
              6.0,
              7.0,
              8.0,
              9.0,
              10.0,
              11.0,
              12.0,
              13.0,
              14.0,
              15.0,
              16.0,
              17.0,
              18.0,
              19.0
            ]
          },
          "x": "soiltyp",
          "n": 19
        }
      }
    },
    {
      "lhs": "smcmax",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "linear",
        "bindings": {
          "table": {
            "op": "const",
            "args": [],
            "value": [
              0.33899998664855957,
              0.42100000381469727,
              0.4339999854564667,
              0.47600001096725464,
              0.48399999737739563,
              0.4390000104904175,
              0.40400001406669617,
              0.46399998664855957,
              0.4650000035762787,
              0.4059999883174896,
              0.46799999475479126,
              0.46799999475479126,
              0.4390000104904175,
              1.0,
              0.20000000298023224,
              0.42100000381469727,
              0.46799999475479126,
              0.20000000298023224,
              0.33899998664855957
            ]
          },
          "axis": {
            "op": "const",
            "args": [],
            "value": [
              1.0,
              2.0,
              3.0,
              4.0,
              5.0,
              6.0,
              7.0,
              8.0,
              9.0,
              10.0,
              11.0,
              12.0,
              13.0,
              14.0,
              15.0,
              16.0,
              17.0,
              18.0,
              19.0
            ]
          },
          "x": "soiltyp",
          "n": 19
        }
      }
    },
    {
      "lhs": "smcref",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "linear",
        "bindings": {
          "table": {
            "op": "const",
            "args": [],
            "value": [
              0.19200000166893005,
              0.28299999237060547,
              0.31200000643730164,
              0.36000001430511475,
              0.34700000286102295,
              0.32899999618530273,
              0.3149999976158142,
              0.3869999945163727,
              0.38199999928474426,
              0.33799999952316284,
              0.40400001406669617,
              0.41200000047683716,
              0.32899999618530273,
              0.0,
              0.17000000178813934,
              0.28299999237060547,
              0.45399999618530273,
              0.17000000178813934,
              0.19200000166893005
            ]
          },
          "axis": {
            "op": "const",
            "args": [],
            "value": [
              1.0,
              2.0,
              3.0,
              4.0,
              5.0,
              6.0,
              7.0,
              8.0,
              9.0,
              10.0,
              11.0,
              12.0,
              13.0,
              14.0,
              15.0,
              16.0,
              17.0,
              18.0,
              19.0
            ]
          },
          "x": "soiltyp",
          "n": 19
        }
      }
    },
    {
      "lhs": "smcwlt",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "linear",
        "bindings": {
          "table": {
            "op": "const",
            "args": [],
            "value": [
              0.009999999776482582,
              0.02800000086426735,
              0.04699999839067459,
              0.08399999886751175,
              0.061000000685453415,
              0.06599999964237213,
              0.0689999982714653,
              0.11999999731779099,
              0.10300000011920929,
              0.10000000149011612,
              0.12600000202655792,
              0.1379999965429306,
              0.06599999964237213,
              0.0,
              0.006000000052154064,
              0.02800000086426735,
              0.029999999329447746,
              0.006000000052154064,
              0.009999999776482582
            ]
          },
          "axis": {
            "op": "const",
            "args": [],
            "value": [
              1.0,
              2.0,
              3.0,
              4.0,
              5.0,
              6.0,
              7.0,
              8.0,
              9.0,
              10.0,
              11.0,
              12.0,
              13.0,
              14.0,
              15.0,
              16.0,
              17.0,
              18.0,
              19.0
            ]
          },
          "x": "soiltyp",
          "n": 19
        }
      }
    },
    {
      "lhs": "slope",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "linear",
        "bindings": {
          "table": {
            "op": "const",
            "args": [],
            "value": [
              0.10000000149011612,
              0.6000000238418579,
              1.0,
              0.3499999940395355,
              0.550000011920929,
              0.800000011920929,
              0.6299999952316284,
              0.0,
              0.0
            ]
          },
          "axis": {
            "op": "const",
            "args": [],
            "value": [
              1.0,
              2.0,
              3.0,
              4.0,
              5.0,
              6.0,
              7.0,
              8.0,
              9.0
            ]
          },
          "x": "slopetyp",
          "n": 9
        }
      }
    },
    {
      "lhs": "nroot",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "linear",
        "bindings": {
          "table": {
            "op": "const",
            "args": [],
            "value": [
              1.0,
              3.0,
              3.0,
              3.0,
              3.0,
              3.0,
              3.0,
              3.0,
              3.0,
              3.0,
              4.0,
              4.0,
              4.0,
              4.0,
              4.0,
              0.0,
              2.0,
              2.0,
              1.0,
              3.0,
              3.0,
              3.0,
              2.0,
              1.0,
              1.0,
              0.0,
              0.0
            ]
          },
          "axis": {
            "op": "const",
            "args": [],
            "value": [
              1.0,
              2.0,
              3.0,
              4.0,
              5.0,
              6.0,
              7.0,
              8.0,
              9.0,
              10.0,
              11.0,
              12.0,
              13.0,
              14.0,
              15.0,
              16.0,
              17.0,
              18.0,
              19.0,
              20.0,
              21.0,
              22.0,
              23.0,
              24.0,
              25.0,
              26.0,
              27.0
            ]
          },
          "x": "vegtyp",
          "n": 27
        }
      }
    },
    {
      "lhs": "rsmin",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "linear",
        "bindings": {
          "table": {
            "op": "const",
            "args": [],
            "value": [
              200.0,
              40.0,
              40.0,
              40.0,
              40.0,
              70.0,
              40.0,
              300.0,
              170.0,
              70.0,
              100.0,
              150.0,
              150.0,
              125.0,
              125.0,
              100.0,
              40.0,
              100.0,
              999.0,
              150.0,
              150.0,
              150.0,
              200.0,
              999.0,
              40.0,
              999.0,
              999.0
            ]
          },
          "axis": {
            "op": "const",
            "args": [],
            "value": [
              1.0,
              2.0,
              3.0,
              4.0,
              5.0,
              6.0,
              7.0,
              8.0,
              9.0,
              10.0,
              11.0,
              12.0,
              13.0,
              14.0,
              15.0,
              16.0,
              17.0,
              18.0,
              19.0,
              20.0,
              21.0,
              22.0,
              23.0,
              24.0,
              25.0,
              26.0,
              27.0
            ]
          },
          "x": "vegtyp",
          "n": 27
        }
      }
    },
    {
      "lhs": "rgl",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "linear",
        "bindings": {
          "table": {
            "op": "const",
            "args": [],
            "value": [
              999.0,
              100.0,
              100.0,
              100.0,
              100.0,
              65.0,
              100.0,
              100.0,
              100.0,
              65.0,
              30.0,
              30.0,
              30.0,
              30.0,
              30.0,
              30.0,
              100.0,
              30.0,
              999.0,
              100.0,
              100.0,
              100.0,
              100.0,
              999.0,
              100.0,
              999.0,
              999.0
            ]
          },
          "axis": {
            "op": "const",
            "args": [],
            "value": [
              1.0,
              2.0,
              3.0,
              4.0,
              5.0,
              6.0,
              7.0,
              8.0,
              9.0,
              10.0,
              11.0,
              12.0,
              13.0,
              14.0,
              15.0,
              16.0,
              17.0,
              18.0,
              19.0,
              20.0,
              21.0,
              22.0,
              23.0,
              24.0,
              25.0,
              26.0,
              27.0
            ]
          },
          "x": "vegtyp",
          "n": 27
        }
      }
    },
    {
      "lhs": "hs",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "linear",
        "bindings": {
          "table": {
            "op": "const",
            "args": [],
            "value": [
              999.0,
              36.25,
              36.25,
              36.25,
              36.25,
              44.13999938964844,
              36.349998474121094,
              42.0,
              39.18000030517578,
              54.529998779296875,
              54.529998779296875,
              47.349998474121094,
              41.689998626708984,
              47.349998474121094,
              51.93000030517578,
              51.75,
              60.0,
              51.93000030517578,
              999.0,
              42.0,
              42.0,
              42.0,
              42.0,
              999.0,
              36.25,
              999.0,
              999.0
            ]
          },
          "axis": {
            "op": "const",
            "args": [],
            "value": [
              1.0,
              2.0,
              3.0,
              4.0,
              5.0,
              6.0,
              7.0,
              8.0,
              9.0,
              10.0,
              11.0,
              12.0,
              13.0,
              14.0,
              15.0,
              16.0,
              17.0,
              18.0,
              19.0,
              20.0,
              21.0,
              22.0,
              23.0,
              24.0,
              25.0,
              26.0,
              27.0
            ]
          },
          "x": "vegtyp",
          "n": 27
        }
      }
    },
    {
      "lhs": "snup",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "linear",
        "bindings": {
          "table": {
            "op": "const",
            "args": [],
            "value": [
              0.03999999910593033,
              0.03999999910593033,
              0.03999999910593033,
              0.03999999910593033,
              0.03999999910593033,
              0.03999999910593033,
              0.03999999910593033,
              0.029999999329447746,
              0.03500000014901161,
              0.03999999910593033,
              0.07999999821186066,
              0.07999999821186066,
              0.07999999821186066,
              0.07999999821186066,
              0.07999999821186066,
              0.009999999776482582,
              0.009999999776482582,
              0.019999999552965164,
              0.019999999552965164,
              0.02500000037252903,
              0.02500000037252903,
              0.02500000037252903,
              0.019999999552965164,
              0.019999999552965164,
              0.019999999552965164,
              0.019999999552965164,
              0.019999999552965164
            ]
          },
          "axis": {
            "op": "const",
            "args": [],
            "value": [
              1.0,
              2.0,
              3.0,
              4.0,
              5.0,
              6.0,
              7.0,
              8.0,
              9.0,
              10.0,
              11.0,
              12.0,
              13.0,
              14.0,
              15.0,
              16.0,
              17.0,
              18.0,
              19.0,
              20.0,
              21.0,
              22.0,
              23.0,
              24.0,
              25.0,
              26.0,
              27.0
            ]
          },
          "x": "vegtyp",
          "n": 27
        }
      }
    },
    {
      "lhs": "laimin",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "linear",
        "bindings": {
          "table": {
            "op": "const",
            "args": [],
            "value": [
              1.0,
              1.559999942779541,
              1.559999942779541,
              1.0,
              2.2899999618530273,
              2.0,
              0.5199999809265137,
              0.5,
              0.6000000238418579,
              0.5,
              1.850000023841858,
              1.0,
              3.0799999237060547,
              5.0,
              2.799999952316284,
              0.009999999776482582,
              1.5,
              2.0,
              0.10000000149011612,
              0.4099999964237213,
              0.4099999964237213,
              0.4099999964237213,
              0.4099999964237213,
              0.009999999776482582,
              0.009999999776482582,
              0.009999999776482582,
              0.009999999776482582
            ]
          },
          "axis": {
            "op": "const",
            "args": [],
            "value": [
              1.0,
              2.0,
              3.0,
              4.0,
              5.0,
              6.0,
              7.0,
              8.0,
              9.0,
              10.0,
              11.0,
              12.0,
              13.0,
              14.0,
              15.0,
              16.0,
              17.0,
              18.0,
              19.0,
              20.0,
              21.0,
              22.0,
              23.0,
              24.0,
              25.0,
              26.0,
              27.0
            ]
          },
          "x": "vegtyp",
          "n": 27
        }
      }
    },
    {
      "lhs": "laimax",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "linear",
        "bindings": {
          "table": {
            "op": "const",
            "args": [],
            "value": [
              1.0,
              5.679999828338623,
              5.679999828338623,
              4.5,
              4.289999961853027,
              4.0,
              2.9000000953674316,
              3.6600000858306885,
              2.5999999046325684,
              3.6600000858306885,
              3.309999942779541,
              5.159999847412109,
              6.480000019073486,
              6.400000095367432,
              5.5,
              0.009999999776482582,
              5.650000095367432,
              5.800000190734863,
              0.75,
              3.3499999046325684,
              3.3499999046325684,
              3.3499999046325684,
              3.3499999046325684,
              0.009999999776482582,
              0.009999999776482582,
              0.009999999776482582,
              0.009999999776482582
            ]
          },
          "axis": {
            "op": "const",
            "args": [],
            "value": [
              1.0,
              2.0,
              3.0,
              4.0,
              5.0,
              6.0,
              7.0,
              8.0,
              9.0,
              10.0,
              11.0,
              12.0,
              13.0,
              14.0,
              15.0,
              16.0,
              17.0,
              18.0,
              19.0,
              20.0,
              21.0,
              22.0,
              23.0,
              24.0,
              25.0,
              26.0,
              27.0
            ]
          },
          "x": "vegtyp",
          "n": 27
        }
      }
    },
    {
      "lhs": "emissmin",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "linear",
        "bindings": {
          "table": {
            "op": "const",
            "args": [],
            "value": [
              0.8799999952316284,
              0.9200000166893005,
              0.9300000071525574,
              0.9200000166893005,
              0.9200000166893005,
              0.9300000071525574,
              0.9200000166893005,
              0.9300000071525574,
              0.9300000071525574,
              0.9200000166893005,
              0.9300000071525574,
              0.9300000071525574,
              0.949999988079071,
              0.949999988079071,
              0.9300000071525574,
              0.9800000190734863,
              0.949999988079071,
              0.949999988079071,
              0.8999999761581421,
              0.9200000166893005,
              0.9300000071525574,
              0.9200000166893005,
              0.8999999761581421,
              0.949999988079071,
              0.8899999856948853,
              0.8799999952316284,
              0.8299999833106995
            ]
          },
          "axis": {
            "op": "const",
            "args": [],
            "value": [
              1.0,
              2.0,
              3.0,
              4.0,
              5.0,
              6.0,
              7.0,
              8.0,
              9.0,
              10.0,
              11.0,
              12.0,
              13.0,
              14.0,
              15.0,
              16.0,
              17.0,
              18.0,
              19.0,
              20.0,
              21.0,
              22.0,
              23.0,
              24.0,
              25.0,
              26.0,
              27.0
            ]
          },
          "x": "vegtyp",
          "n": 27
        }
      }
    },
    {
      "lhs": "emissmax",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "linear",
        "bindings": {
          "table": {
            "op": "const",
            "args": [],
            "value": [
              0.8799999952316284,
              0.9850000143051147,
              0.9850000143051147,
              0.9850000143051147,
              0.9800000190734863,
              0.9850000143051147,
              0.9599999785423279,
              0.9300000071525574,
              0.949999988079071,
              0.9200000166893005,
              0.9300000071525574,
              0.9399999976158142,
              0.949999988079071,
              0.949999988079071,
              0.9700000286102295,
              0.9800000190734863,
              0.949999988079071,
              0.949999988079071,
              0.8999999761581421,
              0.9200000166893005,
              0.9300000071525574,
              0.9200000166893005,
              0.8999999761581421,
              0.949999988079071,
              0.8899999856948853,
              0.8799999952316284,
              0.8299999833106995
            ]
          },
          "axis": {
            "op": "const",
            "args": [],
            "value": [
              1.0,
              2.0,
              3.0,
              4.0,
              5.0,
              6.0,
              7.0,
              8.0,
              9.0,
              10.0,
              11.0,
              12.0,
              13.0,
              14.0,
              15.0,
              16.0,
              17.0,
              18.0,
              19.0,
              20.0,
              21.0,
              22.0,
              23.0,
              24.0,
              25.0,
              26.0,
              27.0
            ]
          },
          "x": "vegtyp",
          "n": 27
        }
      }
    },
    {
      "lhs": "z0min",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "linear",
        "bindings": {
          "table": {
            "op": "const",
            "args": [],
            "value": [
              0.5,
              0.05000000074505806,
              0.019999999552965164,
              0.05000000074505806,
              0.05000000074505806,
              0.20000000298023224,
              0.10000000149011612,
              0.009999999776482582,
              0.009999999776482582,
              0.15000000596046448,
              0.5,
              0.5,
              0.5,
              0.5,
              0.20000000298023224,
              9.999999747378752e-05,
              0.20000000298023224,
              0.4000000059604645,
              0.009999999776482582,
              0.10000000149011612,
              0.30000001192092896,
              0.15000000596046448,
              0.05000000074505806,
              0.0010000000474974513,
              0.009999999776482582,
              0.15000000596046448,
              0.009999999776482582
            ]
          },
          "axis": {
            "op": "const",
            "args": [],
            "value": [
              1.0,
              2.0,
              3.0,
              4.0,
              5.0,
              6.0,
              7.0,
              8.0,
              9.0,
              10.0,
              11.0,
              12.0,
              13.0,
              14.0,
              15.0,
              16.0,
              17.0,
              18.0,
              19.0,
              20.0,
              21.0,
              22.0,
              23.0,
              24.0,
              25.0,
              26.0,
              27.0
            ]
          },
          "x": "vegtyp",
          "n": 27
        }
      }
    },
    {
      "lhs": "z0max",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "linear",
        "bindings": {
          "table": {
            "op": "const",
            "args": [],
            "value": [
              0.5,
              0.15000000596046448,
              0.10000000149011612,
              0.15000000596046448,
              0.14000000059604645,
              0.20000000298023224,
              0.11999999731779099,
              0.05000000074505806,
              0.05999999865889549,
              0.15000000596046448,
              0.5,
              0.5,
              0.5,
              0.5,
              0.5,
              9.999999747378752e-05,
              0.20000000298023224,
              0.4000000059604645,
              0.009999999776482582,
              0.10000000149011612,
              0.30000001192092896,
              0.15000000596046448,
              0.10000000149011612,
              0.0010000000474974513,
              0.009999999776482582,
              0.15000000596046448,
              0.009999999776482582
            ]
          },
          "axis": {
            "op": "const",
            "args": [],
            "value": [
              1.0,
              2.0,
              3.0,
              4.0,
              5.0,
              6.0,
              7.0,
              8.0,
              9.0,
              10.0,
              11.0,
              12.0,
              13.0,
              14.0,
              15.0,
              16.0,
              17.0,
              18.0,
              19.0,
              20.0,
              21.0,
              22.0,
              23.0,
              24.0,
              25.0,
              26.0,
              27.0
            ]
          },
          "x": "vegtyp",
          "n": 27
        }
      }
    },
    {
      "lhs": "albedomin",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "linear",
        "bindings": {
          "table": {
            "op": "const",
            "args": [],
            "value": [
              0.15000000596046448,
              0.17000000178813934,
              0.20000000298023224,
              0.18000000715255737,
              0.18000000715255737,
              0.1599999964237213,
              0.1899999976158142,
              0.25,
              0.2199999988079071,
              0.20000000298023224,
              0.1599999964237213,
              0.14000000059604645,
              0.11999999731779099,
              0.11999999731779099,
              0.17000000178813934,
              0.07999999821186066,
              0.14000000059604645,
              0.14000000059604645,
              0.3799999952316284,
              0.15000000596046448,
              0.15000000596046448,
              0.15000000596046448,
              0.25,
              0.550000011920929,
              0.30000001192092896,
              0.1599999964237213,
              0.6000000238418579
            ]
          },
          "axis": {
            "op": "const",
            "args": [],
            "value": [
              1.0,
              2.0,
              3.0,
              4.0,
              5.0,
              6.0,
              7.0,
              8.0,
              9.0,
              10.0,
              11.0,
              12.0,
              13.0,
              14.0,
              15.0,
              16.0,
              17.0,
              18.0,
              19.0,
              20.0,
              21.0,
              22.0,
              23.0,
              24.0,
              25.0,
              26.0,
              27.0
            ]
          },
          "x": "vegtyp",
          "n": 27
        }
      }
    },
    {
      "lhs": "albedomax",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "linear",
        "bindings": {
          "table": {
            "op": "const",
            "args": [],
            "value": [
              0.15000000596046448,
              0.23000000417232513,
              0.25,
              0.23000000417232513,
              0.23000000417232513,
              0.20000000298023224,
              0.23000000417232513,
              0.30000001192092896,
              0.30000001192092896,
              0.20000000298023224,
              0.17000000178813934,
              0.15000000596046448,
              0.11999999731779099,
              0.11999999731779099,
              0.25,
              0.07999999821186066,
              0.14000000059604645,
              0.14000000059604645,
              0.3799999952316284,
              0.20000000298023224,
              0.20000000298023224,
              0.20000000298023224,
              0.25,
              0.699999988079071,
              0.30000001192092896,
              0.1599999964237213,
              0.6000000238418579
            ]
          },
          "axis": {
            "op": "const",
            "args": [],
            "value": [
              1.0,
              2.0,
              3.0,
              4.0,
              5.0,
              6.0,
              7.0,
              8.0,
              9.0,
              10.0,
              11.0,
              12.0,
              13.0,
              14.0,
              15.0,
              16.0,
              17.0,
              18.0,
              19.0,
              20.0,
              21.0,
              22.0,
              23.0,
              24.0,
              25.0,
              26.0,
              27.0
            ]
          },
          "x": "vegtyp",
          "n": 27
        }
      }
    },
    {
      "lhs": "kdt",
      "rhs": {
        "op": "*",
        "args": [
          "par.refkdt",
          {
            "op": "/",
            "args": [
              "dksat",
              "par.refdk"
            ]
          }
        ]
      }
    },
    {
      "lhs": "frzfact",
      "rhs": {
        "op": "*",
        "args": [
          {
            "op": "/",
            "args": [
              "smcmax",
              "smcref"
            ]
          },
          {
            "op": "/",
            "args": [
              0.412,
              0.468
            ]
          }
        ]
      }
    },
    {
      "lhs": "frzx",
      "rhs": {
        "op": "*",
        "args": [
          "par.frzk",
          "frzfact"
        ]
      }
    },
    {
      "lhs": "shdfac_eff",
      "rhs": {
        "op": "ifelse",
        "args": [
          {
            "op": "==",
            "args": [
              "vegtyp",
              "par.bare"
            ]
          },
          0.0,
          "shdfac"
        ]
      }
    },
    {
      "lhs": "interp_fraction",
      "rhs": {
        "op": "ifelse",
        "args": [
          {
            "op": ">",
            "args": [
              "shdmax",
              "shdmin"
            ]
          },
          {
            "op": "max",
            "args": [
              {
                "op": "min",
                "args": [
                  {
                    "op": "/",
                    "args": [
                      {
                        "op": "-",
                        "args": [
                          "shdfac_eff",
                          "shdmin"
                        ]
                      },
                      {
                        "op": "-",
                        "args": [
                          "shdmax",
                          "shdmin"
                        ]
                      }
                    ]
                  },
                  1.0
                ]
              },
              0.0
            ]
          },
          0.5
        ]
      }
    },
    {
      "lhs": "xlai",
      "rhs": {
        "op": "ifelse",
        "args": [
          {
            "op": ">=",
            "args": [
              "shdfac_eff",
              "shdmax"
            ]
          },
          "laimax",
          {
            "op": "ifelse",
            "args": [
              {
                "op": "<=",
                "args": [
                  "shdfac_eff",
                  "shdmin"
                ]
              },
              "laimin",
              {
                "op": "+",
                "args": [
                  {
                    "op": "*",
                    "args": [
                      {
                        "op": "-",
                        "args": [
                          1.0,
                          "interp_fraction"
                        ]
                      },
                      "laimin"
                    ]
                  },
                  {
                    "op": "*",
                    "args": [
                      "interp_fraction",
                      "laimax"
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "lhs": "embrd",
      "rhs": {
        "op": "ifelse",
        "args": [
          {
            "op": ">=",
            "args": [
              "shdfac_eff",
              "shdmax"
            ]
          },
          "emissmax",
          {
            "op": "ifelse",
            "args": [
              {
                "op": "<=",
                "args": [
                  "shdfac_eff",
                  "shdmin"
                ]
              },
              "emissmin",
              {
                "op": "+",
                "args": [
                  {
                    "op": "*",
                    "args": [
                      {
                        "op": "-",
                        "args": [
                          1.0,
                          "interp_fraction"
                        ]
                      },
                      "emissmin"
                    ]
                  },
                  {
                    "op": "*",
                    "args": [
                      "interp_fraction",
                      "emissmax"
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "lhs": "z0brd",
      "rhs": {
        "op": "ifelse",
        "args": [
          {
            "op": ">=",
            "args": [
              "shdfac_eff",
              "shdmax"
            ]
          },
          "z0max",
          {
            "op": "ifelse",
            "args": [
              {
                "op": "<=",
                "args": [
                  "shdfac_eff",
                  "shdmin"
                ]
              },
              "z0min",
              {
                "op": "+",
                "args": [
                  {
                    "op": "*",
                    "args": [
                      {
                        "op": "-",
                        "args": [
                          1.0,
                          "interp_fraction"
                        ]
                      },
                      "z0min"
                    ]
                  },
                  {
                    "op": "*",
                    "args": [
                      "interp_fraction",
                      "z0max"
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "lhs": "alb",
      "rhs": {
        "op": "ifelse",
        "args": [
          {
            "op": ">=",
            "args": [
              "shdfac_eff",
              "shdmax"
            ]
          },
          "albedomin",
          {
            "op": "ifelse",
            "args": [
              {
                "op": "<=",
                "args": [
                  "shdfac_eff",
                  "shdmin"
                ]
              },
              "albedomax",
              {
                "op": "+",
                "args": [
                  {
                    "op": "*",
                    "args": [
                      {
                        "op": "-",
                        "args": [
                          1.0,
                          "interp_fraction"
                        ]
                      },
                      "albedomax"
                    ]
                  },
                  {
                    "op": "*",
                    "args": [
                      "interp_fraction",
                      "albedomin"
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  ],
  "tests": [
    {
      "id": "usgs_siltloam_cropland",
      "description": "Reference: the VEGPARM/SOILPARM/GENPARM tables WRF loaded for the chem_opt = 170 idealized-column run (USGS land use, STAS soils), carried verbatim in the tbl_* fields of data/eqwefic/dumps/chem170_wrf/esm_dump_noah_601.json, for soiltyp = 4 (silt loam), vegtyp = 2 (dryland cropland and pasture) and slopetyp = 1. The four assertions that REDPRM itself produces -- smcmax, smcref, smcwlt, smcdry, plus nroot, rsmin and xlai -- are end-to-end: they compare against what SFLX returned, not against the table this component was built from. The remaining soil assertions are TRANSCRIPTION CHECKS against the same table, so they catch an off-by-one in the category index or a corrupted row but cannot catch a table that was wrong to begin with; the seven single-soil-type tests below are the independent check. shdmin = shdmax = 0 here, so the greenness selection takes the shdfac >= shdmax branch and xlai = laimax.",
      "parameter_overrides": {
        "soiltyp": 4.0,
        "vegtyp": 2.0,
        "slopetyp": 1.0,
        "shdfac": 0.5,
        "shdmin": 0.0,
        "shdmax": 0.0
      },
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "bexp",
          "time": 0.0,
          "expected": 5.329999923706055,
          "tolerance": {
            "rel": 1e-12
          }
        },
        {
          "variable": "dksat",
          "time": 0.0,
          "expected": 2.8100000690756133e-06,
          "tolerance": {
            "rel": 1e-12
          }
        },
        {
          "variable": "dwsat",
          "time": 0.0,
          "expected": 2.390000008745119e-05,
          "tolerance": {
            "rel": 1e-12
          }
        },
        {
          "variable": "f1",
          "time": 0.0,
          "expected": 0.16200000047683716,
          "tolerance": {
            "rel": 1e-12
          }
        },
        {
          "variable": "psisat",
          "time": 0.0,
          "expected": 0.7590000033378601,
          "tolerance": {
            "rel": 1e-12
          }
        },
        {
          "variable": "quartz",
          "time": 0.0,
          "expected": 0.25,
          "tolerance": {
            "rel": 1e-12
          }
        },
        {
          "variable": "smcdry",
          "time": 0.0,
          "expected": 0.08399999886751175,
          "tolerance": {
            "rel": 1e-12
          }
        },
        {
          "variable": "smcmax",
          "time": 0.0,
          "expected": 0.47600001096725464,
          "tolerance": {
            "rel": 1e-12
          }
        },
        {
          "variable": "smcref",
          "time": 0.0,
          "expected": 0.36000001430511475,
          "tolerance": {
            "rel": 1e-12
          }
        },
        {
          "variable": "smcwlt",
          "time": 0.0,
          "expected": 0.08399999886751175,
          "tolerance": {
            "rel": 1e-12
          }
        },
        {
          "variable": "slope",
          "time": 0.0,
          "expected": 0.10000000149011612,
          "tolerance": {
            "rel": 1e-12
          }
        },
        {
          "variable": "nroot",
          "time": 0.0,
          "expected": 3.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "rsmin",
          "time": 0.0,
          "expected": 40.0,
          "tolerance": {
            "rel": 1e-12
          }
        },
        {
          "variable": "rgl",
          "time": 0.0,
          "expected": 100.0,
          "tolerance": {
            "rel": 1e-12
          }
        },
        {
          "variable": "hs",
          "time": 0.0,
          "expected": 36.25,
          "tolerance": {
            "rel": 1e-12
          }
        },
        {
          "variable": "snup",
          "time": 0.0,
          "expected": 0.03999999910593033,
          "tolerance": {
            "rel": 1e-12
          }
        },
        {
          "variable": "xlai",
          "time": 0.0,
          "expected": 5.679999828338623,
          "tolerance": {
            "rel": 1e-12
          }
        },
        {
          "variable": "kdt",
          "time": 0.0,
          "expected": 4.215000114255272,
          "tolerance": {
            "rel": 1e-12
          }
        },
        {
          "variable": "frzfact",
          "time": 0.0,
          "expected": 1.164007577906685,
          "tolerance": {
            "rel": 1e-12
          }
        },
        {
          "variable": "frzx",
          "time": 0.0,
          "expected": 0.17460114362402857,
          "tolerance": {
            "rel": 1e-12
          }
        }
      ]
    },
    {
      "id": "stas_soiltype02",
      "description": "Reference: WRF 4.8 real-data run over the Colorado Rockies (8.1 km, 18 h, data/eqwefic/gwdo_real, dumped by ctessum-claude/WRF branch earthsciml-instrumented-gwdo), at a column whose soil category is 2 (loamy sand). smcmax, smcref, smcwlt and smcdry are REDPRM's own outputs for that column, dumped by WRF, so this is an INDEPENDENT end-to-end check of the SOILPARM lookup -- a different run, a different executable and a different land-use table from the one the component's table was taken from. Only soil quantities are asserted: that run uses the 20-category MODIS vegetation table (isurban = 13), not the USGS table this component carries, so its vegtyp indexes a different table and its vegetation parameters are deliberately NOT compared. Values are real32 from a single-precision WRF build, hence rel 1e-7 rather than the 1e-12 used against the kernel replay.",
      "parameter_overrides": {
        "soiltyp": 2.0,
        "vegtyp": 2.0,
        "slopetyp": 1.0,
        "shdfac": 0.3568728566169739,
        "shdmin": 0.11958763003349304,
        "shdmax": 0.4095876216888428
      },
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "smcmax",
          "time": 0.0,
          "expected": 0.42100000381469727,
          "tolerance": {
            "rel": 1e-07
          }
        },
        {
          "variable": "smcref",
          "time": 0.0,
          "expected": 0.28299999237060547,
          "tolerance": {
            "rel": 1e-07
          }
        },
        {
          "variable": "smcwlt",
          "time": 0.0,
          "expected": 0.02800000086426735,
          "tolerance": {
            "rel": 1e-07
          }
        },
        {
          "variable": "smcdry",
          "time": 0.0,
          "expected": 0.02800000086426735,
          "tolerance": {
            "rel": 1e-07
          }
        }
      ]
    },
    {
      "id": "stas_soiltype03",
      "description": "Reference: WRF 4.8 real-data run over the Colorado Rockies (8.1 km, 18 h, data/eqwefic/gwdo_real, dumped by ctessum-claude/WRF branch earthsciml-instrumented-gwdo), at a column whose soil category is 3 (sandy loam). smcmax, smcref, smcwlt and smcdry are REDPRM's own outputs for that column, dumped by WRF, so this is an INDEPENDENT end-to-end check of the SOILPARM lookup -- a different run, a different executable and a different land-use table from the one the component's table was taken from. Only soil quantities are asserted: that run uses the 20-category MODIS vegetation table (isurban = 13), not the USGS table this component carries, so its vegtyp indexes a different table and its vegetation parameters are deliberately NOT compared. Values are real32 from a single-precision WRF build, hence rel 1e-7 rather than the 1e-12 used against the kernel replay.",
      "parameter_overrides": {
        "soiltyp": 3.0,
        "vegtyp": 2.0,
        "slopetyp": 1.0,
        "shdfac": 0.23582524061203003,
        "shdmin": 0.16932038962841034,
        "shdmax": 0.255048543214798
      },
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "smcmax",
          "time": 0.0,
          "expected": 0.4339999854564667,
          "tolerance": {
            "rel": 1e-07
          }
        },
        {
          "variable": "smcref",
          "time": 0.0,
          "expected": 0.31200000643730164,
          "tolerance": {
            "rel": 1e-07
          }
        },
        {
          "variable": "smcwlt",
          "time": 0.0,
          "expected": 0.04699999839067459,
          "tolerance": {
            "rel": 1e-07
          }
        },
        {
          "variable": "smcdry",
          "time": 0.0,
          "expected": 0.04699999839067459,
          "tolerance": {
            "rel": 1e-07
          }
        }
      ]
    },
    {
      "id": "stas_soiltype04",
      "description": "Reference: WRF 4.8 real-data run over the Colorado Rockies (8.1 km, 18 h, data/eqwefic/gwdo_real, dumped by ctessum-claude/WRF branch earthsciml-instrumented-gwdo), at a column whose soil category is 4 (silt loam). smcmax, smcref, smcwlt and smcdry are REDPRM's own outputs for that column, dumped by WRF, so this is an INDEPENDENT end-to-end check of the SOILPARM lookup -- a different run, a different executable and a different land-use table from the one the component's table was taken from. Only soil quantities are asserted: that run uses the 20-category MODIS vegetation table (isurban = 13), not the USGS table this component carries, so its vegtyp indexes a different table and its vegetation parameters are deliberately NOT compared. Values are real32 from a single-precision WRF build, hence rel 1e-7 rather than the 1e-12 used against the kernel replay.",
      "parameter_overrides": {
        "soiltyp": 4.0,
        "vegtyp": 2.0,
        "slopetyp": 1.0,
        "shdfac": 0.4600934684276581,
        "shdmin": 0.1766355186700821,
        "shdmax": 0.48719626665115356
      },
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "smcmax",
          "time": 0.0,
          "expected": 0.47600001096725464,
          "tolerance": {
            "rel": 1e-07
          }
        },
        {
          "variable": "smcref",
          "time": 0.0,
          "expected": 0.36000001430511475,
          "tolerance": {
            "rel": 1e-07
          }
        },
        {
          "variable": "smcwlt",
          "time": 0.0,
          "expected": 0.08399999886751175,
          "tolerance": {
            "rel": 1e-07
          }
        },
        {
          "variable": "smcdry",
          "time": 0.0,
          "expected": 0.08399999886751175,
          "tolerance": {
            "rel": 1e-07
          }
        }
      ]
    },
    {
      "id": "stas_soiltype06",
      "description": "Reference: WRF 4.8 real-data run over the Colorado Rockies (8.1 km, 18 h, data/eqwefic/gwdo_real, dumped by ctessum-claude/WRF branch earthsciml-instrumented-gwdo), at a column whose soil category is 6 (loam). smcmax, smcref, smcwlt and smcdry are REDPRM's own outputs for that column, dumped by WRF, so this is an INDEPENDENT end-to-end check of the SOILPARM lookup -- a different run, a different executable and a different land-use table from the one the component's table was taken from. Only soil quantities are asserted: that run uses the 20-category MODIS vegetation table (isurban = 13), not the USGS table this component carries, so its vegtyp indexes a different table and its vegetation parameters are deliberately NOT compared. Values are real32 from a single-precision WRF build, hence rel 1e-7 rather than the 1e-12 used against the kernel replay.",
      "parameter_overrides": {
        "soiltyp": 6.0,
        "vegtyp": 2.0,
        "slopetyp": 1.0,
        "shdfac": 0.5481789708137512,
        "shdmin": 0.14185185730457306,
        "shdmax": 0.715925931930542
      },
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "smcmax",
          "time": 0.0,
          "expected": 0.4390000104904175,
          "tolerance": {
            "rel": 1e-07
          }
        },
        {
          "variable": "smcref",
          "time": 0.0,
          "expected": 0.32899999618530273,
          "tolerance": {
            "rel": 1e-07
          }
        },
        {
          "variable": "smcwlt",
          "time": 0.0,
          "expected": 0.06599999964237213,
          "tolerance": {
            "rel": 1e-07
          }
        },
        {
          "variable": "smcdry",
          "time": 0.0,
          "expected": 0.06599999964237213,
          "tolerance": {
            "rel": 1e-07
          }
        }
      ]
    },
    {
      "id": "stas_soiltype07",
      "description": "Reference: WRF 4.8 real-data run over the Colorado Rockies (8.1 km, 18 h, data/eqwefic/gwdo_real, dumped by ctessum-claude/WRF branch earthsciml-instrumented-gwdo), at a column whose soil category is 7 (sandy clay loam). smcmax, smcref, smcwlt and smcdry are REDPRM's own outputs for that column, dumped by WRF, so this is an INDEPENDENT end-to-end check of the SOILPARM lookup -- a different run, a different executable and a different land-use table from the one the component's table was taken from. Only soil quantities are asserted: that run uses the 20-category MODIS vegetation table (isurban = 13), not the USGS table this component carries, so its vegtyp indexes a different table and its vegetation parameters are deliberately NOT compared. Values are real32 from a single-precision WRF build, hence rel 1e-7 rather than the 1e-12 used against the kernel replay.",
      "parameter_overrides": {
        "soiltyp": 7.0,
        "vegtyp": 2.0,
        "slopetyp": 1.0,
        "shdfac": 0.12003085762262344,
        "shdmin": 0.07462962716817856,
        "shdmax": 0.12157407402992249
      },
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "smcmax",
          "time": 0.0,
          "expected": 0.40400001406669617,
          "tolerance": {
            "rel": 1e-07
          }
        },
        {
          "variable": "smcref",
          "time": 0.0,
          "expected": 0.3149999976158142,
          "tolerance": {
            "rel": 1e-07
          }
        },
        {
          "variable": "smcwlt",
          "time": 0.0,
          "expected": 0.0689999982714653,
          "tolerance": {
            "rel": 1e-07
          }
        },
        {
          "variable": "smcdry",
          "time": 0.0,
          "expected": 0.0689999982714653,
          "tolerance": {
            "rel": 1e-07
          }
        }
      ]
    },
    {
      "id": "stas_soiltype08",
      "description": "Reference: WRF 4.8 real-data run over the Colorado Rockies (8.1 km, 18 h, data/eqwefic/gwdo_real, dumped by ctessum-claude/WRF branch earthsciml-instrumented-gwdo), at a column whose soil category is 8 (silty clay loam). smcmax, smcref, smcwlt and smcdry are REDPRM's own outputs for that column, dumped by WRF, so this is an INDEPENDENT end-to-end check of the SOILPARM lookup -- a different run, a different executable and a different land-use table from the one the component's table was taken from. Only soil quantities are asserted: that run uses the 20-category MODIS vegetation table (isurban = 13), not the USGS table this component carries, so its vegtyp indexes a different table and its vegetation parameters are deliberately NOT compared. Values are real32 from a single-precision WRF build, hence rel 1e-7 rather than the 1e-12 used against the kernel replay.",
      "parameter_overrides": {
        "soiltyp": 8.0,
        "vegtyp": 2.0,
        "slopetyp": 1.0,
        "shdfac": 0.3329629600048065,
        "shdmin": 0.21222218871116638,
        "shdmax": 0.3847474157810211
      },
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "smcmax",
          "time": 0.0,
          "expected": 0.46399998664855957,
          "tolerance": {
            "rel": 1e-07
          }
        },
        {
          "variable": "smcref",
          "time": 0.0,
          "expected": 0.3869999945163727,
          "tolerance": {
            "rel": 1e-07
          }
        },
        {
          "variable": "smcwlt",
          "time": 0.0,
          "expected": 0.11999999731779099,
          "tolerance": {
            "rel": 1e-07
          }
        },
        {
          "variable": "smcdry",
          "time": 0.0,
          "expected": 0.11999999731779099,
          "tolerance": {
            "rel": 1e-07
          }
        }
      ]
    },
    {
      "id": "stas_soiltype11",
      "description": "Reference: WRF 4.8 real-data run over the Colorado Rockies (8.1 km, 18 h, data/eqwefic/gwdo_real, dumped by ctessum-claude/WRF branch earthsciml-instrumented-gwdo), at a column whose soil category is 11 (clay). smcmax, smcref, smcwlt and smcdry are REDPRM's own outputs for that column, dumped by WRF, so this is an INDEPENDENT end-to-end check of the SOILPARM lookup -- a different run, a different executable and a different land-use table from the one the component's table was taken from. Only soil quantities are asserted: that run uses the 20-category MODIS vegetation table (isurban = 13), not the USGS table this component carries, so its vegtyp indexes a different table and its vegetation parameters are deliberately NOT compared. Values are real32 from a single-precision WRF build, hence rel 1e-7 rather than the 1e-12 used against the kernel replay.",
      "parameter_overrides": {
        "soiltyp": 11.0,
        "vegtyp": 2.0,
        "slopetyp": 1.0,
        "shdfac": 0.4797411262989044,
        "shdmin": 0.16145631670951843,
        "shdmax": 0.5030097365379333
      },
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "smcmax",
          "time": 0.0,
          "expected": 0.46799999475479126,
          "tolerance": {
            "rel": 1e-07
          }
        },
        {
          "variable": "smcref",
          "time": 0.0,
          "expected": 0.40400001406669617,
          "tolerance": {
            "rel": 1e-07
          }
        },
        {
          "variable": "smcwlt",
          "time": 0.0,
          "expected": 0.12600000202655792,
          "tolerance": {
            "rel": 1e-07
          }
        },
        {
          "variable": "smcdry",
          "time": 0.0,
          "expected": 0.12600000202655792,
          "tolerance": {
            "rel": 1e-07
          }
        }
      ]
    },
    {
      "id": "usgs19_bare_override",
      "description": "Reference: the dumped SFLX arguments of chem170 step 601 (data/eqwefic/dumps/chem170_wrf_pre_coag/esm_dump_noah_601.json, whose tbl_* fields carry the VEGPARM table WRF loaded) with vegtyp = 19, the USGS BARE category, with a NONZERO input greenness shdfac = 0.3 and shdmin = 0, shdmax = 0.4. REDPRM zeroes shdfac on this category (module_sf_noahlsm.F:2503) BEFORE the greenness selection, so the selection takes the shdfac <= shdmin branch: xlai = laimin, embrd = emissmin, z0brd = z0min, alb = albedomax. Without the override the input 0.3 would interpolate 3/4 of the way to the max-greenness values. The replay confirms the zero independently: it returns rc = 0 and ec = ett = 0 (CANRES and TRANSP skipped). Replayed through the real64 kernels/noah_driver (data/eqwefic/noah_pr58_fixes/r64_veg19.json). End-to-end against what SFLX returned on this snow-free column: xlai = xlai_out, embrd = emissi_out, z0brd = z0brd_out, alb = albedo_out (SFLX's snow-free branch sets EMISSI = EMBRD and ALBEDO = ALB) and nroot = the replay's nroot. shdfac_eff is not published by the driver; its expected value is REDPRM's assignment.",
      "parameter_overrides": {
        "soiltyp": 4.0,
        "vegtyp": 19.0,
        "slopetyp": 1.0,
        "shdfac": 0.3,
        "shdmin": 0.0,
        "shdmax": 0.4
      },
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "shdfac_eff",
          "time": 0.0,
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "xlai",
          "time": 0.0,
          "expected": 0.10000000149011612,
          "tolerance": {
            "rel": 1e-12
          }
        },
        {
          "variable": "embrd",
          "time": 0.0,
          "expected": 0.8999999761581421,
          "tolerance": {
            "rel": 1e-12
          }
        },
        {
          "variable": "z0brd",
          "time": 0.0,
          "expected": 0.009999999776482582,
          "tolerance": {
            "rel": 1e-12
          }
        },
        {
          "variable": "alb",
          "time": 0.0,
          "expected": 0.3799999952316284,
          "tolerance": {
            "rel": 1e-12
          }
        },
        {
          "variable": "nroot",
          "time": 0.0,
          "expected": 1.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "usgs27_noroots",
      "description": "Reference: the dumped SFLX arguments of chem170 step 601 (data/eqwefic/dumps/chem170_wrf_pre_coag/esm_dump_noah_601.json, whose tbl_* fields carry the VEGPARM table WRF loaded) with vegtyp = 27 (USGS white sand), one of the categories with NO root layers, shdfac = 0 and shdmin = shdmax = 0 (so the shdfac >= shdmax branch, max-greenness values). Replayed through the real64 kernels/noah_driver (data/eqwefic/noah_pr58_fixes/r64_veg27.json). End-to-end against what SFLX returned on this snow-free column: xlai = xlai_out, embrd = emissi_out, z0brd = z0brd_out, alb = albedo_out (SFLX's snow-free branch sets EMISSI = EMBRD and ALBEDO = ALB) and nroot = the replay's nroot. shdfac_eff is not published by the driver; its expected value is REDPRM's assignment.",
      "parameter_overrides": {
        "soiltyp": 4.0,
        "vegtyp": 27.0,
        "slopetyp": 1.0,
        "shdfac": 0.0,
        "shdmin": 0.0,
        "shdmax": 0.0
      },
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "shdfac_eff",
          "time": 0.0,
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "xlai",
          "time": 0.0,
          "expected": 0.009999999776482582,
          "tolerance": {
            "rel": 1e-12
          }
        },
        {
          "variable": "embrd",
          "time": 0.0,
          "expected": 0.8299999833106995,
          "tolerance": {
            "rel": 1e-12
          }
        },
        {
          "variable": "z0brd",
          "time": 0.0,
          "expected": 0.009999999776482582,
          "tolerance": {
            "rel": 1e-12
          }
        },
        {
          "variable": "alb",
          "time": 0.0,
          "expected": 0.6000000238418579,
          "tolerance": {
            "rel": 1e-12
          }
        },
        {
          "variable": "nroot",
          "time": 0.0,
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    }
  ]
}