Project

EarthSciModels

Browsable catalog of .esm Earth-science model components.

Contents

NTiedtkePrecipitationFlux

The convective rain and snow flux profiles of WRF's New Tiedtke scheme -- blocks 2 and 3 of `cuflxn` (`phys/physics_mmm/cu_ntiedtke.F90:2974-3057`, WRF 4.8). Given the precipitation the updraught and downdraught generate in each layer, it carries the falling water down the column, splits it between rain and snow by temperature, melts the snow that falls through the freezing level, and evaporates what it can into the sub-cloud air. The surface convective rainfall is the bottom value of the rain flux.

Domain
atmospheric_dynamics
Subdomain
ntiedtke
Type
model
.esm schema
1.2.0
Source
components/atmospheric_dynamics/ntiedtke/precipitation_flux.esm
Tags
#atmospheric_dynamics #ntiedtke #model #wrf #convection #new-tiedtke #precipitation #melting #evaporation #recurrence #column

Description

The convective rain and snow flux profiles of WRF’s New Tiedtke scheme – blocks 2 and 3 of cuflxn (phys/physics_mmm/cu_ntiedtke.F90:2974-3057, WRF 4.8). Given the precipitation the updraught and downdraught generate in each layer, it carries the falling water down the column, splits it between rain and snow by temperature, melts the snow that falls through the freezing level, and evaporates what it can into the sub-cloud air. The surface convective rainfall is the bottom value of the rain flux.

TWO SWEEPS, AND THEY CANNOT BE FUSED. The Fortran runs the phase-partition sweep over the whole cloud, from one level above cloud top to the surface, and then runs the evaporation sweep again over the sub-cloud part, from cloud base to the surface, re-writing what the first left there. It is tempting to read that as one pass with a branch – I wrote it that way first – but the first sweep computes the MELTING RATE and the ADJUSTED SATURATION HUMIDITY, and the second sweep READS both. Fusing them recomputes the melting against the evaporation sweep’s flux instead of the partition sweep’s, which is a different number: measured on this reference set, up to 0.31 of the flux amplitude. So the ordering is a real data dependency and not an arbitrary choice, and the two stages are written out separately here. Tried, measured, rejected.

WHY NEITHER SWEEP IS A CYCLE, which is the reason this component exists at all. Each looks like a recurrence between TWO variables: the rain flux and the snow flux each depend on both of themselves at the level above, because when either goes negative the scheme rebalances them against each other. esm-spec 4.3.1.1 rejects a cycle between distinct variables at any lag, so written that way neither sweep is admissible. They are not cycles. MELTING CANCELS OUT OF THE TOTAL – it moves mass from snow to rain and leaves the falling water alone – and so does the rebalance, which only ever moves a deficit from one phase to the other. What remains is

total\[k+1\] = max(total\[k\] + generation\[k\], 0)

which reads only itself, and a rain flux that is its own unconstrained value clamped into

\[0, total\[k+1\]

] – a read of another variable at the SAME cell, which is not a cycle. Two single-variable recurrences in a DAG. Verified against the Fortran over all 17 convecting columns of the reference set at 4.3e-16 of the flux amplitude, which is the check that turned the reformulation from plausible into settled.

THE STAGE BOUNDARY IS NOT THE ROUTINE BOUNDARY. cumastrn runs a post-correction after cuflxn returns: it rescales the downdraught mass flux and adds the remainder back into the rain flux, then recomputes the precipitation generation as the flux difference. The fluxes visible to the next stage are therefore NOT the ones this component produces, and a test pinned against them disagrees by up to 0.31 of the amplitude on exactly the columns whose downdraught was rescaled while being bit-exact on the others. This component is pinned against cuflxn’s OWN exit, and the post-correction belongs to whatever component owns the downdraught rescaling (FORTRAN_BUGS N113).

Vertical ordering is the scheme’s own TOP-DOWN kernel ordering: index 1 is the model top, index NLEV the surface, and the sweeps run in the direction the rain falls, from low index to high.

TWO THINGS THE PINNING TAUGHT, both of which the component is written around.

A DERIVED COMPLEMENT IS NOT A CLAMP. The snow flux was first written as the total minus the rain, which is algebraically exact and numerically is not: the subtraction leaves plus or minus one ulp of the total where the Fortran’s explicit branch assigns a literal zero. That is 4e-21 in the flux itself and invisible – but the melting test is conditioned on snow > 0, so the ulp FLIPPED A BRANCH at one level of one column, and the saturation humidity it sets moved by 1.1e-4. The fluxes agreed to 4.3e-16 throughout; only the diagnostic disagreed, which is how it was found. Both phases are now clamped into

\[0, total\]

in their own right, which reproduces all four of the Fortran’s branches exactly and reintroduces nothing: the residual improved to 2.4e-16 and the humidity became exact.

A TOLERANCE IS SIZED BY THE ARITHMETIC, NOT BY THE ANSWER. Three of the assertions could not hold at 1e-9 of their own profile maximum. The flux quantities carry 2e-9 instead, traced: the evaporation passes through (sqrt(p/p_sfc)/evap_c1 * F/zcucov)^0.5777 with evap_c1 = 5.09e-3, so a factor of about 196 enters the chain before the flux is reconstituted, and the measured worst is 1.8e-9. The net precipitation source needs a different bound again – it is of order 2e-6 but is formed by adding an evaporation that is a cancelling difference of fluxes of order 1e-5, so its attainable precision is set by the FLUX it is differenced out of, and its bound is 2e-9 of the flux amplitude rather than of its own. Sized by its own magnitude it would be 5e-15, below the floor, and would fail by less than a factor of two – the kind of margin that invites widening a bound instead of asking what sets it.

Reference

  • Tiedtke, M. (1989). A comprehensive mass flux scheme for cumulus parameterization in large-scale models. Mon. Wea. Rev. 117, 1779-1800.
  • Kessler, E. (1969). On the distribution and continuity of water substance in atmospheric circulations. Meteor. Monogr. 10, No. 32. (the evaporation rate of falling precipitation)
  • NCAR/MMM-physics cu_ntiedtke.F90 (WRF 4.8 phys/physics_mmm submodule), subroutine cuflxn blocks 2 and 3.

Observed

NameUnitsDefaultDescription
TKLayer temperature; it sets the phase of the condensate and drives the melting.
qkg/kgLayer water-vapour mixing ratio; the sub-saturation it implies is what the falling precipitation evaporates into.
qs_inkg/kgLayer saturation mixing ratio as the sweeps first see it.
paphPaHalf-level pressure, increasing with the index because the ordering is top-down.
papPaLayer mid-point pressure.
gen_upkg/(m^2*s)Precipitation generated in the layer by the UPDRAUGHT, as cuflxn has it after zeroing the levels outside the cloud.
gen_dd_inkg/(m^2*s)Precipitation generated (negative: evaporated) in the layer by the DOWNDRAUGHT, likewise after the zeroing.
kctop1Cloud-top level index. The partition sweep starts one level above it.
kcbot1Cloud-base level index. The evaporation sweep starts here and re-writes the partition sweep’s result below it.
rhevap1Relative humidity the sub-cloud layer may be brought to by evaporation: 0.7 over land, 0.9 over water. The bound is what stops one step of evaporation from saturating the sub-cloud air.
deltimsModel step. It enters ONLY the evaporation limiter, through zcons2 = 3/(g dt), which caps how much water a single step may evaporate. That makes it a parameter of this stage in the same sense as GWDO’s deltim – prescribed by the mounting document, not inherited from the integrator.
melt_capkg/(m^2*s*K)Most snow the layer’s heat content can melt in one relaxation time, cp (1 + (T - T0)/2) (T - T0) dp / (L_f g tau). The factor (1 + (T-T0)/2) is the scheme’s own warm-bias enhancement and has no derivation in the source. Per kelvin of excess temperature, so kg/(m^2 s K): the melt is melt_cap (T - T0) (declared kg/(m^2 s) until 2026-11-12, which the esm 2.1 validator rejected in qs_at). The bracket itself adds kelvins to 1 – the 1/2 implicitly carries 1/K – which is how the Fortran writes it and is kept.
meltkg/(m^2*s)Snow actually melted in the layer – the partition sweep applies this through the melt_at template at the cell it has just published; the array here re-applies the same template to the finished profile so the rate can be asserted.
qskg/kgSaturation mixing ratio AFTER the melting has cooled the layer, re-applied to the finished partition profile. The evaporation sweep READS it – one of the two quantities that make the two sweeps unfusable.
liq_frac1Fraction of the layer’s generated condensate that falls as rain rather than snow. It is the mixed-phase weight foealfa, EXCEPT that it is forced to zero wherever the layer is below the triple point – the scheme’s ’no liquid precipitation above the melting level’ rule, which overrides the smooth weight with a hard cut.
glaciationkg/(m^2*s)Condensate reassigned from liquid to ice by that hard cut, which the scheme books as latent heat of freezing elsewhere.
tot_pkg/(m^2*s)TOTAL falling precipitation at each interface after the phase-partition sweep – rain plus snow. This is the recurrence that carries the sweep, and it is a single variable because melting and the negativity rebalance both conserve it: max(total + generation, 0), floored because the column cannot deliver water it does not have.
neg_p11 where the partition sweep’s rebalance fires because the generation would drive the total negative – the downdraught asking to evaporate more than is falling.
gen_ddkg/(m^2*s)Downdraught generation as the rebalance leaves it: limited, where it fires, to exactly the water available.
rain_pkg/(m^2*s)Rain flux after the partition sweep: its own unconstrained value clamped into \[0, total\]. The clamp IS the three-way rebalance – below zero the rain is emptied into the snow, above the total the snow is emptied into the rain – written as a clamp rather than as three branches because that is what it is.
snow_pkg/(m^2*s)Snow flux after the partition sweep. It is CLAMPED into \[0, total\] in its own right, not derived as the total minus the rain. The two are algebraically identical and numerically are not: the subtraction leaves plus or minus one ulp of the total where the Fortran’s explicit branch assigns a literal zero, which is 4e-21 in the flux and invisible – but the melting test is conditioned on snow > 0, so that ulp FLIPS A BRANCH, and the saturation humidity it sets then moves by 1.1e-4. Found by exactly that route: the fluxes agreed to 4.3e-16 while qs disagreed at one level. A derived complement is not a clamp.
evap_dry11 where the evaporation sweep finds essentially no precipitation arriving (total at or below prec_min) and zeroes everything below rather than evaporating. Applied inside the sweep through the matching template; this array re-applies it to the finished profile so it can be asserted.
evap_rawkg/(m^2*s)Kessler evaporation rate of the falling precipitation into the layer’s sub-saturation, before the humidity limiter. Applied inside the sweep through the matching template; this array re-applies it to the finished profile so it can be asserted.
evap_floorkg/(m^2*s)Least precipitation flux the humidity limiter permits to survive the layer: what would remain if evaporation brought the layer to rhevap times saturation within one step. The limiter is why deltim appears at all. Applied inside the sweep through the matching template; this array re-applies it to the finished profile so it can be asserted.
evapkg/(m^2*s)Evaporation actually applied, negative or zero: the Kessler rate limited by the humidity bound and by the water available. Applied inside the sweep through the matching template; this array re-applies it to the finished profile so it can be asserted.
totkg/(m^2*s)FINAL total precipitation flux: the partition sweep’s profile above cloud base and the evaporating profile below it, in one recurrence whose update switches at cloud base.
rainkg/(m^2*s)FINAL rain flux. Its value at the surface interface is the scheme’s convective rainfall rate.
snowkg/(m^2*s)FINAL snow flux, clamped in its own right for the same reason as snow_p; its surface value is the convective snowfall rate.
gen_up_outkg/(m^2*s)Updraught generation with the evaporation folded in. When the downdraught sink and evaporation would make the outgoing flux negative, add back the excess as cuflxn does when it clamps that flux to zero.
prainkg/(m^2*s)Column-integrated precipitation generated by the updraught, accumulated over the partition sweep’s range. A masked sum, not a sweep: it reads the generation before the evaporation sweep touches it.

Observed expressions

$$ T = \mathrm{input_pf_T}\left(\right) $$

Layer temperature; it sets the phase of the condensate and drives the melting.

$$ q = \mathrm{input_pf_q}\left(\right) $$

Layer water-vapour mixing ratio; the sub-saturation it implies is what the falling precipitation evaporates into.

$$ qs_{in} = \mathrm{input_pf_qs}\left(\right) $$

Layer saturation mixing ratio as the sweeps first see it.

$$ paph = \mathrm{input_pf_paph}\left(\right) $$

Half-level pressure, increasing with the index because the ordering is top-down.

$$ pap = \mathrm{input_pf_pap}\left(\right) $$

Layer mid-point pressure.

$$ gen_{up} = \mathrm{input_pf_genup}\left(\right) $$

Precipitation generated in the layer by the UPDRAUGHT, as cuflxn has it after zeroing the levels outside the cloud.

$$ gen_{dd\,in} = \mathrm{input_pf_gendd}\left(\right) $$

Precipitation generated (negative: evaporated) in the layer by the DOWNDRAUGHT, likewise after the zeroing.

$$ kctop = \mathrm{input_pf_kctop}\left(\right) $$

Cloud-top level index. The partition sweep starts one level above it.

$$ kcbot = \mathrm{input_pf_kcbot}\left(\right) $$

Cloud-base level index. The evaporation sweep starts here and re-writes the partition sweep’s result below it.

$$ rhevap = \mathrm{input_pf_rhevap}\left(\right) $$

Relative humidity the sub-cloud layer may be brought to by evaporation: 0.7 over land, 0.9 over water. The bound is what stops one step of evaporation from saturating the sub-cloud air.

$$ deltim = \mathrm{input_pf_deltim}\left(\right) $$

Model step. It enters ONLY the evaporation limiter, through zcons2 = 3/(g dt), which caps how much water a single step may evaporate. That makes it a parameter of this stage in the same sense as GWDO’s deltim – prescribed by the mounting document, not inherited from the integrator.

$$ melt_{cap} = \mathrm{faq}\left(T, paph\right) $$

Most snow the layer’s heat content can melt in one relaxation time, cp (1 + (T - T0)/2) (T - T0) dp / (L_f g tau). The factor (1 + (T-T0)/2) is the scheme’s own warm-bias enhancement and has no derivation in the source. Per kelvin of excess temperature, so kg/(m^2 s K): the melt is melt_cap (T - T0) (declared kg/(m^2 s) until 2026-11-12, which the esm 2.1 validator rejected in qs_at). The bracket itself adds kelvins to 1 – the 1/2 implicitly carries 1/K – which is how the Fortran writes it and is kept.

$$ melt = \mathrm{faq}\left(snow_{p}, melt_{cap}, T, neg_{p}\right) $$

Snow actually melted in the layer – the partition sweep applies this through the melt_at template at the cell it has just published; the array here re-applies the same template to the finished profile so the rate can be asserted.

$$ qs = \mathrm{faq}\left(snow_{p}, melt_{cap}, T, pap, qs_{in}\right) $$

Saturation mixing ratio AFTER the melting has cooled the layer, re-applied to the finished partition profile. The evaporation sweep READS it – one of the two quantities that make the two sweeps unfusable.

$$ liq_{frac} = \mathrm{ifelse}\left(\mathrm{<}\left(T, par.tmelt\right), 0.0, \mathrm{foealfa}\left(tt=T\right)\right) $$

Fraction of the layer’s generated condensate that falls as rain rather than snow. It is the mixed-phase weight foealfa, EXCEPT that it is forced to zero wherever the layer is below the triple point – the scheme’s ’no liquid precipitation above the melting level’ rule, which overrides the smooth weight with a hard cut.

$$ glaciation = \mathrm{faq}\left(T, gen_{up}, gen_{dd}\right) $$

Condensate reassigned from liquid to ice by that hard cut, which the scheme books as latent heat of freezing elsewhere.

$$ tot_{p} = \mathrm{faq}\left(gen_{up}, gen_{dd\,in}\right) $$

TOTAL falling precipitation at each interface after the phase-partition sweep – rain plus snow. This is the recurrence that carries the sweep, and it is a single variable because melting and the negativity rebalance both conserve it: max(total + generation, 0), floored because the column cannot deliver water it does not have.

$$ neg_{p} = \mathrm{faq}\left(tot_{p}, gen_{up}, gen_{dd\,in}\right) $$

1 where the partition sweep’s rebalance fires because the generation would drive the total negative – the downdraught asking to evaporate more than is falling.

$$ gen_{dd} = \mathrm{faq}\left(neg_{p}, tot_{p}, gen_{up}, gen_{dd\,in}\right) $$

Downdraught generation as the rebalance leaves it: limited, where it fires, to exactly the water available.

$$ rain_{p} = \mathrm{faq}\left(liq_{frac}, gen_{up}, gen_{dd}, tot_{p}, snow_{p}\right) $$

Rain flux after the partition sweep: its own unconstrained value clamped into \[0, total\]. The clamp IS the three-way rebalance – below zero the rain is emptied into the snow, above the total the snow is emptied into the rain – written as a clamp rather than as three branches because that is what it is.

$$ snow_{p} = \mathrm{faq}\left(liq_{frac}, gen_{up}, gen_{dd}, tot_{p}\right) $$

Snow flux after the partition sweep. It is CLAMPED into \[0, total\] in its own right, not derived as the total minus the rain. The two are algebraically identical and numerically are not: the subtraction leaves plus or minus one ulp of the total where the Fortran’s explicit branch assigns a literal zero, which is 4e-21 in the flux and invisible – but the melting test is conditioned on snow > 0, so that ulp FLIPS A BRANCH, and the saturation humidity it sets then moves by 1.1e-4. Found by exactly that route: the fluxes agreed to 4.3e-16 while qs disagreed at one level. A derived complement is not a clamp.

$$ evap_{dry} = \mathrm{faq}\left(tot, qs, q, paph\right) $$

1 where the evaporation sweep finds essentially no precipitation arriving (total at or below prec_min) and zeroes everything below rather than evaporating. Applied inside the sweep through the matching template; this array re-applies it to the finished profile so it can be asserted.

$$ evap_{raw} = \mathrm{faq}\left(tot, qs, q, paph\right) $$

Kessler evaporation rate of the falling precipitation into the layer’s sub-saturation, before the humidity limiter. Applied inside the sweep through the matching template; this array re-applies it to the finished profile so it can be asserted.

$$ evap_{floor} = \mathrm{faq}\left(tot, qs, q, paph\right) $$

Least precipitation flux the humidity limiter permits to survive the layer: what would remain if evaporation brought the layer to rhevap times saturation within one step. The limiter is why deltim appears at all. Applied inside the sweep through the matching template; this array re-applies it to the finished profile so it can be asserted.

$$ evap = \mathrm{faq}\left(tot, qs, q, paph\right) $$

Evaporation actually applied, negative or zero: the Kessler rate limited by the humidity bound and by the water available. Applied inside the sweep through the matching template; this array re-applies it to the finished profile so it can be asserted.

$$ tot = \mathrm{faq}\left(tot_{p}, gen_{dd}, qs, q, paph\right) $$

