Version: dev

SoilFluxes

CTSM/CLM ground energy and moisture flux update SoilFluxes, transcribed from src/biogeophys/SoilFluxesMod.F90 of CTSM ctsm5.4.063 (cesm3.0-alphabranch; line numbers refer to that tag): the previous-time-step ground temperature and T^4 blend t_grnd0/lw_grnd (SoilFluxesMod.F90:175-183, :344-346), the sensible/latent flux corrections to the present soil temperature (:192-204), the liquid/solid partition of the ground evaporation into liquid evaporation, sublimation, liquid dew and solid dew (:208-274), the snow-evaporation moisture limit of the top layer (:276-297), the ground heat flux from absorbed shortwave, canopy longwave and black-body emission (:341-371), the total vegetation+ground fluxes and the history-tape latent heat breakdown (:373-394), the outgoing/net longwave radiation with the temperature-increment term and the bare-ground skin temperature (:451-495). The equations are written as math over the patch index set (the traced reference-dump rows carry p == c, so the column-level quantities of the Fortran are replicated patch-wise); the shared laws are imported by reference from ./clm_templates.esm (ground_temperature_blend, stefan_boltzmann_emission, flux_temperature_correction, stefan_boltzmann_emission_dT). All fluxes are mass fluxes in kg/m^2/s (= mm/s of water): the esm unit system requires the mass-flux form for dimensional consistency with the latent-heat multiplications (qflx*htvp [J/kg] = W/m^2), see README.md. The tests pin the reference dumps: a CESM3 / CTSM ctsm5.4.063 I2000Clm60Sp land-only run (GSWP3 forcing, dtime = 1800 s) instrumented with write statements at the SoilFluxes, BareGroundFluxes, SoilTemperature, ComputeGroundHeatFluxAndDeriv, SurfaceRadiation and BiogeophysPreFluxCalcs exits, recording the first 16 bare, deep-snowpack columns over the first 12 steps in full double precision; forc_lwrad is the downscaled column longwave recorded at ComputeGroundHeatFluxAndDeriv. Tested regime: all 192 dumped rows are dew rows (qflx_ev_snow < 0) below freezing (t_grnd < tfrz, so the dew is solid) with an all-snow blend (snl = -9, frac_sno_fluxes = 1, frac_h2osfc = 0, frac_veg_nosno = 0); the evaporation branch of the partition, the firing snow-evaporation limit, liquid dew, mixed snow/soil blends and snow-free columns are transcribed but not exercised, because the reference run has no such rows. The assertions on quantities that are not dump columns (lw_grnd, qflx_ev_snow, qflx_ev_soil, evaporation_limit, qflx_soliddew_to_top_layer, lwrad_emission, lwrad_increment, eflx_lwrad_out, qflx_evap_tot) are labelled derived (not a dump column) and computed offline (double-precision evaluation of the transcribed equations at the pinned dump inputs), cross-checked against every dump column they touch on all 192 rows (max rel err 7.9e-15).

.esm schema
2.0.0
Source
components/land_surface/clm/clm_soilfluxes.esm

Description

CTSM/CLM ground energy and moisture flux update SoilFluxes, transcribed from src/biogeophys/SoilFluxesMod.F90 of CTSM ctsm5.4.063 (cesm3.0-alphabranch; line numbers refer to that tag): the previous-time-step ground temperature and T^4 blend t_grnd0/lw_grnd (SoilFluxesMod.F90:175-183, :344-346), the sensible/latent flux corrections to the present soil temperature (:192-204), the liquid/solid partition of the ground evaporation into liquid evaporation, sublimation, liquid dew and solid dew (:208-274), the snow-evaporation moisture limit of the top layer (:276-297), the ground heat flux from absorbed shortwave, canopy longwave and black-body emission (:341-371), the total vegetation+ground fluxes and the history-tape latent heat breakdown (:373-394), the outgoing/net longwave radiation with the temperature-increment term and the bare-ground skin temperature (:451-495). The equations are written as math over the patch index set (the traced reference-dump rows carry p == c, so the column-level quantities of the Fortran are replicated patch-wise); the shared laws are imported by reference from ./clm_templates.esm (ground_temperature_blend, stefan_boltzmann_emission, flux_temperature_correction, stefan_boltzmann_emission_dT). All fluxes are mass fluxes in kg/m^2/s (= mm/s of water): the esm unit system requires the mass-flux form for dimensional consistency with the latent-heat multiplications (qflx*htvp [J/kg] = W/m^2), see README.md. The tests pin the reference dumps: a CESM3 / CTSM ctsm5.4.063 I2000Clm60Sp land-only run (GSWP3 forcing, dtime = 1800 s) instrumented with write statements at the SoilFluxes, BareGroundFluxes, SoilTemperature, ComputeGroundHeatFluxAndDeriv, SurfaceRadiation and BiogeophysPreFluxCalcs exits, recording the first 16 bare, deep-snowpack columns over the first 12 steps in full double precision; forc_lwrad is the downscaled column longwave recorded at ComputeGroundHeatFluxAndDeriv. Tested regime: all 192 dumped rows are dew rows (qflx_ev_snow < 0) below freezing (t_grnd < tfrz, so the dew is solid) with an all-snow blend (snl = -9, frac_sno_fluxes = 1, frac_h2osfc = 0, frac_veg_nosno = 0); the evaporation branch of the partition, the firing snow-evaporation limit, liquid dew, mixed snow/soil blends and snow-free columns are transcribed but not exercised, because the reference run has no such rows. The assertions on quantities that are not dump columns (lw_grnd, qflx_ev_snow, qflx_ev_soil, evaporation_limit, qflx_soliddew_to_top_layer, lwrad_emission, lwrad_increment, eflx_lwrad_out, qflx_evap_tot) are labelled derived (not a dump column) and computed offline (double-precision evaluation of the transcribed equations at the pinned dump inputs), cross-checked against every dump column they touch on all 192 rows (max rel err 7.9e-15).

Reference

  • Lawrence, D. M., Fisher, R. A., Koven, C. D., Oleson, K. W., Swenson, S. C., Bonan, G., et al. (2019). The Community Land Model Version 5: Description of New Features, Benchmarking, and Impact of Forcing Uncertainty. Journal of Advances in Modeling Earth Systems, 11(12), 4245-4287.
  • CTSM (Community Terrestrial Systems Model), ESCOMP/CTSM, ctsm5.4.063 (cesm3.0-alphabranch): the CLM land-surface source - SoilFluxesMod.F90, clm_varcon.F90 (constants) - the reference implementation these components are transcribed from.
  • EarthSciModels - the authoritative .esm corpus this component lives in.

Parameters

NameUnitsDefaultDescription
t_grndK273.15ground temperature after the soil-temperature solve, the SoilFluxes input temperature_inst%t_grnd_col (SoilFluxesMod.F90:108), [K]
tssbef_snowK273.15top snow-layer temperature before the solve, tssbef(c,snl+1) (SoilFluxesMod.F90:106,176), [K]
tssbef_soilK273.15top soil-layer temperature before the solve, tssbef(c,1) (SoilFluxesMod.F90:177), [K]
t_h2osfc_befK273.15saved surface-water temperature (SoilFluxesMod.F90:107); carries zero weight while frac_h2osfc = 0 (all traced rows), [K]
frac_sno_fluxes10.0fraction of ground covered by snow for heat-flux calculations (SoilFluxesMod.F90:93), [-]
frac_h2osfc10.0fraction of ground covered by surface water (SoilFluxesMod.F90:94), [-]
snl10.0number of snow layers col%snl (negative when snow is present; j = snl+1 is the top layer, SoilFluxesMod.F90:170), [-]
cgrndsW/m^2/K0.0derivative of the ground sensible heat flux wrt the soil temperature (SoilFluxesMod.F90:123), [W/m2/K]
cgrndlkg/m^2/s/K0.0derivative of the ground latent heat flux wrt the soil temperature (SoilFluxesMod.F90:124): the Fortran comments w/m2/k but applies it directly to the mass fluxes qflx_evap_soi/qflx_ev_snow/qflx_ev_soil (:193,:202-204), so its effective units are mm/s/K == kg/m^2/s/K, [kg/m2/s/K]
eflx_sh_grnd_preW/m^20.0pre-correction ground sensible heat flux from the surface-flux component (BareGroundFluxes/CanopyFluxes), corrected at SoilFluxesMod.F90:192, [W/m2]
qflx_evap_soi_prekg/m^2/s0.0pre-correction soil evaporation (mass flux; 1 mm/s == 1 kg/m2/s of water), corrected at SoilFluxesMod.F90:193, [mm/s]
qflx_ev_snow_prekg/m^2/s0.0pre-correction evaporation from snow, corrected at SoilFluxesMod.F90:202, [mm/s]
qflx_ev_soil_prekg/m^2/s0.0pre-correction evaporation from soil, corrected at SoilFluxesMod.F90:203, [mm/s]
qflx_ev_h2osfc_prekg/m^2/s0.0pre-correction evaporation from surface water, corrected at SoilFluxesMod.F90:204; not dumped by the reference run (untested input, see README.md), [mm/s]
h2osoi_liq_topkg/m^20.0liquid water in the top snow/soil layer h2osoi_liq(c,j) (SoilFluxesMod.F90:96), [kg/m2]
h2osoi_ice_topkg/m^20.0ice in the top snow/soil layer h2osoi_ice(c,j) (SoilFluxesMod.F90:95), [kg/m2]
sabg_soilW/m^20.0solar radiation absorbed by the soil sub-area (SoilFluxesMod.F90:97), [W/m2]
sabg_snowW/m^20.0solar radiation absorbed by the snow sub-area (SoilFluxesMod.F90:98), [W/m2]
dlradW/m^20.0downward longwave radiation below the canopy (SoilFluxesMod.F90:121); 0 for the bare traced patches (BareGroundFluxesMod.F90:313), [W/m2]
ulradW/m^20.0upward longwave radiation above the canopy (SoilFluxesMod.F90:122); 0 for the bare traced patches (BareGroundFluxesMod.F90:314), [W/m2]
forc_lwradW/m^20.0atmospheric downward longwave radiation forc_lwrad_downscaled_col (SoilFluxesMod.F90:89); in the tests the column value recorded by the reference run at ComputeGroundHeatFluxAndDeriv, [W/m2]
emg10.97ground emissivity temperature_inst%emg_col (SoilFluxesMod.F90:101); 0.97 for all traced rows (frac_sno_albedo = 1), [-]
htvpJ/kg2834700.0latent heat of vaporization or sublimation energyflux_inst%htvp_col (SoilFluxesMod.F90:115); 2.8347e6 = LATICE + LATVAP for all traced rows (frozen top layer), [J/kg]
frac_veg_nosno10.0fraction of vegetation not covered by snow, 0 or 1 (SoilFluxesMod.F90:91); 0 for the traced bare patches, [-]
eflx_sh_vegW/m^20.0sensible heat flux from leaves (SoilFluxesMod.F90:140), [W/m2]
eflx_sh_stemW/m^20.0sensible heat flux from stems (SoilFluxesMod.F90:86), [W/m2]
qflx_evap_vegkg/m^2/s0.0vegetation evaporation (SoilFluxesMod.F90:128), [mm/s]
qflx_tran_vegkg/m^2/s0.0vegetation transpiration (SoilFluxesMod.F90:129), [mm/s]
t_skin_vegK273.15vegetation-branch skin temperature, set by CanopyFluxes and used only when frac_veg_nosno = 1 (the untested branch of SoilFluxesMod.F90:483), [K]
hvapJ/kg2501000.0latent heat of vaporization (clm_varcon hvap = SHR_CONST_LATVAP; SoilFluxesMod.F90:49,379), [J/kg]
sbW/m^2/K^45.67e-08Stefan-Boltzmann constant (clm_varcon sb = SHR_CONST_STEBOL = 5.67e-8, shr_const_mod.F90:23; CESM carries the rounded value rather than the CODATA 5.670374419e-8, and the dump pins 5.67e-8 exactly — see README.md), [W/m2/K4]
tfrzK273.15freezing point of water (SHR_CONST_TKFRZ; SoilFluxesMod.F90:245), [K]
dtimes1800.0land model time step (get_step_size_real, SoilFluxesMod.F90:165), [s]

