MosaicCoagulationEntryState
How MOSAIC turns one size bin of its column state into what coagulation integrates: SUBROUTINE mosaic_coag_1clm of chem/module_mosaic_coag.F (WRF v4.8.0), the per-bin block before the call to coagsolv (:155-293). Bins are independent here, so a consumer maps this over the eight sections; the outputs are the inputs of coagulation_assembly.esm (number concentration, one composition quantity per column, dry diameter) and of coagulation_kernel.esm (wet diameter and density).
Description
How MOSAIC turns one size bin of its column state into what coagulation integrates: SUBROUTINE mosaic_coag_1clm of chem/module_mosaic_coag.F (WRF v4.8.0), the per-bin block before the call to coagsolv (:155-293). Bins are independent here, so a consumer maps this over the eight sections; the outputs are the inputs of coagulation_assembly.esm (number concentration, one composition quantity per column, dry diameter) and of coagulation_kernel.esm (wet diameter and density).
THE STATE. MOSAIC carries, per bin, the number mixing ratio n (particles per mol of air), the ten component mixing ratios r_l (mol per mol of air), aerosol water and the hysteresis water (mol per mol of air), and three diagnostics kept alongside: the dry mass M = sum_l r_l mw_l, the dry volume V = sum_l r_l mw_l / rho_l (per mol of air) and the dry density rho = M/V.
WHAT HAPPENS, in order. (1) The diagnostics are trusted unless they are implausible: if rho is outside
\[0.1, 20\]g/cm3 or M differs from V rho by more than 1e-4 relative, M and V are recomputed from the composition (each r_l clipped at zero) and rho = M/V. (2) A bin whose dry mass is at most 1.01e-30 g/mol is treated as empty: default density 2 g/cm3, the number put back on the section’s centre volume, water and hysteresis water dropped, the section’s centre diameter used for both sizes. (3) Otherwise V is re-derived as M/rho and the number is CONFORMED into the section: a mean dry volume per particle below the section’s lower bound (n > V/(f v_lo)) raises it to f v_lo and one above the upper bound (n < V f/v_hi) lowers it to v_hi/f, with the safety factor f = 1.00001 keeping it strictly inside. (4) The dry diameter is the sphere of the mean dry volume per particle, held at or above the section’s lower diameter; the wet diameter is the sphere of the dry volume plus the water’s volume, capped at 30 times the upper diameter; the wet density is (M + water mass)/(V + water volume). (5) coagsolv’s composition columns are the ten r_l clipped at zero, then the hysteresis water, the water and the dry volume V, and its number is n times the molar air density.
BRANCH COVERAGE AND REFERENCE. Over the 16 dumped chem170 steps none of the branches in (1)-(3) fires (7426 bin-level cells checked against the recorded entry state, every one on the plain path), so the eight cases taken from the capture pin only the plain path. Seven further cases drive the branches with SYNTHETIC inputs: one section at one level of a captured step is edited (EqWeFiC tools/perturb_mosaic_coag_entry.py) – carried density above and below the plausibility bounds, a mass inconsistent with volume times density, an implausible density together with a negative component, an empty section that still carries both waters, and a number above and below what the section admits – and the edited column is replayed through WRF’s own mosaic_coag_1clm. Every case, captured or synthetic, is referenced against that REAL64 replay (kernels/mosaic_subproc_driver with the coag entry hooks, fork 66a1b222, -fdefault-real-8; data/eqwefic/chem170_scm/coag_entry64) at rel 1e-9; the real32 in-model record agrees with the replay to 4.7e-7. Mutation-checked: dropping the zero clip in the recompute fails 5 assertions, the empty-bin reset 8, the number conforming 6, the empty-bin water drop 1, the recompute itself 16. One choice the data still cannot distinguish: re-deriving the dry volume as M/rho on the plain path versus keeping the carried V, since a plausible triple has V = M/rho to 1e-4 and no edited case leaves the triple plausible but inconsistent below that bound.
AXES (2026-11-13). The bin’s state carries the cell axes lev and bin (NLEV, NBIN, default 1), the section geometry bin, the air density lev; the element-by-element equations stay on bare names (esm-spec 4.3.4 name-aligned broadcast) and only the component sums and the composition columns are written over the axes. With NLEV = NBIN = 1 the tests are the single-bin ones, unchanged (285/285).
Reference
- Zaveri, R. A., Easter, R. C., Fast, J. D. and Peters, L. K. (2008). Model for Simulating Aerosol Interactions and Chemistry (MOSAIC). J. Geophys. Res. 113, D13204.
Parameters
| Name | Units | Default | Description |
|---|---|---|---|
r | mol/mol | 1e-12 | Component mixing ratios of the bin (rsub at massptr_aer), mol per mol of air. |
mw | g/mol | [96.06600189208984, 62.00699996948242, 35.45000076293945, 60.00699996948242, 18.04199981689453, 22.989999771118164, 40.08000183105469, 1.0, 250.0, 1.0] | WRF chem_opt = 170 component molar masses (mw_aer) in the declared component order. Supply molar masses for any other size or ordering of comp. |
dens | g/cm^3 | [1.7999999523162842, 1.7999999523162842, 2.200000047683716, 2.5999999046325684, 1.7999999523162842, 2.200000047683716, 2.5999999046325684, 2.5999999046325684, 1.0, 1.7000000476837158] | WRF chem_opt = 170 component densities (dens_aer) in the declared component order. Supply densities for any other size or ordering of comp. |
n_in | 1/mol | 1000000000000.0 | Number mixing ratio of the bin (rsub at numptr_aer), particles per mol of air. |
water_in | mol/mol | 0.0 | Aerosol water mixing ratio (rsub at waterptr_aer). |
hysw_in | mol/mol | 0.0 | Hysteresis-water mixing ratio (rsub at hyswptr_aer). |
mass_in | g/mol | 1e-10 | Carried dry mass (aqmassdry_sub), g per mol of air. |
vol_in | cm^3/mol | 5e-11 | Carried dry volume (aqvoldry_sub), cm3 per mol of air. |
rho_in | g/cm^3 | 2.0 | Carried dry density (adrydens_sub). |
cair | mol/cm^3 | 4e-05 | Molar air density (cairclm). |
v_lo | cm^3 | 1e-16 | Section’s lower bound of dry volume per particle (volumlo_sect). |
v_hi | cm^3 | 1e-15 | Section’s upper bound (volumhi_sect). |
v_cen | cm^3 | 4e-16 | Section’s centre volume (volumcen_sect). |
d_lo | cm | 5e-06 | Section’s lower diameter bound (dlo_sect). |
d_hi | cm | 1e-05 | Section’s upper diameter bound (dhi_sect). |
d_cen | cm | 7e-06 | Section’s centre diameter (dcen_sect). |
Observed
| Name | Units | Default | Description |
|---|---|---|---|
mass_comp | g/mol | Dry mass from the composition, sum of max(0, r_l) mw_l. | |
vol_comp | cm^3/mol | Dry volume from the composition, sum of max(0, r_l) mw_l / rho_l. | |
implausible | 1 | 1 when the carried diagnostics are implausible and are recomputed from the composition, else 0. | |
mass_dry | g/mol | Dry mass after step (1). | |
empty | 1 | 1 when the bin’s dry mass is negligible (step 2), else 0. | |
rho_dry | g/cm^3 | Dry density after steps (1)-(2). | |
vol_dry_raw | cm^3/mol | Carried dry volume from mass_dry/rho_dry, before clipping the coagsolv input. | |
vol_dry | cm^3/mol | Nonnegative dry-volume composition column supplied to coagsolv. | |
n_dry | 1/mol | Number mixing ratio after the empty-bin reset and the conforming of step (3). | |
water | mol/mol | Aerosol water as coagulation sees it: clipped at zero, dropped for an empty bin. | |
hysw | mol/mol | Hysteresis water likewise. | |
q_comp | mol/mol | coagsolv’s composition columns 1..NCOMP: the component mixing ratios clipped at zero. | |
num_conc | cm^-3 | Number concentration coagsolv integrates, particles per cm3 of air. | |
dp_dry | cm | Dry diameter (coagsolv dpdry_inp). | |
mass_wet | g/mol | Dry mass plus water mass. | |
vol_wet | cm^3/mol | Dry volume plus water volume. | |
dp_wet | cm | Wet (ambient) diameter (coagsolv dpwet_inp). | |
dens_wet | g/cm^3 | Wet density (coagsolv denswet_inp). |
Observed expressions
$$ mass_{comp} = \mathrm{faq}\left(\right) $$Dry mass from the composition, sum of max(0, r_l) mw_l.
$$ vol_{comp} = \mathrm{faq}\left(\right) $$Dry volume from the composition, sum of max(0, r_l) mw_l / rho_l.
$$ implausible = \mathrm{ifelse}\left(\mathrm{or}\left(\mathrm{or}\left(\mathrm{<}\left(rho_{in}, par.dens_{min}\right), \mathrm{>}\left(rho_{in}, par.dens_{max}\right)\right), \mathrm{>}\left(\frac{\left|mass_{in} - vol_{in} \cdot rho_{in}\right|}{\mathrm{max}\left(\left|mass_{in}\right|, \left|vol_{in} \cdot rho_{in}\right|, 0.1 \cdot par.smallmassbb\right)}, par.mass_{vol\,reltol}\right)\right), 1.0, 0.0\right) $$1 when the carried diagnostics are implausible and are recomputed from the composition, else 0.
$$ mass_{dry} = \mathrm{ifelse}\left(\mathrm{>}\left(implausible, 0.5\right), mass_{comp}, mass_{in}\right) $$Dry mass after step (1).
$$ empty = \mathrm{ifelse}\left(\mathrm{<=}\left(mass_{dry}, 1.01 \cdot par.smallmassbb\right), 1.0, 0.0\right) $$1 when the bin’s dry mass is negligible (step 2), else 0.
$$ rho_{dry} = \mathrm{ifelse}\left(\mathrm{>}\left(empty, 0.5\right), par.dens_{default}, \mathrm{ifelse}\left(\mathrm{>}\left(implausible, 0.5\right), \frac{mass_{comp}}{vol_{comp}}, rho_{in}\right)\right) $$Dry density after steps (1)-(2).
$$ vol_{dry\,raw} = \frac{mass_{dry}}{rho_{dry}} $$Carried dry volume from mass_dry/rho_dry, before clipping the coagsolv input.
$$ vol_{dry} = \mathrm{max}\left(vol_{dry\,raw}, 0.0\right) $$Nonnegative dry-volume composition column supplied to coagsolv.
$$ n_{dry} = \mathrm{ifelse}\left(\mathrm{>}\left(empty, 0.5\right), \frac{mass_{dry}}{v_{cen} \cdot par.dens_{default}}, \mathrm{ifelse}\left(\mathrm{>}\left(n_{in}, \frac{vol_{dry\,raw}}{par.factsafe \cdot v_{lo}}\right), \frac{vol_{dry\,raw}}{par.factsafe \cdot v_{lo}}, \mathrm{ifelse}\left(\mathrm{<}\left(n_{in}, \frac{vol_{dry\,raw} \cdot par.factsafe}{v_{hi}}\right), \frac{vol_{dry\,raw} \cdot par.factsafe}{v_{hi}}, n_{in}\right)\right)\right) $$Number mixing ratio after the empty-bin reset and the conforming of step (3).
$$ water = \mathrm{ifelse}\left(\mathrm{>}\left(empty, 0.5\right), 0.0, \mathrm{max}\left(0.0, water_{in}\right)\right) $$Aerosol water as coagulation sees it: clipped at zero, dropped for an empty bin.
$$ hysw = \mathrm{ifelse}\left(\mathrm{>}\left(empty, 0.5\right), 0.0, \mathrm{max}\left(0.0, hysw_{in}\right)\right) $$Hysteresis water likewise.
$$ q_{comp} = \mathrm{faq}\left(\right) $$coagsolv’s composition columns 1..NCOMP: the component mixing ratios clipped at zero.
$$ num_{conc} = n_{dry} \cdot cair $$Number concentration coagsolv integrates, particles per cm3 of air.
$$ dp_{dry} = \mathrm{ifelse}\left(\mathrm{>}\left(empty, 0.5\right), d_{cen}, \mathrm{max}\left(\frac{vol_{dry\,raw}}{n_{dry} \cdot par.piover6}^{\frac{1.0}{3.0}}, d_{lo}\right)\right) $$Dry diameter (coagsolv dpdry_inp).
$$ mass_{wet} = mass_{dry} + water \cdot par.mw_{water} $$Dry mass plus water mass.
$$ vol_{wet} = vol_{dry\,raw} + \frac{water \cdot par.mw_{water}}{par.dens_{water}} $$Dry volume plus water volume.
$$ dp_{wet} = \mathrm{ifelse}\left(\mathrm{>}\left(empty, 0.5\right), d_{cen}, \mathrm{min}\left(\frac{vol_{wet}}{n_{dry} \cdot par.piover6}^{\frac{1.0}{3.0}}, par.dpwet_{cap} \cdot d_{hi}\right)\right) $$Wet (ambient) diameter (coagsolv dpwet_inp).
$$ dens_{wet} = \mathrm{ifelse}\left(\mathrm{>}\left(empty, 0.5\right), rho_{dry}, \frac{mass_{wet}}{vol_{wet}}\right) $$Wet density (coagsolv denswet_inp).
Raw .esm
Raw .esm JSON (this component)
{
"subsystems": {
"par": {
"ref": "./mosaic_coagulation_parameters.esm"
}
},
"variables": {
"r": {
"type": "parameter",
"units": "mol/mol",
"shape": [
"lev",
"bin",
"comp"
],
"default": 1e-12,
"description": "Component mixing ratios of the bin (rsub at massptr_aer), mol per mol of air."
},
"mw": {
"type": "parameter",
"units": "g/mol",
"shape": [
"comp"
],
"default": [
96.06600189208984,
62.00699996948242,
35.45000076293945,
60.00699996948242,
18.04199981689453,
22.989999771118164,
40.08000183105469,
1.0,
250.0,
1.0
],
"description": "WRF chem_opt = 170 component molar masses (mw_aer) in the declared component order. Supply molar masses for any other size or ordering of comp."
},
"dens": {
"type": "parameter",
"units": "g/cm^3",
"shape": [
"comp"
],
"default": [
1.7999999523162842,
1.7999999523162842,
2.200000047683716,
2.5999999046325684,
1.7999999523162842,
2.200000047683716,
2.5999999046325684,
2.5999999046325684,
1.0,
1.7000000476837158
],
"description": "WRF chem_opt = 170 component densities (dens_aer) in the declared component order. Supply densities for any other size or ordering of comp."
},
"n_in": {
"type": "parameter",
"units": "1/mol",
"default": 1000000000000.0,
"description": "Number mixing ratio of the bin (rsub at numptr_aer), particles per mol of air.",
"shape": [
"lev",
"bin"
]
},
"water_in": {
"type": "parameter",
"units": "mol/mol",
"default": 0.0,
"description": "Aerosol water mixing ratio (rsub at waterptr_aer).",
"shape": [
"lev",
"bin"
]
},
"hysw_in": {
"type": "parameter",
"units": "mol/mol",
"default": 0.0,
"description": "Hysteresis-water mixing ratio (rsub at hyswptr_aer).",
"shape": [
"lev",
"bin"
]
},
"mass_in": {
"type": "parameter",
"units": "g/mol",
"default": 1e-10,
"description": "Carried dry mass (aqmassdry_sub), g per mol of air.",
"shape": [
"lev",
"bin"
]
},
"vol_in": {
"type": "parameter",
"units": "cm^3/mol",
"default": 5e-11,
"description": "Carried dry volume (aqvoldry_sub), cm3 per mol of air.",
"shape": [
"lev",
"bin"
]
},
"rho_in": {
"type": "parameter",
"units": "g/cm^3",
"default": 2.0,
"description": "Carried dry density (adrydens_sub).",
"shape": [
"lev",
"bin"
]
},
"cair": {
"type": "parameter",
"units": "mol/cm^3",
"default": 4e-05,
"description": "Molar air density (cairclm).",
"shape": [
"lev"
]
},
"v_lo": {
"type": "parameter",
"units": "cm^3",
"default": 1e-16,
"description": "Section's lower bound of dry volume per particle (volumlo_sect).",
"shape": [
"bin"
]
},
"v_hi": {
"type": "parameter",
"units": "cm^3",
"default": 1e-15,
"description": "Section's upper bound (volumhi_sect).",
"shape": [
"bin"
]
},
"v_cen": {
"type": "parameter",
"units": "cm^3",
"default": 4e-16,
"description": "Section's centre volume (volumcen_sect).",
"shape": [
"bin"
]
},
"d_lo": {
"type": "parameter",
"units": "cm",
"default": 5e-06,
"description": "Section's lower diameter bound (dlo_sect).",
"shape": [
"bin"
]
},
"d_hi": {
"type": "parameter",
"units": "cm",
"default": 1e-05,
"description": "Section's upper diameter bound (dhi_sect).",
"shape": [
"bin"
]
},
"d_cen": {
"type": "parameter",
"units": "cm",
"default": 7e-06,
"description": "Section's centre diameter (dcen_sect).",
"shape": [
"bin"
]
},
"mass_comp": {
"type": "unknown",
"units": "g/mol",
"description": "Dry mass from the composition, sum of max(0, r_l) mw_l.",
"shape": [
"lev",
"bin"
]
},
"vol_comp": {
"type": "unknown",
"units": "cm^3/mol",
"description": "Dry volume from the composition, sum of max(0, r_l) mw_l / rho_l.",
"shape": [
"lev",
"bin"
]
},
"implausible": {
"type": "unknown",
"units": "1",
"description": "1 when the carried diagnostics are implausible and are recomputed from the composition, else 0.",
"shape": [
"lev",
"bin"
]
},
"mass_dry": {
"type": "unknown",
"units": "g/mol",
"description": "Dry mass after step (1).",
"shape": [
"lev",
"bin"
]
},
"empty": {
"type": "unknown",
"units": "1",
"description": "1 when the bin's dry mass is negligible (step 2), else 0.",
"shape": [
"lev",
"bin"
]
},
"rho_dry": {
"type": "unknown",
"units": "g/cm^3",
"description": "Dry density after steps (1)-(2).",
"shape": [
"lev",
"bin"
]
},
"vol_dry_raw": {
"type": "unknown",
"units": "cm^3/mol",
"description": "Carried dry volume from mass_dry/rho_dry, before clipping the coagsolv input.",
"shape": [
"lev",
"bin"
]
},
"vol_dry": {
"type": "unknown",
"units": "cm^3/mol",
"description": "Nonnegative dry-volume composition column supplied to coagsolv.",
"shape": [
"lev",
"bin"
]
},
"n_dry": {
"type": "unknown",
"units": "1/mol",
"description": "Number mixing ratio after the empty-bin reset and the conforming of step (3).",
"shape": [
"lev",
"bin"
]
},
"water": {
"type": "unknown",
"units": "mol/mol",
"description": "Aerosol water as coagulation sees it: clipped at zero, dropped for an empty bin.",
"shape": [
"lev",
"bin"
]
},
"hysw": {
"type": "unknown",
"units": "mol/mol",
"description": "Hysteresis water likewise.",
"shape": [
"lev",
"bin"
]
},
"q_comp": {
"type": "unknown",
"units": "mol/mol",
"shape": [
"lev",
"bin",
"comp"
],
"description": "coagsolv's composition columns 1..NCOMP: the component mixing ratios clipped at zero."
},
"num_conc": {
"type": "unknown",
"units": "cm^-3",
"description": "Number concentration coagsolv integrates, particles per cm3 of air.",
"shape": [
"lev",
"bin"
]
},
"dp_dry": {
"type": "unknown",
"units": "cm",
"description": "Dry diameter (coagsolv dpdry_inp).",
"shape": [
"lev",
"bin"
]
},
"mass_wet": {
"type": "unknown",
"units": "g/mol",
"description": "Dry mass plus water mass.",
"shape": [
"lev",
"bin"
]
},
"vol_wet": {
"type": "unknown",
"units": "cm^3/mol",
"description": "Dry volume plus water volume.",
"shape": [
"lev",
"bin"
]
},
"dp_wet": {
"type": "unknown",
"units": "cm",
"description": "Wet (ambient) diameter (coagsolv dpwet_inp).",
"shape": [
"lev",
"bin"
]
},
"dens_wet": {
"type": "unknown",
"units": "g/cm^3",
"description": "Wet density (coagsolv denswet_inp).",
"shape": [
"lev",
"bin"
]
}
},
"equations": [
{
"lhs": "mass_comp",
"rhs": {
"op": "faq",
"output_idx": [
"k",
"b"
],
"reduce": "+",
"args": [],
"ranges": {
"k": {
"from": "lev"
},
"b": {
"from": "bin"
},
"l": {
"from": "comp"
}
},
"expr": {
"op": "*",
"args": [
{
"op": "max",
"args": [
0.0,
{
"op": "index",
"args": [
"r",
"k",
"b",
"l"
]
}
]
},
{
"op": "index",
"args": [
"mw",
"l"
]
}
]
}
}
},
{
"lhs": "vol_comp",
"rhs": {
"op": "faq",
"output_idx": [
"k",
"b"
],
"reduce": "+",
"args": [],
"ranges": {
"k": {
"from": "lev"
},
"b": {
"from": "bin"
},
"l": {
"from": "comp"
}
},
"expr": {
"op": "/",
"args": [
{
"op": "*",
"args": [
{
"op": "max",
"args": [
0.0,
{
"op": "index",
"args": [
"r",
"k",
"b",
"l"
]
}
]
},
{
"op": "index",
"args": [
"mw",
"l"
]
}
]
},
{
"op": "index",
"args": [
"dens",
"l"
]
}
]
}
}
},
{
"lhs": "implausible",
"rhs": {
"op": "ifelse",
"args": [
{
"op": "or",
"args": [
{
"op": "or",
"args": [
{
"op": "<",
"args": [
"rho_in",
"par.dens_min"
]
},
{
"op": ">",
"args": [
"rho_in",
"par.dens_max"
]
}
]
},
{
"op": ">",
"args": [
{
"op": "/",
"args": [
{
"op": "abs",
"args": [
{
"op": "-",
"args": [
"mass_in",
{
"op": "*",
"args": [
"vol_in",
"rho_in"
]
}
]
}
]
},
{
"op": "max",
"args": [
{
"op": "abs",
"args": [
"mass_in"
]
},
{
"op": "abs",
"args": [
{
"op": "*",
"args": [
"vol_in",
"rho_in"
]
}
]
},
{
"op": "*",
"args": [
0.1,
"par.smallmassbb"
]
}
]
}
]
},
"par.mass_vol_reltol"
]
}
]
},
1.0,
0.0
]
}
},
{
"lhs": "mass_dry",
"rhs": {
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"implausible",
0.5
]
},
"mass_comp",
"mass_in"
]
}
},
{
"lhs": "empty",
"rhs": {
"op": "ifelse",
"args": [
{
"op": "<=",
"args": [
"mass_dry",
{
"op": "*",
"args": [
1.01,
"par.smallmassbb"
]
}
]
},
1.0,
0.0
]
}
},
{
"lhs": "rho_dry",
"rhs": {
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"empty",
0.5
]
},
"par.dens_default",
{
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"implausible",
0.5
]
},
{
"op": "/",
"args": [
"mass_comp",
"vol_comp"
]
},
"rho_in"
]
}
]
}
},
{
"lhs": "vol_dry_raw",
"rhs": {
"op": "/",
"args": [
"mass_dry",
"rho_dry"
]
}
},
{
"lhs": "vol_dry",
"rhs": {
"op": "max",
"args": [
"vol_dry_raw",
0.0
]
}
},
{
"lhs": "n_dry",
"rhs": {
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"empty",
0.5
]
},
{
"op": "/",
"args": [
"mass_dry",
{
"op": "*",
"args": [
"v_cen",
"par.dens_default"
]
}
]
},
{
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"n_in",
{
"op": "/",
"args": [
"vol_dry_raw",
{
"op": "*",
"args": [
"par.factsafe",
"v_lo"
]
}
]
}
]
},
{
"op": "/",
"args": [
"vol_dry_raw",
{
"op": "*",
"args": [
"par.factsafe",
"v_lo"
]
}
]
},
{
"op": "ifelse",
"args": [
{
"op": "<",
"args": [
"n_in",
{
"op": "/",
"args": [
{
"op": "*",
"args": [
"vol_dry_raw",
"par.factsafe"
]
},
"v_hi"
]
}
]
},
{
"op": "/",
"args": [
{
"op": "*",
"args": [
"vol_dry_raw",
"par.factsafe"
]
},
"v_hi"
]
},
"n_in"
]
}
]
}
]
}
},
{
"lhs": "water",
"rhs": {
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"empty",
0.5
]
},
0.0,
{
"op": "max",
"args": [
0.0,
"water_in"
]
}
]
}
},
{
"lhs": "hysw",
"rhs": {
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"empty",
0.5
]
},
0.0,
{
"op": "max",
"args": [
0.0,
"hysw_in"
]
}
]
}
},
{
"lhs": "q_comp",
"rhs": {
"op": "faq",
"output_idx": [
"k",
"b",
"l"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
},
"b": {
"from": "bin"
},
"l": {
"from": "comp"
}
},
"expr": {
"op": "max",
"args": [
0.0,
{
"op": "index",
"args": [
"r",
"k",
"b",
"l"
]
}
]
}
}
},
{
"lhs": "num_conc",
"rhs": {
"op": "*",
"args": [
"n_dry",
"cair"
]
}
},
{
"lhs": "dp_dry",
"rhs": {
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"empty",
0.5
]
},
"d_cen",
{
"op": "max",
"args": [
{
"op": "^",
"args": [
{
"op": "/",
"args": [
"vol_dry_raw",
{
"op": "*",
"args": [
"n_dry",
"par.piover6"
]
}
]
},
{
"op": "/",
"args": [
1.0,
3.0
]
}
]
},
"d_lo"
]
}
]
}
},
{
"lhs": "mass_wet",
"rhs": {
"op": "+",
"args": [
"mass_dry",
{
"op": "*",
"args": [
"water",
"par.mw_water"
]
}
]
}
},
{
"lhs": "vol_wet",
"rhs": {
"op": "+",
"args": [
"vol_dry_raw",
{
"op": "/",
"args": [
{
"op": "*",
"args": [
"water",
"par.mw_water"
]
},
"par.dens_water"
]
}
]
}
},
{
"lhs": "dp_wet",
"rhs": {
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"empty",
0.5
]
},
"d_cen",
{
"op": "min",
"args": [
{
"op": "^",
"args": [
{
"op": "/",
"args": [
"vol_wet",
{
"op": "*",
"args": [
"n_dry",
"par.piover6"
]
}
]
},
{
"op": "/",
"args": [
1.0,
3.0
]
}
]
},
{
"op": "*",
"args": [
"par.dpwet_cap",
"d_hi"
]
}
]
}
]
}
},
{
"lhs": "dens_wet",
"rhs": {
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"empty",
0.5
]
},
"rho_dry",
{
"op": "/",
"args": [
"mass_wet",
"vol_wet"
]
}
]
}
}
],
"tests": [
{
"id": "recover_dry_oin_with_wrf_defaults",
"description": "When carried density is invalid, only OIN contributes to dry mass and volume. This uses the WRF species defaults.",
"parameter_overrides": {
"r": [
[
[
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
1e-09,
0.0,
0.0
]
]
],
"rho_in": -1.0
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "mass_dry",
"coords": {
"lev": 1,
"bin": 1
},
"time": 0.0,
"expected": 1e-09,
"tolerance": {
"rel": 1e-06,
"abs": 0.0
}
},
{
"variable": "rho_dry",
"coords": {
"lev": 1,
"bin": 1
},
"time": 0.0,
"expected": 2.5999999046325684,
"tolerance": {
"rel": 1e-06,
"abs": 0.0
}
},
{
"variable": "vol_dry",
"coords": {
"lev": 1,
"bin": 1
},
"time": 0.0,
"expected": 3.846153987229934e-10,
"tolerance": {
"rel": 1e-06,
"abs": 0.0
}
}
]
},
{
"id": "clip_negative_dry_volume_for_coagsolv",
"description": "The dry-volume column supplied to coagsolv is clipped at zero while the carried diagnostic retains its sign.",
"parameter_overrides": {
"mass_in": -1e-10,
"vol_in": -5e-11,
"rho_in": 2.0
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "vol_dry",
"coords": {
"lev": 1,
"bin": 1
},
"time": 0.0,
"expected": 0.0,
"tolerance": {
"rel": 0.0,
"abs": 0.0
}
},
{
"variable": "vol_dry_raw",
"coords": {
"lev": 1,
"bin": 1
},
"time": 0.0,
"expected": -5e-11,
"tolerance": {
"rel": 1e-06,
"abs": 0.0
}
}
]
},
{
"id": "entry_s918_lev1_bin1",
"description": "Surface layer, smallest section, a step with no nucleation anywhere in the column: model step 918, level 1, section 1 of 8. Reference: the em_scm_xy chem_opt = 170 column (data/eqwefic/chem170_scm, reference namelist unchanged), MOSAIC coagulation capture dumps/chem170_mosaic_coag (WRF fork earthsciml-instrumented-chem170 f311091e). Expected values are what coagsolv is handed in a REAL64 replay of mosaic_coag_1clm (kernels/mosaic_subproc_driver built with the coag entry hooks, fork 66a1b222, -fdefault-real-8; chem170_scm/coag_entry64/base_918.json) on these same inputs; tolerance rel 1e-09, the double-precision convention. Inputs are the bin's rows of the state entering coagulation (nucleation leaves this section untouched, checked) and the carried dry diagnostics. Plain path: neither the implausible-diagnostics recompute nor the empty-bin reset fires (pinned exactly), and the number is inside the section. The real32 in-model record at coagsolv's entry agrees with this replay to 2e-06 (4.7e-7 worst over the 7426 admissible cells of the 16 dumped steps); components the bin does not carry are pinned at exactly 0.",
"parameter_overrides": {
"r": [
[
[
1.3968820024301554e-11,
1.557805259383353e-18,
9.337994372225908e-19,
0.0,
5.865676867833347e-12,
2.7247195081816227e-22,
7.227045028890907e-26,
2.9337505597577376e-17,
7.1418856885299e-14,
3.5709404183625892e-12
]
]
],
"mw": [
96.06600189208984,
62.00699996948242,
35.45000076293945,
60.00699996948242,
18.04199981689453,
22.989999771118164,
40.08000183105469,
1.0,
250.0,
1.0
],
"dens": [
1.7999999523162842,
1.7999999523162842,
2.200000047683716,
2.5999999046325684,
1.7999999523162842,
2.200000047683716,
2.5999999046325684,
2.5999999046325684,
1.0,
1.7000000476837158
],
"n_in": 8723061.0,
"water_in": 7.507386379224101e-11,
"hysw_in": 9.623674773751034e-11,
"mass_in": 1.4900867206790736e-09,
"vol_in": 8.456878530793688e-10,
"rho_in": 1.7619819641113281,
"cair": 3.918359288945794e-05,
"v_lo": 3.1208925632862246e-17,
"v_hi": 2.4967140506289797e-16,
"v_cen": 8.827217540445742e-17,
"d_lo": 3.906250185536919e-06,
"d_hi": 7.812500371073838e-06,
"d_cen": 5.524272182810819e-06
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "implausible",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "empty",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "num_conc",
"time": 0.0,
"expected": 341.8008709739079,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dp_dry",
"time": 0.0,
"expected": 5.699641213735569e-06,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dp_wet",
"time": 0.0,
"expected": 7.836722110548658e-06,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dens_wet",
"time": 0.0,
"expected": 1.2931459546110813,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "hysw",
"time": 0.0,
"expected": 9.623674773751034e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "water",
"time": 0.0,
"expected": 7.507386379224101e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "vol_dry",
"time": 0.0,
"expected": 8.456878396202044e-10,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 1
},
"time": 0.0,
"expected": 1.3968820024301554e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 2
},
"time": 0.0,
"expected": 1.557805259383353e-18,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 3
},
"time": 0.0,
"expected": 9.337994372225908e-19,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 4
},
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 5
},
"time": 0.0,
"expected": 5.865676867833347e-12,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 6
},
"time": 0.0,
"expected": 2.7247195081816227e-22,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 7
},
"time": 0.0,
"expected": 7.227045028890907e-26,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 8
},
"time": 0.0,
"expected": 2.9337505597577376e-17,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 9
},
"time": 0.0,
"expected": 7.1418856885299e-14,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 10
},
"time": 0.0,
"expected": 3.5709404183625892e-12,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
}
]
},
{
"id": "entry_s918_lev30_bin4",
"description": "Mid-column, section 4 (the accumulation-mode peak): model step 918, level 30, section 4 of 8. Reference: the em_scm_xy chem_opt = 170 column (data/eqwefic/chem170_scm, reference namelist unchanged), MOSAIC coagulation capture dumps/chem170_mosaic_coag (WRF fork earthsciml-instrumented-chem170 f311091e). Expected values are what coagsolv is handed in a REAL64 replay of mosaic_coag_1clm (kernels/mosaic_subproc_driver built with the coag entry hooks, fork 66a1b222, -fdefault-real-8; chem170_scm/coag_entry64/base_918.json) on these same inputs; tolerance rel 1e-09, the double-precision convention. Inputs are the bin's rows of the state entering coagulation (nucleation leaves this section untouched, checked) and the carried dry diagnostics. Plain path: neither the implausible-diagnostics recompute nor the empty-bin reset fires (pinned exactly), and the number is inside the section. The real32 in-model record at coagsolv's entry agrees with this replay to 2e-06 (4.7e-7 worst over the 7426 admissible cells of the 16 dumped steps); components the bin does not carry are pinned at exactly 0.",
"parameter_overrides": {
"r": [
[
[
6.127773982678164e-11,
3.442971613698201e-16,
5.73296118550046e-17,
0.0,
5.941743624893192e-11,
8.043302894382431e-15,
7.270637605772937e-26,
4.7504129102593495e-11,
1.1442678402029394e-11,
5.721377815959272e-10
]
]
],
"mw": [
96.06600189208984,
62.00699996948242,
35.45000076293945,
60.00699996948242,
18.04199981689453,
22.989999771118164,
40.08000183105469,
1.0,
250.0,
1.0
],
"dens": [
1.7999999523162842,
1.7999999523162842,
2.200000047683716,
2.5999999046325684,
1.7999999523162842,
2.200000047683716,
2.5999999046325684,
2.5999999046325684,
1.0,
1.7000000476837158
],
"n_in": 154800.953125,
"water_in": 2.0936949396421767e-10,
"hysw_in": 2.706636026417186e-10,
"mass_in": 1.0495827318379725e-08,
"vol_in": 7.141039759517298e-09,
"rho_in": 1.469789743423462,
"cair": 2.9572436687885784e-05,
"v_lo": 1.597896992402547e-14,
"v_hi": 1.2783175939220376e-13,
"v_cen": 4.51953538070822e-14,
"d_lo": 3.125000148429535e-05,
"d_hi": 6.25000029685907e-05,
"d_cen": 4.419417746248655e-05
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "implausible",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "empty",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "num_conc",
"time": 0.0,
"expected": 4.5778413855134374,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dp_dry",
"time": 0.0,
"expected": 4.449689812804905e-05,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dp_wet",
"time": 0.0,
"expected": 5.12536157519289e-05,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dens_wet",
"time": 0.0,
"expected": 1.3074108680094232,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "hysw",
"time": 0.0,
"expected": 2.706636026417186e-10,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "water",
"time": 0.0,
"expected": 2.0936949396421767e-10,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "vol_dry",
"time": 0.0,
"expected": 7.14103997891062e-09,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 1
},
"time": 0.0,
"expected": 6.127773982678164e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 2
},
"time": 0.0,
"expected": 3.442971613698201e-16,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 3
},
"time": 0.0,
"expected": 5.73296118550046e-17,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 4
},
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 5
},
"time": 0.0,
"expected": 5.941743624893192e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 6
},
"time": 0.0,
"expected": 8.043302894382431e-15,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 7
},
"time": 0.0,
"expected": 7.270637605772937e-26,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 8
},
"time": 0.0,
"expected": 4.7504129102593495e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 9
},
"time": 0.0,
"expected": 1.1442678402029394e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 10
},
"time": 0.0,
"expected": 5.721377815959272e-10,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
}
]
},
{
"id": "entry_s1080_lev10_bin8",
"description": "Inside the boundary layer, the largest section: model step 1080, level 10, section 8 of 8. Reference: the em_scm_xy chem_opt = 170 column (data/eqwefic/chem170_scm, reference namelist unchanged), MOSAIC coagulation capture dumps/chem170_mosaic_coag (WRF fork earthsciml-instrumented-chem170 f311091e). Expected values are what coagsolv is handed in a REAL64 replay of mosaic_coag_1clm (kernels/mosaic_subproc_driver built with the coag entry hooks, fork 66a1b222, -fdefault-real-8; chem170_scm/coag_entry64/base_1080.json) on these same inputs; tolerance rel 1e-09, the double-precision convention. Inputs are the bin's rows of the state entering coagulation (nucleation leaves this section untouched, checked) and the carried dry diagnostics. Plain path: neither the implausible-diagnostics recompute nor the empty-bin reset fires (pinned exactly), and the number is inside the section. The real32 in-model record at coagsolv's entry agrees with this replay to 2e-06 (4.7e-7 worst over the 7426 admissible cells of the 16 dumped steps); components the bin does not carry are pinned at exactly 0.",
"parameter_overrides": {
"r": [
[
[
2.5556642847986144e-13,
7.742031842006281e-13,
2.4131389594894692e-11,
0.0,
0.0,
2.5416726015525803e-11,
7.227051808164311e-26,
3.604471165985501e-09,
3.419394081034463e-14,
1.7096817668191266e-12
]
]
],
"mw": [
96.06600189208984,
62.00699996948242,
35.45000076293945,
60.00699996948242,
18.04199981689453,
22.989999771118164,
40.08000183105469,
1.0,
250.0,
1.0
],
"dens": [
1.7999999523162842,
1.7999999523162842,
2.200000047683716,
2.5999999046325684,
1.7999999523162842,
2.200000047683716,
2.5999999046325684,
2.5999999046325684,
1.0,
1.7000000476837158
],
"n_in": 11.242635726928711,
"water_in": 0.0,
"hysw_in": 0.0,
"mass_in": 5.128513613783525e-09,
"vol_in": 2.0912998000000016e-09,
"rho_in": 2.4523091316223145,
"cair": 3.6850844480795786e-05,
"v_lo": 6.544986080880832e-11,
"v_hi": 5.235988864704666e-10,
"v_cen": 1.851201691938087e-10,
"d_lo": 0.0005000000237487257,
"d_hi": 0.0010000000474974513,
"d_cen": 0.0007071068393997848
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "implausible",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "empty",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "num_conc",
"time": 0.0,
"expected": 0.0004143006207272884,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dp_dry",
"time": 0.0,
"expected": 0.0007082444480490201,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dp_wet",
"time": 0.0,
"expected": 0.0007082444480490201,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dens_wet",
"time": 0.0,
"expected": 2.4523091316223145,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "hysw",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "water",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "vol_dry",
"time": 0.0,
"expected": 2.09129980704789e-09,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 1
},
"time": 0.0,
"expected": 2.5556642847986144e-13,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 2
},
"time": 0.0,
"expected": 7.742031842006281e-13,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 3
},
"time": 0.0,
"expected": 2.4131389594894692e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 4
},
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 5
},
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 6
},
"time": 0.0,
"expected": 2.5416726015525803e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 7
},
"time": 0.0,
"expected": 7.227051808164311e-26,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 8
},
"time": 0.0,
"expected": 3.604471165985501e-09,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 9
},
"time": 0.0,
"expected": 3.419394081034463e-14,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 10
},
"time": 0.0,
"expected": 1.7096817668191266e-12,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
}
]
},
{
"id": "entry_s2400_lev1_bin2",
"description": "Surface layer late on day 2, section 2: model step 2400, level 1, section 2 of 8. Reference: the em_scm_xy chem_opt = 170 column (data/eqwefic/chem170_scm, reference namelist unchanged), MOSAIC coagulation capture dumps/chem170_mosaic_coag (WRF fork earthsciml-instrumented-chem170 f311091e). Expected values are what coagsolv is handed in a REAL64 replay of mosaic_coag_1clm (kernels/mosaic_subproc_driver built with the coag entry hooks, fork 66a1b222, -fdefault-real-8; chem170_scm/coag_entry64/base_2400.json) on these same inputs; tolerance rel 1e-09, the double-precision convention. Inputs are the bin's rows of the state entering coagulation (nucleation leaves this section untouched, checked) and the carried dry diagnostics. Plain path: neither the implausible-diagnostics recompute nor the empty-bin reset fires (pinned exactly), and the number is inside the section. The real32 in-model record at coagsolv's entry agrees with this replay to 2e-06 (4.7e-7 worst over the 7426 admissible cells of the 16 dumped steps); components the bin does not carry are pinned at exactly 0.",
"parameter_overrides": {
"r": [
[
[
1.1613076819627643e-11,
1.2307710290068114e-18,
5.841777994493699e-19,
0.0,
6.96182347881269e-12,
2.93165165099193e-19,
1.173129103739041e-25,
1.1905099742668974e-14,
7.389827682072192e-13,
3.694888145444608e-11
]
]
],
"mw": [
96.06600189208984,
62.00699996948242,
35.45000076293945,
60.00699996948242,
18.04199981689453,
22.989999771118164,
40.08000183105469,
1.0,
250.0,
1.0
],
"dens": [
1.7999999523162842,
1.7999999523162842,
2.200000047683716,
2.5999999046325684,
1.7999999523162842,
2.200000047683716,
2.5999999046325684,
2.5999999046325684,
1.0,
1.7000000476837158
],
"n_in": 978595.875,
"water_in": 5.3003008232410664e-11,
"hysw_in": 7.063010593055807e-11,
"mass_in": 1.4781391666218724e-09,
"vol_in": 9.117316901452455e-10,
"rho_in": 1.6212435960769653,
"cair": 3.914731496479362e-05,
"v_lo": 2.4967140506289797e-16,
"v_hi": 1.9973712405031837e-15,
"v_cen": 7.061774032356594e-16,
"d_lo": 7.812500371073838e-06,
"d_hi": 1.5625000742147677e-05,
"d_cen": 1.1048544365621638e-05
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "implausible",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "empty",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "num_conc",
"time": 0.0,
"expected": 38.30940094187281,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dp_dry",
"time": 0.0,
"expected": 1.2117741475176544e-05,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dp_wet",
"time": 0.0,
"expected": 1.538694428163675e-05,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dens_wet",
"time": 0.0,
"expected": 1.3034379041695483,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "hysw",
"time": 0.0,
"expected": 7.063010593055807e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "water",
"time": 0.0,
"expected": 5.3003008232410664e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "vol_dry",
"time": 0.0,
"expected": 9.117316917695943e-10,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 1
},
"time": 0.0,
"expected": 1.1613076819627643e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 2
},
"time": 0.0,
"expected": 1.2307710290068114e-18,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 3
},
"time": 0.0,
"expected": 5.841777994493699e-19,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 4
},
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 5
},
"time": 0.0,
"expected": 6.96182347881269e-12,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 6
},
"time": 0.0,
"expected": 2.93165165099193e-19,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 7
},
"time": 0.0,
"expected": 1.173129103739041e-25,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 8
},
"time": 0.0,
"expected": 1.1905099742668974e-14,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 9
},
"time": 0.0,
"expected": 7.389827682072192e-13,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 10
},
"time": 0.0,
"expected": 3.694888145444608e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
}
]
},
{
"id": "entry_s2521_lev59_bin1",
"description": "Top model layer at the last dumped step, smallest section: model step 2521, level 59, section 1 of 8. Reference: the em_scm_xy chem_opt = 170 column (data/eqwefic/chem170_scm, reference namelist unchanged), MOSAIC coagulation capture dumps/chem170_mosaic_coag (WRF fork earthsciml-instrumented-chem170 f311091e). Expected values are what coagsolv is handed in a REAL64 replay of mosaic_coag_1clm (kernels/mosaic_subproc_driver built with the coag entry hooks, fork 66a1b222, -fdefault-real-8; chem170_scm/coag_entry64/base_2521.json) on these same inputs; tolerance rel 1e-09, the double-precision convention. Inputs are the bin's rows of the state entering coagulation (nucleation leaves this section untouched, checked) and the carried dry diagnostics. Plain path: neither the implausible-diagnostics recompute nor the empty-bin reset fires (pinned exactly), and the number is inside the section. The real32 in-model record at coagsolv's entry agrees with this replay to 2e-06 (4.7e-7 worst over the 7426 admissible cells of the 16 dumped steps); components the bin does not carry are pinned at exactly 0.",
"parameter_overrides": {
"r": [
[
[
4.77098777151852e-11,
7.593236120084036e-17,
9.88802853413335e-18,
0.0,
9.879446219440702e-12,
4.184221638868816e-21,
7.227045028890907e-26,
4.505247014855048e-16,
1.0967453074189892e-12,
5.483716258858351e-11
]
]
],
"mw": [
96.06600189208984,
62.00699996948242,
35.45000076293945,
60.00699996948242,
18.04199981689453,
22.989999771118164,
40.08000183105469,
1.0,
250.0,
1.0
],
"dens": [
1.7999999523162842,
1.7999999523162842,
2.200000047683716,
2.5999999046325684,
1.7999999523162842,
2.200000047683716,
2.5999999046325684,
2.5999999046325684,
1.0,
1.7000000476837158
],
"n_in": 77294728.0,
"water_in": 1.5464914071561253e-10,
"hysw_in": 0.0,
"mass_in": 5.172547723475418e-09,
"vol_in": 3.035308226984057e-09,
"rho_in": 1.704126000404358,
"cair": 3.9507676774519496e-06,
"v_lo": 3.1208925632862246e-17,
"v_hi": 2.4967140506289797e-16,
"v_cen": 8.827217540445742e-17,
"d_lo": 3.906250185536919e-06,
"d_hi": 7.812500371073838e-06,
"d_cen": 5.524272182810819e-06
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "implausible",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "empty",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "num_conc",
"time": 0.0,
"expected": 305.3735130198402,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dp_dry",
"time": 0.0,
"expected": 4.217140815235547e-06,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dp_wet",
"time": 0.0,
"expected": 5.239558006287121e-06,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dens_wet",
"time": 0.0,
"expected": 1.3671307247846989,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "hysw",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "water",
"time": 0.0,
"expected": 1.5464914071561253e-10,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "vol_dry",
"time": 0.0,
"expected": 3.0353082590419177e-09,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 1
},
"time": 0.0,
"expected": 4.77098777151852e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 2
},
"time": 0.0,
"expected": 7.593236120084036e-17,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 3
},
"time": 0.0,
"expected": 9.88802853413335e-18,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 4
},
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 5
},
"time": 0.0,
"expected": 9.879446219440702e-12,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 6
},
"time": 0.0,
"expected": 4.184221638868816e-21,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 7
},
"time": 0.0,
"expected": 7.227045028890907e-26,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 8
},
"time": 0.0,
"expected": 4.505247014855048e-16,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 9
},
"time": 0.0,
"expected": 1.0967453074189892e-12,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 10
},
"time": 0.0,
"expected": 5.483716258858351e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
}
]
},
{
"id": "entry_s1_lev1_bin8",
"description": "First step, surface layer, largest section (nucleation active in the column but not in this section): model step 1, level 1, section 8 of 8. Reference: the em_scm_xy chem_opt = 170 column (data/eqwefic/chem170_scm, reference namelist unchanged), MOSAIC coagulation capture dumps/chem170_mosaic_coag (WRF fork earthsciml-instrumented-chem170 f311091e). Expected values are what coagsolv is handed in a REAL64 replay of mosaic_coag_1clm (kernels/mosaic_subproc_driver built with the coag entry hooks, fork 66a1b222, -fdefault-real-8; chem170_scm/coag_entry64/base_1.json) on these same inputs; tolerance rel 1e-09, the double-precision convention. Inputs are the bin's rows of the state entering coagulation (nucleation leaves this section untouched, checked) and the carried dry diagnostics. Plain path: neither the implausible-diagnostics recompute nor the empty-bin reset fires (pinned exactly), and the number is inside the section. The real32 in-model record at coagsolv's entry agrees with this replay to 2e-06 (4.7e-7 worst over the 7426 admissible cells of the 16 dumped steps); components the bin does not carry are pinned at exactly 0.",
"parameter_overrides": {
"r": [
[
[
1.8801149873071132e-13,
9.22811373451867e-16,
2.6405957281872006e-11,
0.0,
0.0,
2.6782904019584386e-11,
7.224960710467894e-26,
3.798215963968232e-09,
3.6024585685400304e-14,
1.8012291961785887e-12
]
]
],
"mw": [
96.06600189208984,
62.00699996948242,
35.45000076293945,
60.00699996948242,
18.04199981689453,
22.989999771118164,
40.08000183105469,
1.0,
250.0,
1.0
],
"dens": [
1.7999999523162842,
1.7999999523162842,
2.200000047683716,
2.5999999046325684,
1.7999999523162842,
2.200000047683716,
2.5999999046325684,
2.5999999046325684,
1.0,
1.7000000476837158
],
"n_in": 11.846917152404785,
"water_in": 0.0,
"hysw_in": 0.0,
"mass_in": 5.380548007138941e-09,
"vol_in": 2.1870765198883646e-09,
"rho_in": 2.4601552486419678,
"cair": 3.913638647645712e-05,
"v_lo": 6.544986080880832e-11,
"v_hi": 5.235988864704666e-10,
"v_cen": 1.851201691938087e-10,
"d_lo": 0.0005000000237487257,
"d_hi": 0.0010000000474974513,
"d_cen": 0.0007071068393997848
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "implausible",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "empty",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "num_conc",
"time": 0.0,
"expected": 0.0004636455282310825,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dp_dry",
"time": 0.0,
"expected": 0.0007064585318258123,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dp_wet",
"time": 0.0,
"expected": 0.0007064585318258123,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dens_wet",
"time": 0.0,
"expected": 2.4601552486419678,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "hysw",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "water",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "vol_dry",
"time": 0.0,
"expected": 2.187076612384142e-09,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 1
},
"time": 0.0,
"expected": 1.8801149873071132e-13,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 2
},
"time": 0.0,
"expected": 9.22811373451867e-16,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 3
},
"time": 0.0,
"expected": 2.6405957281872006e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 4
},
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 5
},
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 6
},
"time": 0.0,
"expected": 2.6782904019584386e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 7
},
"time": 0.0,
"expected": 7.224960710467894e-26,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 8
},
"time": 0.0,
"expected": 3.798215963968232e-09,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 9
},
"time": 0.0,
"expected": 3.6024585685400304e-14,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 10
},
"time": 0.0,
"expected": 1.8012291961785887e-12,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
}
]
},
{
"id": "entry_s689_lev20_bin5",
"description": "Step 689, level 20, section 5: model step 689, level 20, section 5 of 8. Reference: the em_scm_xy chem_opt = 170 column (data/eqwefic/chem170_scm, reference namelist unchanged), MOSAIC coagulation capture dumps/chem170_mosaic_coag (WRF fork earthsciml-instrumented-chem170 f311091e). Expected values are what coagsolv is handed in a REAL64 replay of mosaic_coag_1clm (kernels/mosaic_subproc_driver built with the coag entry hooks, fork 66a1b222, -fdefault-real-8; chem170_scm/coag_entry64/base_689.json) on these same inputs; tolerance rel 1e-09, the double-precision convention. Inputs are the bin's rows of the state entering coagulation (nucleation leaves this section untouched, checked) and the carried dry diagnostics. Plain path: neither the implausible-diagnostics recompute nor the empty-bin reset fires (pinned exactly), and the number is inside the section. The real32 in-model record at coagsolv's entry agrees with this replay to 2e-06 (4.7e-7 worst over the 7426 admissible cells of the 16 dumped steps); components the bin does not carry are pinned at exactly 0.",
"parameter_overrides": {
"r": [
[
[
5.4609074207068176e-11,
1.720496366487589e-16,
7.844177571642003e-17,
0.0,
5.0605242218892954e-11,
2.2869569736225226e-13,
7.232196044082968e-26,
5.235766820099741e-10,
9.894071673066662e-12,
4.947141585276427e-10
]
]
],
"mw": [
96.06600189208984,
62.00699996948242,
35.45000076293945,
60.00699996948242,
18.04199981689453,
22.989999771118164,
40.08000183105469,
1.0,
250.0,
1.0
],
"dens": [
1.7999999523162842,
1.7999999523162842,
2.200000047683716,
2.5999999046325684,
1.7999999523162842,
2.200000047683716,
2.5999999046325684,
2.5999999046325684,
1.0,
1.7000000476837158
],
"n_in": 17250.70703125,
"water_in": 2.166735124653485e-10,
"hysw_in": 2.5086543953278806e-10,
"mass_in": 9.708832848787097e-09,
"vol_in": 6.4452216896881964e-09,
"rho_in": 1.5063613653182983,
"cair": 3.3856562367873266e-05,
"v_lo": 1.2783175939220376e-13,
"v_hi": 1.02265407513763e-12,
"v_cen": 3.615628304566576e-13,
"d_lo": 6.25000029685907e-05,
"d_hi": 0.0001250000059371814,
"d_cen": 8.83883549249731e-05
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "implausible",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "empty",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "num_conc",
"time": 0.0,
"expected": 0.5840496384934255,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dp_dry",
"time": 0.0,
"expected": 8.936019573946562e-05,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dp_wet",
"time": 0.0,
"expected": 0.00010463933881204744,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dens_wet",
"time": 0.0,
"expected": 1.3153609651178322,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "hysw",
"time": 0.0,
"expected": 2.5086543953278806e-10,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "water",
"time": 0.0,
"expected": 2.166735124653485e-10,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "vol_dry",
"time": 0.0,
"expected": 6.445221626309829e-09,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 1
},
"time": 0.0,
"expected": 5.4609074207068176e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 2
},
"time": 0.0,
"expected": 1.720496366487589e-16,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 3
},
"time": 0.0,
"expected": 7.844177571642003e-17,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 4
},
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 5
},
"time": 0.0,
"expected": 5.0605242218892954e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 6
},
"time": 0.0,
"expected": 2.2869569736225226e-13,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 7
},
"time": 0.0,
"expected": 7.232196044082968e-26,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 8
},
"time": 0.0,
"expected": 5.235766820099741e-10,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 9
},
"time": 0.0,
"expected": 9.894071673066662e-12,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 10
},
"time": 0.0,
"expected": 4.947141585276427e-10,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
}
]
},
{
"id": "entry_s2134_lev45_bin3",
"description": "Step 2134, level 45 (free troposphere), section 3: model step 2134, level 45, section 3 of 8. Reference: the em_scm_xy chem_opt = 170 column (data/eqwefic/chem170_scm, reference namelist unchanged), MOSAIC coagulation capture dumps/chem170_mosaic_coag (WRF fork earthsciml-instrumented-chem170 f311091e). Expected values are what coagsolv is handed in a REAL64 replay of mosaic_coag_1clm (kernels/mosaic_subproc_driver built with the coag entry hooks, fork 66a1b222, -fdefault-real-8; chem170_scm/coag_entry64/base_2134.json) on these same inputs; tolerance rel 1e-09, the double-precision convention. Inputs are the bin's rows of the state entering coagulation (nucleation leaves this section untouched, checked) and the carried dry diagnostics. Plain path: neither the implausible-diagnostics recompute nor the empty-bin reset fires (pinned exactly), and the number is inside the section. The real32 in-model record at coagsolv's entry agrees with this replay to 2e-06 (4.7e-7 worst over the 7426 admissible cells of the 16 dumped steps); components the bin does not carry are pinned at exactly 0.",
"parameter_overrides": {
"r": [
[
[
3.6718270784996676e-11,
1.8530704958507043e-15,
5.354391191730379e-16,
0.0,
3.5382287377760946e-11,
1.322142330047608e-16,
7.564210959055772e-26,
2.0379002305115357e-12,
6.675765842900638e-12,
3.338005982733705e-10
]
]
],
"mw": [
96.06600189208984,
62.00699996948242,
35.45000076293945,
60.00699996948242,
18.04199981689453,
22.989999771118164,
40.08000183105469,
1.0,
250.0,
1.0
],
"dens": [
1.7999999523162842,
1.7999999523162842,
2.200000047683716,
2.5999999046325684,
1.7999999523162842,
2.200000047683716,
2.5999999046325684,
2.5999999046325684,
1.0,
1.7000000476837158
],
"n_in": 727604.3125,
"water_in": 1.482451522649697e-10,
"hysw_in": 1.632116247707316e-10,
"mass_in": 6.204808222776137e-09,
"vol_in": 4.2163397218075716e-09,
"rho_in": 1.4716100692749023,
"cair": 1.9900866391253658e-05,
"v_lo": 1.9973712405031837e-15,
"v_hi": 1.597896992402547e-14,
"v_cen": 5.649419225885275e-15,
"d_lo": 1.5625000742147677e-05,
"d_hi": 3.125000148429535e-05,
"d_cen": 2.2097088731243275e-05
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "implausible",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "empty",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "num_conc",
"time": 0.0,
"expected": 14.479956208762474,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dp_dry",
"time": 0.0,
"expected": 2.228506517861267e-05,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dp_wet",
"time": 0.0,
"expected": 2.624508700165832e-05,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dens_wet",
"time": 0.0,
"expected": 1.2887225765127825,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "hysw",
"time": 0.0,
"expected": 1.632116247707316e-10,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "water",
"time": 0.0,
"expected": 1.482451522649697e-10,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "vol_dry",
"time": 0.0,
"expected": 4.216339879920361e-09,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 1
},
"time": 0.0,
"expected": 3.6718270784996676e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 2
},
"time": 0.0,
"expected": 1.8530704958507043e-15,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 3
},
"time": 0.0,
"expected": 5.354391191730379e-16,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 4
},
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 5
},
"time": 0.0,
"expected": 3.5382287377760946e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 6
},
"time": 0.0,
"expected": 1.322142330047608e-16,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 7
},
"time": 0.0,
"expected": 7.564210959055772e-26,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 8
},
"time": 0.0,
"expected": 2.0379002305115357e-12,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 9
},
"time": 0.0,
"expected": 6.675765842900638e-12,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 10
},
"time": 0.0,
"expected": 3.338005982733705e-10,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
}
]
},
{
"id": "entry_branch_dens_high_s918_lev1_bin4",
"description": "BRANCH CASE, PERTURBED INPUT (dens_high): carried dry density 25 g/cm3, above the 20 g/cm3 plausibility bound: mass and volume recomputed from the composition. Model step 918, level 1, section 4 of 8, with that one section edited before the replay (EqWeFiC tools/perturb_mosaic_coag_entry.py) -- no dumped step takes this branch, so the input is synthetic and the expected value is still the Fortran's. Reference: the em_scm_xy chem_opt = 170 column (data/eqwefic/chem170_scm, reference namelist unchanged), MOSAIC coagulation capture dumps/chem170_mosaic_coag (WRF fork earthsciml-instrumented-chem170 f311091e). Expected values are what coagsolv is handed in a REAL64 replay of mosaic_coag_1clm (kernels/mosaic_subproc_driver built with the coag entry hooks, fork 66a1b222, -fdefault-real-8; chem170_scm/coag_entry64/pert_dens_high.json) on these same inputs; tolerance rel 1e-09, the double-precision convention. Inputs are the bin's rows of the state entering coagulation (nucleation leaves this section untouched, checked) and the carried dry diagnostics. Flags pinned exactly: implausible = 1, empty = 0.",
"parameter_overrides": {
"r": [
[
[
6.082686437869356e-11,
1.3202082990573977e-17,
6.0059872013607355e-18,
0.0,
4.846477733022603e-11,
6.483267258282615e-15,
7.424268267064729e-26,
3.828816083628617e-11,
9.309250419142767e-12,
4.654557572703055e-10
]
]
],
"mw": [
96.06600189208984,
62.00699996948242,
35.45000076293945,
60.00699996948242,
18.04199981689453,
22.989999771118164,
40.08000183105469,
1.0,
250.0,
1.0
],
"dens": [
1.7999999523162842,
1.7999999523162842,
2.200000047683716,
2.5999999046325684,
1.7999999523162842,
2.200000047683716,
2.5999999046325684,
2.5999999046325684,
1.0,
1.7000000476837158
],
"n_in": 129587.4375,
"water_in": 2.3137872173784046e-10,
"hysw_in": 3.1595973060127847e-10,
"mass_in": 9.616134555301414e-09,
"vol_in": 6.417834708116743e-09,
"rho_in": 25.0,
"cair": 3.918359288945794e-05,
"v_lo": 1.597896992402547e-14,
"v_hi": 1.2783175939220376e-13,
"v_cen": 4.51953538070822e-14,
"d_lo": 3.125000148429535e-05,
"d_hi": 6.25000029685907e-05,
"d_cen": 4.419417746248655e-05
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "implausible",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "empty",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "num_conc",
"time": 0.0,
"expected": 5.077701394588075,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dp_dry",
"time": 0.0,
"expected": 4.5396819913044445e-05,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dp_wet",
"time": 0.0,
"expected": 5.371600150362574e-05,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dens_wet",
"time": 0.0,
"expected": 1.3043768201780075,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "hysw",
"time": 0.0,
"expected": 3.1595973060127847e-10,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "water",
"time": 0.0,
"expected": 2.3137872173784046e-10,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "vol_dry",
"time": 0.0,
"expected": 6.348013147211072e-09,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 1
},
"time": 0.0,
"expected": 6.082686437869356e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 2
},
"time": 0.0,
"expected": 1.3202082990573977e-17,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 3
},
"time": 0.0,
"expected": 6.0059872013607355e-18,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 4
},
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 5
},
"time": 0.0,
"expected": 4.846477733022603e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 6
},
"time": 0.0,
"expected": 6.483267258282615e-15,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 7
},
"time": 0.0,
"expected": 7.424268267064729e-26,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 8
},
"time": 0.0,
"expected": 3.828816083628617e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 9
},
"time": 0.0,
"expected": 9.309250419142767e-12,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 10
},
"time": 0.0,
"expected": 4.654557572703055e-10,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
}
]
},
{
"id": "entry_branch_dens_low_s1080_lev10_bin3",
"description": "BRANCH CASE, PERTURBED INPUT (dens_low): carried dry density 0.05 g/cm3, below the 0.1 g/cm3 bound: recomputed from the composition. Model step 1080, level 10, section 3 of 8, with that one section edited before the replay (EqWeFiC tools/perturb_mosaic_coag_entry.py) -- no dumped step takes this branch, so the input is synthetic and the expected value is still the Fortran's. Reference: the em_scm_xy chem_opt = 170 column (data/eqwefic/chem170_scm, reference namelist unchanged), MOSAIC coagulation capture dumps/chem170_mosaic_coag (WRF fork earthsciml-instrumented-chem170 f311091e). Expected values are what coagsolv is handed in a REAL64 replay of mosaic_coag_1clm (kernels/mosaic_subproc_driver built with the coag entry hooks, fork 66a1b222, -fdefault-real-8; chem170_scm/coag_entry64/pert_dens_low.json) on these same inputs; tolerance rel 1e-09, the double-precision convention. Inputs are the bin's rows of the state entering coagulation (nucleation leaves this section untouched, checked) and the carried dry diagnostics. Flags pinned exactly: implausible = 1, empty = 0.",
"parameter_overrides": {
"r": [
[
[
3.0458052746595854e-11,
1.893667057859484e-17,
1.1853274839119497e-17,
0.0,
2.070670197806823e-11,
7.280203183025389e-17,
7.860750552601754e-26,
1.1207255826498064e-12,
3.6862518246194576e-12,
1.8431005333052752e-10
]
]
],
"mw": [
96.06600189208984,
62.00699996948242,
35.45000076293945,
60.00699996948242,
18.04199981689453,
22.989999771118164,
40.08000183105469,
1.0,
250.0,
1.0
],
"dens": [
1.7999999523162842,
1.7999999523162842,
2.200000047683716,
2.5999999046325684,
1.7999999523162842,
2.200000047683716,
2.5999999046325684,
2.5999999046325684,
1.0,
1.7000000476837158
],
"n_in": 423869.875,
"water_in": 1.503147745163247e-10,
"hysw_in": 1.7423798515103783e-10,
"mass_in": 4.443899914718941e-09,
"vol_in": 2.9021194336564804e-09,
"rho_in": 0.05,
"cair": 3.6850844480795786e-05,
"v_lo": 1.9973712405031837e-15,
"v_hi": 1.597896992402547e-14,
"v_cen": 5.649419225885275e-15,
"d_lo": 1.5625000742147677e-05,
"d_hi": 3.125000148429535e-05,
"d_cen": 2.2097088731243275e-05
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "implausible",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "empty",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "num_conc",
"time": 0.0,
"expected": 15.61996284371935,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dp_dry",
"time": 0.0,
"expected": 2.34543013454819e-05,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dp_wet",
"time": 0.0,
"expected": 2.9280765036791117e-05,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dens_wet",
"time": 0.0,
"expected": 1.2769520739904359,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "hysw",
"time": 0.0,
"expected": 1.7423798515103783e-10,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "water",
"time": 0.0,
"expected": 1.503147745163247e-10,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "vol_dry",
"time": 0.0,
"expected": 2.863509813694099e-09,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 1
},
"time": 0.0,
"expected": 3.0458052746595854e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 2
},
"time": 0.0,
"expected": 1.893667057859484e-17,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 3
},
"time": 0.0,
"expected": 1.1853274839119497e-17,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 4
},
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 5
},
"time": 0.0,
"expected": 2.070670197806823e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 6
},
"time": 0.0,
"expected": 7.280203183025389e-17,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 7
},
"time": 0.0,
"expected": 7.860750552601754e-26,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 8
},
"time": 0.0,
"expected": 1.1207255826498064e-12,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 9
},
"time": 0.0,
"expected": 3.6862518246194576e-12,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 10
},
"time": 0.0,
"expected": 1.8431005333052752e-10,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
}
]
},
{
"id": "entry_branch_mass_mismatch_s918_lev30_bin5",
"description": "BRANCH CASE, PERTURBED INPUT (mass_mismatch): carried dry mass 1e-3 relative above volume x density (plausible density, inconsistent triple): recomputed. Model step 918, level 30, section 5 of 8, with that one section edited before the replay (EqWeFiC tools/perturb_mosaic_coag_entry.py) -- no dumped step takes this branch, so the input is synthetic and the expected value is still the Fortran's. Reference: the em_scm_xy chem_opt = 170 column (data/eqwefic/chem170_scm, reference namelist unchanged), MOSAIC coagulation capture dumps/chem170_mosaic_coag (WRF fork earthsciml-instrumented-chem170 f311091e). Expected values are what coagsolv is handed in a REAL64 replay of mosaic_coag_1clm (kernels/mosaic_subproc_driver built with the coag entry hooks, fork 66a1b222, -fdefault-real-8; chem170_scm/coag_entry64/pert_mass_mismatch.json) on these same inputs; tolerance rel 1e-09, the double-precision convention. Inputs are the bin's rows of the state entering coagulation (nucleation leaves this section untouched, checked) and the carried dry diagnostics. Flags pinned exactly: implausible = 1, empty = 0.",
"parameter_overrides": {
"r": [
[
[
6.122354706539213e-11,
3.6264585377103877e-16,
5.926330204680246e-17,
0.0,
6.033953892092825e-11,
2.6818198811846827e-13,
7.2378536558876e-26,
6.14006734345196e-10,
1.1609404410029e-11,
5.804727254421493e-10
]
]
],
"mw": [
96.06600189208984,
62.00699996948242,
35.45000076293945,
60.00699996948242,
18.04199981689453,
22.989999771118164,
40.08000183105469,
1.0,
250.0,
1.0
],
"dens": [
1.7999999523162842,
1.7999999523162842,
2.200000047683716,
2.5999999046325684,
1.7999999523162842,
2.200000047683716,
2.5999999046325684,
2.5999999046325684,
1.0,
1.7000000476837158
],
"n_in": 20242.044921875,
"water_in": 2.0493791386133609e-10,
"hysw_in": 2.6499533123391927e-10,
"mass_in": 1.1139563199799479e-08,
"vol_in": 7.413269997869065e-09,
"rho_in": 1.5011506080627441,
"cair": 2.9572436687885784e-05,
"v_lo": 1.2783175939220376e-13,
"v_hi": 1.02265407513763e-12,
"v_cen": 3.615628304566576e-13,
"d_lo": 6.25000029685907e-05,
"d_hi": 0.0001250000059371814,
"d_cen": 8.83883549249731e-05
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "implausible",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "empty",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "num_conc",
"time": 0.0,
"expected": 0.5986065918854884,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dp_dry",
"time": 0.0,
"expected": 8.85342899181908e-05,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dp_wet",
"time": 0.0,
"expected": 0.00010139121072335793,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dens_wet",
"time": 0.0,
"expected": 1.3365623039701653,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "hysw",
"time": 0.0,
"expected": 2.6499533123391927e-10,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "water",
"time": 0.0,
"expected": 2.0493791386133609e-10,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "vol_dry",
"time": 0.0,
"expected": 7.355082210899158e-09,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 1
},
"time": 0.0,
"expected": 6.122354706539213e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 2
},
"time": 0.0,
"expected": 3.6264585377103877e-16,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 3
},
"time": 0.0,
"expected": 5.926330204680246e-17,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 4
},
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 5
},
"time": 0.0,
"expected": 6.033953892092825e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 6
},
"time": 0.0,
"expected": 2.6818198811846827e-13,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 7
},
"time": 0.0,
"expected": 7.2378536558876e-26,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 8
},
"time": 0.0,
"expected": 6.14006734345196e-10,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 9
},
"time": 0.0,
"expected": 1.1609404410029e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 10
},
"time": 0.0,
"expected": 5.804727254421493e-10,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
}
]
},
{
"id": "entry_branch_negative_comp_s2400_lev1_bin6",
"description": "BRANCH CASE, PERTURBED INPUT (negative_comp): implausible density AND a negative mixing ratio for the section's second-largest component by mass, which the recompute clips at zero. Model step 2400, level 1, section 6 of 8, with that one section edited before the replay (EqWeFiC tools/perturb_mosaic_coag_entry.py) -- no dumped step takes this branch, so the input is synthetic and the expected value is still the Fortran's. Reference: the em_scm_xy chem_opt = 170 column (data/eqwefic/chem170_scm, reference namelist unchanged), MOSAIC coagulation capture dumps/chem170_mosaic_coag (WRF fork earthsciml-instrumented-chem170 f311091e). Expected values are what coagsolv is handed in a REAL64 replay of mosaic_coag_1clm (kernels/mosaic_subproc_driver built with the coag entry hooks, fork 66a1b222, -fdefault-real-8; chem170_scm/coag_entry64/pert_negative_comp.json) on these same inputs; tolerance rel 1e-09, the double-precision convention. Inputs are the bin's rows of the state entering coagulation (nucleation leaves this section untouched, checked) and the carried dry diagnostics. Flags pinned exactly: implausible = 1, empty = 0.",
"parameter_overrides": {
"r": [
[
[
-2.019754329063428e-11,
4.62392018542703e-18,
1.4681067243362918e-18,
0.0,
1.7151139883320177e-11,
2.75101317594173e-12,
7.227043179998161e-26,
2.438057533638016e-09,
3.659209654033324e-12,
1.8296765491587763e-10
]
]
],
"mw": [
96.06600189208984,
62.00699996948242,
35.45000076293945,
60.00699996948242,
18.04199981689453,
22.989999771118164,
40.08000183105469,
1.0,
250.0,
1.0
],
"dens": [
1.7999999523162842,
1.7999999523162842,
2.200000047683716,
2.5999999046325684,
1.7999999523162842,
2.200000047683716,
2.5999999046325684,
2.5999999046325684,
1.0,
1.7000000476837158
],
"n_in": 1117.4906005859375,
"water_in": 6.405754399141372e-11,
"hysw_in": 0.0,
"mass_in": 5.8672791070080166e-09,
"vol_in": 3.2581126685471418e-09,
"rho_in": 25.0,
"cair": 3.914731496479362e-05,
"v_lo": 1.02265407513763e-12,
"v_hi": 8.18123260110104e-12,
"v_cen": 2.892502643653261e-12,
"d_lo": 0.0001250000059371814,
"d_hi": 0.0002500000118743628,
"d_cen": 0.0001767767098499462
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "implausible",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "empty",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "num_conc",
"time": 0.0,
"expected": 0.043746756511334084,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dp_dry",
"time": 0.0,
"expected": 0.0001545696927288171,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dp_wet",
"time": 0.0,
"expected": 0.00017826844240199707,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dens_wet",
"time": 0.0,
"expected": 1.5272340078298448,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "hysw",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "water",
"time": 0.0,
"expected": 6.405754399141372e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "vol_dry",
"time": 0.0,
"expected": 2.160804777831403e-09,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 1
},
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 2
},
"time": 0.0,
"expected": 4.62392018542703e-18,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 3
},
"time": 0.0,
"expected": 1.4681067243362918e-18,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 4
},
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 5
},
"time": 0.0,
"expected": 1.7151139883320177e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 6
},
"time": 0.0,
"expected": 2.75101317594173e-12,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 7
},
"time": 0.0,
"expected": 7.227043179998161e-26,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 8
},
"time": 0.0,
"expected": 2.438057533638016e-09,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 9
},
"time": 0.0,
"expected": 3.659209654033324e-12,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 10
},
"time": 0.0,
"expected": 1.8296765491587763e-10,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
}
]
},
{
"id": "entry_branch_empty_s918_lev1_bin3",
"description": "BRANCH CASE, PERTURBED INPUT (empty): every component zeroed and the carried dry mass 1e-31 g/mol (below 1.01e-30), in a section that carries water and hysteresis water: empty-bin reset, both waters dropped, number put on the section centre. Model step 918, level 1, section 3 of 8, with that one section edited before the replay (EqWeFiC tools/perturb_mosaic_coag_entry.py) -- no dumped step takes this branch, so the input is synthetic and the expected value is still the Fortran's. Reference: the em_scm_xy chem_opt = 170 column (data/eqwefic/chem170_scm, reference namelist unchanged), MOSAIC coagulation capture dumps/chem170_mosaic_coag (WRF fork earthsciml-instrumented-chem170 f311091e). Expected values are what coagsolv is handed in a REAL64 replay of mosaic_coag_1clm (kernels/mosaic_subproc_driver built with the coag entry hooks, fork 66a1b222, -fdefault-real-8; chem170_scm/coag_entry64/pert_empty.json) on these same inputs; tolerance rel 1e-09, the double-precision convention. Inputs are the bin's rows of the state entering coagulation (nucleation leaves this section untouched, checked) and the carried dry diagnostics. Flags pinned exactly: implausible = 0, empty = 1.",
"parameter_overrides": {
"r": [
[
[
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
]
],
"mw": [
96.06600189208984,
62.00699996948242,
35.45000076293945,
60.00699996948242,
18.04199981689453,
22.989999771118164,
40.08000183105469,
1.0,
250.0,
1.0
],
"dens": [
1.7999999523162842,
1.7999999523162842,
2.200000047683716,
2.5999999046325684,
1.7999999523162842,
2.200000047683716,
2.5999999046325684,
2.5999999046325684,
1.0,
1.7000000476837158
],
"n_in": 419531.71875,
"water_in": 1.2933724924391043e-10,
"hysw_in": 1.7251894357528386e-10,
"mass_in": 1e-31,
"vol_in": 6.531155276694435e-32,
"rho_in": 1.5311226844787598,
"cair": 3.918359288945794e-05,
"v_lo": 1.9973712405031837e-15,
"v_hi": 1.597896992402547e-14,
"v_cen": 5.649419225885275e-15,
"d_lo": 1.5625000742147677e-05,
"d_hi": 3.125000148429535e-05,
"d_cen": 2.2097088731243275e-05
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "implausible",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "empty",
"time": 0.0,
"expected": 1.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "num_conc",
"time": 0.0,
"expected": 3.4679310671370647e-22,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dp_dry",
"time": 0.0,
"expected": 2.2097088731243275e-05,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dp_wet",
"time": 0.0,
"expected": 2.2097088731243275e-05,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dens_wet",
"time": 0.0,
"expected": 2.0,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "hysw",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "water",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "vol_dry",
"time": 0.0,
"expected": 5e-32,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 1
},
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 2
},
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 3
},
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 4
},
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 5
},
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 6
},
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 7
},
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 8
},
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 9
},
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 10
},
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
}
]
},
{
"id": "entry_branch_num_high_s2134_lev45_bin3",
"description": "BRANCH CASE, PERTURBED INPUT (num_high): number x 1e3, so the mean dry volume per particle is below the section's lower bound: number lowered to V/(f v_lo). Model step 2134, level 45, section 3 of 8, with that one section edited before the replay (EqWeFiC tools/perturb_mosaic_coag_entry.py) -- no dumped step takes this branch, so the input is synthetic and the expected value is still the Fortran's. Reference: the em_scm_xy chem_opt = 170 column (data/eqwefic/chem170_scm, reference namelist unchanged), MOSAIC coagulation capture dumps/chem170_mosaic_coag (WRF fork earthsciml-instrumented-chem170 f311091e). Expected values are what coagsolv is handed in a REAL64 replay of mosaic_coag_1clm (kernels/mosaic_subproc_driver built with the coag entry hooks, fork 66a1b222, -fdefault-real-8; chem170_scm/coag_entry64/pert_num_high.json) on these same inputs; tolerance rel 1e-09, the double-precision convention. Inputs are the bin's rows of the state entering coagulation (nucleation leaves this section untouched, checked) and the carried dry diagnostics. Flags pinned exactly: implausible = 0, empty = 0.",
"parameter_overrides": {
"r": [
[
[
3.6718270784996676e-11,
1.8530704958507043e-15,
5.354391191730379e-16,
0.0,
3.5382287377760946e-11,
1.322142330047608e-16,
7.564210959055772e-26,
2.0379002305115357e-12,
6.675765842900638e-12,
3.338005982733705e-10
]
]
],
"mw": [
96.06600189208984,
62.00699996948242,
35.45000076293945,
60.00699996948242,
18.04199981689453,
22.989999771118164,
40.08000183105469,
1.0,
250.0,
1.0
],
"dens": [
1.7999999523162842,
1.7999999523162842,
2.200000047683716,
2.5999999046325684,
1.7999999523162842,
2.200000047683716,
2.5999999046325684,
2.5999999046325684,
1.0,
1.7000000476837158
],
"n_in": 727604312.5,
"water_in": 1.482451522649697e-10,
"hysw_in": 1.632116247707316e-10,
"mass_in": 6.204808222776137e-09,
"vol_in": 4.2163397218075716e-09,
"rho_in": 1.4716100692749023,
"cair": 1.9900866391253658e-05,
"v_lo": 1.9973712405031837e-15,
"v_hi": 1.597896992402547e-14,
"v_cen": 5.649419225885275e-15,
"d_lo": 1.5625000742147677e-05,
"d_hi": 3.125000148429535e-05,
"d_cen": 2.2097088731243275e-05
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "implausible",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "empty",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "num_conc",
"time": 0.0,
"expected": 42.00920481337057,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dp_dry",
"time": 0.0,
"expected": 1.5625053191980585e-05,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dp_wet",
"time": 0.0,
"expected": 1.8401601123546663e-05,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dens_wet",
"time": 0.0,
"expected": 1.2887225765127825,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "hysw",
"time": 0.0,
"expected": 1.632116247707316e-10,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "water",
"time": 0.0,
"expected": 1.482451522649697e-10,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "vol_dry",
"time": 0.0,
"expected": 4.216339879920361e-09,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 1
},
"time": 0.0,
"expected": 3.6718270784996676e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 2
},
"time": 0.0,
"expected": 1.8530704958507043e-15,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 3
},
"time": 0.0,
"expected": 5.354391191730379e-16,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 4
},
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 5
},
"time": 0.0,
"expected": 3.5382287377760946e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 6
},
"time": 0.0,
"expected": 1.322142330047608e-16,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 7
},
"time": 0.0,
"expected": 7.564210959055772e-26,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 8
},
"time": 0.0,
"expected": 2.0379002305115357e-12,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 9
},
"time": 0.0,
"expected": 6.675765842900638e-12,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 10
},
"time": 0.0,
"expected": 3.338005982733705e-10,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
}
]
},
{
"id": "entry_branch_num_low_s689_lev20_bin5",
"description": "BRANCH CASE, PERTURBED INPUT (num_low): number x 1e-3, so the mean dry volume per particle is above the section's upper bound: number raised to V f/v_hi. Model step 689, level 20, section 5 of 8, with that one section edited before the replay (EqWeFiC tools/perturb_mosaic_coag_entry.py) -- no dumped step takes this branch, so the input is synthetic and the expected value is still the Fortran's. Reference: the em_scm_xy chem_opt = 170 column (data/eqwefic/chem170_scm, reference namelist unchanged), MOSAIC coagulation capture dumps/chem170_mosaic_coag (WRF fork earthsciml-instrumented-chem170 f311091e). Expected values are what coagsolv is handed in a REAL64 replay of mosaic_coag_1clm (kernels/mosaic_subproc_driver built with the coag entry hooks, fork 66a1b222, -fdefault-real-8; chem170_scm/coag_entry64/pert_num_low.json) on these same inputs; tolerance rel 1e-09, the double-precision convention. Inputs are the bin's rows of the state entering coagulation (nucleation leaves this section untouched, checked) and the carried dry diagnostics. Flags pinned exactly: implausible = 0, empty = 0.",
"parameter_overrides": {
"r": [
[
[
5.4609074207068176e-11,
1.720496366487589e-16,
7.844177571642003e-17,
0.0,
5.0605242218892954e-11,
2.2869569736225226e-13,
7.232196044082968e-26,
5.235766820099741e-10,
9.894071673066662e-12,
4.947141585276427e-10
]
]
],
"mw": [
96.06600189208984,
62.00699996948242,
35.45000076293945,
60.00699996948242,
18.04199981689453,
22.989999771118164,
40.08000183105469,
1.0,
250.0,
1.0
],
"dens": [
1.7999999523162842,
1.7999999523162842,
2.200000047683716,
2.5999999046325684,
1.7999999523162842,
2.200000047683716,
2.5999999046325684,
2.5999999046325684,
1.0,
1.7000000476837158
],
"n_in": 17.250707031250002,
"water_in": 2.166735124653485e-10,
"hysw_in": 2.5086543953278806e-10,
"mass_in": 9.708832848787097e-09,
"vol_in": 6.4452216896881964e-09,
"rho_in": 1.5063613653182983,
"cair": 3.3856562367873266e-05,
"v_lo": 1.2783175939220376e-13,
"v_hi": 1.02265407513763e-12,
"v_cen": 3.615628304566576e-13,
"d_lo": 6.25000029685907e-05,
"d_hi": 0.0001250000059371814,
"d_cen": 8.83883549249731e-05
},
"time_span": {
"start": 0,
"end": 1
},
"assertions": [
{
"variable": "implausible",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "empty",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "num_conc",
"time": 0.0,
"expected": 0.21338127466713147,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dp_dry",
"time": 0.0,
"expected": 0.00012499959220661883,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dp_wet",
"time": 0.0,
"expected": 0.00014637249361462032,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "dens_wet",
"time": 0.0,
"expected": 1.3153609651178322,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "hysw",
"time": 0.0,
"expected": 2.5086543953278806e-10,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "water",
"time": 0.0,
"expected": 2.166735124653485e-10,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "vol_dry",
"time": 0.0,
"expected": 6.445221626309829e-09,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
},
"coords": {
"lev": 1,
"bin": 1
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 1
},
"time": 0.0,
"expected": 5.4609074207068176e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 2
},
"time": 0.0,
"expected": 1.720496366487589e-16,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 3
},
"time": 0.0,
"expected": 7.844177571642003e-17,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 4
},
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 5
},
"time": 0.0,
"expected": 5.0605242218892954e-11,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 6
},
"time": 0.0,
"expected": 2.2869569736225226e-13,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 7
},
"time": 0.0,
"expected": 7.232196044082968e-26,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 8
},
"time": 0.0,
"expected": 5.235766820099741e-10,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 9
},
"time": 0.0,
"expected": 9.894071673066662e-12,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
},
{
"variable": "q_comp",
"coords": {
"lev": 1,
"bin": 1,
"comp": 10
},
"time": 0.0,
"expected": 4.947141585276427e-10,
"tolerance": {
"rel": 1e-09,
"abs": 0.0
}
}
]
}
]
}