FINAL total precipitation flux: the partition sweep’s profile above cloud base and the evaporating profile below it, in one recurrence whose update switches at cloud base.

$$ rain = \mathrm{faq}\left(rain_{p}, liq_{frac}, gen_{dd}, tot, snow_{p}, qs, q, paph\right) $$

FINAL rain flux. Its value at the surface interface is the scheme’s convective rainfall rate.

$$ snow = \mathrm{faq}\left(snow_{p}, liq_{frac}, gen_{dd}, tot, qs, q, paph\right) $$

FINAL snow flux, clamped in its own right for the same reason as snow_p; its surface value is the convective snowfall rate.

$$ gen_{up\,out} = \mathrm{faq}\left(gen_{up}, evap, evap_{dry}, kcbot, tot, gen_{dd}\right) $$

Updraught generation with the evaporation folded in. When the downdraught sink and evaporation would make the outgoing flux negative, add back the excess as cuflxn does when it clamps that flux to zero.

$$ prain = \mathrm{faq}\left(gen_{up}\right) $$

Column-integrated precipitation generated by the updraught, accumulated over the partition sweep’s range. A masked sum, not a sweep: it reads the generation before the evaporation sweep touches it.

Expression Templates

in_partition

Parameters: kz

$$ \mathrm{ifelse}\left(\mathrm{>=}\left(kz, \mathrm{max}\left(2, kctop - 1\right)\right), 1.0, 0.0\right) $$

clamp_into_total

Parameters: x, cap

$$ \mathrm{min}\left(\mathrm{max}\left(x, 0.0\right), cap\right) $$

melt_at

Parameters: kz

$$ \mathrm{ifelse}\left(\mathrm{and}\left(\mathrm{>}\left(\mathrm{index}\left(snow_{p}, kz\right), 0.0\right), \mathrm{>}\left(\mathrm{index}\left(T, kz\right), par.tmelt\right)\right), 1.0, 0.0\right) \cdot \mathrm{ifelse}\left(\mathrm{>}\left(\mathrm{index}\left(neg_{p}, kz\right), 0.0\right), 0.0, 1.0\right) \cdot \mathrm{min}\left(\mathrm{index}\left(snow_{p}, kz\right), \mathrm{index}\left(melt_{cap}, kz\right) \cdot \left(\mathrm{index}\left(T, kz\right) - par.tmelt\right)\right) $$

qs_at

Parameters: kz

$$ \mathrm{ifelse}\left(\mathrm{>}\left(\mathrm{ifelse}\left(\mathrm{and}\left(\mathrm{>}\left(\mathrm{index}\left(snow_{p}, kz\right), 0.0\right), \mathrm{>}\left(\mathrm{index}\left(T, kz\right), par.tmelt\right)\right), 1.0, 0.0\right), 0.0\right), \frac{\mathrm{foeewm}\left(tt=\mathrm{index}\left(T, kz\right) - \frac{\mathrm{min}\left(\mathrm{index}\left(snow_{p}, kz\right), \mathrm{index}\left(melt_{cap}, kz\right) \cdot \left(\mathrm{index}\left(T, kz\right) - par.tmelt\right)\right)}{\mathrm{index}\left(melt_{cap}, kz\right)}\right)}{\mathrm{index}\left(pap, kz\right)}, \mathrm{index}\left(qs_{in}, kz\right)\right) $$

evap_dry_at

Parameters: kz

$$ \mathrm{ifelse}\left(\mathrm{>}\left(\mathrm{index}\left(tot, kz\right), par.prec_{min}\right), 0.0, 1.0\right) $$

evap_raw_at

Parameters: kz

$$ \frac{par.zcpecons}{wrf.g} \cdot \mathrm{max}\left(0.0, \mathrm{qs_at}\left(kz=kz\right) - \mathrm{index}\left(q, kz\right)\right) \cdot par.zcucov \cdot \left(\frac{\sqrt{\frac{\mathrm{index}\left(paph, kz\right)}{\mathrm{index}\left(paph, NLEV + 1\right)}}}{par.evap_{c1}} \cdot \frac{\mathrm{max}\left(\mathrm{index}\left(tot, kz\right), par.prec_{min}\right)}{par.zcucov}\right)^{par.evap_{expo}} \cdot \left(\mathrm{index}\left(paph, kz + 1\right) - \mathrm{index}\left(paph, kz\right)\right) $$

evap_floor_at

Parameters: kz

$$ \mathrm{index}\left(tot, kz\right) - par.zcucov \cdot \mathrm{max}\left(0.0, rhevap \cdot \mathrm{qs_at}\left(kz=kz\right) - \mathrm{index}\left(q, kz\right)\right) \cdot \frac{3.0}{wrf.g \cdot deltim} \cdot \left(\mathrm{index}\left(paph, kz + 1\right) - \mathrm{index}\left(paph, kz\right)\right) $$

evap_at

Parameters: kz

$$ \mathrm{min}\left(0.0, \mathrm{max}\left(0.0, \mathrm{max}\left(\mathrm{index}\left(tot, kz\right) - \mathrm{evap_raw_at}\left(kz=kz\right), \mathrm{evap_floor_at}\left(kz=kz\right)\right)\right) - \mathrm{index}\left(tot, kz\right)\right) $$

Raw .esm