Observed

NameUnitsDefaultDescription
t_grnd0Kground temperature of the previous time step (SoilFluxesMod.F90:79,175-181), [K]
tincKsoil-temperature change since the last time step, tinc = t_grnd - t_grnd0 (SoilFluxesMod.F90:77,183), [K]
lw_grndK^4ground longwave-weighted fourth power of temperature (SoilFluxesMod.F90:80,344-346), [K4]
eflx_sh_grnd_rawW/m^2pre-limit corrected ground sensible heat flux (the correction of SoilFluxesMod.F90:192), [W/m2]
qflx_evap_soi_rawkg/m^2/spre-limit corrected soil evaporation (SoilFluxesMod.F90:193), [mm/s]
qflx_ev_snow_rawkg/m^2/spre-limit corrected snow evaporation (SoilFluxesMod.F90:202), [mm/s]
qflx_ev_soil_rawkg/m^2/spre-limit corrected soil-subarea evaporation (SoilFluxesMod.F90:203), [mm/s]
qflx_ev_h2osfckg/m^2/sevaporation from surface water (SoilFluxesMod.F90:204; untested: qflx_ev_h2osfc_pre is not dumped), [mm/s]
h2osoi_topkg/m^2total water (liquid + ice) in the top snow/soil layer, h2osoi_liq(c,j) + h2osoi_ice(c,j) (SoilFluxesMod.F90:95-96); written out at :238-248 (the evaporation-ratio denominator) and :287 (the evaporation limit) in the Fortran and named once here, [kg/m2]
evaporation_limitkg/m^2/stop-layer moisture available for evaporation (SoilFluxesMod.F90:81,287), [mm/s]
qflx_ev_snow_excesskg/m^2/ssnow-evaporation overshoot evaporation_demand - evaporation_limit of the limiting branch (SoilFluxesMod.F90:288-296), transcribed as max(qflx_ev_snow_raw - evaporation_limit, 0): exact because the limited qflx_ev_snow, the qflx_evap_soi/eflx_sh_grnd corrections and the top-layer partition are all linear in the excess, [mm/s]
qflx_ev_snowkg/m^2/sevaporation flux from snow after correction and moisture limiting (SoilFluxesMod.F90:135,202,288-291), [mm/s]
qflx_ev_soilkg/m^2/sevaporation flux from the soil sub-area (SoilFluxesMod.F90:136,203), [mm/s]
qflx_evap_soikg/m^2/ssoil evaporation (SoilFluxesMod.F90:127,193,291), [mm/s]
eflx_sh_grndW/m^2sensible heat flux from ground (SoilFluxesMod.F90:139,192,295), [W/m2]
qflx_liqevap_from_top_layerkg/m^2/srate of liquid water evaporated from the top snow/soil layer (SoilFluxesMod.F90:131,238-242; the limiting-branch values of :292 are the general-branch values evaluated at the limited qflx_ev_snow, so no separate branch is needed), [mm/s]
qflx_solidevap_from_top_layerkg/m^2/srate of ice sublimated from the top snow/soil layer (SoilFluxesMod.F90:132,243), [mm/s]
qflx_soliddew_to_top_layerkg/m^2/srate of solid water deposited on the top snow/soil layer as frost (SoilFluxesMod.F90:134,246), [mm/s]
qflx_liqdew_to_top_layerkg/m^2/srate of liquid water deposited on the top snow/soil layer as dew (SoilFluxesMod.F90:133,248), [mm/s]
lwrad_emissionW/m^2ground black-body longwave emission emgsblw_grnd (the stefan_boltzmann_emission template; SoilFluxesMod.F90:350,471), [W/m2]
lwrad_incrementW/m^2longwave increment from the temperature change, 4emgsbt_grnd0^3tinc = stefan_boltzmann_emission_dT(emg, sb, t_grnd0)*tinc, put into the outgoing longwave for conservation (SoilFluxesMod.F90:350,472; the urban eflx_lwrad_del of :361), [W/m2]
eflx_soil_grndW/m^2soil heat flux, + = into soil (SoilFluxesMod.F90:141,348-351), [W/m2]
eflx_sh_totW/m^2total sensible heat flux, vegetation + ground + stems (SoilFluxesMod.F90:144,375-376), [W/m2]
qflx_evap_totkg/m^2/stotal evaporation qflx_evap_veg + qflx_evap_soi (SoilFluxesMod.F90:130,377), [mm/s]
eflx_lh_totW/m^2total latent heat flux (SoilFluxesMod.F90:147,379), [W/m2]
qflx_evap_cankg/m^2/sevaporation from the canopy qflx_evap_veg - qflx_tran_veg (SoilFluxesMod.F90:126,390), [mm/s]
eflx_lh_vegeW/m^2canopy evaporation heat flux qflx_evap_can*hvap, reusing the qflx_evap_can intermediate of :390 (SoilFluxesMod.F90:156,391), [W/m2]
eflx_lh_vegtW/m^2canopy transpiration heat flux (SoilFluxesMod.F90:157,392), [W/m2]
eflx_lh_grndW/m^2ground evaporation heat flux (SoilFluxesMod.F90:158,393), [W/m2]
eflx_lwrad_outW/m^2emitted infrared (longwave) radiation, vegetation + ground (SoilFluxesMod.F90:150,469-472), [W/m2]
eflx_lwrad_netW/m^2net infrared (longwave) radiation, + = to atm (SoilFluxesMod.F90:151,485), [W/m2]
t_skinKpatch skin temperature; the bare-ground branch (frac_veg_nosno = 0) is the fourth root of lw_grnd, the vegetation branch is set in CanopyFluxes (SoilFluxesMod.F90:104,483), [K]

Observed expressions

$$ t_{grnd0} = \mathrm{ifelse}\left(\mathrm{<}\left(snl, \mathrm{const}\left(\right)\right), \mathrm{ground_temperature_blend}\left(frac_{sno\,fluxes}=frac_{sno\,fluxes}, t_{snow}=tssbef_{snow}, frac_{h2osfc}=frac_{h2osfc}, t_{soil}=tssbef_{soil}, t_{h2osfc}=t_{h2osfc\,bef}\right), \mathrm{ground_temperature_blend}\left(frac_{sno\,fluxes}=\mathrm{const}\left(\right), t_{snow}=tssbef_{snow}, frac_{h2osfc}=frac_{h2osfc}, t_{soil}=tssbef_{soil}, t_{h2osfc}=t_{h2osfc\,bef}\right)\right) $$

ground temperature of the previous time step (SoilFluxesMod.F90:79,175-181), [K]

$$ tinc = t_{grnd} - t_{grnd0} $$

soil-temperature change since the last time step, tinc = t_grnd - t_grnd0 (SoilFluxesMod.F90:77,183), [K]

$$ lw_{grnd} = \mathrm{ground_temperature_blend}\left(frac_{sno\,fluxes}=frac_{sno\,fluxes}, t_{snow}=tssbef_{snow}^{4}, frac_{h2osfc}=frac_{h2osfc}, t_{soil}=tssbef_{soil}^{4}, t_{h2osfc}=t_{h2osfc\,bef}^{4}\right) $$

ground longwave-weighted fourth power of temperature (SoilFluxesMod.F90:80,344-346), [K4]

$$ eflx_{sh\,grnd\,raw} = \mathrm{flux_temperature_correction}\left(pre=eflx_{sh\,grnd\,pre}, tinc=tinc, deriv=cgrnds\right) $$

pre-limit corrected ground sensible heat flux (the correction of SoilFluxesMod.F90:192), [W/m2]

$$ qflx_{evap\,soi\,raw} = \mathrm{flux_temperature_correction}\left(pre=qflx_{evap\,soi\,pre}, tinc=tinc, deriv=cgrndl\right) $$

pre-limit corrected soil evaporation (SoilFluxesMod.F90:193), [mm/s]

$$ qflx_{ev\,snow\,raw} = \mathrm{flux_temperature_correction}\left(pre=qflx_{ev\,snow\,pre}, tinc=tinc, deriv=cgrndl\right) $$

pre-limit corrected snow evaporation (SoilFluxesMod.F90:202), [mm/s]

$$ qflx_{ev\,soil\,raw} = \mathrm{flux_temperature_correction}\left(pre=qflx_{ev\,soil\,pre}, tinc=tinc, deriv=cgrndl\right) $$

pre-limit corrected soil-subarea evaporation (SoilFluxesMod.F90:203), [mm/s]

$$ qflx_{ev\,h2osfc} = \mathrm{flux_temperature_correction}\left(pre=qflx_{ev\,h2osfc\,pre}, tinc=tinc, deriv=cgrndl\right) $$

evaporation from surface water (SoilFluxesMod.F90:204; untested: qflx_ev_h2osfc_pre is not dumped), [mm/s]

$$ h2osoi_{top} = h2osoi_{liq\,top} + h2osoi_{ice\,top} $$

total water (liquid + ice) in the top snow/soil layer, h2osoi_liq(c,j) + h2osoi_ice(c,j) (SoilFluxesMod.F90:95-96); written out at :238-248 (the evaporation-ratio denominator) and :287 (the evaporation limit) in the Fortran and named once here, [kg/m2]

$$ evaporation_{limit} = \frac{h2osoi_{top}}{frac_{sno\,fluxes} \cdot dtime} $$

top-layer moisture available for evaporation (SoilFluxesMod.F90:81,287), [mm/s]

$$ qflx_{ev\,snow\,excess} = \mathrm{ifelse}\left(\mathrm{<}\left(snl, \mathrm{const}\left(\right)\right), \mathrm{max}\left(qflx_{ev\,snow\,raw} - evaporation_{limit}, 0.0\right), 0.0\right) $$

snow-evaporation overshoot evaporation_demand - evaporation_limit of the limiting branch (SoilFluxesMod.F90:288-296), transcribed as max(qflx_ev_snow_raw - evaporation_limit, 0): exact because the limited qflx_ev_snow, the qflx_evap_soi/eflx_sh_grnd corrections and the top-layer partition are all linear in the excess, [mm/s]

$$ qflx_{ev\,snow} = qflx_{ev\,snow\,raw} - qflx_{ev\,snow\,excess} $$

evaporation flux from snow after correction and moisture limiting (SoilFluxesMod.F90:135,202,288-291), [mm/s]

$$ qflx_{ev\,soil} = qflx_{ev\,soil\,raw} $$

evaporation flux from the soil sub-area (SoilFluxesMod.F90:136,203), [mm/s]

$$ qflx_{evap\,soi} = qflx_{evap\,soi\,raw} - frac_{sno\,fluxes} \cdot qflx_{ev\,snow\,excess} $$

soil evaporation (SoilFluxesMod.F90:127,193,291), [mm/s]

$$ eflx_{sh\,grnd} = eflx_{sh\,grnd\,raw} + frac_{sno\,fluxes} \cdot qflx_{ev\,snow\,excess} \cdot htvp $$

sensible heat flux from ground (SoilFluxesMod.F90:139,192,295), [W/m2]

$$ qflx_{liqevap\,from\,top\,layer} = \mathrm{ifelse}\left(\mathrm{>=}\left(qflx_{ev\,snow}, 0.0\right), \mathrm{ifelse}\left(\mathrm{>}\left(h2osoi_{top}, 0.0\right), \mathrm{max}\left(qflx_{ev\,snow} \cdot \frac{h2osoi_{liq\,top}}{h2osoi_{top}}, 0.0\right), 0.0\right), 0.0\right) $$

rate of liquid water evaporated from the top snow/soil layer (SoilFluxesMod.F90:131,238-242; the limiting-branch values of :292 are the general-branch values evaluated at the limited qflx_ev_snow, so no separate branch is needed), [mm/s]

$$ qflx_{solidevap\,from\,top\,layer} = \mathrm{ifelse}\left(\mathrm{>=}\left(qflx_{ev\,snow}, 0.0\right), qflx_{ev\,snow} - qflx_{liqevap\,from\,top\,layer}, 0.0\right) $$

rate of ice sublimated from the top snow/soil layer (SoilFluxesMod.F90:132,243), [mm/s]

$$ qflx_{soliddew\,to\,top\,layer} = \mathrm{ifelse}\left(\mathrm{<}\left(qflx_{ev\,snow}, 0.0\right), \mathrm{ifelse}\left(\mathrm{<}\left(t_{grnd}, tfrz\right), \left|qflx_{ev\,snow}\right|, 0.0\right), 0.0\right) $$

rate of solid water deposited on the top snow/soil layer as frost (SoilFluxesMod.F90:134,246), [mm/s]

$$ qflx_{liqdew\,to\,top\,layer} = \mathrm{ifelse}\left(\mathrm{<}\left(qflx_{ev\,snow}, 0.0\right), \mathrm{ifelse}\left(\mathrm{<}\left(t_{grnd}, tfrz\right), 0.0, \left|qflx_{ev\,snow}\right|\right), 0.0\right) $$

rate of liquid water deposited on the top snow/soil layer as dew (SoilFluxesMod.F90:133,248), [mm/s]

$$ lwrad_{emission} = \mathrm{stefan_boltzmann_emission}\left(emg=emg, sb=sb, T4=lw_{grnd}\right) $$

ground black-body longwave emission emgsblw_grnd (the stefan_boltzmann_emission template; SoilFluxesMod.F90:350,471), [W/m2]

$$ lwrad_{increment} = \mathrm{stefan_boltzmann_emission_dT}\left(emg=emg, sb=sb, T=t_{grnd0}\right) \cdot tinc $$

longwave increment from the temperature change, 4emgsbt_grnd0^3tinc = stefan_boltzmann_emission_dT(emg, sb, t_grnd0)*tinc, put into the outgoing longwave for conservation (SoilFluxesMod.F90:350,472; the urban eflx_lwrad_del of :361), [W/m2]

$$ eflx_{soil\,grnd} = \left(\mathrm{const}\left(\right) - frac_{sno\,fluxes}\right) \cdot sabg_{soil} + frac_{sno\,fluxes} \cdot sabg_{snow} + dlrad + \left(\mathrm{const}\left(\right) - frac_{veg\,nosno}\right) \cdot emg \cdot forc_{lwrad} - lwrad_{emission} - lwrad_{increment} - \left(eflx_{sh\,grnd} + qflx_{evap\,soi} \cdot htvp\right) $$

soil heat flux, + = into soil (SoilFluxesMod.F90:141,348-351), [W/m2]

$$ eflx_{sh\,tot} = eflx_{sh\,veg} + eflx_{sh\,grnd} + eflx_{sh\,stem} $$

total sensible heat flux, vegetation + ground + stems (SoilFluxesMod.F90:144,375-376), [W/m2]

$$ qflx_{evap\,tot} = qflx_{evap\,veg} + qflx_{evap\,soi} $$

total evaporation qflx_evap_veg + qflx_evap_soi (SoilFluxesMod.F90:130,377), [mm/s]

$$ eflx_{lh\,tot} = hvap \cdot qflx_{evap\,veg} + htvp \cdot qflx_{evap\,soi} $$

total latent heat flux (SoilFluxesMod.F90:147,379), [W/m2]

$$ qflx_{evap\,can} = qflx_{evap\,veg} - qflx_{tran\,veg} $$

evaporation from the canopy qflx_evap_veg - qflx_tran_veg (SoilFluxesMod.F90:126,390), [mm/s]

$$ eflx_{lh\,vege} = qflx_{evap\,can} \cdot hvap $$

canopy evaporation heat flux qflx_evap_can*hvap, reusing the qflx_evap_can intermediate of :390 (SoilFluxesMod.F90:156,391), [W/m2]

$$ eflx_{lh\,vegt} = qflx_{tran\,veg} \cdot hvap $$

canopy transpiration heat flux (SoilFluxesMod.F90:157,392), [W/m2]

$$ eflx_{lh\,grnd} = qflx_{evap\,soi} \cdot htvp $$

ground evaporation heat flux (SoilFluxesMod.F90:158,393), [W/m2]

$$ eflx_{lwrad\,out} = ulrad + \left(\mathrm{const}\left(\right) - frac_{veg\,nosno}\right) \cdot \left(\mathrm{const}\left(\right) - emg\right) \cdot forc_{lwrad} + \left(\mathrm{const}\left(\right) - frac_{veg\,nosno}\right) \cdot lwrad_{emission} + lwrad_{increment} $$

emitted infrared (longwave) radiation, vegetation + ground (SoilFluxesMod.F90:150,469-472), [W/m2]

$$ eflx_{lwrad\,net} = eflx_{lwrad\,out} - forc_{lwrad} $$

net infrared (longwave) radiation, + = to atm (SoilFluxesMod.F90:151,485), [W/m2]

$$ t_{skin} = \mathrm{ifelse}\left(\mathrm{<}\left(frac_{veg\,nosno}, \mathrm{const}\left(\right)\right), \sqrt{\sqrt{lw_{grnd}}}, t_{skin\,veg}\right) $$

patch skin temperature; the bare-ground branch (frac_veg_nosno = 0) is the fourth root of lw_grnd, the vegetation branch is set in CanopyFluxes (SoilFluxesMod.F90:104,483), [K]

Raw .esm