Raw .esm JSON (this component)
{
  "expression_template_imports": [
    {
      "ref": "./moist_thermodynamics.esm"
    }
  ],
  "subsystems": {
    "wrf": {
      "ref": "../../../lib/wrf_constants.esm"
    },
    "par": {
      "ref": "./ntiedtke_parameters.esm"
    }
  },
  "variables": {
    "T": {
      "type": "unknown",
      "units": "K",
      "shape": [
        "lev"
      ],
      "description": "Layer temperature; it sets the phase of the condensate and drives the melting."
    },
    "q": {
      "type": "unknown",
      "units": "kg/kg",
      "shape": [
        "lev"
      ],
      "description": "Layer water-vapour mixing ratio; the sub-saturation it implies is what the falling precipitation evaporates into."
    },
    "qs_in": {
      "type": "unknown",
      "units": "kg/kg",
      "shape": [
        "lev"
      ],
      "description": "Layer saturation mixing ratio as the sweeps first see it."
    },
    "paph": {
      "type": "unknown",
      "units": "Pa",
      "shape": [
        "lev_nodes"
      ],
      "description": "Half-level pressure, increasing with the index because the ordering is top-down."
    },
    "pap": {
      "type": "unknown",
      "units": "Pa",
      "shape": [
        "lev"
      ],
      "description": "Layer mid-point pressure."
    },
    "gen_up": {
      "type": "unknown",
      "units": "kg/(m^2*s)",
      "shape": [
        "lev"
      ],
      "description": "Precipitation generated in the layer by the UPDRAUGHT, as `cuflxn` has it after zeroing the levels outside the cloud."
    },
    "gen_dd_in": {
      "type": "unknown",
      "units": "kg/(m^2*s)",
      "shape": [
        "lev"
      ],
      "description": "Precipitation generated (negative: evaporated) in the layer by the DOWNDRAUGHT, likewise after the zeroing."
    },
    "kctop": {
      "type": "unknown",
      "units": "1",
      "description": "Cloud-top level index. The partition sweep starts one level above it."
    },
    "kcbot": {
      "type": "unknown",
      "units": "1",
      "description": "Cloud-base level index. The evaporation sweep starts here and re-writes the partition sweep's result below it."
    },
    "rhevap": {
      "type": "unknown",
      "units": "1",
      "description": "Relative humidity the sub-cloud layer may be brought to by evaporation: 0.7 over land, 0.9 over water. The bound is what stops one step of evaporation from saturating the sub-cloud air."
    },
    "deltim": {
      "type": "unknown",
      "units": "s",
      "description": "Model step. It enters ONLY the evaporation limiter, through zcons2 = 3/(g dt), which caps how much water a single step may evaporate. That makes it a parameter of this stage in the same sense as GWDO's deltim -- prescribed by the mounting document, not inherited from the integrator."
    },
    "melt_cap": {
      "type": "unknown",
      "units": "kg/(m^2*s*K)",
      "shape": [
        "lev"
      ],
      "description": "Most snow the layer's heat content can melt in one relaxation time, cp (1 + (T - T0)/2) (T - T0) dp / (L_f g tau). The factor (1 + (T-T0)/2) is the scheme's own warm-bias enhancement and has no derivation in the source. Per kelvin of excess temperature, so kg/(m^2 s K): the melt is melt_cap (T - T0) (declared kg/(m^2 s) until 2026-11-12, which the esm 2.1 validator rejected in qs_at). The bracket itself adds kelvins to 1 -- the 1/2 implicitly carries 1/K -- which is how the Fortran writes it and is kept."
    },
    "melt": {
      "type": "unknown",
      "units": "kg/(m^2*s)",
      "shape": [
        "lev"
      ],
      "description": "Snow actually melted in the layer -- the partition sweep applies this through the `melt_at` template at the cell it has just published; the array here re-applies the same template to the finished profile so the rate can be asserted."
    },
    "qs": {
      "type": "unknown",
      "units": "kg/kg",
      "shape": [
        "lev"
      ],
      "description": "Saturation mixing ratio AFTER the melting has cooled the layer, re-applied to the finished partition profile. The evaporation sweep READS it -- one of the two quantities that make the two sweeps unfusable."
    },
    "liq_frac": {
      "type": "unknown",
      "units": "1",
      "shape": [
        "lev"
      ],
      "description": "Fraction of the layer's generated condensate that falls as rain rather than snow. It is the mixed-phase weight foealfa, EXCEPT that it is forced to zero wherever the layer is below the triple point -- the scheme's 'no liquid precipitation above the melting level' rule, which overrides the smooth weight with a hard cut."
    },
    "glaciation": {
      "type": "unknown",
      "units": "kg/(m^2*s)",
      "shape": [
        "lev"
      ],
      "description": "Condensate reassigned from liquid to ice by that hard cut, which the scheme books as latent heat of freezing elsewhere."
    },
    "tot_p": {
      "type": "unknown",
      "units": "kg/(m^2*s)",
      "shape": [
        "lev_nodes"
      ],
      "description": "TOTAL falling precipitation at each interface after the phase-partition sweep -- rain plus snow. This is the recurrence that carries the sweep, and it is a single variable because melting and the negativity rebalance both conserve it: max(total + generation, 0), floored because the column cannot deliver water it does not have."
    },
    "neg_p": {
      "type": "unknown",
      "units": "1",
      "shape": [
        "lev"
      ],
      "description": "1 where the partition sweep's rebalance fires because the generation would drive the total negative -- the downdraught asking to evaporate more than is falling."
    },
    "gen_dd": {
      "type": "unknown",
      "units": "kg/(m^2*s)",
      "shape": [
        "lev"
      ],
      "description": "Downdraught generation as the rebalance leaves it: limited, where it fires, to exactly the water available."
    },
    "rain_p": {
      "type": "unknown",
      "units": "kg/(m^2*s)",
      "shape": [
        "lev_nodes"
      ],
      "description": "Rain flux after the partition sweep: its own unconstrained value clamped into [0, total]. The clamp IS the three-way rebalance -- below zero the rain is emptied into the snow, above the total the snow is emptied into the rain -- written as a clamp rather than as three branches because that is what it is."
    },
    "snow_p": {
      "type": "unknown",
      "units": "kg/(m^2*s)",
      "shape": [
        "lev_nodes"
      ],
      "description": "Snow flux after the partition sweep. It is CLAMPED into [0, total] in its own right, not derived as the total minus the rain. The two are algebraically identical and numerically are not: the subtraction leaves plus or minus one ulp of the total where the Fortran's explicit branch assigns a literal zero, which is 4e-21 in the flux and invisible -- but the melting test is conditioned on `snow > 0`, so that ulp FLIPS A BRANCH, and the saturation humidity it sets then moves by 1.1e-4. Found by exactly that route: the fluxes agreed to 4.3e-16 while `qs` disagreed at one level. A derived complement is not a clamp."
    },
    "evap_dry": {
      "type": "unknown",
      "units": "1",
      "shape": [
        "lev"
      ],
      "description": "1 where the evaporation sweep finds essentially no precipitation arriving (total at or below prec_min) and zeroes everything below rather than evaporating. Applied inside the sweep through the matching template; this array re-applies it to the finished profile so it can be asserted."
    },
    "evap_raw": {
      "type": "unknown",
      "units": "kg/(m^2*s)",
      "shape": [
        "lev"
      ],
      "description": "Kessler evaporation rate of the falling precipitation into the layer's sub-saturation, before the humidity limiter. Applied inside the sweep through the matching template; this array re-applies it to the finished profile so it can be asserted."
    },
    "evap_floor": {
      "type": "unknown",
      "units": "kg/(m^2*s)",
      "shape": [
        "lev"
      ],
      "description": "Least precipitation flux the humidity limiter permits to survive the layer: what would remain if evaporation brought the layer to rhevap times saturation within one step. The limiter is why `deltim` appears at all. Applied inside the sweep through the matching template; this array re-applies it to the finished profile so it can be asserted."
    },
    "evap": {
      "type": "unknown",
      "units": "kg/(m^2*s)",
      "shape": [
        "lev"
      ],
      "description": "Evaporation actually applied, negative or zero: the Kessler rate limited by the humidity bound and by the water available. Applied inside the sweep through the matching template; this array re-applies it to the finished profile so it can be asserted."
    },
    "tot": {
      "type": "unknown",
      "units": "kg/(m^2*s)",
      "shape": [
        "lev_nodes"
      ],
      "description": "FINAL total precipitation flux: the partition sweep's profile above cloud base and the evaporating profile below it, in one recurrence whose update switches at cloud base."
    },
    "rain": {
      "type": "unknown",
      "units": "kg/(m^2*s)",
      "shape": [
        "lev_nodes"
      ],
      "description": "FINAL rain flux. Its value at the surface interface is the scheme's convective rainfall rate."
    },
    "snow": {
      "type": "unknown",
      "units": "kg/(m^2*s)",
      "shape": [
        "lev_nodes"
      ],
      "description": "FINAL snow flux, clamped in its own right for the same reason as snow_p; its surface value is the convective snowfall rate."
    },
    "gen_up_out": {
      "type": "unknown",
      "units": "kg/(m^2*s)",
      "shape": [
        "lev"
      ],
      "description": "Updraught generation with the evaporation folded in. When the downdraught sink and evaporation would make the outgoing flux negative, add back the excess as cuflxn does when it clamps that flux to zero."
    },
    "prain": {
      "type": "unknown",
      "units": "kg/(m^2*s)",
      "description": "Column-integrated precipitation generated by the updraught, accumulated over the partition sweep's range. A masked sum, not a sweep: it reads the generation before the evaporation sweep touches it."
    }
  },
  "expression_templates": {
    "in_partition": {
      "params": [
        "kz"
      ],
      "description": "1 at the levels the phase-partition sweep visits: from one level above cloud top to the surface, and never above the scheme's own ktopm2 = 2.",
      "body": {
        "op": "ifelse",
        "args": [
          {
            "op": ">=",
            "args": [
              "kz",
              {
                "op": "max",
                "args": [
                  2,
                  {
                    "op": "-",
                    "args": [
                      "kctop",
                      1
                    ]
                  }
                ]
              }
            ]
          },
          1.0,
          0.0
        ]
      }
    },
    "clamp_into_total": {
      "params": [
        "x",
        "cap"
      ],
      "description": "min(max(x, 0), cap): the three-way negativity rebalance of the rain and snow fluxes, written as the clamp it is. Below zero the phase is emptied into the other; above the total the other phase is emptied into it; in between neither fires.",
      "body": {
        "op": "min",
        "args": [
          {
            "op": "max",
            "args": [
              "x",
              0.0
            ]
          },
          "cap"
        ]
      }
    },
    "melt_at": {
      "params": [
        "kz"
      ],
      "description": "Snow melted in layer kz: the lesser of the snow arriving there and what the layer's heat content can melt in one relaxation time, and zero unless snow is arriving into air above the triple point. It is a TEMPLATE rather than an array because the partition sweep needs it at the cell it has just published -- defining it as its own observed makes melt, melt_active and the rain flux a three-variable cycle that esm-spec 4.9.6 rejects, even though every read is of a cell the sweep has already written. The same template is applied afterwards to the finished profile so the melting rate can be asserted.",
      "body": {
        "op": "*",
        "args": [
          {
            "op": "ifelse",
            "args": [
              {
                "op": "and",
                "args": [
                  {
                    "op": ">",
                    "args": [
                      {
                        "op": "index",
                        "args": [
                          "snow_p",
                          "kz"
                        ]
                      },
                      0.0
                    ]
                  },
                  {
                    "op": ">",
                    "args": [
                      {
                        "op": "index",
                        "args": [
                          "T",
                          "kz"
                        ]
                      },
                      "par.tmelt"
                    ]
                  }
                ]
              },
              1.0,
              0.0
            ]
          },
          {
            "op": "ifelse",
            "args": [
              {
                "op": ">",
                "args": [
                  {
                    "op": "index",
                    "args": [
                      "neg_p",
                      "kz"
                    ]
                  },
                  0.0
                ]
              },
              0.0,
              1.0
            ]
          },
          {
            "op": "min",
            "args": [
              {
                "op": "index",
                "args": [
                  "snow_p",
                  "kz"
                ]
              },
              {
                "op": "*",
                "args": [
                  {
                    "op": "index",
                    "args": [
                      "melt_cap",
                      "kz"
                    ]
                  },
                  {
                    "op": "-",
                    "args": [
                      {
                        "op": "index",
                        "args": [
                          "T",
                          "kz"
                        ]
                      },
                      "par.tmelt"
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    "qs_at": {
      "params": [
        "kz"
      ],
      "description": "Saturation mixing ratio in layer kz after the melting has cooled it. A template for the same reason as melt_at, and read by the evaporation sweep -- which is the second of the two quantities that make the two sweeps unfusable.",
      "body": {
        "op": "ifelse",
        "args": [
          {
            "op": ">",
            "args": [
              {
                "op": "ifelse",
                "args": [
                  {
                    "op": "and",
                    "args": [
                      {
                        "op": ">",
                        "args": [
                          {
                            "op": "index",
                            "args": [
                              "snow_p",
                              "kz"
                            ]
                          },
                          0.0
                        ]
                      },
                      {
                        "op": ">",
                        "args": [
                          {
                            "op": "index",
                            "args": [
                              "T",
                              "kz"
                            ]
                          },
                          "par.tmelt"
                        ]
                      }
                    ]
                  },
                  1.0,
                  0.0
                ]
              },
              0.0
            ]
          },
          {
            "op": "/",
            "args": [
              {
                "op": "apply_expression_template",
                "args": [],
                "name": "foeewm",
                "bindings": {
                  "tt": {
                    "op": "-",
                    "args": [
                      {
                        "op": "index",
                        "args": [
                          "T",
                          "kz"
                        ]
                      },
                      {
                        "op": "/",
                        "args": [
                          {
                            "op": "min",
                            "args": [
                              {
                                "op": "index",
                                "args": [
                                  "snow_p",
                                  "kz"
                                ]
                              },
                              {
                                "op": "*",
                                "args": [
                                  {
                                    "op": "index",
                                    "args": [
                                      "melt_cap",
                                      "kz"
                                    ]
                                  },
                                  {
                                    "op": "-",
                                    "args": [
                                      {
                                        "op": "index",
                                        "args": [
                                          "T",
                                          "kz"
                                        ]
                                      },
                                      "par.tmelt"
                                    ]
                                  }
                                ]
                              }
                            ]
                          },
                          {
                            "op": "index",
                            "args": [
                              "melt_cap",
                              "kz"
                            ]
                          }
                        ]
                      }
                    ]
                  }
                }
              },
              {
                "op": "index",
                "args": [
                  "pap",
                  "kz"
                ]
              }
            ]
          },
          {
            "op": "index",
            "args": [
              "qs_in",
              "kz"
            ]
          }
        ]
      }
    },
    "evap_dry_at": {
      "params": [
        "kz"
      ],
      "description": "1 where the evaporation sweep finds essentially no precipitation arriving at layer kz and zeroes the flux below rather than evaporating. A TEMPLATE rather than an array because the evaporation sweep needs it at the cell it has just published; as an observed it closes a cycle with the total flux that esm-spec 4.9.6 rejects, even though every read is of a published cell. Re-applied afterwards to the finished profile so it can be asserted.",
      "body": {
        "op": "ifelse",
        "args": [
          {
            "op": ">",
            "args": [
              {
                "op": "index",
                "args": [
                  "tot",
                  "kz"
                ]
              },
              "par.prec_min"
            ]
          },
          0.0,
          1.0
        ]
      }
    },
    "evap_raw_at": {
      "params": [
        "kz"
      ],
      "description": "Kessler evaporation rate of the precipitation falling into layer kz, before the humidity limiter. A TEMPLATE rather than an array because the evaporation sweep needs it at the cell it has just published; as an observed it closes a cycle with the total flux that esm-spec 4.9.6 rejects, even though every read is of a published cell. Re-applied afterwards to the finished profile so it can be asserted.",
      "body": {
        "op": "*",
        "args": [
          {
            "op": "/",
            "args": [
              "par.zcpecons",
              "wrf.g"
            ]
          },
          {
            "op": "max",
            "args": [
              0.0,
              {
                "op": "-",
                "args": [
                  {
                    "op": "apply_expression_template",
                    "args": [],
                    "name": "qs_at",
                    "bindings": {
                      "kz": "kz"
                    }
                  },
                  {
                    "op": "index",
                    "args": [
                      "q",
                      "kz"
                    ]
                  }
                ]
              }
            ]
          },
          "par.zcucov",
          {
            "op": "^",
            "args": [
              {
                "op": "*",
                "args": [
                  {
                    "op": "/",
                    "args": [
                      {
                        "op": "sqrt",
                        "args": [
                          {
                            "op": "/",
                            "args": [
                              {
                                "op": "index",
                                "args": [
                                  "paph",
                                  "kz"
                                ]
                              },
                              {
                                "op": "index",
                                "args": [
                                  "paph",
                                  {
                                    "op": "+",
                                    "args": [
                                      "NLEV",
                                      1
                                    ]
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      "par.evap_c1"
                    ]
                  },
                  {
                    "op": "/",
                    "args": [
                      {
                        "op": "max",
                        "args": [
                          {
                            "op": "index",
                            "args": [
                              "tot",
                              "kz"
                            ]
                          },
                          "par.prec_min"
                        ]
                      },
                      "par.zcucov"
                    ]
                  }
                ]
              },
              "par.evap_expo"
            ]
          },
          {
            "op": "-",
            "args": [
              {
                "op": "index",
                "args": [
                  "paph",
                  {
                    "op": "+",
                    "args": [
                      "kz",
                      1
                    ]
                  }
                ]
              },
              {
                "op": "index",
                "args": [
                  "paph",
                  "kz"
                ]
              }
            ]
          }
        ]
      }
    },
    "evap_floor_at": {
      "params": [
        "kz"
      ],
      "description": "Least flux the humidity limiter lets survive layer kz: what would remain if evaporation brought it to rhevap times saturation within one step. A TEMPLATE rather than an array because the evaporation sweep needs it at the cell it has just published; as an observed it closes a cycle with the total flux that esm-spec 4.9.6 rejects, even though every read is of a published cell. Re-applied afterwards to the finished profile so it can be asserted.",
      "body": {
        "op": "-",
        "args": [
          {
            "op": "index",
            "args": [
              "tot",
              "kz"
            ]
          },
          {
            "op": "*",
            "args": [
              "par.zcucov",
              {
                "op": "max",
                "args": [
                  0.0,
                  {
                    "op": "-",
                    "args": [
                      {
                        "op": "*",
                        "args": [
                          "rhevap",
                          {
                            "op": "apply_expression_template",
                            "args": [],
                            "name": "qs_at",
                            "bindings": {
                              "kz": "kz"
                            }
                          }
                        ]
                      },
                      {
                        "op": "index",
                        "args": [
                          "q",
                          "kz"
                        ]
                      }
                    ]
                  }
                ]
              },
              {
                "op": "/",
                "args": [
                  3.0,
                  {
                    "op": "*",
                    "args": [
                      "wrf.g",
                      "deltim"
                    ]
                  }
                ]
              },
              {
                "op": "-",
                "args": [
                  {
                    "op": "index",
                    "args": [
                      "paph",
                      {
                        "op": "+",
                        "args": [
                          "kz",
                          1
                        ]
                      }
                    ]
                  },
                  {
                    "op": "index",
                    "args": [
                      "paph",
                      "kz"
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    "evap_at": {
      "params": [
        "kz"
      ],
      "description": "Evaporation applied in layer kz, negative or zero: the Kessler rate limited by the humidity bound and by the water available. A TEMPLATE rather than an array because the evaporation sweep needs it at the cell it has just published; as an observed it closes a cycle with the total flux that esm-spec 4.9.6 rejects, even though every read is of a published cell. Re-applied afterwards to the finished profile so it can be asserted.",
      "body": {
        "op": "min",
        "args": [
          0.0,
          {
            "op": "-",
            "args": [
              {
                "op": "max",
                "args": [
                  0.0,
                  {
                    "op": "max",
                    "args": [
                      {
                        "op": "-",
                        "args": [
                          {
                            "op": "index",
                            "args": [
                              "tot",
                              "kz"
                            ]
                          },
                          {
                            "op": "apply_expression_template",
                            "args": [],
                            "name": "evap_raw_at",
                            "bindings": {
                              "kz": "kz"
                            }
                          }
                        ]
                      },
                      {
                        "op": "apply_expression_template",
                        "args": [],
                        "name": "evap_floor_at",
                        "bindings": {
                          "kz": "kz"
                        }
                      }
                    ]
                  }
                ]
              },
              {
                "op": "index",
                "args": [
                  "tot",
                  "kz"
                ]
              }
            ]
          }
        ]
      }
    }
  },
  "equations": [
    {
      "lhs": "T",
      "rhs": {
        "op": "input_pf_T",
        "args": []
      }
    },
    {
      "lhs": "q",
      "rhs": {
        "op": "input_pf_q",
        "args": []
      }
    },
    {
      "lhs": "qs_in",
      "rhs": {
        "op": "input_pf_qs",
        "args": []
      }
    },
    {
      "lhs": "paph",
      "rhs": {
        "op": "input_pf_paph",
        "args": []
      }
    },
    {
      "lhs": "pap",
      "rhs": {
        "op": "input_pf_pap",
        "args": []
      }
    },
    {
      "lhs": "gen_up",
      "rhs": {
        "op": "input_pf_genup",
        "args": []
      }
    },
    {
      "lhs": "gen_dd_in",
      "rhs": {
        "op": "input_pf_gendd",
        "args": []
      }
    },
    {
      "lhs": "kctop",
      "rhs": {
        "op": "input_pf_kctop",
        "args": []
      }
    },
    {
      "lhs": "kcbot",
      "rhs": {
        "op": "input_pf_kcbot",
        "args": []
      }
    },
    {
      "lhs": "rhevap",
      "rhs": {
        "op": "input_pf_rhevap",
        "args": []
      }
    },
    {
      "lhs": "deltim",
      "rhs": {
        "op": "input_pf_deltim",
        "args": []
      }
    },
    {
      "lhs": "melt_cap",
      "rhs": {
        "op": "faq",
        "output_idx": [
          "k"
        ],
        "args": [
          "T",
          "paph"
        ],
        "ranges": {
          "k": {
            "from": "lev"
          }
        },
        "expr": {
          "op": "*",
          "args": [
            {
              "op": "/",
              "args": [
                "wrf.cp",
                {
                  "op": "*",
                  "args": [
                    "wrf.xlf",
                    "wrf.g",
                    "par.ztaumel"
                  ]
                }
              ]
            },
            {
              "op": "+",
              "args": [
                1.0,
                {
                  "op": "*",
                  "args": [
                    0.5,
                    {
                      "op": "-",
                      "args": [
                        {
                          "op": "index",
                          "args": [
                            "T",
                            "k"
                          ]
                        },
                        "par.tmelt"
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "op": "-",
              "args": [
                {
                  "op": "index",
                  "args": [
                    "paph",
                    {
                      "op": "+",
                      "args": [
                        "k",
                        1
                      ]
                    }
                  ]
                },
                {
                  "op": "index",
                  "args": [
                    "paph",
                    "k"
                  ]
                }
              ]
            }
          ]
        }
      }
    },
    {
      "lhs": "tot_p",
      "rhs": {
        "op": "faq",
        "output_idx": [
          "m"
        ],
        "args": [
          "gen_up",
          "gen_dd_in"
        ],
        "ranges": {
          "m": {
            "from": "lev_nodes"
          }
        },
        "expr": {
          "op": "ifelse",
          "args": [
            {
              "op": "<=",
              "args": [
                "m",
                {
                  "op": "max",
                  "args": [
                    2,
                    {
                      "op": "-",
                      "args": [
                        "kctop",
                        1
                      ]
                    }
                  ]
                }
              ]
            },
            0.0,
            {
              "op": "max",
              "args": [
                0.0,
                {
                  "op": "+",
                  "args": [
                    {
                      "op": "index",
                      "args": [
                        "tot_p",
                        {
                          "op": "-",
                          "args": [
                            "m",
                            1
                          ]
                        }
                      ]
                    },
                    {
                      "op": "index",
                      "args": [
                        "gen_up",
                        {
                          "op": "-",
                          "args": [
                            "m",
                            1
                          ]
                        }
                      ]
                    },
                    {
                      "op": "index",
                      "args": [
                        "gen_dd_in",
                        {
                          "op": "-",
                          "args": [
                            "m",
                            1
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        }
      }
    },
    {
      "lhs": "liq_frac",
      "rhs": {
        "op": "ifelse",
        "args": [
          {
            "op": "<",
            "args": [
              "T",
              "par.tmelt"
            ]
          },
          0.0,
          {
            "op": "apply_expression_template",
            "args": [],
            "name": "foealfa",
            "bindings": {
              "tt": "T"
            }
          }
        ]
      }
    },
    {
      "lhs": "glaciation",
      "rhs": {
        "op": "faq",
        "output_idx": [
          "k"
        ],
        "args": [
          "T",
          "gen_up",
          "gen_dd"
        ],
        "ranges": {
          "k": {
            "from": "lev"
          }
        },
        "expr": {
          "op": "ifelse",
          "args": [
            {
              "op": "<",
              "args": [
                {
                  "op": "index",
                  "args": [
                    "T",
                    "k"
                  ]
                },
                "par.tmelt"
              ]
            },
            {
              "op": "*",
              "args": [
                {
                  "op": "apply_expression_template",
                  "args": [],
                  "name": "foealfa",
                  "bindings": {
                    "tt": {
                      "op": "index",
                      "args": [
                        "T",
                        "k"
                      ]
                    }
                  }
                },
                {
                  "op": "+",
                  "args": [
                    {
                      "op": "index",
                      "args": [
                        "gen_up",
                        "k"
                      ]
                    },
                    {
                      "op": "index",
                      "args": [
                        "gen_dd",
                        "k"
                      ]
                    }
                  ]
                }
              ]
            },
            0.0
          ]
        }
      }
    },
    {
      "lhs": "neg_p",
      "rhs": {
        "op": "faq",
        "output_idx": [
          "k"
        ],
        "args": [
          "tot_p",
          "gen_up",
          "gen_dd_in"
        ],
        "ranges": {
          "k": {
            "from": "lev"
          }
        },
        "expr": {
          "op": "ifelse",
          "args": [
            {
              "op": "<",
              "args": [
                {
                  "op": "+",
                  "args": [
                    {
                      "op": "index",
                      "args": [
                        "tot_p",
                        "k"
                      ]
                    },
                    {
                      "op": "index",
                      "args": [
                        "gen_up",
                        "k"
                      ]
                    },
                    {
                      "op": "index",
                      "args": [
                        "gen_dd_in",
                        "k"
                      ]
                    }
                  ]
                },
                0.0
              ]
            },
            1.0,
            0.0
          ]
        }
      }
    },
    {
      "lhs": "gen_dd",
      "rhs": {
        "op": "faq",
        "output_idx": [
          "k"
        ],
        "args": [
          "neg_p",
          "tot_p",
          "gen_up",
          "gen_dd_in"
        ],
        "ranges": {
          "k": {
            "from": "lev"
          }
        },
        "expr": {
          "op": "ifelse",
          "args": [
            {
              "op": ">",
              "args": [
                {
                  "op": "index",
                  "args": [
                    "neg_p",
                    "k"
                  ]
                },
                0.0
              ]
            },
            {
              "op": "-",
              "args": [
                {
                  "op": "+",
                  "args": [
                    {
                      "op": "index",
                      "args": [
                        "tot_p",
                        "k"
                      ]
                    },
                    {
                      "op": "index",
                      "args": [
                        "gen_up",
                        "k"
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "op": "index",
              "args": [
                "gen_dd_in",
                "k"
              ]
            }
          ]
        }
      }
    },
    {
      "lhs": "rain_p",
      "rhs": {
        "op": "faq",
        "output_idx": [
          "m"
        ],
        "args": [
          "liq_frac",
          "gen_up",
          "gen_dd",
          "tot_p",
          "snow_p"
        ],
        "ranges": {
          "m": {
            "from": "lev_nodes"
          }
        },
        "expr": {
          "op": "ifelse",
          "args": [
            {
              "op": "<=",
              "args": [
                "m",
                {
                  "op": "max",
                  "args": [
                    2,
                    {
                      "op": "-",
                      "args": [
                        "kctop",
                        1
                      ]
                    }
                  ]
                }
              ]
            },
            0.0,
            {
              "op": "apply_expression_template",
              "args": [],
              "name": "clamp_into_total",
              "bindings": {
                "x": {
                  "op": "+",
                  "args": [
                    {
                      "op": "index",
                      "args": [
                        "rain_p",
                        {
                          "op": "-",
                          "args": [
                            "m",
                            1
                          ]
                        }
                      ]
                    },
                    {
                      "op": "*",
                      "args": [
                        {
                          "op": "index",
                          "args": [
                            "liq_frac",
                            {
                              "op": "-",
                              "args": [
                                "m",
                                1
                              ]
                            }
                          ]
                        },
                        {
                          "op": "+",
                          "args": [
                            {
                              "op": "index",
                              "args": [
                                "gen_up",
                                {
                                  "op": "-",
                                  "args": [
                                    "m",
                                    1
                                  ]
                                }
                              ]
                            },
                            {
                              "op": "index",
                              "args": [
                                "gen_dd",
                                {
                                  "op": "-",
                                  "args": [
                                    "m",
                                    1
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    },
                    {
                      "op": "apply_expression_template",
                      "args": [],
                      "name": "melt_at",
                      "bindings": {
                        "kz": {
                          "op": "-",
                          "args": [
                            "m",
                            1
                          ]
                        }
                      }
                    }
                  ]
                },
                "cap": {
                  "op": "index",
                  "args": [
                    "tot_p",
                    "m"
                  ]
                }
              }
            }
          ]
        }
      }
    },
    {
      "lhs": "snow_p",
      "rhs": {
        "op": "faq",
        "output_idx": [
          "m"
        ],
        "args": [
          "liq_frac",
          "gen_up",
          "gen_dd",
          "tot_p"
        ],
        "ranges": {
          "m": {
            "from": "lev_nodes"
          }
        },
        "expr": {
          "op": "ifelse",
          "args": [
            {
              "op": "<=",
              "args": [
                "m",
                {
                  "op": "max",
                  "args": [
                    2,
                    {
                      "op": "-",
                      "args": [
                        "kctop",
                        1
                      ]
                    }
                  ]
                }
              ]
            },
            0.0,
            {
              "op": "apply_expression_template",
              "args": [],
              "name": "clamp_into_total",
              "bindings": {
                "x": {
                  "op": "-",
                  "args": [
                    {
                      "op": "+",
                      "args": [
                        {
                          "op": "index",
                          "args": [
                            "snow_p",
                            {
                              "op": "-",
                              "args": [
                                "m",
                                1
                              ]
                            }
                          ]
                        },
                        {
                          "op": "*",
                          "args": [
                            {
                              "op": "-",
                              "args": [
                                1.0,
                                {
                                  "op": "index",
                                  "args": [
                                    "liq_frac",
                                    {
                                      "op": "-",
                                      "args": [
                                        "m",
                                        1
                                      ]
                                    }
                                  ]
                                }
                              ]
                            },
                            {
                              "op": "+",
                              "args": [
                                {
                                  "op": "index",
                                  "args": [
                                    "gen_up",
                                    {
                                      "op": "-",
                                      "args": [
                                        "m",
                                        1
                                      ]
                                    }
                                  ]
                                },
                                {
                                  "op": "index",
                                  "args": [
                                    "gen_dd",
                                    {
                                      "op": "-",
                                      "args": [
                                        "m",
                                        1
                                      ]
                                    }
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    },
                    {
                      "op": "apply_expression_template",
                      "args": [],
                      "name": "melt_at",
                      "bindings": {
                        "kz": {
                          "op": "-",
                          "args": [
                            "m",
                            1
                          ]
                        }
                      }
                    }
                  ]
                },
                "cap": {
                  "op": "index",
                  "args": [
                    "tot_p",
                    "m"
                  ]
                }
              }
            }
          ]
        }
      }
    },
    {
      "lhs": "melt",
      "rhs": {
        "op": "faq",
        "output_idx": [
          "k"
        ],
        "args": [
          "snow_p",
          "melt_cap",
          "T",
          "neg_p"
        ],
        "ranges": {
          "k": {
            "from": "lev"
          }
        },
        "expr": {
          "op": "apply_expression_template",
          "args": [],
          "name": "melt_at",
          "bindings": {
            "kz": "k"
          }
        }
      }
    },
    {
      "lhs": "qs",
      "rhs": {
        "op": "faq",
        "output_idx": [
          "k"
        ],
        "args": [
          "snow_p",
          "melt_cap",
          "T",
          "pap",
          "qs_in"
        ],
        "ranges": {
          "k": {
            "from": "lev"
          }
        },
        "expr": {
          "op": "apply_expression_template",
          "args": [],
          "name": "qs_at",
          "bindings": {
            "kz": "k"
          }
        }
      }
    },
    {
      "lhs": "prain",
      "rhs": {
        "op": "faq",
        "output_idx": [],
        "reduce": "+",
        "args": [
          "gen_up"
        ],
        "ranges": {
          "k": {
            "from": "lev"
          }
        },
        "filter": {
          "op": ">=",
          "args": [
            "k",
            {
              "op": "max",
              "args": [
                2,
                {
                  "op": "-",
                  "args": [
                    "kctop",
                    1
                  ]
                }
              ]
            }
          ]
        },
        "expr": {
          "op": "index",
          "args": [
            "gen_up",
            "k"
          ]
        }
      }
    },
    {
      "lhs": "tot",
      "rhs": {
        "op": "faq",
        "output_idx": [
          "m"
        ],
        "args": [
          "tot_p",
          "gen_dd",
          "qs",
          "q",
          "paph"
        ],
        "ranges": {
          "m": {
            "from": "lev_nodes"
          }
        },
        "expr": {
          "op": "ifelse",
          "args": [
            {
              "op": "<=",
              "args": [
                "m",
                {
                  "op": "max",
                  "args": [
                    2,
                    "kcbot"
                  ]
                }
              ]
            },
            {
              "op": "index",
              "args": [
                "tot_p",
                "m"
              ]
            },
            {
              "op": "ifelse",
              "args": [
                {
                  "op": ">",
                  "args": [
                    {
                      "op": "apply_expression_template",
                      "args": [],
                      "name": "evap_dry_at",
                      "bindings": {
                        "kz": {
                          "op": "-",
                          "args": [
                            "m",
                            1
                          ]
                        }
                      }
                    },
                    0.0
                  ]
                },
                0.0,
                {
                  "op": "max",
                  "args": [
                    0.0,
                    {
                      "op": "+",
                      "args": [
                        {
                          "op": "index",
                          "args": [
                            "tot",
                            {
                              "op": "-",
                              "args": [
                                "m",
                                1
                              ]
                            }
                          ]
                        },
                        {
                          "op": "index",
                          "args": [
                            "gen_dd",
                            {
                              "op": "-",
                              "args": [
                                "m",
                                1
                              ]
                            }
                          ]
                        },
                        {
                          "op": "apply_expression_template",
                          "args": [],
                          "name": "evap_at",
                          "bindings": {
                            "kz": {
                              "op": "-",
                              "args": [
                                "m",
                                1
                              ]
                            }
                          }
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        }
      }
    },
    {
      "lhs": "rain",
      "rhs": {
        "op": "faq",
        "output_idx": [
          "m"
        ],
        "args": [
          "rain_p",
          "liq_frac",
          "gen_dd",
          "tot",
          "snow_p",
          "qs",
          "q",
          "paph"
        ],
        "ranges": {
          "m": {
            "from": "lev_nodes"
          }
        },
        "expr": {
          "op": "ifelse",
          "args": [
            {
              "op": "<=",
              "args": [
                "m",
                {
                  "op": "max",
                  "args": [
                    2,
                    "kcbot"
                  ]
                }
              ]
            },
            {
              "op": "index",
              "args": [
                "rain_p",
                "m"
              ]
            },
            {
              "op": "ifelse",
              "args": [
                {
                  "op": ">",
                  "args": [
                    {
                      "op": "apply_expression_template",
                      "args": [],
                      "name": "evap_dry_at",
                      "bindings": {
                        "kz": {
                          "op": "-",
                          "args": [
                            "m",
                            1
                          ]
                        }
                      }
                    },
                    0.0
                  ]
                },
                0.0,
                {
                  "op": "apply_expression_template",
                  "args": [],
                  "name": "clamp_into_total",
                  "bindings": {
                    "x": {
                      "op": "+",
                      "args": [
                        {
                          "op": "index",
                          "args": [
                            "rain",
                            {
                              "op": "-",
                              "args": [
                                "m",
                                1
                              ]
                            }
                          ]
                        },
                        {
                          "op": "*",
                          "args": [
                            {
                              "op": "index",
                              "args": [
                                "liq_frac",
                                {
                                  "op": "-",
                                  "args": [
                                    "m",
                                    1
                                  ]
                                }
                              ]
                            },
                            {
                              "op": "index",
                              "args": [
                                "gen_dd",
                                {
                                  "op": "-",
                                  "args": [
                                    "m",
                                    1
                                  ]
                                }
                              ]
                            }
                          ]
                        },
                        {
                          "op": "apply_expression_template",
                          "args": [],
                          "name": "melt_at",
                          "bindings": {
                            "kz": {
                              "op": "-",
                              "args": [
                                "m",
                                1
                              ]
                            }
                          }
                        },
                        {
                          "op": "/",
                          "args": [
                            {
                              "op": "*",
                              "args": [
                                {
                                  "op": "apply_expression_template",
                                  "args": [],
                                  "name": "evap_at",
                                  "bindings": {
                                    "kz": {
                                      "op": "-",
                                      "args": [
                                        "m",
                                        1
                                      ]
                                    }
                                  }
                                },
                                {
                                  "op": "index",
                                  "args": [
                                    "rain",
                                    {
                                      "op": "-",
                                      "args": [
                                        "m",
                                        1
                                      ]
                                    }
                                  ]
                                }
                              ]
                            },
                            {
                              "op": "max",
                              "args": [
                                "par.prec_min",
                                {
                                  "op": "index",
                                  "args": [
                                    "tot",
                                    {
                                      "op": "-",
                                      "args": [
                                        "m",
                                        1
                                      ]
                                    }
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    },
                    "cap": {
                      "op": "index",
                      "args": [
                        "tot",
                        "m"
                      ]
                    }
                  }
                }
              ]
            }
          ]
        }
      }
    },
    {
      "lhs": "snow",
      "rhs": {
        "op": "faq",
        "output_idx": [
          "m"
        ],
        "args": [
          "snow_p",
          "liq_frac",
          "gen_dd",
          "tot",
          "qs",
          "q",
          "paph"
        ],
        "ranges": {
          "m": {
            "from": "lev_nodes"
          }
        },
        "expr": {
          "op": "ifelse",
          "args": [
            {
              "op": "<=",
              "args": [
                "m",
                {
                  "op": "max",
                  "args": [
                    2,
                    "kcbot"
                  ]
                }
              ]
            },
            {
              "op": "index",
              "args": [
                "snow_p",
                "m"
              ]
            },
            {
              "op": "ifelse",
              "args": [
                {
                  "op": ">",
                  "args": [
                    {
                      "op": "apply_expression_template",
                      "args": [],
                      "name": "evap_dry_at",
                      "bindings": {
                        "kz": {
                          "op": "-",
                          "args": [
                            "m",
                            1
                          ]
                        }
                      }
                    },
                    0.0
                  ]
                },
                0.0,
                {
                  "op": "apply_expression_template",
                  "args": [],
                  "name": "clamp_into_total",
                  "bindings": {
                    "x": {
                      "op": "-",
                      "args": [
                        {
                          "op": "+",
                          "args": [
                            {
                              "op": "index",
                              "args": [
                                "snow",
                                {
                                  "op": "-",
                                  "args": [
                                    "m",
                                    1
                                  ]
                                }
                              ]
                            },
                            {
                              "op": "*",
                              "args": [
                                {
                                  "op": "-",
                                  "args": [
                                    1.0,
                                    {
                                      "op": "index",
                                      "args": [
                                        "liq_frac",
                                        {
                                          "op": "-",
                                          "args": [
                                            "m",
                                            1
                                          ]
                                        }
                                      ]
                                    }
                                  ]
                                },
                                {
                                  "op": "index",
                                  "args": [
                                    "gen_dd",
                                    {
                                      "op": "-",
                                      "args": [
                                        "m",
                                        1
                                      ]
                                    }
                                  ]
                                }
                              ]
                            },
                            {
                              "op": "/",
                              "args": [
                                {
                                  "op": "*",
                                  "args": [
                                    {
                                      "op": "apply_expression_template",
                                      "args": [],
                                      "name": "evap_at",
                                      "bindings": {
                                        "kz": {
                                          "op": "-",
                                          "args": [
                                            "m",
                                            1
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "op": "index",
                                      "args": [
                                        "snow",
                                        {
                                          "op": "-",
                                          "args": [
                                            "m",
                                            1
                                          ]
                                        }
                                      ]
                                    }
                                  ]
                                },
                                {
                                  "op": "max",
                                  "args": [
                                    "par.prec_min",
                                    {
                                      "op": "index",
                                      "args": [
                                        "tot",
                                        {
                                          "op": "-",
                                          "args": [
                                            "m",
                                            1
                                          ]
                                        }
                                      ]
                                    }
                                  ]
                                }
                              ]
                            }
                          ]
                        },
                        {
                          "op": "apply_expression_template",
                          "args": [],
                          "name": "melt_at",
                          "bindings": {
                            "kz": {
                              "op": "-",
                              "args": [
                                "m",
                                1
                              ]
                            }
                          }
                        }
                      ]
                    },
                    "cap": {
                      "op": "index",
                      "args": [
                        "tot",
                        "m"
                      ]
                    }
                  }
                }
              ]
            }
          ]
        }
      }
    },
    {
      "lhs": "evap_dry",
      "rhs": {
        "op": "faq",
        "output_idx": [
          "k"
        ],
        "args": [
          "tot",
          "qs",
          "q",
          "paph"
        ],
        "ranges": {
          "k": {
            "from": "lev"
          }
        },
        "expr": {
          "op": "apply_expression_template",
          "args": [],
          "name": "evap_dry_at",
          "bindings": {
            "kz": "k"
          }
        }
      }
    },
    {
      "lhs": "evap_raw",
      "rhs": {
        "op": "faq",
        "output_idx": [
          "k"
        ],
        "args": [
          "tot",
          "qs",
          "q",
          "paph"
        ],
        "ranges": {
          "k": {
            "from": "lev"
          }
        },
        "expr": {
          "op": "apply_expression_template",
          "args": [],
          "name": "evap_raw_at",
          "bindings": {
            "kz": "k"
          }
        }
      }
    },
    {
      "lhs": "evap_floor",
      "rhs": {
        "op": "faq",
        "output_idx": [
          "k"
        ],
        "args": [
          "tot",
          "qs",
          "q",
          "paph"
        ],
        "ranges": {
          "k": {
            "from": "lev"
          }
        },
        "expr": {
          "op": "apply_expression_template",
          "args": [],
          "name": "evap_floor_at",
          "bindings": {
            "kz": "k"
          }
        }
      }
    },
    {
      "lhs": "evap",
      "rhs": {
        "op": "faq",
        "output_idx": [
          "k"
        ],
        "args": [
          "tot",
          "qs",
          "q",
          "paph"
        ],
        "ranges": {
          "k": {
            "from": "lev"
          }
        },
        "expr": {
          "op": "apply_expression_template",
          "args": [],
          "name": "evap_at",
          "bindings": {
            "kz": "k"
          }
        }
      }
    },
    {
      "lhs": "gen_up_out",
      "rhs": {
        "op": "faq",
        "output_idx": [
          "k"
        ],
        "args": [
          "gen_up",
          "evap",
          "evap_dry",
          "kcbot",
          "tot",
          "gen_dd"
        ],
        "ranges": {
          "k": {
            "from": "lev"
          }
        },
        "expr": {
          "op": "+",
          "args": [
            {
              "op": "index",
              "args": [
                "gen_up",
                "k"
              ]
            },
            {
              "op": "ifelse",
              "args": [
                {
                  "op": "and",
                  "args": [
                    {
                      "op": ">=",
                      "args": [
                        "k",
                        {
                          "op": "max",
                          "args": [
                            2,
                            "kcbot"
                          ]
                        }
                      ]
                    },
                    {
                      "op": "<=",
                      "args": [
                        {
                          "op": "index",
                          "args": [
                            "evap_dry",
                            "k"
                          ]
                        },
                        0.0
                      ]
                    }
                  ]
                },
                {
                  "op": "max",
                  "args": [
                    {
                      "op": "index",
                      "args": [
                        "evap",
                        "k"
                      ]
                    },
                    {
                      "op": "-",
                      "args": [
                        {
                          "op": "+",
                          "args": [
                            {
                              "op": "index",
                              "args": [
                                "tot",
                                "k"
                              ]
                            },
                            {
                              "op": "index",
                              "args": [
                                "gen_dd",
                                "k"
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                },
                0.0
              ]
            }
          ]
        }
      }
    }
  ],
  "tests": [
    {
      "id": "evaporation_limited_by_remaining_precipitation",
      "description": "A dry subcloud layer receives 1e-4 kg/(m^2 s) of precipitation. The downdraught consumes 7e-5 kg/(m^2 s), leaving at most 3e-5 kg/(m^2 s) for evaporation. With zero outgoing flux, conservation requires exactly that evaporation sink in gen_up_out.",
      "expression_template_imports": [
        {
          "ref": "./tests/pf_evaporation_limit_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0,
        "end": 0
      },
      "assertions": [
        {
          "variable": "tot",
          "time": 0,
          "coords": {
            "lev_nodes": 3
          },
          "expected": 0.0001,
          "tolerance": {
            "abs": 1e-12,
            "rel": 0
          }
        },
        {
          "variable": "gen_dd",
          "time": 0,
          "coords": {
            "lev": 3
          },
          "expected": -7e-05,
          "tolerance": {
            "abs": 1e-12,
            "rel": 0
          }
        },
        {
          "variable": "tot",
          "time": 0,
          "coords": {
            "lev_nodes": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 1e-12,
            "rel": 0
          }
        },
        {
          "variable": "gen_up_out",
          "time": 0,
          "coords": {
            "lev": 3
          },
          "expected": -3e-05,
          "tolerance": {
            "abs": 1e-12,
            "rel": 0
          }
        }
      ]
    },
    {
      "id": "step1_col1_precipitation_flux",
      "description": "cuflxn's precipitation sweeps on the chem170 single-column reference, step 1, TILE COLUMN 1 of 2: cloud top at kernel level 5, base at 44, peak rain flux 0.00927 and peak snow flux 0.00789 kg/(m^2 s), peak melting rate 0.00154. The column is named because the two columns of the SCM tile reach different convective outcomes at the same step, so a regime table collapsing to one value per step would hide which was tested. Reference run: data/eqwefic/notes/chem170_scm_reference_run.md (em_scm_xy, Weisman-Klemp sounding over Kansas, dx = 20 km, 59 levels, dt = 60 s, cu_physics = 16). Reference build: the real64 replay through kernels/ntiedtke_driver of WRF fork branch earthsciml-instrumented-chem170, the seven constants cu_ntiedtke_init takes supplied at binary64 precision; the scheme's own literals stay at their binary32 roundings (FORTRAN_BUGS N109). **The values come from the `cx_*` tape, taken at cuflxn's OWN EXIT.** They are NOT the fluxes the next stage sees: cumastrn afterwards rescales the downdraught mass flux and adds the remainder back into the rain, then recomputes the precipitation generation as the flux difference (FORTRAN_BUGS N113). Pinning against the later state disagrees by up to 0.31 of the flux amplitude on exactly the columns whose downdraught was rescaled, and is bit-exact on the rest -- a split that reads as a transcription error and is a wrong reference. Algebraic observeds at t = 0 with no ODE state, so the empty time_span is one static evaluation. TOLERANCE, measured and traced, not chosen to pass. The three flux-derived assertions carry **2e-9 of the profile maximum against this project's 1e-9 baseline for a double-precision kernel reference**, and the factor of two is accounted for: the evaporation rate passes through (sqrt(p/p_sfc)/evap_c1 * F/zcucov)^0.5777 with evap_c1 = 5.09e-3, so a factor of about 196 enters the chain before the flux is reconstituted from it, and the .esm's association of that product differs from the Fortran's in the last bits. Measured over the ten regimes the worst relative residual is 1.8e-9 (step 364, whose peak flux is only 1.4e-5 so the absolute residual is 2.5e-14) and the worst absolute is 1.3e-12 (step 1, the strongest convective step, whose peak flux is 600 times larger). Neither is a fixed absolute floor nor a clean relative one -- the residual tracks the flux but not proportionally -- so the bound is stated as the measured relative worst, doubled. `qs` and the column-integrated generation do NOT pass through the power law and are pinned at 1e-9 of their own scale; `qs` is in fact EXACT. `gen_up_out` is bounded differently again, and for the reason that makes this whole paragraph necessary: it is the net precipitation SOURCE, of order 2e-6, but it is formed by adding an evaporation that is itself a cancelling difference of two fluxes of order 1e-5. Its attainable precision is therefore set by the FLUX it is differenced out of, not by its own magnitude, so its bound is 2e-9 of the total flux amplitude of the same column -- written as an absolute number per regime because the two quantities have different scales. Sizing it by its own profile maximum instead gives 5e-15, which is below the floor and fails on three of the ten regimes by less than a factor of two.",
      "parameter_overrides": {},
      "expression_template_imports": [
        {
          "ref": "./tests/pf_step1_col1_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0,
        "end": 0
      },
      "tolerance": {
        "rel": 1e-09
      },
      "assertions": [
        {
          "variable": "rain",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev_nodes"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0001402972928814927,
                    0.00034152363681712317,
                    0.0006369312734306062,
                    0.0010530988257584637,
                    0.0016104127161743953,
                    0.002324848171449385,
                    0.0032088732896036767,
                    0.004270048347068922,
                    0.005515124316086037,
                    0.006946600995414218,
                    0.008565984566217953,
                    0.009087841012801379,
                    0.009156389738170475,
                    0.00921902878005788,
                    0.009272082966359972,
                    0.009221617644809336,
                    0.00914425325953642,
                    0.009085618730562774,
                    0.009029853082828537,
                    0.008976775737308542,
                    0.008926222474672703,
                    0.008878040204078775,
                    0.00883208454580401,
                    0.008788221840213687,
                    0.008746328826573512,
                    0.008706290621058904,
                    0.008673386585079238,
                    0.008647092369474786,
                    0.008610435886643963,
                    0.008508459724717334,
                    0.00838786645626512,
                    0.008267305395923182,
                    0.008146601340312658
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1.8544165932719946e-11,
            "rel": 0.0
          }
        },
        {
          "variable": "snow",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev_nodes"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.00022023004001785467,
                    0.0005535377842186746,
                    0.0009567697916647029,
                    0.0014228135105978528,
                    0.0019418434400334862,
                    0.0025032642426790633,
                    0.0030972542575336275,
                    0.0037140709834342094,
                    0.004303388088707252,
                    0.0048543487723028,
                    0.005359312985749498,
                    0.0058129323534624805,
                    0.00621130460250186,
                    0.0065506681832847935,
                    0.006825380241854014,
                    0.007020467657553044,
                    0.007176811419038743,
                    0.007329675528920602,
                    0.007478292966992379,
                    0.0076219823337003376,
                    0.0077605568397796885,
                    0.007893892291981595,
                    0.007881634655682021,
                    0.007803109333213859,
                    0.00762504863383051,
                    0.007320868473138293,
                    0.0068702018333492085,
                    0.006257134214222379,
                    0.005469299865130258,
                    0.004499272265919738,
                    0.0033405131479712358,
                    0.001990752454403311,
                    0.0004487345949507754,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1.578778458396319e-11,
            "rel": 0.0
          }
        },
        {
          "variable": "qs",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.00018298965853655734,
                    0.00012152792849882659,
                    9.055048704221178e-05,
                    7.150847272753464e-05,
                    5.9335724428723836e-05,
                    7.068991717770953e-05,
                    0.0001210338928204253,
                    0.00019071552463944424,
                    0.00028164831109011614,
                    0.0003956374763207398,
                    0.0005341028491054962,
                    0.0006980378969994195,
                    0.0008879556647505525,
                    0.0011038692746869715,
                    0.0013472713025537038,
                    0.0016220850144018789,
                    0.0019321992544273057,
                    0.0022698886032439677,
                    0.002633729865656932,
                    0.003024530911696699,
                    0.00342978819926091,
                    0.0038584822123039516,
                    0.004290707735499972,
                    0.004738478320871672,
                    0.005181888436542749,
                    0.0056242245908209145,
                    0.005867481405329163,
                    0.005729633206758289,
                    0.005601231751012754,
                    0.005481371357400726,
                    0.005369260073528366,
                    0.005264199169675012,
                    0.005165570789420596,
                    0.005072828683167399,
                    0.004985485266420026,
                    0.004903106817615221,
                    0.004825302609144614,
                    0.009023532647229129,
                    0.011735323061674782,
                    0.01223213447701747,
                    0.012731138596439855,
                    0.01323039813015272,
                    0.013734444271042338,
                    0.01423334286237747,
                    0.014742914373397593,
                    0.015246645403267353,
                    0.015750646465479662,
                    0.016256793354781064,
                    0.01676535977515007,
                    0.017274850047535352,
                    0.017783641821748755,
                    0.01829511910264899,
                    0.018808599473626904,
                    0.01932037280917662,
                    0.019840845831946945,
                    0.020360376195224617,
                    0.020888296313222407,
                    0.021426367985343538,
                    0.02197943426097666
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 2.197943426097666e-11,
            "rel": 0.0
          }
        },
        {
          "variable": "gen_up_out",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.00022023004001785467,
                    0.00033330774420081986,
                    0.0004032320074460283,
                    0.00046604371893314985,
                    0.0005190299294356334,
                    0.0005614208026455771,
                    0.0005939900148545643,
                    0.000616816725900582,
                    0.000589317105273042,
                    0.0005509606835955485,
                    0.0005049642134466982,
                    0.00045361936771298235,
                    0.00039837224903937915,
                    0.0003393635807829335,
                    0.0002747120585692206,
                    0.00019508741569903011,
                    0.0001563437614856986,
                    0.00015286410988185853,
                    0.0001486174380717771,
                    0.0001436893667079592,
                    0.00013857450607935123,
                    0.00013333545220190604,
                    0.0001280396565819185,
                    0.00012270102146746888,
                    0.0001173469372301342,
                    0.00011198739163564005,
                    0.00010664725062684677,
                    0.00010136783614815995,
                    9.61907690621703e-05,
                    9.114745825472543e-05,
                    8.631685106861348e-05,
                    8.171598576025619e-05,
                    7.736571135120055e-05,
                    7.31218516326504e-05,
                    6.854872536909677e-05,
                    6.263904188740554e-05,
                    5.305418630209217e-05,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    -1.6480521198028453e-05,
                    -8.746009831683658e-05,
                    -0.00011130802628678792,
                    -0.00011610560974233824,
                    -0.00012070405561052412
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 3.433195051668314e-11,
            "rel": 0.0
          }
        },
        {
          "variable": "prain",
          "time": 0.0,
          "expected": 0.009272082966359974
        }
      ]
    },
    {
      "id": "step1_col2_precipitation_flux",
      "description": "cuflxn's precipitation sweeps on the chem170 single-column reference, step 1, TILE COLUMN 2 of 2: cloud top at kernel level 5, base at 44, peak rain flux 0.00927 and peak snow flux 0.00789 kg/(m^2 s), peak melting rate 0.00154. The column is named because the two columns of the SCM tile reach different convective outcomes at the same step, so a regime table collapsing to one value per step would hide which was tested. Reference run: data/eqwefic/notes/chem170_scm_reference_run.md (em_scm_xy, Weisman-Klemp sounding over Kansas, dx = 20 km, 59 levels, dt = 60 s, cu_physics = 16). Reference build: the real64 replay through kernels/ntiedtke_driver of WRF fork branch earthsciml-instrumented-chem170, the seven constants cu_ntiedtke_init takes supplied at binary64 precision; the scheme's own literals stay at their binary32 roundings (FORTRAN_BUGS N109). **The values come from the `cx_*` tape, taken at cuflxn's OWN EXIT.** They are NOT the fluxes the next stage sees: cumastrn afterwards rescales the downdraught mass flux and adds the remainder back into the rain, then recomputes the precipitation generation as the flux difference (FORTRAN_BUGS N113). Pinning against the later state disagrees by up to 0.31 of the flux amplitude on exactly the columns whose downdraught was rescaled, and is bit-exact on the rest -- a split that reads as a transcription error and is a wrong reference. Algebraic observeds at t = 0 with no ODE state, so the empty time_span is one static evaluation. TOLERANCE, measured and traced, not chosen to pass. The three flux-derived assertions carry **2e-9 of the profile maximum against this project's 1e-9 baseline for a double-precision kernel reference**, and the factor of two is accounted for: the evaporation rate passes through (sqrt(p/p_sfc)/evap_c1 * F/zcucov)^0.5777 with evap_c1 = 5.09e-3, so a factor of about 196 enters the chain before the flux is reconstituted from it, and the .esm's association of that product differs from the Fortran's in the last bits. Measured over the ten regimes the worst relative residual is 1.8e-9 (step 364, whose peak flux is only 1.4e-5 so the absolute residual is 2.5e-14) and the worst absolute is 1.3e-12 (step 1, the strongest convective step, whose peak flux is 600 times larger). Neither is a fixed absolute floor nor a clean relative one -- the residual tracks the flux but not proportionally -- so the bound is stated as the measured relative worst, doubled. `qs` and the column-integrated generation do NOT pass through the power law and are pinned at 1e-9 of their own scale; `qs` is in fact EXACT. `gen_up_out` is bounded differently again, and for the reason that makes this whole paragraph necessary: it is the net precipitation SOURCE, of order 2e-6, but it is formed by adding an evaporation that is itself a cancelling difference of two fluxes of order 1e-5. Its attainable precision is therefore set by the FLUX it is differenced out of, not by its own magnitude, so its bound is 2e-9 of the total flux amplitude of the same column -- written as an absolute number per regime because the two quantities have different scales. Sizing it by its own profile maximum instead gives 5e-15, which is below the floor and fails on three of the ten regimes by less than a factor of two.",
      "parameter_overrides": {},
      "expression_template_imports": [
        {
          "ref": "./tests/pf_step1_col2_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0,
        "end": 0
      },
      "tolerance": {
        "rel": 1e-09
      },
      "assertions": [
        {
          "variable": "rain",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev_nodes"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0001402972928814927,
                    0.00034152363681712317,
                    0.0006369312734306062,
                    0.0010530988257584637,
                    0.0016104127161743953,
                    0.002324848171449385,
                    0.0032088732896036767,
                    0.004270048347068922,
                    0.005515124316086037,
                    0.006946600995414218,
                    0.008565984566217953,
                    0.009087841012801379,
                    0.009156389738170475,
                    0.00921902878005788,
                    0.009272082966359972,
                    0.009221617644809336,
                    0.00914425325953642,
                    0.009085618730562774,
                    0.009029853082828537,
                    0.008976775737308542,
                    0.008926222474672703,
                    0.008878040204078775,
                    0.00883208454580401,
                    0.008788221840213687,
                    0.008746328826573512,
                    0.008706290621058904,
                    0.008673386585079238,
                    0.008647092369474786,
                    0.008610435886643963,
                    0.008508459724717334,
                    0.00838786645626512,
                    0.008267305395923182,
                    0.008146601340312658
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1.8544165932719946e-11,
            "rel": 0.0
          }
        },
        {
          "variable": "snow",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev_nodes"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.00022023004001785467,
                    0.0005535377842186746,
                    0.0009567697916647029,
                    0.0014228135105978528,
                    0.0019418434400334862,
                    0.0025032642426790633,
                    0.0030972542575336275,
                    0.0037140709834342094,
                    0.004303388088707252,
                    0.0048543487723028,
                    0.005359312985749498,
                    0.0058129323534624805,
                    0.00621130460250186,
                    0.0065506681832847935,
                    0.006825380241854014,
                    0.007020467657553044,
                    0.007176811419038743,
                    0.007329675528920602,
                    0.007478292966992379,
                    0.0076219823337003376,
                    0.0077605568397796885,
                    0.007893892291981595,
                    0.007881634655682021,
                    0.007803109333213859,
                    0.00762504863383051,
                    0.007320868473138293,
                    0.0068702018333492085,
                    0.006257134214222379,
                    0.005469299865130258,
                    0.004499272265919738,
                    0.0033405131479712358,
                    0.001990752454403311,
                    0.0004487345949507754,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1.578778458396319e-11,
            "rel": 0.0
          }
        },
        {
          "variable": "qs",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.00018298965853655734,
                    0.00012152792849882659,
                    9.055048704221178e-05,
                    7.150847272753464e-05,
                    5.9335724428723836e-05,
                    7.068991717770953e-05,
                    0.0001210338928204253,
                    0.00019071552463944424,
                    0.00028164831109011614,
                    0.0003956374763207398,
                    0.0005341028491054962,
                    0.0006980378969994195,
                    0.0008879556647505525,
                    0.0011038692746869715,
                    0.0013472713025537038,
                    0.0016220850144018789,
                    0.0019321992544273057,
                    0.0022698886032439677,
                    0.002633729865656932,
                    0.003024530911696699,
                    0.00342978819926091,
                    0.0038584822123039516,
                    0.004290707735499972,
                    0.004738478320871672,
                    0.005181888436542749,
                    0.0056242245908209145,
                    0.005867481405329163,
                    0.005729633206758289,
                    0.005601231751012754,
                    0.005481371357400726,
                    0.005369260073528366,
                    0.005264199169675012,
                    0.005165570789420596,
                    0.005072828683167399,
                    0.004985485266420026,
                    0.004903106817615221,
                    0.004825302609144614,
                    0.009023532647229129,
                    0.011735323061674782,
                    0.01223213447701747,
                    0.012731138596439855,
                    0.01323039813015272,
                    0.013734444271042338,
                    0.01423334286237747,
                    0.014742914373397593,
                    0.015246645403267353,
                    0.015750646465479662,
                    0.016256793354781064,
                    0.01676535977515007,
                    0.017274850047535352,
                    0.017783641821748755,
                    0.01829511910264899,
                    0.018808599473626904,
                    0.01932037280917662,
                    0.019840845831946945,
                    0.020360376195224617,
                    0.020888296313222407,
                    0.021426367985343538,
                    0.02197943426097666
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 2.197943426097666e-11,
            "rel": 0.0
          }
        },
        {
          "variable": "gen_up_out",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.00022023004001785467,
                    0.00033330774420081986,
                    0.0004032320074460283,
                    0.00046604371893314985,
                    0.0005190299294356334,
                    0.0005614208026455771,
                    0.0005939900148545643,
                    0.000616816725900582,
                    0.000589317105273042,
                    0.0005509606835955485,
                    0.0005049642134466982,
                    0.00045361936771298235,
                    0.00039837224903937915,
                    0.0003393635807829335,
                    0.0002747120585692206,
                    0.00019508741569903011,
                    0.0001563437614856986,
                    0.00015286410988185853,
                    0.0001486174380717771,
                    0.0001436893667079592,
                    0.00013857450607935123,
                    0.00013333545220190604,
                    0.0001280396565819185,
                    0.00012270102146746888,
                    0.0001173469372301342,
                    0.00011198739163564005,
                    0.00010664725062684677,
                    0.00010136783614815995,
                    9.61907690621703e-05,
                    9.114745825472543e-05,
                    8.631685106861348e-05,
                    8.171598576025619e-05,
                    7.736571135120055e-05,
                    7.31218516326504e-05,
                    6.854872536909677e-05,
                    6.263904188740554e-05,
                    5.305418630209217e-05,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    -1.6480521198028453e-05,
                    -8.746009831683658e-05,
                    -0.00011130802628678792,
                    -0.00011610560974233824,
                    -0.00012070405561052412
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 3.433195051668314e-11,
            "rel": 0.0
          }
        },
        {
          "variable": "prain",
          "time": 0.0,
          "expected": 0.009272082966359974
        }
      ]
    },
    {
      "id": "step364_col1_precipitation_flux",
      "description": "cuflxn's precipitation sweeps on the chem170 single-column reference, step 364, TILE COLUMN 1 of 2: cloud top at kernel level 5, base at 46, peak rain flux 1.45e-05 and peak snow flux 1.23e-05 kg/(m^2 s), peak melting rate 1.11e-05. The column is named because the two columns of the SCM tile reach different convective outcomes at the same step, so a regime table collapsing to one value per step would hide which was tested. Reference run: data/eqwefic/notes/chem170_scm_reference_run.md (em_scm_xy, Weisman-Klemp sounding over Kansas, dx = 20 km, 59 levels, dt = 60 s, cu_physics = 16). Reference build: the real64 replay through kernels/ntiedtke_driver of WRF fork branch earthsciml-instrumented-chem170, the seven constants cu_ntiedtke_init takes supplied at binary64 precision; the scheme's own literals stay at their binary32 roundings (FORTRAN_BUGS N109). **The values come from the `cx_*` tape, taken at cuflxn's OWN EXIT.** They are NOT the fluxes the next stage sees: cumastrn afterwards rescales the downdraught mass flux and adds the remainder back into the rain, then recomputes the precipitation generation as the flux difference (FORTRAN_BUGS N113). Pinning against the later state disagrees by up to 0.31 of the flux amplitude on exactly the columns whose downdraught was rescaled, and is bit-exact on the rest -- a split that reads as a transcription error and is a wrong reference. Algebraic observeds at t = 0 with no ODE state, so the empty time_span is one static evaluation. TOLERANCE, measured and traced, not chosen to pass. The three flux-derived assertions carry **2e-9 of the profile maximum against this project's 1e-9 baseline for a double-precision kernel reference**, and the factor of two is accounted for: the evaporation rate passes through (sqrt(p/p_sfc)/evap_c1 * F/zcucov)^0.5777 with evap_c1 = 5.09e-3, so a factor of about 196 enters the chain before the flux is reconstituted from it, and the .esm's association of that product differs from the Fortran's in the last bits. Measured over the ten regimes the worst relative residual is 1.8e-9 (step 364, whose peak flux is only 1.4e-5 so the absolute residual is 2.5e-14) and the worst absolute is 1.3e-12 (step 1, the strongest convective step, whose peak flux is 600 times larger). Neither is a fixed absolute floor nor a clean relative one -- the residual tracks the flux but not proportionally -- so the bound is stated as the measured relative worst, doubled. `qs` and the column-integrated generation do NOT pass through the power law and are pinned at 1e-9 of their own scale; `qs` is in fact EXACT. `gen_up_out` is bounded differently again, and for the reason that makes this whole paragraph necessary: it is the net precipitation SOURCE, of order 2e-6, but it is formed by adding an evaporation that is itself a cancelling difference of two fluxes of order 1e-5. Its attainable precision is therefore set by the FLUX it is differenced out of, not by its own magnitude, so its bound is 2e-9 of the total flux amplitude of the same column -- written as an absolute number per regime because the two quantities have different scales. Sizing it by its own profile maximum instead gives 5e-15, which is below the floor and fails on three of the ten regimes by less than a factor of two.",
      "parameter_overrides": {},
      "expression_template_imports": [
        {
          "ref": "./tests/pf_step364_col1_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0,
        "end": 0
      },
      "tolerance": {
        "rel": 1e-09
      },
      "assertions": [
        {
          "variable": "rain",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev_nodes"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    1.1387304008993653e-05,
                    1.2823455243086769e-05,
                    1.3041013984342898e-05,
                    1.324290572559715e-05,
                    1.3429824662054027e-05,
                    1.3602912625233963e-05,
                    1.3763764486019685e-05,
                    1.3914138776287328e-05,
                    1.4055270899057378e-05,
                    1.4187260591947369e-05,
                    1.4309592301262681e-05,
                    1.4421743444709184e-05,
                    1.4522855655137218e-05,
                    1.4535644511052772e-05,
                    1.4444332261884767e-05,
                    1.4307653944183593e-05,
                    1.4154090265208401e-05,
                    1.399140343158512e-05,
                    1.3835583454792576e-05,
                    1.3676122596271555e-05,
                    1.3523557212709436e-05,
                    1.3378087360182217e-05,
                    1.323928636660447e-05,
                    1.3106764321378577e-05,
                    1.2980157868350607e-05,
                    1.2859129417463698e-05,
                    1.2743365310998269e-05,
                    1.2648146650806578e-05,
                    1.2571993007772813e-05,
                    9.933510719747883e-06,
                    7.464175909194217e-06,
                    5.23781410732412e-06,
                    3.3216652375690197e-06,
                    1.767811061934679e-06
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 2.9071289022105546e-14,
            "rel": 0.0
          }
        },
        {
          "variable": "snow",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev_nodes"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    2.0975753663011623e-07,
                    6.866139418258635e-07,
                    1.3337314393195591e-06,
                    2.0672364661994807e-06,
                    2.8719088947413968e-06,
                    3.7312547150305325e-06,
                    4.62879134742867e-06,
                    5.548600257655354e-06,
                    6.430499459531296e-06,
                    7.253082604115049e-06,
                    8.006682265487752e-06,
                    8.687250752593387e-06,
                    9.33277329238619e-06,
                    9.932779798737976e-06,
                    1.0470240683977448e-05,
                    1.0907496074867617e-05,
                    1.1213440165270076e-05,
                    1.1512210211338739e-05,
                    1.1801410272051264e-05,
                    1.2078285529978911e-05,
                    1.2341418203714476e-05,
                    1.202641995854154e-06,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 2.4682836407428955e-14,
            "rel": 0.0
          }
        },
        {
          "variable": "qs",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0001958386195827316,
                    0.0001298517244938448,
                    8.918096801034297e-05,
                    3.997321668686588e-05,
                    6.171680017361597e-05,
                    9.8208199463404e-05,
                    0.00015156574137203683,
                    0.000239921811734872,
                    0.0003599529291857505,
                    0.0005197835247612371,
                    0.0007098757389508931,
                    0.0008840946433361891,
                    0.0010602482623762264,
                    0.0013307057153503742,
                    0.0016175779503238114,
                    0.0019376023618317365,
                    0.00228903172279219,
                    0.002671646157672475,
                    0.0030823319103839004,
                    0.0035135607168222402,
                    0.003959974300363671,
                    0.004420480922441409,
                    0.004888478465399688,
                    0.0053599116709023495,
                    0.005826055649298902,
                    0.006016157256244491,
                    0.006657829906586494,
                    0.00711130121086463,
                    0.007506405022709925,
                    0.007888504642655045,
                    0.008252083197790491,
                    0.008599392078504055,
                    0.00893944926481932,
                    0.009378781999584045,
                    0.009916814776489185,
                    0.010427967159272558,
                    0.010943557306794558,
                    0.011470408612307867,
                    0.012007965049759714,
                    0.012525348648935408,
                    0.012989007739538065,
                    0.013348319426792677,
                    0.013562656292848141,
                    0.014060714557205558,
                    0.014478298023790375,
                    0.015158348531120202,
                    0.015856277115298724,
                    0.016562733772527875,
                    0.01727420217019465,
                    0.01798903602437783,
                    0.01870564208003421,
                    0.01942340201772068,
                    0.020141086728603968,
                    0.02085987068517588,
                    0.021566881595758113,
                    0.02229042147052551,
                    0.023023220373863017,
                    0.02378220407750872,
                    0.024689728371778016
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 2.4689728371778018e-11,
            "rel": 0.0
          }
        },
        {
          "variable": "gen_up_out",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    2.0975753663011623e-07,
                    4.768564051957473e-07,
                    6.471174974936955e-07,
                    7.335050268799214e-07,
                    8.046724285419163e-07,
                    8.593458202891359e-07,
                    8.975366323981376e-07,
                    9.198089102266831e-07,
                    8.818992018759419e-07,
                    8.225831445837532e-07,
                    7.535996613727034e-07,
                    6.805684871056344e-07,
                    6.455225397928017e-07,
                    6.000065063517871e-07,
                    5.374608852394712e-07,
                    4.3725539089016995e-07,
                    3.059440904024604e-07,
                    2.9877004606866285e-07,
                    2.892000607125253e-07,
                    2.768752579276478e-07,
                    2.6313267373556517e-07,
                    2.4852780113333186e-07,
                    2.3350923823896138e-07,
                    2.1755874125613001e-07,
                    2.018917412542526e-07,
                    1.8691893645687664e-07,
                    1.7308796317993642e-07,
                    1.6085186078572307e-07,
                    1.5037429026764133e-07,
                    1.4113212277005037e-07,
                    1.3198969288999102e-07,
                    1.2233170931531322e-07,
                    1.1215114344650268e-07,
                    1.0111221042803379e-07,
                    8.884500300340746e-08,
                    7.51272103040075e-08,
                    6.034657297939472e-08,
                    4.5142083140806944e-08,
                    2.899392566421058e-08,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    -2.5800055380971253e-06,
                    -2.4272304277070537e-06,
                    -2.1994093551183286e-06,
                    -1.903205384987495e-06,
                    -1.5538541756343406e-06
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 5.37541254295345e-14,
            "rel": 0.0
          }
        },
        {
          "variable": "prain",
          "time": 0.0,
          "expected": 1.4821310450229046e-05
        }
      ]
    },
    {
      "id": "step601_col1_precipitation_flux",
      "description": "cuflxn's precipitation sweeps on the chem170 single-column reference, step 601, TILE COLUMN 1 of 2: cloud top at kernel level 11, base at 46, peak rain flux 0.000554 and peak snow flux 0.000597 kg/(m^2 s), peak melting rate 0.000221. The column is named because the two columns of the SCM tile reach different convective outcomes at the same step, so a regime table collapsing to one value per step would hide which was tested. Reference run: data/eqwefic/notes/chem170_scm_reference_run.md (em_scm_xy, Weisman-Klemp sounding over Kansas, dx = 20 km, 59 levels, dt = 60 s, cu_physics = 16). Reference build: the real64 replay through kernels/ntiedtke_driver of WRF fork branch earthsciml-instrumented-chem170, the seven constants cu_ntiedtke_init takes supplied at binary64 precision; the scheme's own literals stay at their binary32 roundings (FORTRAN_BUGS N109). **The values come from the `cx_*` tape, taken at cuflxn's OWN EXIT.** They are NOT the fluxes the next stage sees: cumastrn afterwards rescales the downdraught mass flux and adds the remainder back into the rain, then recomputes the precipitation generation as the flux difference (FORTRAN_BUGS N113). Pinning against the later state disagrees by up to 0.31 of the flux amplitude on exactly the columns whose downdraught was rescaled, and is bit-exact on the rest -- a split that reads as a transcription error and is a wrong reference. Algebraic observeds at t = 0 with no ODE state, so the empty time_span is one static evaluation. TOLERANCE, measured and traced, not chosen to pass. The three flux-derived assertions carry **2e-9 of the profile maximum against this project's 1e-9 baseline for a double-precision kernel reference**, and the factor of two is accounted for: the evaporation rate passes through (sqrt(p/p_sfc)/evap_c1 * F/zcucov)^0.5777 with evap_c1 = 5.09e-3, so a factor of about 196 enters the chain before the flux is reconstituted from it, and the .esm's association of that product differs from the Fortran's in the last bits. Measured over the ten regimes the worst relative residual is 1.8e-9 (step 364, whose peak flux is only 1.4e-5 so the absolute residual is 2.5e-14) and the worst absolute is 1.3e-12 (step 1, the strongest convective step, whose peak flux is 600 times larger). Neither is a fixed absolute floor nor a clean relative one -- the residual tracks the flux but not proportionally -- so the bound is stated as the measured relative worst, doubled. `qs` and the column-integrated generation do NOT pass through the power law and are pinned at 1e-9 of their own scale; `qs` is in fact EXACT. `gen_up_out` is bounded differently again, and for the reason that makes this whole paragraph necessary: it is the net precipitation SOURCE, of order 2e-6, but it is formed by adding an evaporation that is itself a cancelling difference of two fluxes of order 1e-5. Its attainable precision is therefore set by the FLUX it is differenced out of, not by its own magnitude, so its bound is 2e-9 of the total flux amplitude of the same column -- written as an absolute number per regime because the two quantities have different scales. Sizing it by its own profile maximum instead gives 5e-15, which is below the floor and fails on three of the ten regimes by less than a factor of two.",
      "parameter_overrides": {},
      "expression_template_imports": [
        {
          "ref": "./tests/pf_step601_col1_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0,
        "end": 0
      },
      "tolerance": {
        "rel": 1e-09
      },
      "assertions": [
        {
          "variable": "rain",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev_nodes"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    3.754030893900754e-05,
                    0.00015406761296086268,
                    0.0003631554245808776,
                    0.0005535024429015322,
                    0.0005373311780080713,
                    0.000519871166102181,
                    0.0005015273904796218,
                    0.00048271917949910335,
                    0.00046357427614835897,
                    0.00044378521746845425,
                    0.00042322391146399176,
                    0.0004095751980431666,
                    0.00039617427986830654,
                    0.0003830278464057595,
                    0.0003701903686287888,
                    0.00035768340139338974,
                    0.00034538623116642887,
                    0.00033290330609571237,
                    0.0003194553372258891,
                    0.00030358127830993205,
                    0.00028844032144629726,
                    0.00027399256696714964,
                    0.0002602015350352046,
                    0.0002470274384682797,
                    0.00023443654451669703,
                    0.0002223947777212873,
                    0.00021087447384780754,
                    0.0001998752798089384,
                    0.00019089214027982892,
                    0.00018369673747713688,
                    0.00017816678548938426,
                    0.0001741834049361052,
                    0.00017163244237588515,
                    0.00017040690100603745,
                    0.00017040690100603745
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1.1070048858030644e-12,
            "rel": 0.0
          }
        },
        {
          "variable": "snow",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev_nodes"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    3.683314101971454e-05,
                    8.798040551457367e-05,
                    0.00014987753790074484,
                    0.00021303000671243954,
                    0.0002773633799397922,
                    0.0003441067928488965,
                    0.00040315378702487464,
                    0.000458233503402102,
                    0.0005101382684009678,
                    0.0005559413701721523,
                    0.000581275235543727,
                    0.0005924594462200288,
                    0.0005973481788674349,
                    0.0005950703101010732,
                    0.0005512206154229249,
                    0.00042537375613341564,
                    0.0002046885223892223,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1.1946963577348698e-12,
            "rel": 0.0
          }
        },
        {
          "variable": "qs",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.00020719058284003372,
                    0.0001268179688520387,
                    8.627552694757947e-05,
                    3.885181931390912e-05,
                    5.604064273439053e-05,
                    0.0001005960446858513,
                    0.00019338578361903115,
                    0.0003155836955865483,
                    0.0004580104275782706,
                    0.0006403921080152134,
                    0.0008923603628249236,
                    0.0011705096994320573,
                    0.001446706280646015,
                    0.0017534232207138364,
                    0.002084592257581791,
                    0.0024573434041015095,
                    0.002869228633569899,
                    0.003318084232851139,
                    0.003793818734976257,
                    0.004291998503749518,
                    0.004793374772032231,
                    0.005292267253235848,
                    0.0057820560774118615,
                    0.0062576479259950435,
                    0.006175906050494011,
                    0.006016077211992454,
                    0.005867925517792071,
                    0.006378715226887271,
                    0.008038205727493667,
                    0.00833649867801798,
                    0.008601953511362195,
                    0.008941987178192265,
                    0.009412243529265145,
                    0.009928282550532828,
                    0.010420653635031373,
                    0.010900110997648793,
                    0.01138278057004805,
                    0.011833195171218093,
                    0.012184088428839387,
                    0.012496161342078194,
                    0.012897574571771509,
                    0.013412546351309281,
                    0.013977373322462364,
                    0.014583230741766165,
                    0.015219592538392798,
                    0.015735571231552066,
                    0.016495866856748104,
                    0.017205330212831348,
                    0.01791826633413947,
                    0.018654105955981343,
                    0.01933584779068901,
                    0.019347079829608996,
                    0.018004459373356083,
                    0.018772305220138716,
                    0.019287245079658386,
                    0.019779508611935823,
                    0.020296659030049406,
                    0.020835891558596446,
                    0.021442395177410152
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 2.1442395177410152e-11,
            "rel": 0.0
          }
        },
        {
          "variable": "gen_up_out",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    3.683314101971454e-05,
                    5.1147264494859124e-05,
                    6.189713238617117e-05,
                    6.31524688116947e-05,
                    6.433337322735266e-05,
                    6.674341290910432e-05,
                    7.025535239219657e-05,
                    7.416808735058336e-05,
                    7.656486966927534e-05,
                    7.357921091744229e-05,
                    5.5705788556375426e-05,
                    4.379870186901402e-05,
                    3.932608101073145e-05,
                    3.403086547364924e-05,
                    3.0684512907160584e-05,
                    2.7732826083452614e-05,
                    2.4984897425791852e-05,
                    2.1794295572044394e-05,
                    1.926703282517785e-05,
                    1.7242878640732158e-05,
                    1.5657373670811103e-05,
                    1.4439750897766982e-05,
                    1.3378367234711793e-05,
                    1.2315395622590453e-05,
                    1.1238279339962943e-05,
                    1.0185203644801475e-05,
                    9.18175033620494e-06,
                    8.267748797001484e-06,
                    7.484722137119953e-06,
                    6.7985779915398555e-06,
                    6.062145625429375e-06,
                    4.994074820412515e-06,
                    3.2027149095011687e-06,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 2.3017012435379347e-12,
            "rel": 0.0
          }
        },
        {
          "variable": "prain",
          "time": 0.0,
          "expected": 0.0010764482985703772
        }
      ]
    },
    {
      "id": "step639_col1_precipitation_flux",
      "description": "cuflxn's precipitation sweeps on the chem170 single-column reference, step 639, TILE COLUMN 1 of 2: cloud top at kernel level 25, base at 45, peak rain flux 8.7e-05 and peak snow flux 0 kg/(m^2 s), peak melting rate 0. The column is named because the two columns of the SCM tile reach different convective outcomes at the same step, so a regime table collapsing to one value per step would hide which was tested. Reference run: data/eqwefic/notes/chem170_scm_reference_run.md (em_scm_xy, Weisman-Klemp sounding over Kansas, dx = 20 km, 59 levels, dt = 60 s, cu_physics = 16). Reference build: the real64 replay through kernels/ntiedtke_driver of WRF fork branch earthsciml-instrumented-chem170, the seven constants cu_ntiedtke_init takes supplied at binary64 precision; the scheme's own literals stay at their binary32 roundings (FORTRAN_BUGS N109). **The values come from the `cx_*` tape, taken at cuflxn's OWN EXIT.** They are NOT the fluxes the next stage sees: cumastrn afterwards rescales the downdraught mass flux and adds the remainder back into the rain, then recomputes the precipitation generation as the flux difference (FORTRAN_BUGS N113). Pinning against the later state disagrees by up to 0.31 of the flux amplitude on exactly the columns whose downdraught was rescaled, and is bit-exact on the rest -- a split that reads as a transcription error and is a wrong reference. Algebraic observeds at t = 0 with no ODE state, so the empty time_span is one static evaluation. TOLERANCE, measured and traced, not chosen to pass. The three flux-derived assertions carry **2e-9 of the profile maximum against this project's 1e-9 baseline for a double-precision kernel reference**, and the factor of two is accounted for: the evaporation rate passes through (sqrt(p/p_sfc)/evap_c1 * F/zcucov)^0.5777 with evap_c1 = 5.09e-3, so a factor of about 196 enters the chain before the flux is reconstituted from it, and the .esm's association of that product differs from the Fortran's in the last bits. Measured over the ten regimes the worst relative residual is 1.8e-9 (step 364, whose peak flux is only 1.4e-5 so the absolute residual is 2.5e-14) and the worst absolute is 1.3e-12 (step 1, the strongest convective step, whose peak flux is 600 times larger). Neither is a fixed absolute floor nor a clean relative one -- the residual tracks the flux but not proportionally -- so the bound is stated as the measured relative worst, doubled. `qs` and the column-integrated generation do NOT pass through the power law and are pinned at 1e-9 of their own scale; `qs` is in fact EXACT. `gen_up_out` is bounded differently again, and for the reason that makes this whole paragraph necessary: it is the net precipitation SOURCE, of order 2e-6, but it is formed by adding an evaporation that is itself a cancelling difference of two fluxes of order 1e-5. Its attainable precision is therefore set by the FLUX it is differenced out of, not by its own magnitude, so its bound is 2e-9 of the total flux amplitude of the same column -- written as an absolute number per regime because the two quantities have different scales. Sizing it by its own profile maximum instead gives 5e-15, which is below the floor and fails on three of the ten regimes by less than a factor of two.",
      "parameter_overrides": {},
      "expression_template_imports": [
        {
          "ref": "./tests/pf_step639_col1_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0,
        "end": 0
      },
      "tolerance": {
        "rel": 1e-09
      },
      "assertions": [
        {
          "variable": "rain",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev_nodes"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    2.2917896095770484e-05,
                    4.6473913455229114e-05,
                    6.24112582880869e-05,
                    7.327358691211742e-05,
                    8.166487941755567e-05,
                    8.699181470344267e-05,
                    8.695991242017993e-05,
                    8.25955673872525e-05,
                    7.468697743141922e-05,
                    6.437114010532607e-05,
                    5.24654170480244e-05,
                    3.9280069139295224e-05,
                    2.4942327307352753e-05,
                    9.610385776244613e-06,
                    5.549659659400286e-07,
                    5.357515192034444e-06,
                    9.351970553415684e-06,
                    1.2100268125123925e-05,
                    1.2100268125123925e-05,
                    1.2100268125123925e-05,
                    1.2100268125123925e-05,
                    1.2100268125123925e-05,
                    1.2100268125123925e-05,
                    1.2100268125123925e-05,
                    1.2100268125123925e-05,
                    1.2100268125123925e-05,
                    1.2100268125123925e-05,
                    1.2100268125123925e-05,
                    1.2100268125123925e-05,
                    1.2100268125123925e-05,
                    1.2100268125123925e-05,
                    1.2100268125123925e-05,
                    1.2100268125123925e-05,
                    1.2100268125123925e-05,
                    9.908088009949938e-06
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1.7398362940688535e-13,
            "rel": 0.0
          }
        },
        {
          "variable": "snow",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev_nodes"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "qs",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.00021247691245192735,
                    0.00014532040386094477,
                    8.394007074420638e-05,
                    3.707333825005448e-05,
                    5.546486701466897e-05,
                    0.00010159043513533333,
                    0.0001889115367714802,
                    0.00029936564024887394,
                    0.00044340543631834865,
                    0.0006358541705037588,
                    0.0008810174034580329,
                    0.0011554151821184968,
                    0.0014773953886020124,
                    0.0018815560078900215,
                    0.002289885596148251,
                    0.0026892031394177844,
                    0.0031005752523652337,
                    0.0035291439148859988,
                    0.003976755404412337,
                    0.004438594510277278,
                    0.0049027732994932705,
                    0.0053630205249988955,
                    0.005779602441338986,
                    0.0060751687248661096,
                    0.006414722788269477,
                    0.006814940094552962,
                    0.007242031884581318,
                    0.0076569743057181665,
                    0.008077037907140372,
                    0.008532791726966844,
                    0.008970456392395566,
                    0.009421131411666074,
                    0.0098366954179896,
                    0.010237431204032801,
                    0.010660516161887014,
                    0.011112814302739292,
                    0.011585882387006606,
                    0.012024762666664243,
                    0.012322498526330782,
                    0.012624793807275653,
                    0.01325744236573534,
                    0.013753957173150045,
                    0.014245282510797817,
                    0.01473739128497073,
                    0.015199815084202819,
                    0.015715393718432846,
                    0.016451245154354335,
                    0.01718878750300126,
                    0.017904988269048745,
                    0.018423734338966026,
                    0.019087102228469884,
                    0.0198773236499706,
                    0.018885123775688517,
                    0.018433957034734806,
                    0.01887895865639337,
                    0.019485240813224235,
                    0.020098415880093888,
                    0.02071634839243286,
                    0.021365330952868168
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 2.136533095286817e-11,
            "rel": 0.0
          }
        },
        {
          "variable": "gen_up_out",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    2.2917896095770484e-05,
                    3.0660015060204156e-05,
                    3.075490999902175e-05,
                    2.9065623716332678e-05,
                    2.7146276309576917e-05,
                    2.4405011075461296e-05,
                    2.0043005779296937e-05,
                    1.6493659397191593e-05,
                    1.3788512479665896e-05,
                    1.1776802764096136e-05,
                    1.0181759445289775e-05,
                    8.809336378023734e-06,
                    7.5653723902267385e-06,
                    6.449859521803147e-06,
                    5.527806546915043e-06,
                    4.802549226094415e-06,
                    3.994455361381241e-06,
                    2.748297571708241e-06,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    -2.1921801151739864e-06
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1.7398362940688535e-13,
            "rel": 0.0
          }
        },
        {
          "variable": "prain",
          "time": 0.0,
          "expected": 0.00027713114911806014
        }
      ]
    },
    {
      "id": "step689_col2_precipitation_flux",
      "description": "cuflxn's precipitation sweeps on the chem170 single-column reference, step 689, TILE COLUMN 2 of 2: cloud top at kernel level 33, base at 45, peak rain flux 8.23e-05 and peak snow flux 0 kg/(m^2 s), peak melting rate 0. The column is named because the two columns of the SCM tile reach different convective outcomes at the same step, so a regime table collapsing to one value per step would hide which was tested. Reference run: data/eqwefic/notes/chem170_scm_reference_run.md (em_scm_xy, Weisman-Klemp sounding over Kansas, dx = 20 km, 59 levels, dt = 60 s, cu_physics = 16). Reference build: the real64 replay through kernels/ntiedtke_driver of WRF fork branch earthsciml-instrumented-chem170, the seven constants cu_ntiedtke_init takes supplied at binary64 precision; the scheme's own literals stay at their binary32 roundings (FORTRAN_BUGS N109). **The values come from the `cx_*` tape, taken at cuflxn's OWN EXIT.** They are NOT the fluxes the next stage sees: cumastrn afterwards rescales the downdraught mass flux and adds the remainder back into the rain, then recomputes the precipitation generation as the flux difference (FORTRAN_BUGS N113). Pinning against the later state disagrees by up to 0.31 of the flux amplitude on exactly the columns whose downdraught was rescaled, and is bit-exact on the rest -- a split that reads as a transcription error and is a wrong reference. Algebraic observeds at t = 0 with no ODE state, so the empty time_span is one static evaluation. TOLERANCE, measured and traced, not chosen to pass. The three flux-derived assertions carry **2e-9 of the profile maximum against this project's 1e-9 baseline for a double-precision kernel reference**, and the factor of two is accounted for: the evaporation rate passes through (sqrt(p/p_sfc)/evap_c1 * F/zcucov)^0.5777 with evap_c1 = 5.09e-3, so a factor of about 196 enters the chain before the flux is reconstituted from it, and the .esm's association of that product differs from the Fortran's in the last bits. Measured over the ten regimes the worst relative residual is 1.8e-9 (step 364, whose peak flux is only 1.4e-5 so the absolute residual is 2.5e-14) and the worst absolute is 1.3e-12 (step 1, the strongest convective step, whose peak flux is 600 times larger). Neither is a fixed absolute floor nor a clean relative one -- the residual tracks the flux but not proportionally -- so the bound is stated as the measured relative worst, doubled. `qs` and the column-integrated generation do NOT pass through the power law and are pinned at 1e-9 of their own scale; `qs` is in fact EXACT. `gen_up_out` is bounded differently again, and for the reason that makes this whole paragraph necessary: it is the net precipitation SOURCE, of order 2e-6, but it is formed by adding an evaporation that is itself a cancelling difference of two fluxes of order 1e-5. Its attainable precision is therefore set by the FLUX it is differenced out of, not by its own magnitude, so its bound is 2e-9 of the total flux amplitude of the same column -- written as an absolute number per regime because the two quantities have different scales. Sizing it by its own profile maximum instead gives 5e-15, which is below the floor and fails on three of the ten regimes by less than a factor of two.",
      "parameter_overrides": {},
      "expression_template_imports": [
        {
          "ref": "./tests/pf_step689_col2_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0,
        "end": 0
      },
      "tolerance": {
        "rel": 1e-09
      },
      "assertions": [
        {
          "variable": "rain",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev_nodes"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    1.667455013590606e-05,
                    3.194454510745607e-05,
                    4.276495305378697e-05,
                    5.2733390514265495e-05,
                    6.0154025718413985e-05,
                    6.617501997281936e-05,
                    7.13731010428057e-05,
                    7.588955527284217e-05,
                    7.964075656430883e-05,
                    8.23454875967691e-05,
                    8.23454875967691e-05,
                    8.23454875967691e-05,
                    8.23454875967691e-05,
                    8.23454875967691e-05,
                    8.23454875967691e-05,
                    8.23454875967691e-05,
                    8.23454875967691e-05,
                    8.23454875967691e-05,
                    8.23454875967691e-05,
                    8.23454875967691e-05,
                    8.23454875967691e-05,
                    8.23454875967691e-05,
                    8.23454875967691e-05,
                    8.23454875967691e-05,
                    8.23454875967691e-05,
                    8.23454875967691e-05,
                    7.814143151042594e-05
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1.646909751935382e-13,
            "rel": 0.0
          }
        },
        {
          "variable": "snow",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev_nodes"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "qs",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.00021516031805758406,
                    0.00014554572901865912,
                    8.270831172133097e-05,
                    3.540659174604605e-05,
                    5.483661751950365e-05,
                    0.00010249329415069226,
                    0.00018278017530279732,
                    0.00030277273740185706,
                    0.0004633667752610871,
                    0.0006627104902770151,
                    0.0009034548609901299,
                    0.0011645506778785438,
                    0.0014168322941869099,
                    0.0016789822615829262,
                    0.0020475949967669422,
                    0.0025436927811865457,
                    0.0029828450511561466,
                    0.0034336417459692754,
                    0.003916229773952148,
                    0.004413089544938019,
                    0.004902281320303109,
                    0.0053728733673378505,
                    0.005824392821631301,
                    0.00622617517786618,
                    0.006611245155874881,
                    0.006962815045083621,
                    0.0074035098022343605,
                    0.007857264643838483,
                    0.008281776575549725,
                    0.008701334260276751,
                    0.009143275057077911,
                    0.009516728587605583,
                    0.009796539444486302,
                    0.01027477275950504,
                    0.0107635008764645,
                    0.011253069688607169,
                    0.011808718160296184,
                    0.012215443060919729,
                    0.01255264467991925,
                    0.012900151297811602,
                    0.013287416021496502,
                    0.013695980291408998,
                    0.01411247856810041,
                    0.014524832226287686,
                    0.014989607268344777,
                    0.015747395971995457,
                    0.016448546392347108,
                    0.017140076103818108,
                    0.01784646728039899,
                    0.018489761145362275,
                    0.01885159047092912,
                    0.01884262079936366,
                    0.01868599524554561,
                    0.018722952788155608,
                    0.019038987972825043,
                    0.019637434184642946,
                    0.020245248305456473,
                    0.020859296367621887,
                    0.02147506120120355
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 2.1475061201203553e-11,
            "rel": 0.0
          }
        },
        {
          "variable": "gen_up_out",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    1.667455013590606e-05,
                    1.526999497155001e-05,
                    1.08204079463309e-05,
                    9.968437460478522e-06,
                    7.42063520414849e-06,
                    6.020994254405373e-06,
                    5.198081069986341e-06,
                    4.516454230036474e-06,
                    3.7512012914666646e-06,
                    2.7047310324602667e-06,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    -4.20405608634316e-06
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1.646909751935382e-13,
            "rel": 0.0
          }
        },
        {
          "variable": "prain",
          "time": 0.0,
          "expected": 8.23454875967691e-05
        }
      ]
    },
    {
      "id": "step1730_col1_precipitation_flux",
      "description": "cuflxn's precipitation sweeps on the chem170 single-column reference, step 1730, TILE COLUMN 1 of 2: cloud top at kernel level 9, base at 48, peak rain flux 1.41e-05 and peak snow flux 1.36e-05 kg/(m^2 s), peak melting rate 8.75e-06. The column is named because the two columns of the SCM tile reach different convective outcomes at the same step, so a regime table collapsing to one value per step would hide which was tested. Reference run: data/eqwefic/notes/chem170_scm_reference_run.md (em_scm_xy, Weisman-Klemp sounding over Kansas, dx = 20 km, 59 levels, dt = 60 s, cu_physics = 16). Reference build: the real64 replay through kernels/ntiedtke_driver of WRF fork branch earthsciml-instrumented-chem170, the seven constants cu_ntiedtke_init takes supplied at binary64 precision; the scheme's own literals stay at their binary32 roundings (FORTRAN_BUGS N109). **The values come from the `cx_*` tape, taken at cuflxn's OWN EXIT.** They are NOT the fluxes the next stage sees: cumastrn afterwards rescales the downdraught mass flux and adds the remainder back into the rain, then recomputes the precipitation generation as the flux difference (FORTRAN_BUGS N113). Pinning against the later state disagrees by up to 0.31 of the flux amplitude on exactly the columns whose downdraught was rescaled, and is bit-exact on the rest -- a split that reads as a transcription error and is a wrong reference. Algebraic observeds at t = 0 with no ODE state, so the empty time_span is one static evaluation. TOLERANCE, measured and traced, not chosen to pass. The three flux-derived assertions carry **2e-9 of the profile maximum against this project's 1e-9 baseline for a double-precision kernel reference**, and the factor of two is accounted for: the evaporation rate passes through (sqrt(p/p_sfc)/evap_c1 * F/zcucov)^0.5777 with evap_c1 = 5.09e-3, so a factor of about 196 enters the chain before the flux is reconstituted from it, and the .esm's association of that product differs from the Fortran's in the last bits. Measured over the ten regimes the worst relative residual is 1.8e-9 (step 364, whose peak flux is only 1.4e-5 so the absolute residual is 2.5e-14) and the worst absolute is 1.3e-12 (step 1, the strongest convective step, whose peak flux is 600 times larger). Neither is a fixed absolute floor nor a clean relative one -- the residual tracks the flux but not proportionally -- so the bound is stated as the measured relative worst, doubled. `qs` and the column-integrated generation do NOT pass through the power law and are pinned at 1e-9 of their own scale; `qs` is in fact EXACT. `gen_up_out` is bounded differently again, and for the reason that makes this whole paragraph necessary: it is the net precipitation SOURCE, of order 2e-6, but it is formed by adding an evaporation that is itself a cancelling difference of two fluxes of order 1e-5. Its attainable precision is therefore set by the FLUX it is differenced out of, not by its own magnitude, so its bound is 2e-9 of the total flux amplitude of the same column -- written as an absolute number per regime because the two quantities have different scales. Sizing it by its own profile maximum instead gives 5e-15, which is below the floor and fails on three of the ten regimes by less than a factor of two.",
      "parameter_overrides": {},
      "expression_template_imports": [
        {
          "ref": "./tests/pf_step1730_col1_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0,
        "end": 0
      },
      "tolerance": {
        "rel": 1e-09
      },
      "assertions": [
        {
          "variable": "rain",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev_nodes"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    5.102139729803846e-06,
                    1.400594550188919e-05,
                    1.4079612974320987e-05,
                    1.4110702796570535e-05,
                    1.4107653676210088e-05,
                    1.4074065152644284e-05,
                    1.4011492491301384e-05,
                    1.3919352113931235e-05,
                    1.37964612383538e-05,
                    1.3645003707832622e-05,
                    1.3472483941283273e-05,
                    1.3272663271901687e-05,
                    1.3045971688211077e-05,
                    1.2806662451131367e-05,
                    1.2657972927331582e-05,
                    1.2508668233114775e-05,
                    1.2359536352844657e-05,
                    1.2210735055993446e-05,
                    1.2061663681773118e-05,
                    1.1909325480275773e-05,
                    1.1749851990831257e-05,
                    1.1574962575043832e-05,
                    1.1408067427931255e-05,
                    1.1248642223884829e-05,
                    1.1096264101864988e-05,
                    1.0950539741581489e-05,
                    1.0811102237908047e-05,
                    1.0677609207973894e-05,
                    1.0567718311381895e-05,
                    1.0479761930304357e-05,
                    1.0412170632470584e-05,
                    1.036347023122938e-05,
                    1.0332275683732465e-05,
                    8.045036117266396e-06,
                    5.937402422827496e-06
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 2.822140559314107e-14,
            "rel": 0.0
          }
        },
        {
          "variable": "snow",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev_nodes"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    5.147915130204576e-07,
                    1.2272161406300277e-06,
                    2.0526723464892955e-06,
                    2.9910049447126643e-06,
                    4.01914383983914e-06,
                    5.061681468391987e-06,
                    6.141315713687117e-06,
                    7.273826569885625e-06,
                    8.408418027392356e-06,
                    9.513150998516596e-06,
                    1.0552378346276065e-05,
                    1.1467842691911012e-05,
                    1.2106802223873316e-05,
                    1.2625273410805735e-05,
                    1.3109533515965989e-05,
                    1.3559151718655516e-05,
                    8.754520209344607e-06,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 2.7118303437311033e-14,
            "rel": 0.0
          }
        },
        {
          "variable": "qs",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.00020538935093517732,
                    0.0001363913481266863,
                    7.503117734230152e-05,
                    4.275902036563618e-05,
                    5.172843637893063e-05,
                    9.105544521650918e-05,
                    0.00015967286576974718,
                    0.00026083920672157824,
                    0.0003924076083530474,
                    0.000556618861774965,
                    0.0007738561462677149,
                    0.001071386262155277,
                    0.0014090560260061737,
                    0.0017507020139344701,
                    0.0019965491646359054,
                    0.002523950706703709,
                    0.0029780284241368257,
                    0.0034022140649137595,
                    0.003828965581046622,
                    0.00428479394003164,
                    0.004715624295061455,
                    0.0051519807240240035,
                    0.005557834696359962,
                    0.005934750806716804,
                    0.006175710672307324,
                    0.006522343667131174,
                    0.007092422634870545,
                    0.007493056061831595,
                    0.007890601189860583,
                    0.008293298143819842,
                    0.008712597542797417,
                    0.009157499252403738,
                    0.009608472786113962,
                    0.01001165222584601,
                    0.010480556453153834,
                    0.01095991740460087,
                    0.011313751277829728,
                    0.011738489726269027,
                    0.012126449546617126,
                    0.012457695174009124,
                    0.01273754256200209,
                    0.013018018812489675,
                    0.013191334224002248,
                    0.013632449791263504,
                    0.013983248277227491,
                    0.014526994392317232,
                    0.015040435190274877,
                    0.015687567776224216,
                    0.016352728526278493,
                    0.017025935534227245,
                    0.017703737775983323,
                    0.018384150242934504,
                    0.019065168438329446,
                    0.01974804446273503,
                    0.020431959416605364,
                    0.02111770527018361,
                    0.021808593411170304,
                    0.02250409532878747,
                    0.023324603155969126
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 2.332460315596913e-11,
            "rel": 0.0
          }
        },
        {
          "variable": "gen_up_out",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    5.147915130204576e-07,
                    7.124246276095703e-07,
                    8.254562058592676e-07,
                    9.383325982233687e-07,
                    1.0281388951264757e-06,
                    1.0425376285528473e-06,
                    1.0796342452951302e-06,
                    1.1325108561985085e-06,
                    1.1345914575067308e-06,
                    1.1047329711242411e-06,
                    1.039227347759469e-06,
                    9.154643456349472e-07,
                    6.389595319623045e-07,
                    5.184711869324188e-07,
                    4.842601051602543e-07,
                    4.4961820268952655e-07,
                    4.177163886282402e-07,
                    3.905369749738408e-07,
                    3.638103122275845e-07,
                    3.3655595317696914e-07,
                    3.109599822128664e-07,
                    2.8684803383143236e-07,
                    2.636117274848876e-07,
                    2.4047077338801264e-07,
                    2.1742452854923296e-07,
                    1.950000904300451e-07,
                    1.7245086149675686e-07,
                    1.5056833721992743e-07,
                    1.3101864786826998e-07,
                    1.1354379512624143e-07,
                    9.835989398801648e-08,
                    8.514741470404325e-08,
                    7.358758877885297e-08,
                    6.298367984665639e-08,
                    5.250565066427625e-08,
                    4.006478689881061e-08,
                    2.3791272745813888e-08,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    -2.272250686681862e-06,
                    -2.1076336944389e-06
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 5.5339709030452104e-14,
            "rel": 0.0
          }
        },
        {
          "variable": "prain",
          "time": 0.0,
          "expected": 1.7586108412896293e-05
        }
      ]
    },
    {
      "id": "step1801_col2_precipitation_flux",
      "description": "cuflxn's precipitation sweeps on the chem170 single-column reference, step 1801, TILE COLUMN 2 of 2: cloud top at kernel level 9, base at 47, peak rain flux 1.4e-05 and peak snow flux 1.32e-05 kg/(m^2 s), peak melting rate 8.46e-06. The column is named because the two columns of the SCM tile reach different convective outcomes at the same step, so a regime table collapsing to one value per step would hide which was tested. Reference run: data/eqwefic/notes/chem170_scm_reference_run.md (em_scm_xy, Weisman-Klemp sounding over Kansas, dx = 20 km, 59 levels, dt = 60 s, cu_physics = 16). Reference build: the real64 replay through kernels/ntiedtke_driver of WRF fork branch earthsciml-instrumented-chem170, the seven constants cu_ntiedtke_init takes supplied at binary64 precision; the scheme's own literals stay at their binary32 roundings (FORTRAN_BUGS N109). **The values come from the `cx_*` tape, taken at cuflxn's OWN EXIT.** They are NOT the fluxes the next stage sees: cumastrn afterwards rescales the downdraught mass flux and adds the remainder back into the rain, then recomputes the precipitation generation as the flux difference (FORTRAN_BUGS N113). Pinning against the later state disagrees by up to 0.31 of the flux amplitude on exactly the columns whose downdraught was rescaled, and is bit-exact on the rest -- a split that reads as a transcription error and is a wrong reference. Algebraic observeds at t = 0 with no ODE state, so the empty time_span is one static evaluation. TOLERANCE, measured and traced, not chosen to pass. The three flux-derived assertions carry **2e-9 of the profile maximum against this project's 1e-9 baseline for a double-precision kernel reference**, and the factor of two is accounted for: the evaporation rate passes through (sqrt(p/p_sfc)/evap_c1 * F/zcucov)^0.5777 with evap_c1 = 5.09e-3, so a factor of about 196 enters the chain before the flux is reconstituted from it, and the .esm's association of that product differs from the Fortran's in the last bits. Measured over the ten regimes the worst relative residual is 1.8e-9 (step 364, whose peak flux is only 1.4e-5 so the absolute residual is 2.5e-14) and the worst absolute is 1.3e-12 (step 1, the strongest convective step, whose peak flux is 600 times larger). Neither is a fixed absolute floor nor a clean relative one -- the residual tracks the flux but not proportionally -- so the bound is stated as the measured relative worst, doubled. `qs` and the column-integrated generation do NOT pass through the power law and are pinned at 1e-9 of their own scale; `qs` is in fact EXACT. `gen_up_out` is bounded differently again, and for the reason that makes this whole paragraph necessary: it is the net precipitation SOURCE, of order 2e-6, but it is formed by adding an evaporation that is itself a cancelling difference of two fluxes of order 1e-5. Its attainable precision is therefore set by the FLUX it is differenced out of, not by its own magnitude, so its bound is 2e-9 of the total flux amplitude of the same column -- written as an absolute number per regime because the two quantities have different scales. Sizing it by its own profile maximum instead gives 5e-15, which is below the floor and fails on three of the ten regimes by less than a factor of two.",
      "parameter_overrides": {},
      "expression_template_imports": [
        {
          "ref": "./tests/pf_step1801_col2_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0,
        "end": 0
      },
      "tolerance": {
        "rel": 1e-09
      },
      "assertions": [
        {
          "variable": "rain",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev_nodes"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    5.145590615374311e-06,
                    1.3861348047574075e-05,
                    1.3970999983886403e-05,
                    1.3990399270726229e-05,
                    1.3972608317977504e-05,
                    1.3921971419809252e-05,
                    1.3840724181891283e-05,
                    1.3729006818338922e-05,
                    1.3586355107789636e-05,
                    1.3415677998378726e-05,
                    1.3223674996910439e-05,
                    1.3007049020786712e-05,
                    1.276586162792778e-05,
                    1.255226062776377e-05,
                    1.2399858380771752e-05,
                    1.2248161646666718e-05,
                    1.2098093919640048e-05,
                    1.1949305417789841e-05,
                    1.1797374056161602e-05,
                    1.1638766634447076e-05,
                    1.1462417126439353e-05,
                    1.1294239183880857e-05,
                    1.1133694372072382e-05,
                    1.0980340543666266e-05,
                    1.083377118517518e-05,
                    1.0693606567940626e-05,
                    1.0559493290031363e-05,
                    1.0431100881913907e-05,
                    1.0325408953560105e-05,
                    1.0240813526777936e-05,
                    1.0175804684751415e-05,
                    7.938031545323968e-06,
                    5.864814207326379e-06,
                    4.019032480038886e-06,
                    2.4522187983899153e-06
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 2.798079854145246e-14,
            "rel": 0.0
          }
        },
        {
          "variable": "snow",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev_nodes"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    4.887720318678684e-07,
                    1.1817835730260148e-06,
                    1.9864713042798885e-06,
                    2.90362257661102e-06,
                    3.910047151487509e-06,
                    4.932754435769399e-06,
                    5.992737865636847e-06,
                    7.104076629471027e-06,
                    8.218318737684614e-06,
                    9.301092998497872e-06,
                    1.0315382559461425e-05,
                    1.1203800728231443e-05,
                    1.1813680677604788e-05,
                    1.231179116737367e-05,
                    1.277526822954093e-05,
                    1.3204608116824635e-05,
                    8.457422764502094e-06,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 2.6409216233649272e-14,
            "rel": 0.0
          }
        },
        {
          "variable": "qs",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.00020635346677557782,
                    0.00013754849022281813,
                    7.477796886006029e-05,
                    4.3028067542663034e-05,
                    5.209976360682492e-05,
                    9.101347857176648e-05,
                    0.0001594830381780178,
                    0.0002612058926275226,
                    0.0003963759778905151,
                    0.0005619704588684591,
                    0.000777935998446143,
                    0.0010763021152354376,
                    0.0014166230933797051,
                    0.0017554622429484838,
                    0.00201554579137043,
                    0.0025293347190621,
                    0.0029889261369345386,
                    0.003417996017509032,
                    0.0038471656259752938,
                    0.004300968396518825,
                    0.004734998644214301,
                    0.005168454846176463,
                    0.0055642554264483755,
                    0.005940752586721676,
                    0.006175749119246609,
                    0.00651332064457668,
                    0.007115885422199229,
                    0.00752769669075178,
                    0.007928201973105684,
                    0.008327416129512355,
                    0.008739043388938817,
                    0.009173125728121902,
                    0.0096104757501248,
                    0.010015834993050228,
                    0.010461757450037305,
                    0.01092078046794413,
                    0.011319701283085765,
                    0.011736337151191082,
                    0.012102695290523458,
                    0.01241751638891909,
                    0.0126631487583778,
                    0.012819432106490275,
                    0.013158701501639145,
                    0.013704744498168931,
                    0.01429423700516968,
                    0.014824408203606369,
                    0.015484046653238536,
                    0.01616208633939407,
                    0.016849741809967088,
                    0.017543315474709224,
                    0.01824081510649704,
                    0.018940647209557175,
                    0.01964101207574339,
                    0.020343299922938637,
                    0.021046212965361927,
                    0.021740150837835096,
                    0.02245203845132361,
                    0.023183931899324082,
                    0.024027771151631936
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 2.4027771151631938e-11,
            "rel": 0.0
          }
        },
        {
          "variable": "gen_up_out",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    4.887720318678684e-07,
                    6.930115411581463e-07,
                    8.046877312538736e-07,
                    9.171512723311316e-07,
                    1.0064245748764896e-06,
                    1.02270728428189e-06,
                    1.0599834298674474e-06,
                    1.1113387638341802e-06,
                    1.1142421082135873e-06,
                    1.0827742608132588e-06,
                    1.0142895609635525e-06,
                    8.884181687700175e-07,
                    6.098799493733446e-07,
                    4.981104897688828e-07,
                    4.6347706216725947e-07,
                    4.2933988728370545e-07,
                    3.9840526305177065e-07,
                    3.7270099623103195e-07,
                    3.466482639924809e-07,
                    3.183093415821097e-07,
                    2.9116843020648027e-07,
                    2.6551917456880923e-07,
                    2.410593968250755e-07,
                    2.1731087102650593e-07,
                    1.943859590332553e-07,
                    1.7261096155556288e-07,
                    1.5155986363141345e-07,
                    1.316726538663138e-07,
                    1.138326272611747e-07,
                    9.817051483286525e-08,
                    8.482471976924857e-08,
                    7.343461839008628e-08,
                    6.378786515266698e-08,
                    5.5226249780357244e-08,
                    4.2077184086033883e-08,
                    2.6270935542940734e-08,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    -2.190934863350501e-06,
                    -2.0432153525784e-06,
                    -1.8313652137870095e-06,
                    -1.5668136816489703e-06
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 5.439001477510173e-14,
            "rel": 0.0
          }
        },
        {
          "variable": "prain",
          "time": 0.0,
          "expected": 1.686358400721082e-05
        }
      ]
    },
    {
      "id": "step2101_col1_precipitation_flux",
      "description": "cuflxn's precipitation sweeps on the chem170 single-column reference, step 2101, TILE COLUMN 1 of 2: cloud top at kernel level 23, base at 46, peak rain flux 0.000116 and peak snow flux 4.29e-05 kg/(m^2 s), peak melting rate 3.04e-05. The column is named because the two columns of the SCM tile reach different convective outcomes at the same step, so a regime table collapsing to one value per step would hide which was tested. Reference run: data/eqwefic/notes/chem170_scm_reference_run.md (em_scm_xy, Weisman-Klemp sounding over Kansas, dx = 20 km, 59 levels, dt = 60 s, cu_physics = 16). Reference build: the real64 replay through kernels/ntiedtke_driver of WRF fork branch earthsciml-instrumented-chem170, the seven constants cu_ntiedtke_init takes supplied at binary64 precision; the scheme's own literals stay at their binary32 roundings (FORTRAN_BUGS N109). **The values come from the `cx_*` tape, taken at cuflxn's OWN EXIT.** They are NOT the fluxes the next stage sees: cumastrn afterwards rescales the downdraught mass flux and adds the remainder back into the rain, then recomputes the precipitation generation as the flux difference (FORTRAN_BUGS N113). Pinning against the later state disagrees by up to 0.31 of the flux amplitude on exactly the columns whose downdraught was rescaled, and is bit-exact on the rest -- a split that reads as a transcription error and is a wrong reference. Algebraic observeds at t = 0 with no ODE state, so the empty time_span is one static evaluation. TOLERANCE, measured and traced, not chosen to pass. The three flux-derived assertions carry **2e-9 of the profile maximum against this project's 1e-9 baseline for a double-precision kernel reference**, and the factor of two is accounted for: the evaporation rate passes through (sqrt(p/p_sfc)/evap_c1 * F/zcucov)^0.5777 with evap_c1 = 5.09e-3, so a factor of about 196 enters the chain before the flux is reconstituted from it, and the .esm's association of that product differs from the Fortran's in the last bits. Measured over the ten regimes the worst relative residual is 1.8e-9 (step 364, whose peak flux is only 1.4e-5 so the absolute residual is 2.5e-14) and the worst absolute is 1.3e-12 (step 1, the strongest convective step, whose peak flux is 600 times larger). Neither is a fixed absolute floor nor a clean relative one -- the residual tracks the flux but not proportionally -- so the bound is stated as the measured relative worst, doubled. `qs` and the column-integrated generation do NOT pass through the power law and are pinned at 1e-9 of their own scale; `qs` is in fact EXACT. `gen_up_out` is bounded differently again, and for the reason that makes this whole paragraph necessary: it is the net precipitation SOURCE, of order 2e-6, but it is formed by adding an evaporation that is itself a cancelling difference of two fluxes of order 1e-5. Its attainable precision is therefore set by the FLUX it is differenced out of, not by its own magnitude, so its bound is 2e-9 of the total flux amplitude of the same column -- written as an absolute number per regime because the two quantities have different scales. Sizing it by its own profile maximum instead gives 5e-15, which is below the floor and fails on three of the ten regimes by less than a factor of two.",
      "parameter_overrides": {},
      "expression_template_imports": [
        {
          "ref": "./tests/pf_step2101_col1_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0,
        "end": 0
      },
      "tolerance": {
        "rel": 1e-09
      },
      "assertions": [
        {
          "variable": "rain",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev_nodes"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    5.0838417063108336e-05,
                    7.923108100312253e-05,
                    9.00152177367144e-05,
                    0.00010255195585978647,
                    0.0001063647022527843,
                    0.00011193201995069138,
                    0.00011624314575018252,
                    0.00011602765346355815,
                    0.0001145650380967757,
                    0.00010955892262909562,
                    0.00010116785196635633,
                    8.995945414873267e-05,
                    7.647860544606772e-05,
                    6.225388280891862e-05,
                    5.3664117686785454e-05,
                    4.503760439603856e-05,
                    3.629752768062139e-05,
                    2.7143072260980485e-05,
                    1.721803220054391e-05,
                    1.721803220054391e-05,
                    1.721803220054391e-05,
                    1.721803220054391e-05,
                    1.721803220054391e-05,
                    1.721803220054391e-05,
                    1.721803220054391e-05,
                    1.721803220054391e-05,
                    1.721803220054391e-05,
                    1.721803220054391e-05,
                    1.721803220054391e-05,
                    1.721803220054391e-05,
                    1.721803220054391e-05,
                    1.721803220054391e-05,
                    1.721803220054391e-05,
                    1.721803220054391e-05,
                    1.4432430774263576e-05
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 2.3248629150036503e-13,
            "rel": 0.0
          }
        },
        {
          "variable": "snow",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev_nodes"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    2.0438420437713625e-05,
                    4.2930424796258496e-05,
                    1.2527610417269191e-05,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 8.5860849592517e-14,
            "rel": 0.0
          }
        },
        {
          "variable": "qs",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.00021330680715115518,
                    0.00014220378151094638,
                    7.612306748775253e-05,
                    4.2508566654604147e-05,
                    5.251127407623924e-05,
                    9.062162645539223e-05,
                    0.00015362369752476245,
                    0.0002629138360367029,
                    0.0004261653585986966,
                    0.0006255626446274461,
                    0.0008460932079680908,
                    0.0011586792712094604,
                    0.0015429286415401318,
                    0.0019556610959252083,
                    0.0023640244857385207,
                    0.002798949906115801,
                    0.003276512002616587,
                    0.003760524308449823,
                    0.004219671919668612,
                    0.004628353028123204,
                    0.005047773069842616,
                    0.005405770737892788,
                    0.005745838250479086,
                    0.0061924662469329895,
                    0.006175021847053246,
                    0.006905699748446645,
                    0.007412737946158664,
                    0.007849867816612299,
                    0.008331172032982379,
                    0.008768041122846734,
                    0.009222880902278519,
                    0.009615826382763829,
                    0.010051746514694253,
                    0.010513560440207369,
                    0.01099794447217576,
                    0.011494149228459738,
                    0.01173139665258124,
                    0.01214509221580843,
                    0.012399764758727625,
                    0.01253243337913396,
                    0.012760701603880983,
                    0.013232878370122367,
                    0.013814548195056352,
                    0.014404050393614405,
                    0.014987234049146361,
                    0.015428230502869518,
                    0.016197150893835638,
                    0.016822176749414303,
                    0.017566629871321994,
                    0.01832368143482313,
                    0.019093193811064446,
                    0.01988562596548545,
                    0.01966312328819174,
                    0.019599549447132297,
                    0.019793005461437082,
                    0.020295651280121056,
                    0.020872718547290954,
                    0.02147641457792247,
                    0.022118091878838925
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 2.2118091878838927e-11,
            "rel": 0.0
          }
        },
        {
          "variable": "gen_up_out",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    2.0438420437713625e-05,
                    2.2492004358544867e-05,
                    2.761945749383677e-05,
                    2.9858959321611587e-05,
                    2.867634208634646e-05,
                    3.0192368380698008e-05,
                    2.2954321099554312e-05,
                    2.5286250628118477e-05,
                    2.4156572707097424e-05,
                    1.9888926150794582e-05,
                    1.8354954948966346e-05,
                    1.477754336258476e-05,
                    1.1571146520201618e-05,
                    9.042566066891368e-06,
                    7.384563114802601e-06,
                    6.2591287473708845e-06,
                    5.3836572068833594e-06,
                    4.633347912471602e-06,
                    3.8570205212098176e-06,
                    2.832578981352706e-06,
                    1.4907302099183067e-06,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    -2.7856014262803357e-06
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 3.1834714109288203e-13,
            "rel": 0.0
          }
        },
        {
          "variable": "prain",
          "time": 0.0,
          "expected": 0.0003371508602569694
        }
      ]
    },
    {
      "id": "step2134_col1_precipitation_flux",
      "description": "cuflxn's precipitation sweeps on the chem170 single-column reference, step 2134, TILE COLUMN 1 of 2: cloud top at kernel level 11, base at 11, peak rain flux 0 and peak snow flux 0 kg/(m^2 s), peak melting rate 0. The column is named because the two columns of the SCM tile reach different convective outcomes at the same step, so a regime table collapsing to one value per step would hide which was tested. Reference run: data/eqwefic/notes/chem170_scm_reference_run.md (em_scm_xy, Weisman-Klemp sounding over Kansas, dx = 20 km, 59 levels, dt = 60 s, cu_physics = 16). Reference build: the real64 replay through kernels/ntiedtke_driver of WRF fork branch earthsciml-instrumented-chem170, the seven constants cu_ntiedtke_init takes supplied at binary64 precision; the scheme's own literals stay at their binary32 roundings (FORTRAN_BUGS N109). **The values come from the `cx_*` tape, taken at cuflxn's OWN EXIT.** They are NOT the fluxes the next stage sees: cumastrn afterwards rescales the downdraught mass flux and adds the remainder back into the rain, then recomputes the precipitation generation as the flux difference (FORTRAN_BUGS N113). Pinning against the later state disagrees by up to 0.31 of the flux amplitude on exactly the columns whose downdraught was rescaled, and is bit-exact on the rest -- a split that reads as a transcription error and is a wrong reference. Algebraic observeds at t = 0 with no ODE state, so the empty time_span is one static evaluation. TOLERANCE, measured and traced, not chosen to pass. The three flux-derived assertions carry **2e-9 of the profile maximum against this project's 1e-9 baseline for a double-precision kernel reference**, and the factor of two is accounted for: the evaporation rate passes through (sqrt(p/p_sfc)/evap_c1 * F/zcucov)^0.5777 with evap_c1 = 5.09e-3, so a factor of about 196 enters the chain before the flux is reconstituted from it, and the .esm's association of that product differs from the Fortran's in the last bits. Measured over the ten regimes the worst relative residual is 1.8e-9 (step 364, whose peak flux is only 1.4e-5 so the absolute residual is 2.5e-14) and the worst absolute is 1.3e-12 (step 1, the strongest convective step, whose peak flux is 600 times larger). Neither is a fixed absolute floor nor a clean relative one -- the residual tracks the flux but not proportionally -- so the bound is stated as the measured relative worst, doubled. `qs` and the column-integrated generation do NOT pass through the power law and are pinned at 1e-9 of their own scale; `qs` is in fact EXACT. `gen_up_out` is bounded differently again, and for the reason that makes this whole paragraph necessary: it is the net precipitation SOURCE, of order 2e-6, but it is formed by adding an evaporation that is itself a cancelling difference of two fluxes of order 1e-5. Its attainable precision is therefore set by the FLUX it is differenced out of, not by its own magnitude, so its bound is 2e-9 of the total flux amplitude of the same column -- written as an absolute number per regime because the two quantities have different scales. Sizing it by its own profile maximum instead gives 5e-15, which is below the floor and fails on three of the ten regimes by less than a factor of two.",
      "parameter_overrides": {},
      "expression_template_imports": [
        {
          "ref": "./tests/pf_step2134_col1_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0,
        "end": 0
      },
      "tolerance": {
        "rel": 1e-09
      },
      "assertions": [
        {
          "variable": "rain",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev_nodes"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "snow",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev_nodes"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "qs",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.00021599183861361286,
                    0.00013964152001559634,
                    7.537884837483164e-05,
                    4.431416044299984e-05,
                    5.2471520835346334e-05,
                    9.125952759948381e-05,
                    0.00015719657917991647,
                    0.00026183317233484816,
                    0.00041546249851168697,
                    0.0006202351980939488,
                    0.0008739936353140233,
                    0.001138113639195247,
                    0.00152862422024169,
                    0.0019250457310888921,
                    0.002309358064715567,
                    0.0027317032569706794,
                    0.0032062679513334973,
                    0.0036866061722082015,
                    0.004147461722436564,
                    0.004581154927486855,
                    0.0050025610848967944,
                    0.005387552588364113,
                    0.005825908615642311,
                    0.0062771392813038155,
                    0.006658998444002409,
                    0.007143731364218083,
                    0.007544567458619124,
                    0.008005751941615043,
                    0.008439631716461098,
                    0.008649345819646093,
                    0.009279880605089982,
                    0.009770885615128453,
                    0.01012960571394429,
                    0.010563666069449203,
                    0.011068244103343457,
                    0.011498966615734343,
                    0.01201797913999435,
                    0.011992066636869662,
                    0.012728703311113615,
                    0.013128768425626474,
                    0.013428287999760825,
                    0.013713924145540768,
                    0.014103953316425439,
                    0.014617298698379,
                    0.015097151812762338,
                    0.015507815994852321,
                    0.016167411278042127,
                    0.016843366936224326,
                    0.01754948247074523,
                    0.01828743304353862,
                    0.019033580111132122,
                    0.019792993155487076,
                    0.020249977683168097,
                    0.02032984828471625,
                    0.020197802954522663,
                    0.02038135876061078,
                    0.020912686281077963,
                    0.021509453177686183,
                    0.022132624527579463
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 2.2132624527579463e-11,
            "rel": 0.0
          }
        },
        {
          "variable": "gen_up_out",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "prain",
          "time": 0.0,
          "expected": 0.0
        }
      ]
    }
  ]
}