Raw .esm JSON (this component)
{
  "expression_template_imports": [
    {
      "ref": "./clm_templates.esm"
    }
  ],
  "variables": {
    "t_grnd": {
      "type": "parameter",
      "shape": [
        "patch"
      ],
      "units": "K",
      "default": 273.15,
      "description": "ground temperature after the soil-temperature solve, the SoilFluxes input temperature_inst%t_grnd_col (SoilFluxesMod.F90:108), [K]"
    },
    "tssbef_snow": {
      "type": "parameter",
      "shape": [
        "patch"
      ],
      "units": "K",
      "default": 273.15,
      "description": "top snow-layer temperature before the solve, tssbef(c,snl+1) (SoilFluxesMod.F90:106,176), [K]"
    },
    "tssbef_soil": {
      "type": "parameter",
      "shape": [
        "patch"
      ],
      "units": "K",
      "default": 273.15,
      "description": "top soil-layer temperature before the solve, tssbef(c,1) (SoilFluxesMod.F90:177), [K]"
    },
    "t_h2osfc_bef": {
      "type": "parameter",
      "shape": [
        "patch"
      ],
      "units": "K",
      "default": 273.15,
      "description": "saved surface-water temperature (SoilFluxesMod.F90:107); carries zero weight while frac_h2osfc = 0 (all traced rows), [K]"
    },
    "frac_sno_fluxes": {
      "type": "parameter",
      "shape": [
        "patch"
      ],
      "units": "1",
      "default": 0.0,
      "description": "fraction of ground covered by snow for heat-flux calculations (SoilFluxesMod.F90:93), [-]"
    },
    "frac_h2osfc": {
      "type": "parameter",
      "shape": [
        "patch"
      ],
      "units": "1",
      "default": 0.0,
      "description": "fraction of ground covered by surface water (SoilFluxesMod.F90:94), [-]"
    },
    "snl": {
      "type": "parameter",
      "shape": [
        "patch"
      ],
      "units": "1",
      "default": 0.0,
      "description": "number of snow layers col%snl (negative when snow is present; j = snl+1 is the top layer, SoilFluxesMod.F90:170), [-]"
    },
    "cgrnds": {
      "type": "parameter",
      "shape": [
        "patch"
      ],
      "units": "W/m^2/K",
      "default": 0.0,
      "description": "derivative of the ground sensible heat flux wrt the soil temperature (SoilFluxesMod.F90:123), [W/m2/K]"
    },
    "cgrndl": {
      "type": "parameter",
      "shape": [
        "patch"
      ],
      "units": "kg/m^2/s/K",
      "default": 0.0,
      "description": "derivative of the ground latent heat flux wrt the soil temperature (SoilFluxesMod.F90:124): the Fortran comments w/m2/k but applies it directly to the mass fluxes qflx_evap_soi/qflx_ev_snow/qflx_ev_soil (:193,:202-204), so its effective units are mm/s/K == kg/m^2/s/K, [kg/m2/s/K]"
    },
    "eflx_sh_grnd_pre": {
      "type": "parameter",
      "shape": [
        "patch"
      ],
      "units": "W/m^2",
      "default": 0.0,
      "description": "pre-correction ground sensible heat flux from the surface-flux component (BareGroundFluxes/CanopyFluxes), corrected at SoilFluxesMod.F90:192, [W/m2]"
    },
    "qflx_evap_soi_pre": {
      "type": "parameter",
      "shape": [
        "patch"
      ],
      "units": "kg/m^2/s",
      "default": 0.0,
      "description": "pre-correction soil evaporation (mass flux; 1 mm/s == 1 kg/m2/s of water), corrected at SoilFluxesMod.F90:193, [mm/s]"
    },
    "qflx_ev_snow_pre": {
      "type": "parameter",
      "shape": [
        "patch"
      ],
      "units": "kg/m^2/s",
      "default": 0.0,
      "description": "pre-correction evaporation from snow, corrected at SoilFluxesMod.F90:202, [mm/s]"
    },
    "qflx_ev_soil_pre": {
      "type": "parameter",
      "shape": [
        "patch"
      ],
      "units": "kg/m^2/s",
      "default": 0.0,
      "description": "pre-correction evaporation from soil, corrected at SoilFluxesMod.F90:203, [mm/s]"
    },
    "qflx_ev_h2osfc_pre": {
      "type": "parameter",
      "shape": [
        "patch"
      ],
      "units": "kg/m^2/s",
      "default": 0.0,
      "description": "pre-correction evaporation from surface water, corrected at SoilFluxesMod.F90:204; not dumped by the reference run (untested input, see README.md), [mm/s]"
    },
    "h2osoi_liq_top": {
      "type": "parameter",
      "shape": [
        "patch"
      ],
      "units": "kg/m^2",
      "default": 0.0,
      "description": "liquid water in the top snow/soil layer h2osoi_liq(c,j) (SoilFluxesMod.F90:96), [kg/m2]"
    },
    "h2osoi_ice_top": {
      "type": "parameter",
      "shape": [
        "patch"
      ],
      "units": "kg/m^2",
      "default": 0.0,
      "description": "ice in the top snow/soil layer h2osoi_ice(c,j) (SoilFluxesMod.F90:95), [kg/m2]"
    },
    "sabg_soil": {
      "type": "parameter",
      "shape": [
        "patch"
      ],
      "units": "W/m^2",
      "default": 0.0,
      "description": "solar radiation absorbed by the soil sub-area (SoilFluxesMod.F90:97), [W/m2]"
    },
    "sabg_snow": {
      "type": "parameter",
      "shape": [
        "patch"
      ],
      "units": "W/m^2",
      "default": 0.0,
      "description": "solar radiation absorbed by the snow sub-area (SoilFluxesMod.F90:98), [W/m2]"
    },
    "dlrad": {
      "type": "parameter",
      "shape": [
        "patch"
      ],
      "units": "W/m^2",
      "default": 0.0,
      "description": "downward longwave radiation below the canopy (SoilFluxesMod.F90:121); 0 for the bare traced patches (BareGroundFluxesMod.F90:313), [W/m2]"
    },
    "ulrad": {
      "type": "parameter",
      "shape": [
        "patch"
      ],
      "units": "W/m^2",
      "default": 0.0,
      "description": "upward longwave radiation above the canopy (SoilFluxesMod.F90:122); 0 for the bare traced patches (BareGroundFluxesMod.F90:314), [W/m2]"
    },
    "forc_lwrad": {
      "type": "parameter",
      "shape": [
        "patch"
      ],
      "units": "W/m^2",
      "default": 0.0,
      "description": "atmospheric downward longwave radiation forc_lwrad_downscaled_col (SoilFluxesMod.F90:89); in the tests the column value recorded by the reference run at ComputeGroundHeatFluxAndDeriv, [W/m2]"
    },
    "emg": {
      "type": "parameter",
      "shape": [
        "patch"
      ],
      "units": "1",
      "default": 0.97,
      "description": "ground emissivity temperature_inst%emg_col (SoilFluxesMod.F90:101); 0.97 for all traced rows (frac_sno_albedo = 1), [-]"
    },
    "htvp": {
      "type": "parameter",
      "shape": [
        "patch"
      ],
      "units": "J/kg",
      "default": 2834700.0,
      "description": "latent heat of vaporization or sublimation energyflux_inst%htvp_col (SoilFluxesMod.F90:115); 2.8347e6 = LATICE + LATVAP for all traced rows (frozen top layer), [J/kg]"
    },
    "frac_veg_nosno": {
      "type": "parameter",
      "shape": [
        "patch"
      ],
      "units": "1",
      "default": 0.0,
      "description": "fraction of vegetation not covered by snow, 0 or 1 (SoilFluxesMod.F90:91); 0 for the traced bare patches, [-]"
    },
    "eflx_sh_veg": {
      "type": "parameter",
      "shape": [
        "patch"
      ],
      "units": "W/m^2",
      "default": 0.0,
      "description": "sensible heat flux from leaves (SoilFluxesMod.F90:140), [W/m2]"
    },
    "eflx_sh_stem": {
      "type": "parameter",
      "shape": [
        "patch"
      ],
      "units": "W/m^2",
      "default": 0.0,
      "description": "sensible heat flux from stems (SoilFluxesMod.F90:86), [W/m2]"
    },
    "qflx_evap_veg": {
      "type": "parameter",
      "shape": [
        "patch"
      ],
      "units": "kg/m^2/s",
      "default": 0.0,
      "description": "vegetation evaporation (SoilFluxesMod.F90:128), [mm/s]"
    },
    "qflx_tran_veg": {
      "type": "parameter",
      "shape": [
        "patch"
      ],
      "units": "kg/m^2/s",
      "default": 0.0,
      "description": "vegetation transpiration (SoilFluxesMod.F90:129), [mm/s]"
    },
    "t_skin_veg": {
      "type": "parameter",
      "shape": [
        "patch"
      ],
      "units": "K",
      "default": 273.15,
      "description": "vegetation-branch skin temperature, set by CanopyFluxes and used only when frac_veg_nosno = 1 (the untested branch of SoilFluxesMod.F90:483), [K]"
    },
    "hvap": {
      "type": "parameter",
      "units": "J/kg",
      "default": 2501000.0,
      "description": "latent heat of vaporization (clm_varcon hvap = SHR_CONST_LATVAP; SoilFluxesMod.F90:49,379), [J/kg]"
    },
    "sb": {
      "type": "parameter",
      "units": "W/m^2/K^4",
      "default": 5.67e-08,
      "description": "Stefan-Boltzmann constant (clm_varcon sb = SHR_CONST_STEBOL = 5.67e-8, shr_const_mod.F90:23; CESM carries the rounded value rather than the CODATA 5.670374419e-8, and the dump pins 5.67e-8 exactly — see README.md), [W/m2/K4]"
    },
    "tfrz": {
      "type": "parameter",
      "units": "K",
      "default": 273.15,
      "description": "freezing point of water (SHR_CONST_TKFRZ; SoilFluxesMod.F90:245), [K]"
    },
    "dtime": {
      "type": "parameter",
      "units": "s",
      "default": 1800.0,
      "description": "land model time step (get_step_size_real, SoilFluxesMod.F90:165), [s]"
    },
    "t_grnd0": {
      "type": "unknown",
      "shape": [
        "patch"
      ],
      "units": "K",
      "description": "ground temperature of the previous time step (SoilFluxesMod.F90:79,175-181), [K]"
    },
    "tinc": {
      "type": "unknown",
      "shape": [
        "patch"
      ],
      "units": "K",
      "description": "soil-temperature change since the last time step, tinc = t_grnd - t_grnd0 (SoilFluxesMod.F90:77,183), [K]"
    },
    "lw_grnd": {
      "type": "unknown",
      "shape": [
        "patch"
      ],
      "units": "K^4",
      "description": "ground longwave-weighted fourth power of temperature (SoilFluxesMod.F90:80,344-346), [K4]"
    },
    "eflx_sh_grnd_raw": {
      "type": "unknown",
      "shape": [
        "patch"
      ],
      "units": "W/m^2",
      "description": "pre-limit corrected ground sensible heat flux (the correction of SoilFluxesMod.F90:192), [W/m2]"
    },
    "qflx_evap_soi_raw": {
      "type": "unknown",
      "shape": [
        "patch"
      ],
      "units": "kg/m^2/s",
      "description": "pre-limit corrected soil evaporation (SoilFluxesMod.F90:193), [mm/s]"
    },
    "qflx_ev_snow_raw": {
      "type": "unknown",
      "shape": [
        "patch"
      ],
      "units": "kg/m^2/s",
      "description": "pre-limit corrected snow evaporation (SoilFluxesMod.F90:202), [mm/s]"
    },
    "qflx_ev_soil_raw": {
      "type": "unknown",
      "shape": [
        "patch"
      ],
      "units": "kg/m^2/s",
      "description": "pre-limit corrected soil-subarea evaporation (SoilFluxesMod.F90:203), [mm/s]"
    },
    "qflx_ev_h2osfc": {
      "type": "unknown",
      "shape": [
        "patch"
      ],
      "units": "kg/m^2/s",
      "description": "evaporation from surface water (SoilFluxesMod.F90:204; untested: qflx_ev_h2osfc_pre is not dumped), [mm/s]"
    },
    "h2osoi_top": {
      "type": "unknown",
      "shape": [
        "patch"
      ],
      "units": "kg/m^2",
      "description": "total water (liquid + ice) in the top snow/soil layer, h2osoi_liq(c,j) + h2osoi_ice(c,j) (SoilFluxesMod.F90:95-96); written out at :238-248 (the evaporation-ratio denominator) and :287 (the evaporation limit) in the Fortran and named once here, [kg/m2]"
    },
    "evaporation_limit": {
      "type": "unknown",
      "shape": [
        "patch"
      ],
      "units": "kg/m^2/s",
      "description": "top-layer moisture available for evaporation (SoilFluxesMod.F90:81,287), [mm/s]"
    },
    "qflx_ev_snow_excess": {
      "type": "unknown",
      "shape": [
        "patch"
      ],
      "units": "kg/m^2/s",
      "description": "snow-evaporation overshoot evaporation_demand - evaporation_limit of the limiting branch (SoilFluxesMod.F90:288-296), transcribed as max(qflx_ev_snow_raw - evaporation_limit, 0): exact because the limited qflx_ev_snow, the qflx_evap_soi/eflx_sh_grnd corrections and the top-layer partition are all linear in the excess, [mm/s]"
    },
    "qflx_ev_snow": {
      "type": "unknown",
      "shape": [
        "patch"
      ],
      "units": "kg/m^2/s",
      "description": "evaporation flux from snow after correction and moisture limiting (SoilFluxesMod.F90:135,202,288-291), [mm/s]"
    },
    "qflx_ev_soil": {
      "type": "unknown",
      "shape": [
        "patch"
      ],
      "units": "kg/m^2/s",
      "description": "evaporation flux from the soil sub-area (SoilFluxesMod.F90:136,203), [mm/s]"
    },
    "qflx_evap_soi": {
      "type": "unknown",
      "shape": [
        "patch"
      ],
      "units": "kg/m^2/s",
      "description": "soil evaporation (SoilFluxesMod.F90:127,193,291), [mm/s]"
    },
    "eflx_sh_grnd": {
      "type": "unknown",
      "shape": [
        "patch"
      ],
      "units": "W/m^2",
      "description": "sensible heat flux from ground (SoilFluxesMod.F90:139,192,295), [W/m2]"
    },
    "qflx_liqevap_from_top_layer": {
      "type": "unknown",
      "shape": [
        "patch"
      ],
      "units": "kg/m^2/s",
      "description": "rate of liquid water evaporated from the top snow/soil layer (SoilFluxesMod.F90:131,238-242; the limiting-branch values of :292 are the general-branch values evaluated at the limited qflx_ev_snow, so no separate branch is needed), [mm/s]"
    },
    "qflx_solidevap_from_top_layer": {
      "type": "unknown",
      "shape": [
        "patch"
      ],
      "units": "kg/m^2/s",
      "description": "rate of ice sublimated from the top snow/soil layer (SoilFluxesMod.F90:132,243), [mm/s]"
    },
    "qflx_soliddew_to_top_layer": {
      "type": "unknown",
      "shape": [
        "patch"
      ],
      "units": "kg/m^2/s",
      "description": "rate of solid water deposited on the top snow/soil layer as frost (SoilFluxesMod.F90:134,246), [mm/s]"
    },
    "qflx_liqdew_to_top_layer": {
      "type": "unknown",
      "shape": [
        "patch"
      ],
      "units": "kg/m^2/s",
      "description": "rate of liquid water deposited on the top snow/soil layer as dew (SoilFluxesMod.F90:133,248), [mm/s]"
    },
    "lwrad_emission": {
      "type": "unknown",
      "shape": [
        "patch"
      ],
      "units": "W/m^2",
      "description": "ground black-body longwave emission emg*sb*lw_grnd (the stefan_boltzmann_emission template; SoilFluxesMod.F90:350,471), [W/m2]"
    },
    "lwrad_increment": {
      "type": "unknown",
      "shape": [
        "patch"
      ],
      "units": "W/m^2",
      "description": "longwave increment from the temperature change, 4*emg*sb*t_grnd0^3*tinc = stefan_boltzmann_emission_dT(emg, sb, t_grnd0)*tinc, put into the outgoing longwave for conservation (SoilFluxesMod.F90:350,472; the urban eflx_lwrad_del of :361), [W/m2]"
    },
    "eflx_soil_grnd": {
      "type": "unknown",
      "shape": [
        "patch"
      ],
      "units": "W/m^2",
      "description": "soil heat flux, + = into soil (SoilFluxesMod.F90:141,348-351), [W/m2]"
    },
    "eflx_sh_tot": {
      "type": "unknown",
      "shape": [
        "patch"
      ],
      "units": "W/m^2",
      "description": "total sensible heat flux, vegetation + ground + stems (SoilFluxesMod.F90:144,375-376), [W/m2]"
    },
    "qflx_evap_tot": {
      "type": "unknown",
      "shape": [
        "patch"
      ],
      "units": "kg/m^2/s",
      "description": "total evaporation qflx_evap_veg + qflx_evap_soi (SoilFluxesMod.F90:130,377), [mm/s]"
    },
    "eflx_lh_tot": {
      "type": "unknown",
      "shape": [
        "patch"
      ],
      "units": "W/m^2",
      "description": "total latent heat flux (SoilFluxesMod.F90:147,379), [W/m2]"
    },
    "qflx_evap_can": {
      "type": "unknown",
      "shape": [
        "patch"
      ],
      "units": "kg/m^2/s",
      "description": "evaporation from the canopy qflx_evap_veg - qflx_tran_veg (SoilFluxesMod.F90:126,390), [mm/s]"
    },
    "eflx_lh_vege": {
      "type": "unknown",
      "shape": [
        "patch"
      ],
      "units": "W/m^2",
      "description": "canopy evaporation heat flux qflx_evap_can*hvap, reusing the qflx_evap_can intermediate of :390 (SoilFluxesMod.F90:156,391), [W/m2]"
    },
    "eflx_lh_vegt": {
      "type": "unknown",
      "shape": [
        "patch"
      ],
      "units": "W/m^2",
      "description": "canopy transpiration heat flux (SoilFluxesMod.F90:157,392), [W/m2]"
    },
    "eflx_lh_grnd": {
      "type": "unknown",
      "shape": [
        "patch"
      ],
      "units": "W/m^2",
      "description": "ground evaporation heat flux (SoilFluxesMod.F90:158,393), [W/m2]"
    },
    "eflx_lwrad_out": {
      "type": "unknown",
      "shape": [
        "patch"
      ],
      "units": "W/m^2",
      "description": "emitted infrared (longwave) radiation, vegetation + ground (SoilFluxesMod.F90:150,469-472), [W/m2]"
    },
    "eflx_lwrad_net": {
      "type": "unknown",
      "shape": [
        "patch"
      ],
      "units": "W/m^2",
      "description": "net infrared (longwave) radiation, + = to atm (SoilFluxesMod.F90:151,485), [W/m2]"
    },
    "t_skin": {
      "type": "unknown",
      "shape": [
        "patch"
      ],
      "units": "K",
      "description": "patch skin temperature; the bare-ground branch (frac_veg_nosno = 0) is the fourth root of lw_grnd, the vegetation branch is set in CanopyFluxes (SoilFluxesMod.F90:104,483), [K]"
    }
  },
  "equations": [
    {
      "lhs": "t_grnd0",
      "rhs": {
        "op": "ifelse",
        "args": [
          {
            "op": "<",
            "args": [
              "snl",
              {
                "op": "const",
                "args": [],
                "value": 0.0,
                "units": "1"
              }
            ]
          },
          {
            "op": "apply_expression_template",
            "args": [],
            "name": "ground_temperature_blend",
            "bindings": {
              "frac_sno_fluxes": "frac_sno_fluxes",
              "t_snow": "tssbef_snow",
              "frac_h2osfc": "frac_h2osfc",
              "t_soil": "tssbef_soil",
              "t_h2osfc": "t_h2osfc_bef"
            }
          },
          {
            "op": "apply_expression_template",
            "args": [],
            "name": "ground_temperature_blend",
            "bindings": {
              "frac_sno_fluxes": {
                "op": "const",
                "args": [],
                "value": 0.0,
                "units": "1"
              },
              "t_snow": "tssbef_snow",
              "frac_h2osfc": "frac_h2osfc",
              "t_soil": "tssbef_soil",
              "t_h2osfc": "t_h2osfc_bef"
            }
          }
        ]
      }
    },
    {
      "lhs": "tinc",
      "rhs": {
        "op": "-",
        "args": [
          "t_grnd",
          "t_grnd0"
        ]
      }
    },
    {
      "lhs": "lw_grnd",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "ground_temperature_blend",
        "bindings": {
          "frac_sno_fluxes": "frac_sno_fluxes",
          "t_snow": {
            "op": "^",
            "args": [
              "tssbef_snow",
              4
            ]
          },
          "frac_h2osfc": "frac_h2osfc",
          "t_soil": {
            "op": "^",
            "args": [
              "tssbef_soil",
              4
            ]
          },
          "t_h2osfc": {
            "op": "^",
            "args": [
              "t_h2osfc_bef",
              4
            ]
          }
        }
      }
    },
    {
      "lhs": "qflx_ev_snow_raw",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "flux_temperature_correction",
        "bindings": {
          "pre": "qflx_ev_snow_pre",
          "tinc": "tinc",
          "deriv": "cgrndl"
        }
      }
    },
    {
      "lhs": "qflx_ev_soil_raw",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "flux_temperature_correction",
        "bindings": {
          "pre": "qflx_ev_soil_pre",
          "tinc": "tinc",
          "deriv": "cgrndl"
        }
      }
    },
    {
      "lhs": "qflx_ev_h2osfc",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "flux_temperature_correction",
        "bindings": {
          "pre": "qflx_ev_h2osfc_pre",
          "tinc": "tinc",
          "deriv": "cgrndl"
        }
      }
    },
    {
      "lhs": "qflx_evap_soi_raw",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "flux_temperature_correction",
        "bindings": {
          "pre": "qflx_evap_soi_pre",
          "tinc": "tinc",
          "deriv": "cgrndl"
        }
      }
    },
    {
      "lhs": "eflx_sh_grnd_raw",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "flux_temperature_correction",
        "bindings": {
          "pre": "eflx_sh_grnd_pre",
          "tinc": "tinc",
          "deriv": "cgrnds"
        }
      }
    },
    {
      "lhs": "h2osoi_top",
      "rhs": {
        "op": "+",
        "args": [
          "h2osoi_liq_top",
          "h2osoi_ice_top"
        ]
      }
    },
    {
      "lhs": "evaporation_limit",
      "rhs": {
        "op": "/",
        "args": [
          "h2osoi_top",
          {
            "op": "*",
            "args": [
              "frac_sno_fluxes",
              "dtime"
            ]
          }
        ]
      }
    },
    {
      "lhs": "qflx_ev_snow_excess",
      "rhs": {
        "op": "ifelse",
        "args": [
          {
            "op": "<",
            "args": [
              "snl",
              {
                "op": "const",
                "args": [],
                "value": 0.0,
                "units": "1"
              }
            ]
          },
          {
            "op": "max",
            "args": [
              {
                "op": "-",
                "args": [
                  "qflx_ev_snow_raw",
                  "evaporation_limit"
                ]
              },
              0.0
            ]
          },
          0.0
        ]
      }
    },
    {
      "lhs": "qflx_ev_snow",
      "rhs": {
        "op": "-",
        "args": [
          "qflx_ev_snow_raw",
          "qflx_ev_snow_excess"
        ]
      }
    },
    {
      "lhs": "qflx_ev_soil",
      "rhs": "qflx_ev_soil_raw"
    },
    {
      "lhs": "qflx_evap_soi",
      "rhs": {
        "op": "-",
        "args": [
          "qflx_evap_soi_raw",
          {
            "op": "*",
            "args": [
              "frac_sno_fluxes",
              "qflx_ev_snow_excess"
            ]
          }
        ]
      }
    },
    {
      "lhs": "eflx_sh_grnd",
      "rhs": {
        "op": "+",
        "args": [
          "eflx_sh_grnd_raw",
          {
            "op": "*",
            "args": [
              "frac_sno_fluxes",
              "qflx_ev_snow_excess",
              "htvp"
            ]
          }
        ]
      }
    },
    {
      "lhs": "qflx_liqevap_from_top_layer",
      "rhs": {
        "op": "ifelse",
        "args": [
          {
            "op": ">=",
            "args": [
              "qflx_ev_snow",
              0.0
            ]
          },
          {
            "op": "ifelse",
            "args": [
              {
                "op": ">",
                "args": [
                  "h2osoi_top",
                  0.0
                ]
              },
              {
                "op": "max",
                "args": [
                  {
                    "op": "*",
                    "args": [
                      "qflx_ev_snow",
                      {
                        "op": "/",
                        "args": [
                          "h2osoi_liq_top",
                          "h2osoi_top"
                        ]
                      }
                    ]
                  },
                  0.0
                ]
              },
              0.0
            ]
          },
          0.0
        ]
      }
    },
    {
      "lhs": "qflx_solidevap_from_top_layer",
      "rhs": {
        "op": "ifelse",
        "args": [
          {
            "op": ">=",
            "args": [
              "qflx_ev_snow",
              0.0
            ]
          },
          {
            "op": "-",
            "args": [
              "qflx_ev_snow",
              "qflx_liqevap_from_top_layer"
            ]
          },
          0.0
        ]
      }
    },
    {
      "lhs": "qflx_soliddew_to_top_layer",
      "rhs": {
        "op": "ifelse",
        "args": [
          {
            "op": "<",
            "args": [
              "qflx_ev_snow",
              0.0
            ]
          },
          {
            "op": "ifelse",
            "args": [
              {
                "op": "<",
                "args": [
                  "t_grnd",
                  "tfrz"
                ]
              },
              {
                "op": "abs",
                "args": [
                  "qflx_ev_snow"
                ]
              },
              0.0
            ]
          },
          0.0
        ]
      }
    },
    {
      "lhs": "qflx_liqdew_to_top_layer",
      "rhs": {
        "op": "ifelse",
        "args": [
          {
            "op": "<",
            "args": [
              "qflx_ev_snow",
              0.0
            ]
          },
          {
            "op": "ifelse",
            "args": [
              {
                "op": "<",
                "args": [
                  "t_grnd",
                  "tfrz"
                ]
              },
              0.0,
              {
                "op": "abs",
                "args": [
                  "qflx_ev_snow"
                ]
              }
            ]
          },
          0.0
        ]
      }
    },
    {
      "lhs": "lwrad_emission",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "stefan_boltzmann_emission",
        "bindings": {
          "emg": "emg",
          "sb": "sb",
          "T4": "lw_grnd"
        }
      }
    },
    {
      "lhs": "lwrad_increment",
      "rhs": {
        "op": "*",
        "args": [
          {
            "op": "apply_expression_template",
            "args": [],
            "name": "stefan_boltzmann_emission_dT",
            "bindings": {
              "emg": "emg",
              "sb": "sb",
              "T": "t_grnd0"
            }
          },
          "tinc"
        ]
      }
    },
    {
      "lhs": "eflx_soil_grnd",
      "rhs": {
        "op": "-",
        "args": [
          {
            "op": "-",
            "args": [
              {
                "op": "-",
                "args": [
                  {
                    "op": "+",
                    "args": [
                      {
                        "op": "*",
                        "args": [
                          {
                            "op": "-",
                            "args": [
                              {
                                "op": "const",
                                "args": [],
                                "value": 1.0,
                                "units": "1"
                              },
                              "frac_sno_fluxes"
                            ]
                          },
                          "sabg_soil"
                        ]
                      },
                      {
                        "op": "*",
                        "args": [
                          "frac_sno_fluxes",
                          "sabg_snow"
                        ]
                      },
                      "dlrad",
                      {
                        "op": "*",
                        "args": [
                          {
                            "op": "-",
                            "args": [
                              {
                                "op": "const",
                                "args": [],
                                "value": 1.0,
                                "units": "1"
                              },
                              "frac_veg_nosno"
                            ]
                          },
                          "emg",
                          "forc_lwrad"
                        ]
                      }
                    ]
                  },
                  "lwrad_emission"
                ]
              },
              "lwrad_increment"
            ]
          },
          {
            "op": "+",
            "args": [
              "eflx_sh_grnd",
              {
                "op": "*",
                "args": [
                  "qflx_evap_soi",
                  "htvp"
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "lhs": "eflx_sh_tot",
      "rhs": {
        "op": "+",
        "args": [
          "eflx_sh_veg",
          "eflx_sh_grnd",
          "eflx_sh_stem"
        ]
      }
    },
    {
      "lhs": "qflx_evap_tot",
      "rhs": {
        "op": "+",
        "args": [
          "qflx_evap_veg",
          "qflx_evap_soi"
        ]
      }
    },
    {
      "lhs": "eflx_lh_tot",
      "rhs": {
        "op": "+",
        "args": [
          {
            "op": "*",
            "args": [
              "hvap",
              "qflx_evap_veg"
            ]
          },
          {
            "op": "*",
            "args": [
              "htvp",
              "qflx_evap_soi"
            ]
          }
        ]
      }
    },
    {
      "lhs": "qflx_evap_can",
      "rhs": {
        "op": "-",
        "args": [
          "qflx_evap_veg",
          "qflx_tran_veg"
        ]
      }
    },
    {
      "lhs": "eflx_lh_vege",
      "rhs": {
        "op": "*",
        "args": [
          "qflx_evap_can",
          "hvap"
        ]
      }
    },
    {
      "lhs": "eflx_lh_vegt",
      "rhs": {
        "op": "*",
        "args": [
          "qflx_tran_veg",
          "hvap"
        ]
      }
    },
    {
      "lhs": "eflx_lh_grnd",
      "rhs": {
        "op": "*",
        "args": [
          "qflx_evap_soi",
          "htvp"
        ]
      }
    },
    {
      "lhs": "eflx_lwrad_out",
      "rhs": {
        "op": "+",
        "args": [
          "ulrad",
          {
            "op": "*",
            "args": [
              {
                "op": "-",
                "args": [
                  {
                    "op": "const",
                    "args": [],
                    "value": 1.0,
                    "units": "1"
                  },
                  "frac_veg_nosno"
                ]
              },
              {
                "op": "-",
                "args": [
                  {
                    "op": "const",
                    "args": [],
                    "value": 1.0,
                    "units": "1"
                  },
                  "emg"
                ]
              },
              "forc_lwrad"
            ]
          },
          {
            "op": "*",
            "args": [
              {
                "op": "-",
                "args": [
                  {
                    "op": "const",
                    "args": [],
                    "value": 1.0,
                    "units": "1"
                  },
                  "frac_veg_nosno"
                ]
              },
              "lwrad_emission"
            ]
          },
          "lwrad_increment"
        ]
      }
    },
    {
      "lhs": "eflx_lwrad_net",
      "rhs": {
        "op": "-",
        "args": [
          "eflx_lwrad_out",
          "forc_lwrad"
        ]
      }
    },
    {
      "lhs": "t_skin",
      "rhs": {
        "op": "ifelse",
        "args": [
          {
            "op": "<",
            "args": [
              "frac_veg_nosno",
              {
                "op": "const",
                "args": [],
                "value": 0.5,
                "units": "1"
              }
            ]
          },
          {
            "op": "sqrt",
            "args": [
              {
                "op": "sqrt",
                "args": [
                  "lw_grnd"
                ]
              }
            ]
          },
          "t_skin_veg"
        ]
      }
    }
  ],
  "tests": [
    {
      "id": "clm_soilfluxes_step1_p1",
      "description": "Full instantaneous pin against clm_soilfluxes.csv / clm_bareground.csv / clm_soiltemp.csv / clm_surfrad.csv / clm_run_imports.csv (step 1, patch/column 1, a bare istsoil column with snl = -9, frac_sno_fluxes = 1, frac_h2osfc = 0, p == c): the sensible/latent corrections eflx_sh_grnd = pre + tinc*cgrnds, qflx_evap_soi = qflx_ev_snow = pre + tinc*cgrndl (:192-204, the flux_temperature_correction template) reproduce the dumped post-correction fluxes to round-off. The partition (qflx_ev_snow < 0 = dew at t_grnd < tfrz) gives qflx_soliddew_to_top_layer = |qflx_ev_snow| (:246); the snow-evaporation limit (:287) = (h2osoi_liq+h2osoi_ice)/(frac_sno_fluxes*dtime) = 3.0e-3 mm/s far exceeds the dew rate. With forc_lwrad = 147.651925373077091 W/m2 (the reference-run column longwave; equal to the DATM Faxa_lwdn export of the previous coupling step), eflx_soil_grnd = (1-fs)*sabg_soil + fs*sabg_snow + dlrad + (1-fvn)*emg*forc_lwrad - emg*sb*lw_grnd - 4*emg*sb*t_grnd0^3*tinc - (eflx_sh_grnd + qflx_evap_soi*htvp) (:348-351) and eflx_lwrad_net = eflx_lwrad_out - forc_lwrad (:469-485) reproduce the dump to 7.9e-15/4.6e-16 rel — the pin that fixes sb = SHR_CONST_STEBOL = 5.67e-8 exactly. t_skin = sqrt(sqrt(lw_grnd)) (:483) and the totals eflx_sh_tot/eflx_lh_tot/eflx_lh_grnd (:375-393) are exact. The assertions on lw_grnd, qflx_ev_snow, qflx_ev_soil, evaporation_limit, qflx_soliddew_to_top_layer, lwrad_emission, lwrad_increment, eflx_lwrad_out and qflx_evap_tot are derived (not a dump column): expected values computed offline from the pinned dump inputs (double-precision evaluations of the transcribed equations, cross-checked against every dump column they touch, all 192 rows, max rel err 7.9e-15); the clm_soilfluxes.csv dump-column pins here are eflx_sh_grnd, qflx_evap_soi, eflx_soil_grnd, eflx_lwrad_net, t_skin, eflx_sh_tot, eflx_lh_tot, eflx_lh_grnd.",
      "time_span": {
        "start": 0.0,
        "end": 0.0
      },
      "parameter_overrides": {
        "t_grnd": [
          247.77377716490702
        ],
        "tssbef_snow": [
          247.89440355155978
        ],
        "tssbef_soil": [
          225.7397141306359
        ],
        "frac_sno_fluxes": [
          1.0
        ],
        "snl": [
          -9.0
        ],
        "cgrnds": [
          1.9611256907043075
        ],
        "cgrndl": [
          1.1011571922539559e-07
        ],
        "eflx_sh_grnd_pre": [
          -3.3512507787768677
        ],
        "qflx_evap_soi_pre": [
          -1.6525552233152218e-07
        ],
        "qflx_ev_snow_pre": [
          -1.6525552233152218e-07
        ],
        "qflx_ev_soil_pre": [
          -1.1695644090013035e-06
        ],
        "h2osoi_liq_top": [
          0.0
        ],
        "h2osoi_ice_top": [
          5.394391177197031
        ],
        "sabg_soil": [
          318.26510217091743
        ],
        "sabg_snow": [
          64.1600439131343
        ],
        "emg": [
          0.97
        ],
        "htvp": [
          2834700.0
        ],
        "forc_lwrad": [
          147.6519253730771
        ]
      },
      "tolerance": {
        "rel": 1e-12,
        "abs": 0.0
      },
      "assertions": [
        {
          "variable": "lw_grnd",
          "time": 0.0,
          "expected": 3776303482.541607,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "eflx_sh_grnd",
          "time": 0.0,
          "expected": -3.587814284618425,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "qflx_evap_soi",
          "time": 0.0,
          "expected": -1.7853838365535142e-07,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "qflx_ev_snow",
          "time": 0.0,
          "expected": -1.7853838365535142e-07,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "qflx_ev_soil",
          "time": 0.0,
          "expected": -1.1828472703251328e-06,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "evaporation_limit",
          "time": 0.0,
          "expected": 0.002996883987331684,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "qflx_soliddew_to_top_layer",
          "time": 0.0,
          "expected": 1.7853838365535142e-07,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "lwrad_emission",
          "time": 0.0,
          "expected": 207.69291523630582,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "lwrad_increment",
          "time": 0.0,
          "expected": -0.404256740602416,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "eflx_soil_grnd",
          "time": 0.0,
          "expected": 4.187670070081924,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "eflx_lwrad_out",
          "time": 0.0,
          "expected": 211.71821625689572,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "eflx_lwrad_net",
          "time": 0.0,
          "expected": 64.06629088381862,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "t_skin",
          "time": 0.0,
          "expected": 247.89440355155978,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "eflx_sh_tot",
          "time": 0.0,
          "expected": -3.587814284618425,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "qflx_evap_tot",
          "time": 0.0,
          "expected": -1.7853838365535142e-07,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "eflx_lh_tot",
          "time": 0.0,
          "expected": -0.5061027561478246,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "eflx_lh_grnd",
          "time": 0.0,
          "expected": -0.5061027561478246,
          "coords": {
            "patch": 1
          }
        }
      ]
    },
    {
      "id": "clm_soilfluxes_step12_p1",
      "description": "Same full pin as clm_soilfluxes_step1_p1 at the last traced step (step 12, patch/column 1): a smaller tinc = -2.42e-2 K and weaker cgrnds/cgrndl (0.779 W/m2/K, 4.09e-8 kg/m2/s/K) with forc_lwrad = 145.790538681878843 W/m2 (the reference-run column longwave). eflx_soil_grnd and eflx_lwrad_net reproduce the dump to round-off (the sb = 5.67e-8 pin at a second longwave value), t_skin = sqrt(sqrt(lw_grnd)) = t_grnd0 exactly, and the dew partition again gives qflx_soliddew_to_top_layer = |qflx_ev_snow| with the evaporation limit (h2osoi_liq+h2osoi_ice)/(frac_sno_fluxes*dtime) = 3.07e-3 far above the dew rate. The assertions on lw_grnd, qflx_ev_snow, qflx_ev_soil, evaporation_limit, qflx_soliddew_to_top_layer, lwrad_emission and lwrad_increment are derived (not a dump column), computed offline (double-precision evaluation of the transcribed equations at the pinned dump inputs); the dump-column pins here are eflx_sh_grnd, qflx_evap_soi, eflx_soil_grnd, eflx_lwrad_net, t_skin, eflx_sh_tot, eflx_lh_tot, eflx_lh_grnd.",
      "time_span": {
        "start": 0.0,
        "end": 0.0
      },
      "parameter_overrides": {
        "t_grnd": [
          247.13401208806636
        ],
        "tssbef_snow": [
          247.15818449118703
        ],
        "tssbef_soil": [
          225.73969815711732
        ],
        "frac_sno_fluxes": [
          1.0
        ],
        "snl": [
          -9.0
        ],
        "cgrnds": [
          0.7788284678783256
        ],
        "cgrndl": [
          4.0861423323444676e-08
        ],
        "eflx_sh_grnd_pre": [
          -1.9452263636969935
        ],
        "qflx_evap_soi_pre": [
          -9.938880946623314e-08
        ],
        "qflx_ev_snow_pre": [
          -9.938880946623314e-08
        ],
        "qflx_ev_soil_pre": [
          -4.6715936334259764e-07
        ],
        "h2osoi_liq_top": [
          0.0
        ],
        "h2osoi_ice_top": [
          5.522571558462928
        ],
        "sabg_soil": [
          324.1745719964555
        ],
        "sabg_snow": [
          65.37756364869436
        ],
        "emg": [
          0.97
        ],
        "htvp": [
          2834700.0
        ],
        "forc_lwrad": [
          145.79053868187884
        ]
      },
      "tolerance": {
        "rel": 1e-12,
        "abs": 0.0
      },
      "assertions": [
        {
          "variable": "lw_grnd",
          "time": 0.0,
          "expected": 3731642113.9278054,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "eflx_sh_grnd",
          "time": 0.0,
          "expected": -1.9640525193844045,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "qflx_evap_soi",
          "time": 0.0,
          "expected": -1.0037652826289192e-07,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "qflx_ev_snow",
          "time": 0.0,
          "expected": -1.0037652826289192e-07,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "qflx_ev_soil",
          "time": 0.0,
          "expected": -4.681470821392565e-07,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "evaporation_limit",
          "time": 0.0,
          "expected": 0.0030680953102571818,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "qflx_soliddew_to_top_layer",
          "time": 0.0,
          "expected": 1.0037652826289192e-07,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "lwrad_emission",
          "time": 0.0,
          "expected": 205.23658462391535,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "lwrad_increment",
          "time": 0.0,
          "expected": -0.08028965690701262,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "eflx_soil_grnd",
          "time": 0.0,
          "expected": 3.886681067159726,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "eflx_lwrad_net",
          "time": 0.0,
          "expected": 63.739472445585854,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "t_skin",
          "time": 0.0,
          "expected": 247.15818449118703,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "eflx_sh_tot",
          "time": 0.0,
          "expected": -1.9640525193844045,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "eflx_lh_tot",
          "time": 0.0,
          "expected": -0.28453734466681974,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "eflx_lh_grnd",
          "time": 0.0,
          "expected": -0.28453734466681974,
          "coords": {
            "patch": 1
          }
        }
      ]
    },
    {
      "id": "clm_soilfluxes_step7_p8",
      "description": "Correction/partition/totals pin against the dumps at step 7, patch/column 8 (forc_lwrad = 126.60598072969478 W/m2, the column longwave recorded by the reference run at ComputeGroundHeatFluxAndDeriv, so eflx_soil_grnd and eflx_lwrad_net are pinned against their dump columns). tinc = +2.44e-1 K here (warming, unlike the step-1/12 dew rows), pinning the corrections at a positive tinc; everything else reproduces the dumps to round-off: the corrected fluxes, the evaporation limit 3.36e-3 with excess 0, the solid-dew partition, lw_grnd and its emission/increment terms, t_skin = sqrt(sqrt(lw_grnd)) and the totals. The assertions on lw_grnd, qflx_ev_snow, qflx_ev_soil, evaporation_limit, qflx_soliddew_to_top_layer, lwrad_emission and lwrad_increment are derived (not a dump column), computed offline (double-precision evaluation of the transcribed equations at the pinned dump inputs); the dump-column pins here are eflx_sh_grnd, qflx_evap_soi, eflx_soil_grnd, eflx_lwrad_net, t_skin, eflx_sh_tot, eflx_lh_tot, eflx_lh_grnd.",
      "time_span": {
        "start": 0.0,
        "end": 0.0
      },
      "parameter_overrides": {
        "t_grnd": [
          242.30872360447742
        ],
        "tssbef_snow": [
          242.06476227957234
        ],
        "tssbef_soil": [
          222.30208398501452
        ],
        "frac_sno_fluxes": [
          1.0
        ],
        "snl": [
          -9.0
        ],
        "cgrnds": [
          1.0452930285911821
        ],
        "cgrndl": [
          3.4331929473336907e-08
        ],
        "eflx_sh_grnd_pre": [
          -5.8184685502667435
        ],
        "qflx_evap_soi_pre": [
          -2.3457837878455574e-07
        ],
        "qflx_ev_snow_pre": [
          -2.3457837878455574e-07
        ],
        "qflx_ev_soil_pre": [
          -5.277144747510951e-07
        ],
        "h2osoi_liq_top": [
          0.0
        ],
        "h2osoi_ice_top": [
          6.056633807312533
        ],
        "sabg_soil": [
          332.2777989931928
        ],
        "sabg_snow": [
          65.14215529003829
        ],
        "emg": [
          0.97
        ],
        "htvp": [
          2834700.0
        ],
        "forc_lwrad": [
          126.60598072969478
        ]
      },
      "tolerance": {
        "rel": 1e-12,
        "abs": 0.0
      },
      "assertions": [
        {
          "variable": "lw_grnd",
          "time": 0.0,
          "expected": 3433414940.5415196,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "eflx_sh_grnd",
          "time": 0.0,
          "expected": -5.563457478097558,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "qflx_evap_soi",
          "time": 0.0,
          "expected": -2.262027157836915e-07,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "qflx_ev_snow",
          "time": 0.0,
          "expected": -2.262027157836915e-07,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "qflx_ev_soil",
          "time": 0.0,
          "expected": -5.193388117502309e-07,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "evaporation_limit",
          "time": 0.0,
          "expected": 0.003364796559618074,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "qflx_soliddew_to_top_layer",
          "time": 0.0,
          "expected": 2.262027157836915e-07,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "lwrad_emission",
          "time": 0.0,
          "expected": 188.83438831484304,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "lwrad_increment",
          "time": 0.0,
          "expected": 0.7612555768481423,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "t_skin",
          "time": 0.0,
          "expected": 242.06476227957234,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "eflx_sh_tot",
          "time": 0.0,
          "expected": -5.563457478097558,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "eflx_lh_tot",
          "time": 0.0,
          "expected": -0.6412168384320304,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "eflx_lh_grnd",
          "time": 0.0,
          "expected": -0.6412168384320304,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "eflx_soil_grnd",
          "time": 0.0,
          "expected": 4.5589870226806095,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "eflx_lwrad_net",
          "time": 0.0,
          "expected": 66.78784258388725,
          "coords": {
            "patch": 1
          }
        }
      ]
    },
    {
      "id": "clm_soilfluxes_step6_p16",
      "description": "Same pin as clm_soilfluxes_step7_p8 (forc_lwrad = 91.00777399057506 W/m2 from the reference run) at the coldest traced column (step 6, patch/column 16, t_grnd = 238.5 K): the largest positive tinc of the pins (+2.92e-1 K) exercises the corrections at their strongest, and the partition is again solid dew. The assertions on lw_grnd, qflx_ev_snow, qflx_ev_soil, evaporation_limit, qflx_soliddew_to_top_layer, lwrad_emission and lwrad_increment are derived (not a dump column), computed offline (double-precision evaluation of the transcribed equations at the pinned dump inputs); the dump-column pins here are eflx_sh_grnd, qflx_evap_soi, eflx_soil_grnd, eflx_lwrad_net, t_skin, eflx_sh_tot, eflx_lh_tot, eflx_lh_grnd.",
      "time_span": {
        "start": 0.0,
        "end": 0.0
      },
      "parameter_overrides": {
        "t_grnd": [
          238.53466413879502
        ],
        "tssbef_snow": [
          238.24249833913655
        ],
        "tssbef_soil": [
          222.678103915075
        ],
        "frac_sno_fluxes": [
          1.0
        ],
        "snl": [
          -9.0
        ],
        "cgrnds": [
          1.0124180375533374
        ],
        "cgrndl": [
          2.2407825600089854e-08
        ],
        "eflx_sh_grnd_pre": [
          -5.5099897668570055
        ],
        "qflx_evap_soi_pre": [
          -1.1922819313155388e-07
        ],
        "qflx_ev_snow_pre": [
          -1.1922819313155388e-07
        ],
        "qflx_ev_soil_pre": [
          -2.922604659549866e-07
        ],
        "h2osoi_liq_top": [
          0.0
        ],
        "h2osoi_ice_top": [
          5.4516551178967445
        ],
        "sabg_soil": [
          459.8344780309611
        ],
        "sabg_snow": [
          98.65032001799422
        ],
        "emg": [
          0.97
        ],
        "htvp": [
          2834700.0
        ],
        "forc_lwrad": [
          91.00777399057506
        ]
      },
      "tolerance": {
        "rel": 1e-12,
        "abs": 0.0
      },
      "assertions": [
        {
          "variable": "lw_grnd",
          "time": 0.0,
          "expected": 3221639479.710566,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "eflx_sh_grnd",
          "time": 0.0,
          "expected": -5.2141958413265685,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "qflx_evap_soi",
          "time": 0.0,
          "expected": -1.1268139284649595e-07,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "qflx_ev_snow",
          "time": 0.0,
          "expected": -1.1268139284649595e-07,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "qflx_ev_soil",
          "time": 0.0,
          "expected": -2.8571366566992867e-07,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "evaporation_limit",
          "time": 0.0,
          "expected": 0.0030286972877204142,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "qflx_soliddew_to_top_layer",
          "time": 0.0,
          "expected": 1.1268139284649595e-07,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "lwrad_emission",
          "time": 0.0,
          "expected": 177.1869497446014,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "lwrad_increment",
          "time": 0.0,
          "expected": 0.869164271228998,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "t_skin",
          "time": 0.0,
          "expected": 238.24249833913655,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "eflx_sh_tot",
          "time": 0.0,
          "expected": -5.2141958413265685,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "eflx_lh_tot",
          "time": 0.0,
          "expected": -0.319417944301962,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "eflx_lh_grnd",
          "time": 0.0,
          "expected": -0.319417944301962,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "eflx_soil_grnd",
          "time": 0.0,
          "expected": 14.405360558650155,
          "coords": {
            "patch": 1
          }
        },
        {
          "variable": "eflx_lwrad_net",
          "time": 0.0,
          "expected": 89.77857324497265,
          "coords": {
            "patch": 1
          }
        }
      ]
    }
  ]
}