NTiedtkeShallowAscent
The SHALLOW phase of `cutypen`, the convection trigger of WRF's New Tiedtke scheme (`phys/physics_mmm/cu_ntiedtke.F90:1221-1515`, WRF 4.8): a test parcel launched from the lowest layer with a surface-flux excess, lifted through the column, and classified as a shallow cloud (`ktype = 2`) if it rises into cloud and stops within 200 hPa of its base. It runs before the deep departure-level scan, which can override its verdict (the tape shows this: the ascent runs at 14 of the 16 dumped steps and classifies as shallow at only one).
Description
The SHALLOW phase of cutypen, the convection trigger of WRF’s New Tiedtke scheme (phys/physics_mmm/cu_ntiedtke.F90:1221-1515, WRF 4.8): a test parcel launched from the lowest layer with a surface-flux excess, lifted through the column, and classified as a shallow cloud (ktype = 2) if it rises into cloud and stops within 200 hPa of its base. It runs before the deep departure-level scan, which can override its verdict (the tape shows this: the ascent runs at 14 of the 16 dumped steps and classifies as shallow at only one).
LAUNCH. When the surface virtual-temperature flux is upward the parcel leaves the lowest layer with velocity w = 1.2 (0.001 + 0.6 (phi/(rho T)) (hfx/cp + 0.608 T qfx))^(1/3), a Deardorff convective velocity, and with temperature and humidity excesses 1.5 hfx/(rho cp w) and 1.5 qfx/(rho w) over the lowest half level; its kinetic energy starts at w^2/2. Otherwise nothing is launched and every array is left as cuinin handed it.
ONE LEVEL OF THE ASCENT is two operations. First the parcel ENTRAINS from half level k+1 to k: its dry static energy s and humidity q obey the entraining-plume ODE dphi/dz = eta (phi_env - phi) with eta = 0.8/z + 2e-4 (Jakob and Siebesma 2003), integrated by one implicit-trapezoidal step – the routine’s dh = (coef (dhen[k+1] + dhen[k]) + (1 - coef) dh[k+1])/(1 + coef) is exactly that step with the rate frozen at the upper end, and it is taken here, through parcel_templates.esm’s entrain_step (the per-level step this component shares with deep_departure_scan.esm), by the shared EarthSciDiscretizations plume stencil (grids/column_nonuniform_1d/stencils/entraining_plume_lev_interior, EarthSciDiscretizations PR #45) passed eta
at both ends. Then the parcel is PROJECTED onto saturation at the half-level pressure by cuadjtqn’s condensation-only adjustment (up_adjust_T/up_adjust_q of moist_thermodynamics.esm), the condensed water accumulates (capped at 5e-3) and the latent heat of any change of ice fraction is added back into s. The kinetic energy obeys dK/dz = 2 (B - eta K) with B the buoyant acceleration averaged over the step, the same stencil again (environment 0, rate 2 eta, source 2 B), and the parcel stops at the first level where K goes negative.
WHY THE SWEEP IS FORCED FROM THE TAPE (read this before changing it). The parcel’s (s, q) is carried from level to level THROUGH the projection: the s and q leaving level k are each a function of BOTH the s and the q leaving level k+1, because the saturation adjustment mixes them. That is a cycle between two distinct variables, and esm-spec 4.3.1.1 admits a recurrence on one variable only; the Rust binding rejects the two-variable form with observed_cycle (probed 2026-11-11 on the be1fafe6d binary: a
= a
\[k-1\]+ b
\[k-1\], b
\[k\]= a
\[k-1\]b
\[k-1\]), and the recurrence RFC keeps the rejection deliberately. EarthSciAST #701 proposes the extension that would admit it: a recurrence GROUP of equations over one cell frame whose every cross-read is strictly earlier along one shared axis. None of the three ways out this repository uses for apparent cycles applies (CLAUDE.md): it does not unroll, because each step goes through a nonlinear projection; it is not a quadrature rule in disguise, because the projection sits between steps – that is exactly why PR #45’s lowering rule cannot be used whole and only its STEP is; and there is no conserved sum to carry, because the moist static energy cp T + L q is conserved by the adjustment only while L is constant, which fails in the mixed-phase range the parcel climbs through and is broken outright by the freezing term. So the component steps each level from the TAPED state of the level below (dh_tr, q_tr, T_tr, the sh_* tape at cutypen’s shallow exit) rather than from its own output. Every operation of the step map – entrainment, projection, condensate, freezing, buoyancy, kinetic energy, stall, cloud base, cloud top, verdict – is transcribed and pinned; what is not yet expressed is feeding the step’s output back as its next input. When the spec admits such a group (EarthSciAST #701), dh_c, q_c and T_c become reads of dh_up, q_up and T_up at k+1 and nothing else moves. The condensate and the kinetic energy ARE single-variable recurrences and are written as such (l_climb, ke_climb): neither feeds back into the projection.
The closed sweep was checked outside the format against the same tape: a float64 reimplementation that carries its own state from level to level reproduces sh_ptu, sh_pqu, sh_dh to 2e-15 and sh_kup, sh_zbuo to 1e-13 of their profile maxima over all 16 steps and both tile columns, with kcbot, kctop, ktype and wbase identical, so the forcing hides no drift.
CLIMB AXIS. A recurrence sweeps upward in index (esm-spec 4.3.1.1), and the scheme indexes top-down, so the two sweeps live on climb (j = 1 the lowest layer, kernel level NLEV + 1 - j) and are read back in kernel order as l_up and ke_up. Everything else stays in the kernel’s top-down ordering, as in the rest of this scheme’s components.
CLOUD BASE AND TOP. The base is looked for at the first level where the parcel holds condensate: the lifting condensation level is extrapolated from the half level below by one Newton step (lcl_pressure) and the base placed at whichever adjacent half level is nearer – to the condensation pressure TRUNCATED to whole pascals, because cutypen stores it in an integer (FORTRAN_BUGS N114) – the lower one marked by writing 1e-8 of condensate into it, a marker the cloud-top test then reads. The top is the stall level if the parcel stalls with condensate below it. A cloud deeper than 200 hPa is not shallow; the deep scan deals with it.
The OUTPUT arrays (*_out, lab_out, kcbot, kctop, ktype, wbase) reproduce what cutypen leaves in its locals at the end of the shallow phase, including the levels it never touches (left as cuinin handed them, or zero for the arrays cutypen zero-initialises), because that is what the tape records and what the deep phase then overwrites. The routine’s copy into cutu/cuqu/culu/culab for jk >= kctop is not exposed: the deep phase that follows overwrites the same arrays.
Constants: the seven cu_ntiedtke_init arguments from lib/wrf_constants.esm at binary64; the routine’s inline literals (0.6 = float32(1.5*0.4), 0.001, 1.2, 1.5, 0.8, 2e-4, 5e-3, 1e-8) at their binary32 roundings in ntiedtke_parameters.esm (FORTRAN_BUGS N109).
Neighbour reads of mass-level fields use the nearest in-range value at the vertical boundaries. The ascent uses its prescribed seed and interior stencil over the original range.
Reference
- Jakob, C., and A. P. Siebesma (2003). A new subcloud model for mass-flux convection schemes: influence on triggering, updraft properties, and model climate. Mon. Wea. Rev. 131, 2765-2778.
- Zhang, C., and Y. Wang (2017). Projected future changes of tropical cyclone activity over the western North and South Pacific in a 20-km-mesh regional climate model. J. Climate 30, 5923-5941 (the New Tiedtke scheme as implemented in WRF).
Observed
| Name | Units | Default | Description |
|---|---|---|---|
T | K | Layer temperature pten (kernel top-down ordering, k = 1 the model top). | |
q | kg/kg | Layer water-vapour mixing ratio pqen. | |
p | Pa | Layer pressure pap. | |
phi | m^2/s^2 | Layer geopotential pgeo. | |
T_h | K | Environmental temperature at half level k, ptenh (cuinin’s output: the half-level value at the top of layer k). | |
q_h | kg/kg | Environmental mixing ratio at half level k, pqenh. | |
T0 | K | The parcel temperature cuinin hands cutypen (cutu). Read only where the shallow ascent does not reach: the routine leaves those levels as it found them. | |
q0 | kg/kg | The parcel mixing ratio cuinin hands cutypen (cuqu); as T0. | |
l0 | kg/kg | The parcel condensate cuinin hands cutypen (culu). Its value in the LOWEST layer seeds the condensate sweep: cutypen never resets plu(klev). | |
lab0 | 1 | The level labels cuinin hands cutypen (culab, 0/1/2). Kept where the ascent does not relabel. | |
T_tr | K | TEACHER TRAJECTORY: the parcel temperature cutypen carries out of each level, as taped (sh_ptu). Read only one level below the level being stepped, as the state the step starts from; see the component description for why the sweep is forced from the tape rather than closed on itself. | |
q_tr | kg/kg | TEACHER TRAJECTORY: the parcel mixing ratio carried out of each level (sh_pqu); as T_tr. | |
dh_tr | J/kg | TEACHER TRAJECTORY: the parcel dry static energy carried out of each level (sh_dh); as T_tr. | |
phi_h | m^2/s^2 | Geopotential of the NLEV+1 half levels pgeoh (phi_h\[NLEV+1\] the surface). | |
p_h | Pa | Pressure of the NLEV+1 half levels paph. | |
hfx | W/m^2 | Upward surface sensible-heat flux. | |
qfx | kg/(m^2*s) | Upward surface moisture flux. | |
rho_sfc | kg/m^3 | Air density of the lowest layer, from its pressure and virtual temperature. | |
buoy_flux | K*kg/(m^2*s) | Minus the surface virtual-temperature flux, -hfx/cp - (R_v/R_d - 1) T q_flux: NEGATIVE when the surface heats and moistens the air, which is the only case in which the shallow test parcel is launched. It is cutypen’s part2, a mass flux of virtual temperature (hfx/cp and T qfx are both per unit area per second, not divided by density), so it carries K kg/(m^2 s); the 0.6 phi/(rho T) in w_launch is what turns it into a velocity cube. Declared K*m/s until 2026-11-20, which esm validate rejected in w_launch; no value moves. | |
active | 1 | 1 when the surface buoyancy flux is upward (buoy_flux < 0) and the parcel is launched, 0 otherwise – cutypen’s if (part2 < 0) / loflag. | |
w_launch | m/s | Launch velocity of the test parcel: 1.2 times the cube root of the convective velocity cube 0.001 - (0.6 phi/(rho T)) * buoy_flux (a Deardorff w* evaluated at the lowest model level). Zero when the parcel is not launched. | |
dT_excess | K | Temperature excess given to the parcel at launch, max(1.5 hfx/(rho cp w_launch), 0). | |
dq_excess | kg/kg | Moisture excess given to the parcel at launch, max(1.5 qfx/(rho w_launch), 0). | |
eta | 1/m | Entrainment rate of the shallow test parcel, eta = 0.8/z + 2e-4 with z = phi/g the layer height (Jakob and Siebesma 2003’s 1/z sub-cloud entrainment). | |
dz | m | Height of the step from half level k+1 to half level k, (phi_h\[k\] - phi_h\[k+1\])/g. | |
s_env | J/kg | Environmental dry static energy at half level k, phi_h + cp T_h (cutypen’s dhen). | |
Tv_env | K | Environmental virtual temperature at half level k (cutypen’s vten). | |
dh_c | J/kg | Parcel dry static energy carried OUT of level k: at the lowest layer the launch value s_env + cp dT_excess, above it the teacher trajectory dh_tr. | |
q_c | kg/kg | Parcel mixing ratio carried out of level k: q_h + dq_excess at the lowest layer, the teacher trajectory above. | |
T_c | K | Parcel temperature carried out of level k: (dh_c - phi_h)/cp at the lowest layer, the teacher trajectory above. | |
dh_mix | J/kg | Parcel dry static energy after entraining from half level k+1 to k: one implicit-trapezoidal step of ds/dz = eta (s_env - s), the shared ESD plume stencil with the rate frozen at the upper end as the scheme writes it (eta\[k\] at both ends). | |
q_mix | kg/kg | Parcel mixing ratio after entraining, the same step on dq/dz = eta (q_h - q). This is cutypen’s zqold, the humidity before condensation. | |
T_mix | K | Parcel temperature after entraining, (dh_mix - phi_h)/cp. | |
T_up | K | Parcel temperature after condensing to saturation at the half-level pressure: cuadjtqn’s kcall = 1 (condensation-only) adjustment, up_adjust_T of moist_thermodynamics.esm. This is what cutypen carries out of level k. | |
q_up | kg/kg | Parcel mixing ratio after condensing, up_adjust_q. | |
dq_cond | kg/kg | Vapour condensed at level k, max(q_mix - q_up, 0). | |
dl_frz | kg/kg | Condensate that changes phase between half levels k+1 and k: the newly condensed water times the change of the ICE fraction 1 - foealfa between the two levels’ parcel temperatures (cutypen’s zlglac). Its latent heat L_f is added to the parcel. | |
dh_up | J/kg | Parcel dry static energy carried out of level k, re-formed from the adjusted temperature plus the freezing heat: phi_h + cp (T_up + (L_f/cp) dl_frz). | |
l_climb | kg/kg | Parcel condensate along the ascent, CLIMB-ordered (j = 1 the lowest layer, kernel level NLEV + 1 - j): the running total of dq_cond capped at 5e-3, seeded with cuinin’s condensate in the lowest layer. A genuine recurrence – the cap makes it a clamped running sum, which does not reassociate – along an ascending axis because esm-spec 4.3.1.1 sweeps upward in index and the kernel indexes top-down. | |
l_up | kg/kg | The condensate sweep in kernel ordering, l_climb\[NLEV + 1 - k\]. | |
Tv_up | K | Parcel virtual temperature with condensate loading, T_up (1 + (R_v/R_d - 1) q_up - l_up) + (L_f/cp) dl_frz. | |
buoy | 1 | Fractional virtual-temperature excess of the parcel over the environment at half level k; at the lowest layer the launch parcel’s, which carries no condensate. | |
buoy_acc | m/s^2 | Buoyant acceleration over the step from k+1 to k, g times the mean of the two half levels’ buoyancy (cutypen’s abuoy). | |
ke_climb | m^2/s^2 | Parcel kinetic energy per unit mass along the ascent, CLIMB-ordered: dK/dz = 2 (B - eta K) integrated by the same ESD plume stencil (environment 0, rate 2 eta, source 2 B), seeded with w_launch^2/2. A single-variable recurrence: nothing it reads depends on it. | |
ke_up | m^2/s^2 | The kinetic-energy sweep in kernel ordering, ke_climb\[NLEV + 1 - k\]. | |
n_stalled_below | 1 | Number of levels strictly below level k, down to NLEV - 1, at which the parcel’s kinetic energy is negative. Zero exactly when the parcel is still rising as it reaches k. | |
reached | 1 | 1 at the levels cutypen’s shallow loop visits: 2 <= k <= NLEV - 1, the parcel launched, and still rising below k. The level at which it stalls is itself visited. | |
stall | 1 | 1 at the level where the parcel’s kinetic energy first goes negative (at most one level). | |
k_stall | 1 | Kernel level at which the parcel stalls, 0 if it never does. | |
p_lcl | Pa | Pressure of the parcel’s lifting condensation level extrapolated from half level k+1 (one Newton step of q = q_sat along a dry adiabat, lcl_pressure). Used only at the cloud base. | |
p_lcl_int | Pa | The condensation-level pressure as cutypen HOLDS it: truncated to whole pascals, because the local it is stored in, zcbase, is declared INTEGER (FORTRAN_BUGS N114). The base placement compares distances from this truncated value; floor is Fortran’s truncation for a positive pressure. | |
is_base | 1 | 1 at the cloud-base candidate: the first level of the ascent at which the parcel holds condensate – cutypen’s plu(jk) > 0 .and. klab(jk+1) == 1. | |
base_low | 1 | 1 where the condensation level lies nearer half level k+1 than half level k, so the base is placed at the LOWER half level (provided the parcel was still rising there). | |
base_high | 1 | 1 where the condensation level lies nearer half level k (or equidistant), so the base is placed at k (provided the parcel is still rising there). | |
kcbot | 1 | Cloud-base level: k+1 (capped at NLEV - 1) under base_low, k under base_high, NLEV when no base is found. | |
l_out | kg/kg | Parcel condensate as cutypen leaves it: the sweep where the ascent reached (and in the lowest layer), cuinin’s value elsewhere, and the 1e-8 MARKER written into the half level below a base placed low. | |
rises_into_cloud | 1 | 1 when the parcel stalls with condensate in the half level below the stall – the marker counts – which is cutypen’s plu(jk+1) > 0 cloud-top test. | |
kctop | 1 | Cloud-top level: the stall level when the parcel rises into cloud, NLEV otherwise. | |
cloud_depth | Pa | Pressure depth between the cloud-base and cloud-top half levels. | |
shallow | 1 | 1 when the test parcel makes a SHALLOW cloud: it rises into cloud and the cloud is no deeper than zdnoprc = 200 hPa. Provisional: the deep departure-level scan that follows in cutypen can override it. | |
ktype | 1 | Convection type after the shallow phase: 2 shallow, 0 none. | |
wbase | m/s | Cloud-base vertical velocity of a shallow cloud, sqrt(2 K) at the base; 0 when not shallow. | |
dh_out | J/kg | Parcel dry static energy as cutypen leaves it (sh_dh): launch value in the lowest layer, dh_up where the ascent reached, 0 elsewhere. | |
s_env_out | J/kg | Environmental dry static energy as cutypen leaves it (sh_dhen): set only where the ascent passes. | |
T_out | K | Parcel temperature as cutypen leaves it (sh_ptu). | |
q_out | kg/kg | Parcel mixing ratio as cutypen leaves it (sh_pqu). | |
ke_out | m^2/s^2 | Parcel kinetic energy as cutypen leaves it (sh_kup). | |
Tv_out | K | Parcel virtual temperature as cutypen leaves it (sh_vptu). | |
Tv_env_out | K | Environmental virtual temperature as cutypen leaves it (sh_vten). | |
buoy_out | 1 | Parcel buoyancy as cutypen leaves it (sh_zbuo). | |
buoy_acc_out | m/s^2 | Buoyant acceleration as cutypen leaves it (sh_abuoy): set only above the lowest layer. | |
marked | 1 | 1 at the half levels the cloud-base placement labels 2 directly: the base, and under base_low the level above it. | |
lab_out | 1 | Level labels as cutypen leaves them (sh_klab): 1 for the launch layer; at a level the ascent reached, 2 if the parcel holds condensate there and 1 if not – except the stall level, which keeps cuinin’s label – with the base placement’s direct labels on top; cuinin’s label everywhere else. |
Observed expressions
$$ T = \mathrm{input_sh_T}\left(\right) $$Layer temperature pten (kernel top-down ordering, k = 1 the model top).
$$ q = \mathrm{input_sh_q}\left(\right) $$Layer water-vapour mixing ratio pqen.
$$ p = \mathrm{input_sh_p}\left(\right) $$Layer pressure pap.
$$ phi = \mathrm{input_sh_phi}\left(\right) $$Layer geopotential pgeo.
$$ T_{h} = \mathrm{input_sh_T_h}\left(\right) $$Environmental temperature at half level k, ptenh (cuinin’s output: the half-level value at the top of layer k).
$$ q_{h} = \mathrm{input_sh_q_h}\left(\right) $$Environmental mixing ratio at half level k, pqenh.
$$ T0 = \mathrm{input_sh_T0}\left(\right) $$The parcel temperature cuinin hands cutypen (cutu). Read only where the shallow ascent does not reach: the routine leaves those levels as it found them.
$$ q0 = \mathrm{input_sh_q0}\left(\right) $$The parcel mixing ratio cuinin hands cutypen (cuqu); as T0.
$$ l0 = \mathrm{input_sh_l0}\left(\right) $$The parcel condensate cuinin hands cutypen (culu). Its value in the LOWEST layer seeds the condensate sweep: cutypen never resets plu(klev).
$$ lab0 = \mathrm{input_sh_lab0}\left(\right) $$The level labels cuinin hands cutypen (culab, 0/1/2). Kept where the ascent does not relabel.
$$ T_{tr} = \mathrm{input_sh_T_tr}\left(\right) $$TEACHER TRAJECTORY: the parcel temperature cutypen carries out of each level, as taped (sh_ptu). Read only one level below the level being stepped, as the state the step starts from; see the component description for why the sweep is forced from the tape rather than closed on itself.
$$ q_{tr} = \mathrm{input_sh_q_tr}\left(\right) $$TEACHER TRAJECTORY: the parcel mixing ratio carried out of each level (sh_pqu); as T_tr.
$$ dh_{tr} = \mathrm{input_sh_dh_tr}\left(\right) $$TEACHER TRAJECTORY: the parcel dry static energy carried out of each level (sh_dh); as T_tr.
$$ phi_{h} = \mathrm{input_sh_phi_h}\left(\right) $$Geopotential of the NLEV+1 half levels pgeoh (phi_h\[NLEV+1\] the surface).
$$ p_{h} = \mathrm{input_sh_p_h}\left(\right) $$Pressure of the NLEV+1 half levels paph.
$$ hfx = \mathrm{input_sh_hfx}\left(\right) $$Upward surface sensible-heat flux.
$$ qfx = \mathrm{input_sh_qfx}\left(\right) $$Upward surface moisture flux.
$$ rho_{sfc} = \frac{\mathrm{index}\left(p, NLEV\right)}{wrf.r_{d} \cdot \mathrm{index}\left(T, NLEV\right) \cdot \left(1.0 + par.vtmpc1 \cdot \mathrm{index}\left(q, NLEV\right)\right)} $$Air density of the lowest layer, from its pressure and virtual temperature.
$$ buoy_{flux} = \left(-hfx\right) \cdot par.rcpd - par.vtmpc1 \cdot \mathrm{index}\left(T, NLEV\right) \cdot qfx $$Minus the surface virtual-temperature flux, -hfx/cp - (R_v/R_d - 1) T q_flux: NEGATIVE when the surface heats and moistens the air, which is the only case in which the shallow test parcel is launched. It is cutypen’s part2, a mass flux of virtual temperature (hfx/cp and T qfx are both per unit area per second, not divided by density), so it carries K kg/(m^2 s); the 0.6 phi/(rho T) in w_launch is what turns it into a velocity cube. Declared K*m/s until 2026-11-20, which esm validate rejected in w_launch; no value moves.
$$ active = \mathrm{ifelse}\left(\mathrm{<}\left(buoy_{flux}, 0.0\right), 1.0, 0.0\right) $$1 when the surface buoyancy flux is upward (buoy_flux < 0) and the parcel is launched, 0 otherwise – cutypen’s if (part2 < 0) / loflag.
Launch velocity of the test parcel: 1.2 times the cube root of the convective velocity cube 0.001 - (0.6 phi/(rho T)) * buoy_flux (a Deardorff w* evaluated at the lowest model level). Zero when the parcel is not launched.
$$ dT_{excess} = \mathrm{ifelse}\left(\mathrm{>}\left(active, 0.0\right), \mathrm{max}\left(\frac{par.ascent_{excess\,coef} \cdot hfx}{rho_{sfc} \cdot wrf.cp \cdot w_{launch}}, 0.0\right), 0.0\right) $$Temperature excess given to the parcel at launch, max(1.5 hfx/(rho cp w_launch), 0).
$$ dq_{excess} = \mathrm{ifelse}\left(\mathrm{>}\left(active, 0.0\right), \mathrm{max}\left(\frac{par.ascent_{excess\,coef} \cdot qfx}{rho_{sfc} \cdot w_{launch}}, 0.0\right), 0.0\right) $$Moisture excess given to the parcel at launch, max(1.5 qfx/(rho w_launch), 0).
$$ eta = \mathrm{faq}\left(\right) $$Entrainment rate of the shallow test parcel, eta = 0.8/z + 2e-4 with z = phi/g the layer height (Jakob and Siebesma 2003’s 1/z sub-cloud entrainment).
$$ dz = \mathrm{faq}\left(\right) $$Height of the step from half level k+1 to half level k, (phi_h\[k\] - phi_h\[k+1\])/g.
$$ s_{env} = \mathrm{faq}\left(\right) $$Environmental dry static energy at half level k, phi_h + cp T_h (cutypen’s dhen).
$$ Tv_{env} = \mathrm{faq}\left(\right) $$Environmental virtual temperature at half level k (cutypen’s vten).
$$ dh_{c} = \mathrm{faq}\left(\right) $$Parcel dry static energy carried OUT of level k: at the lowest layer the launch value s_env + cp dT_excess, above it the teacher trajectory dh_tr.
$$ q_{c} = \mathrm{faq}\left(\right) $$Parcel mixing ratio carried out of level k: q_h + dq_excess at the lowest layer, the teacher trajectory above.
$$ T_{c} = \mathrm{faq}\left(\right) $$Parcel temperature carried out of level k: (dh_c - phi_h)/cp at the lowest layer, the teacher trajectory above.
$$ dh_{mix} = \mathrm{faq}\left(\right) $$Parcel dry static energy after entraining from half level k+1 to k: one implicit-trapezoidal step of ds/dz = eta (s_env - s), the shared ESD plume stencil with the rate frozen at the upper end as the scheme writes it (eta\[k\] at both ends).
$$ q_{mix} = \mathrm{faq}\left(\right) $$Parcel mixing ratio after entraining, the same step on dq/dz = eta (q_h - q). This is cutypen’s zqold, the humidity before condensation.
$$ T_{mix} = \mathrm{faq}\left(\right) $$Parcel temperature after entraining, (dh_mix - phi_h)/cp.
$$ T_{up} = \mathrm{faq}\left(\right) $$Parcel temperature after condensing to saturation at the half-level pressure: cuadjtqn’s kcall = 1 (condensation-only) adjustment, up_adjust_T of moist_thermodynamics.esm. This is what cutypen carries out of level k.
Parcel mixing ratio after condensing, up_adjust_q.
Vapour condensed at level k, max(q_mix - q_up, 0).
$$ dl_{frz} = \mathrm{faq}\left(\right) $$Condensate that changes phase between half levels k+1 and k: the newly condensed water times the change of the ICE fraction 1 - foealfa between the two levels’ parcel temperatures (cutypen’s zlglac). Its latent heat L_f is added to the parcel.
$$ dh_{up} = \mathrm{faq}\left(\right) $$Parcel dry static energy carried out of level k, re-formed from the adjusted temperature plus the freezing heat: phi_h + cp (T_up + (L_f/cp) dl_frz).
$$ l_{climb} = \mathrm{faq}\left(\right) $$Parcel condensate along the ascent, CLIMB-ordered (j = 1 the lowest layer, kernel level NLEV + 1 - j): the running total of dq_cond capped at 5e-3, seeded with cuinin’s condensate in the lowest layer. A genuine recurrence – the cap makes it a clamped running sum, which does not reassociate – along an ascending axis because esm-spec 4.3.1.1 sweeps upward in index and the kernel indexes top-down.
$$ l_{up} = \mathrm{faq}\left(\right) $$The condensate sweep in kernel ordering, l_climb\[NLEV + 1 - k\].
$$ Tv_{up} = \mathrm{faq}\left(\right) $$Parcel virtual temperature with condensate loading, T_up (1 + (R_v/R_d - 1) q_up - l_up) + (L_f/cp) dl_frz.
$$ buoy = \mathrm{faq}\left(\right) $$Fractional virtual-temperature excess of the parcel over the environment at half level k; at the lowest layer the launch parcel’s, which carries no condensate.
$$ buoy_{acc} = \mathrm{faq}\left(\right) $$Buoyant acceleration over the step from k+1 to k, g times the mean of the two half levels’ buoyancy (cutypen’s abuoy).
$$ ke_{climb} = \mathrm{faq}\left(\right) $$Parcel kinetic energy per unit mass along the ascent, CLIMB-ordered: dK/dz = 2 (B - eta K) integrated by the same ESD plume stencil (environment 0, rate 2 eta, source 2 B), seeded with w_launch^2/2. A single-variable recurrence: nothing it reads depends on it.
$$ ke_{up} = \mathrm{faq}\left(\right) $$The kinetic-energy sweep in kernel ordering, ke_climb\[NLEV + 1 - k\].
$$ n_{stalled\,below} = \mathrm{faq}\left(\right) $$Number of levels strictly below level k, down to NLEV - 1, at which the parcel’s kinetic energy is negative. Zero exactly when the parcel is still rising as it reaches k.
$$ reached = \mathrm{faq}\left(\right) $$1 at the levels cutypen’s shallow loop visits: 2 <= k <= NLEV - 1, the parcel launched, and still rising below k. The level at which it stalls is itself visited.
$$ stall = \mathrm{faq}\left(\right) $$1 at the level where the parcel’s kinetic energy first goes negative (at most one level).
$$ k_{stall} = \mathrm{faq}\left(\right) $$Kernel level at which the parcel stalls, 0 if it never does.
$$ p_{lcl} = \mathrm{faq}\left(\right) $$Pressure of the parcel’s lifting condensation level extrapolated from half level k+1 (one Newton step of q = q_sat along a dry adiabat, lcl_pressure). Used only at the cloud base.
The condensation-level pressure as cutypen HOLDS it: truncated to whole pascals, because the local it is stored in, zcbase, is declared INTEGER (FORTRAN_BUGS N114). The base placement compares distances from this truncated value; floor is Fortran’s truncation for a positive pressure.
1 at the cloud-base candidate: the first level of the ascent at which the parcel holds condensate – cutypen’s plu(jk) > 0 .and. klab(jk+1) == 1.
1 where the condensation level lies nearer half level k+1 than half level k, so the base is placed at the LOWER half level (provided the parcel was still rising there).
$$ base_{high} = \mathrm{faq}\left(\right) $$1 where the condensation level lies nearer half level k (or equidistant), so the base is placed at k (provided the parcel is still rising there).
$$ kcbot = \mathrm{faq}\left(\right) + \mathrm{faq}\left(\right) + \mathrm{ifelse}\left(\mathrm{faq}\left(\right) = 0.0, NLEV, 0.0\right) $$Cloud-base level: k+1 (capped at NLEV - 1) under base_low, k under base_high, NLEV when no base is found.
$$ l_{out} = \mathrm{faq}\left(\right) $$Parcel condensate as cutypen leaves it: the sweep where the ascent reached (and in the lowest layer), cuinin’s value elsewhere, and the 1e-8 MARKER written into the half level below a base placed low.
$$ rises_{into\,cloud} = \mathrm{ifelse}\left(\mathrm{>}\left(\mathrm{faq}\left(\right), 0.0\right), 1.0, 0.0\right) $$1 when the parcel stalls with condensate in the half level below the stall – the marker counts – which is cutypen’s plu(jk+1) > 0 cloud-top test.
Cloud-top level: the stall level when the parcel rises into cloud, NLEV otherwise.
$$ cloud_{depth} = \mathrm{faq}\left(\right) - \mathrm{faq}\left(\right) $$Pressure depth between the cloud-base and cloud-top half levels.
$$ shallow = \mathrm{ifelse}\left(\mathrm{and}\left(\mathrm{>}\left(rises_{into\,cloud}, 0.0\right), \mathrm{not}\left(\mathrm{>}\left(cloud_{depth}, par.zdnoprc\right)\right)\right), 1.0, 0.0\right) $$1 when the test parcel makes a SHALLOW cloud: it rises into cloud and the cloud is no deeper than zdnoprc = 200 hPa. Provisional: the deep departure-level scan that follows in cutypen can override it.
$$ ktype = 2.0 \cdot shallow $$Convection type after the shallow phase: 2 shallow, 0 none.
$$ wbase = \mathrm{ifelse}\left(\mathrm{>}\left(shallow, 0.0\right), \sqrt{\mathrm{max}\left(2.0 \cdot \mathrm{faq}\left(\right), 0.0\right)}, 0.0\right) $$Cloud-base vertical velocity of a shallow cloud, sqrt(2 K) at the base; 0 when not shallow.
$$ dh_{out} = \mathrm{faq}\left(\right) $$Parcel dry static energy as cutypen leaves it (sh_dh): launch value in the lowest layer, dh_up where the ascent reached, 0 elsewhere.
$$ s_{env\,out} = \mathrm{faq}\left(\right) $$Environmental dry static energy as cutypen leaves it (sh_dhen): set only where the ascent passes.
$$ T_{out} = \mathrm{faq}\left(\right) $$Parcel temperature as cutypen leaves it (sh_ptu).
$$ q_{out} = \mathrm{faq}\left(\right) $$Parcel mixing ratio as cutypen leaves it (sh_pqu).
$$ ke_{out} = \mathrm{faq}\left(\right) $$Parcel kinetic energy as cutypen leaves it (sh_kup).
$$ Tv_{out} = \mathrm{faq}\left(\right) $$Parcel virtual temperature as cutypen leaves it (sh_vptu).
$$ Tv_{env\,out} = \mathrm{faq}\left(\right) $$Environmental virtual temperature as cutypen leaves it (sh_vten).
$$ buoy_{out} = \mathrm{faq}\left(\right) $$Parcel buoyancy as cutypen leaves it (sh_zbuo).
$$ buoy_{acc\,out} = \mathrm{faq}\left(\right) $$Buoyant acceleration as cutypen leaves it (sh_abuoy): set only above the lowest layer.
$$ marked = \mathrm{faq}\left(\right) $$1 at the half levels the cloud-base placement labels 2 directly: the base, and under base_low the level above it.
$$ lab_{out} = \mathrm{faq}\left(\right) $$Level labels as cutypen leaves them (sh_klab): 1 for the launch layer; at a level the ascent reached, 2 if the parcel holds condensate there and 1 if not – except the stall level, which keeps cuinin’s label – with the base placement’s direct labels on top; cuinin’s label everywhere else.
Raw .esm
Raw .esm JSON (this component)
{
"expression_template_imports": [
{
"ref": "./parcel_templates.esm"
}
],
"subsystems": {
"wrf": {
"ref": "../../../lib/wrf_constants.esm"
},
"par": {
"ref": "./ntiedtke_parameters.esm"
}
},
"variables": {
"T": {
"type": "unknown",
"units": "K",
"shape": [
"lev"
],
"description": "Layer temperature pten (kernel top-down ordering, k = 1 the model top)."
},
"q": {
"type": "unknown",
"units": "kg/kg",
"shape": [
"lev"
],
"description": "Layer water-vapour mixing ratio pqen."
},
"p": {
"type": "unknown",
"units": "Pa",
"shape": [
"lev"
],
"description": "Layer pressure pap."
},
"phi": {
"type": "unknown",
"units": "m^2/s^2",
"shape": [
"lev"
],
"description": "Layer geopotential pgeo."
},
"T_h": {
"type": "unknown",
"units": "K",
"shape": [
"lev"
],
"description": "Environmental temperature at half level k, ptenh (cuinin's output: the half-level value at the top of layer k)."
},
"q_h": {
"type": "unknown",
"units": "kg/kg",
"shape": [
"lev"
],
"description": "Environmental mixing ratio at half level k, pqenh."
},
"T0": {
"type": "unknown",
"units": "K",
"shape": [
"lev"
],
"description": "The parcel temperature cuinin hands cutypen (cutu). Read only where the shallow ascent does not reach: the routine leaves those levels as it found them."
},
"q0": {
"type": "unknown",
"units": "kg/kg",
"shape": [
"lev"
],
"description": "The parcel mixing ratio cuinin hands cutypen (cuqu); as T0."
},
"l0": {
"type": "unknown",
"units": "kg/kg",
"shape": [
"lev"
],
"description": "The parcel condensate cuinin hands cutypen (culu). Its value in the LOWEST layer seeds the condensate sweep: cutypen never resets plu(klev)."
},
"lab0": {
"type": "unknown",
"units": "1",
"shape": [
"lev"
],
"description": "The level labels cuinin hands cutypen (culab, 0/1/2). Kept where the ascent does not relabel."
},
"T_tr": {
"type": "unknown",
"units": "K",
"shape": [
"lev"
],
"description": "TEACHER TRAJECTORY: the parcel temperature cutypen carries out of each level, as taped (sh_ptu). Read only one level below the level being stepped, as the state the step starts from; see the component description for why the sweep is forced from the tape rather than closed on itself."
},
"q_tr": {
"type": "unknown",
"units": "kg/kg",
"shape": [
"lev"
],
"description": "TEACHER TRAJECTORY: the parcel mixing ratio carried out of each level (sh_pqu); as T_tr."
},
"dh_tr": {
"type": "unknown",
"units": "J/kg",
"shape": [
"lev"
],
"description": "TEACHER TRAJECTORY: the parcel dry static energy carried out of each level (sh_dh); as T_tr."
},
"phi_h": {
"type": "unknown",
"units": "m^2/s^2",
"shape": [
"lev_nodes"
],
"description": "Geopotential of the NLEV+1 half levels pgeoh (phi_h[NLEV+1] the surface)."
},
"p_h": {
"type": "unknown",
"units": "Pa",
"shape": [
"lev_nodes"
],
"description": "Pressure of the NLEV+1 half levels paph."
},
"hfx": {
"type": "unknown",
"units": "W/m^2",
"description": "Upward surface sensible-heat flux."
},
"qfx": {
"type": "unknown",
"units": "kg/(m^2*s)",
"description": "Upward surface moisture flux."
},
"rho_sfc": {
"type": "unknown",
"units": "kg/m^3",
"description": "Air density of the lowest layer, from its pressure and virtual temperature."
},
"buoy_flux": {
"type": "unknown",
"units": "K*kg/(m^2*s)",
"description": "Minus the surface virtual-temperature flux, -hfx/cp - (R_v/R_d - 1) T q_flux: NEGATIVE when the surface heats and moistens the air, which is the only case in which the shallow test parcel is launched. It is cutypen's part2, a mass flux of virtual temperature (hfx/cp and T qfx are both per unit area per second, not divided by density), so it carries K kg/(m^2 s); the 0.6 phi/(rho T) in w_launch is what turns it into a velocity cube. Declared K*m/s until 2026-11-20, which esm validate rejected in w_launch; no value moves."
},
"active": {
"type": "unknown",
"units": "1",
"description": "1 when the surface buoyancy flux is upward (buoy_flux < 0) and the parcel is launched, 0 otherwise -- cutypen's `if (part2 < 0)` / loflag."
},
"w_launch": {
"type": "unknown",
"units": "m/s",
"description": "Launch velocity of the test parcel: 1.2 times the cube root of the convective velocity cube 0.001 - (0.6 phi/(rho T)) * buoy_flux (a Deardorff w* evaluated at the lowest model level). Zero when the parcel is not launched."
},
"dT_excess": {
"type": "unknown",
"units": "K",
"description": "Temperature excess given to the parcel at launch, max(1.5 hfx/(rho cp w_launch), 0)."
},
"dq_excess": {
"type": "unknown",
"units": "kg/kg",
"description": "Moisture excess given to the parcel at launch, max(1.5 qfx/(rho w_launch), 0)."
},
"eta": {
"type": "unknown",
"units": "1/m",
"shape": [
"lev"
],
"description": "Entrainment rate of the shallow test parcel, eta = 0.8/z + 2e-4 with z = phi/g the layer height (Jakob and Siebesma 2003's 1/z sub-cloud entrainment)."
},
"dz": {
"type": "unknown",
"units": "m",
"shape": [
"lev"
],
"description": "Height of the step from half level k+1 to half level k, (phi_h[k] - phi_h[k+1])/g."
},
"s_env": {
"type": "unknown",
"units": "J/kg",
"shape": [
"lev"
],
"description": "Environmental dry static energy at half level k, phi_h + cp T_h (cutypen's dhen)."
},
"Tv_env": {
"type": "unknown",
"units": "K",
"shape": [
"lev"
],
"description": "Environmental virtual temperature at half level k (cutypen's vten)."
},
"dh_c": {
"type": "unknown",
"units": "J/kg",
"shape": [
"lev"
],
"description": "Parcel dry static energy carried OUT of level k: at the lowest layer the launch value s_env + cp dT_excess, above it the teacher trajectory dh_tr."
},
"q_c": {
"type": "unknown",
"units": "kg/kg",
"shape": [
"lev"
],
"description": "Parcel mixing ratio carried out of level k: q_h + dq_excess at the lowest layer, the teacher trajectory above."
},
"T_c": {
"type": "unknown",
"units": "K",
"shape": [
"lev"
],
"description": "Parcel temperature carried out of level k: (dh_c - phi_h)/cp at the lowest layer, the teacher trajectory above."
},
"dh_mix": {
"type": "unknown",
"units": "J/kg",
"shape": [
"lev"
],
"description": "Parcel dry static energy after entraining from half level k+1 to k: one implicit-trapezoidal step of ds/dz = eta (s_env - s), the shared ESD plume stencil with the rate frozen at the upper end as the scheme writes it (eta[k] at both ends)."
},
"q_mix": {
"type": "unknown",
"units": "kg/kg",
"shape": [
"lev"
],
"description": "Parcel mixing ratio after entraining, the same step on dq/dz = eta (q_h - q). This is cutypen's zqold, the humidity before condensation."
},
"T_mix": {
"type": "unknown",
"units": "K",
"shape": [
"lev"
],
"description": "Parcel temperature after entraining, (dh_mix - phi_h)/cp."
},
"T_up": {
"type": "unknown",
"units": "K",
"shape": [
"lev"
],
"description": "Parcel temperature after condensing to saturation at the half-level pressure: cuadjtqn's kcall = 1 (condensation-only) adjustment, `up_adjust_T` of moist_thermodynamics.esm. This is what cutypen carries out of level k."
},
"q_up": {
"type": "unknown",
"units": "kg/kg",
"shape": [
"lev"
],
"description": "Parcel mixing ratio after condensing, `up_adjust_q`."
},
"dq_cond": {
"type": "unknown",
"units": "kg/kg",
"shape": [
"lev"
],
"description": "Vapour condensed at level k, max(q_mix - q_up, 0)."
},
"dl_frz": {
"type": "unknown",
"units": "kg/kg",
"shape": [
"lev"
],
"description": "Condensate that changes phase between half levels k+1 and k: the newly condensed water times the change of the ICE fraction 1 - foealfa between the two levels' parcel temperatures (cutypen's zlglac). Its latent heat L_f is added to the parcel."
},
"dh_up": {
"type": "unknown",
"units": "J/kg",
"shape": [
"lev"
],
"description": "Parcel dry static energy carried out of level k, re-formed from the adjusted temperature plus the freezing heat: phi_h + cp (T_up + (L_f/cp) dl_frz)."
},
"l_climb": {
"type": "unknown",
"units": "kg/kg",
"shape": [
"climb"
],
"description": "Parcel condensate along the ascent, CLIMB-ordered (j = 1 the lowest layer, kernel level NLEV + 1 - j): the running total of dq_cond capped at 5e-3, seeded with cuinin's condensate in the lowest layer. A genuine recurrence -- the cap makes it a clamped running sum, which does not reassociate -- along an ascending axis because esm-spec 4.3.1.1 sweeps upward in index and the kernel indexes top-down."
},
"l_up": {
"type": "unknown",
"units": "kg/kg",
"shape": [
"lev"
],
"description": "The condensate sweep in kernel ordering, l_climb[NLEV + 1 - k]."
},
"Tv_up": {
"type": "unknown",
"units": "K",
"shape": [
"lev"
],
"description": "Parcel virtual temperature with condensate loading, T_up (1 + (R_v/R_d - 1) q_up - l_up) + (L_f/cp) dl_frz."
},
"buoy": {
"type": "unknown",
"units": "1",
"shape": [
"lev"
],
"description": "Fractional virtual-temperature excess of the parcel over the environment at half level k; at the lowest layer the launch parcel's, which carries no condensate."
},
"buoy_acc": {
"type": "unknown",
"units": "m/s^2",
"shape": [
"lev"
],
"description": "Buoyant acceleration over the step from k+1 to k, g times the mean of the two half levels' buoyancy (cutypen's abuoy)."
},
"ke_climb": {
"type": "unknown",
"units": "m^2/s^2",
"shape": [
"climb"
],
"description": "Parcel kinetic energy per unit mass along the ascent, CLIMB-ordered: dK/dz = 2 (B - eta K) integrated by the same ESD plume stencil (environment 0, rate 2 eta, source 2 B), seeded with w_launch^2/2. A single-variable recurrence: nothing it reads depends on it."
},
"ke_up": {
"type": "unknown",
"units": "m^2/s^2",
"shape": [
"lev"
],
"description": "The kinetic-energy sweep in kernel ordering, ke_climb[NLEV + 1 - k]."
},
"n_stalled_below": {
"type": "unknown",
"units": "1",
"shape": [
"lev"
],
"description": "Number of levels strictly below level k, down to NLEV - 1, at which the parcel's kinetic energy is negative. Zero exactly when the parcel is still rising as it reaches k."
},
"reached": {
"type": "unknown",
"units": "1",
"shape": [
"lev"
],
"description": "1 at the levels cutypen's shallow loop visits: 2 <= k <= NLEV - 1, the parcel launched, and still rising below k. The level at which it stalls is itself visited."
},
"stall": {
"type": "unknown",
"units": "1",
"shape": [
"lev"
],
"description": "1 at the level where the parcel's kinetic energy first goes negative (at most one level)."
},
"k_stall": {
"type": "unknown",
"units": "1",
"description": "Kernel level at which the parcel stalls, 0 if it never does."
},
"p_lcl": {
"type": "unknown",
"units": "Pa",
"shape": [
"lev"
],
"description": "Pressure of the parcel's lifting condensation level extrapolated from half level k+1 (one Newton step of q = q_sat along a dry adiabat, `lcl_pressure`). Used only at the cloud base."
},
"p_lcl_int": {
"type": "unknown",
"units": "Pa",
"shape": [
"lev"
],
"description": "The condensation-level pressure as cutypen HOLDS it: truncated to whole pascals, because the local it is stored in, `zcbase`, is declared INTEGER (FORTRAN_BUGS N114). The base placement compares distances from this truncated value; floor is Fortran's truncation for a positive pressure."
},
"is_base": {
"type": "unknown",
"units": "1",
"shape": [
"lev"
],
"description": "1 at the cloud-base candidate: the first level of the ascent at which the parcel holds condensate -- cutypen's `plu(jk) > 0 .and. klab(jk+1) == 1`."
},
"base_low": {
"type": "unknown",
"units": "1",
"shape": [
"lev"
],
"description": "1 where the condensation level lies nearer half level k+1 than half level k, so the base is placed at the LOWER half level (provided the parcel was still rising there)."
},
"base_high": {
"type": "unknown",
"units": "1",
"shape": [
"lev"
],
"description": "1 where the condensation level lies nearer half level k (or equidistant), so the base is placed at k (provided the parcel is still rising there)."
},
"kcbot": {
"type": "unknown",
"units": "1",
"description": "Cloud-base level: k+1 (capped at NLEV - 1) under base_low, k under base_high, NLEV when no base is found."
},
"l_out": {
"type": "unknown",
"units": "kg/kg",
"shape": [
"lev"
],
"description": "Parcel condensate as cutypen leaves it: the sweep where the ascent reached (and in the lowest layer), cuinin's value elsewhere, and the 1e-8 MARKER written into the half level below a base placed low."
},
"rises_into_cloud": {
"type": "unknown",
"units": "1",
"description": "1 when the parcel stalls with condensate in the half level below the stall -- the marker counts -- which is cutypen's `plu(jk+1) > 0` cloud-top test."
},
"kctop": {
"type": "unknown",
"units": "1",
"description": "Cloud-top level: the stall level when the parcel rises into cloud, NLEV otherwise."
},
"cloud_depth": {
"type": "unknown",
"units": "Pa",
"description": "Pressure depth between the cloud-base and cloud-top half levels."
},
"shallow": {
"type": "unknown",
"units": "1",
"description": "1 when the test parcel makes a SHALLOW cloud: it rises into cloud and the cloud is no deeper than zdnoprc = 200 hPa. Provisional: the deep departure-level scan that follows in cutypen can override it."
},
"ktype": {
"type": "unknown",
"units": "1",
"description": "Convection type after the shallow phase: 2 shallow, 0 none."
},
"wbase": {
"type": "unknown",
"units": "m/s",
"description": "Cloud-base vertical velocity of a shallow cloud, sqrt(2 K) at the base; 0 when not shallow."
},
"dh_out": {
"type": "unknown",
"units": "J/kg",
"shape": [
"lev"
],
"description": "Parcel dry static energy as cutypen leaves it (sh_dh): launch value in the lowest layer, dh_up where the ascent reached, 0 elsewhere."
},
"s_env_out": {
"type": "unknown",
"units": "J/kg",
"shape": [
"lev"
],
"description": "Environmental dry static energy as cutypen leaves it (sh_dhen): set only where the ascent passes."
},
"T_out": {
"type": "unknown",
"units": "K",
"shape": [
"lev"
],
"description": "Parcel temperature as cutypen leaves it (sh_ptu)."
},
"q_out": {
"type": "unknown",
"units": "kg/kg",
"shape": [
"lev"
],
"description": "Parcel mixing ratio as cutypen leaves it (sh_pqu)."
},
"ke_out": {
"type": "unknown",
"units": "m^2/s^2",
"shape": [
"lev"
],
"description": "Parcel kinetic energy as cutypen leaves it (sh_kup)."
},
"Tv_out": {
"type": "unknown",
"units": "K",
"shape": [
"lev"
],
"description": "Parcel virtual temperature as cutypen leaves it (sh_vptu)."
},
"Tv_env_out": {
"type": "unknown",
"units": "K",
"shape": [
"lev"
],
"description": "Environmental virtual temperature as cutypen leaves it (sh_vten)."
},
"buoy_out": {
"type": "unknown",
"units": "1",
"shape": [
"lev"
],
"description": "Parcel buoyancy as cutypen leaves it (sh_zbuo)."
},
"buoy_acc_out": {
"type": "unknown",
"units": "m/s^2",
"shape": [
"lev"
],
"description": "Buoyant acceleration as cutypen leaves it (sh_abuoy): set only above the lowest layer."
},
"marked": {
"type": "unknown",
"units": "1",
"shape": [
"lev"
],
"description": "1 at the half levels the cloud-base placement labels 2 directly: the base, and under base_low the level above it."
},
"lab_out": {
"type": "unknown",
"units": "1",
"shape": [
"lev"
],
"description": "Level labels as cutypen leaves them (sh_klab): 1 for the launch layer; at a level the ascent reached, 2 if the parcel holds condensate there and 1 if not -- except the stall level, which keeps cuinin's label -- with the base placement's direct labels on top; cuinin's label everywhere else."
}
},
"equations": [
{
"lhs": "T",
"rhs": {
"op": "input_sh_T",
"args": []
}
},
{
"lhs": "q",
"rhs": {
"op": "input_sh_q",
"args": []
}
},
{
"lhs": "p",
"rhs": {
"op": "input_sh_p",
"args": []
}
},
{
"lhs": "phi",
"rhs": {
"op": "input_sh_phi",
"args": []
}
},
{
"lhs": "T_h",
"rhs": {
"op": "input_sh_T_h",
"args": []
}
},
{
"lhs": "q_h",
"rhs": {
"op": "input_sh_q_h",
"args": []
}
},
{
"lhs": "T0",
"rhs": {
"op": "input_sh_T0",
"args": []
}
},
{
"lhs": "q0",
"rhs": {
"op": "input_sh_q0",
"args": []
}
},
{
"lhs": "l0",
"rhs": {
"op": "input_sh_l0",
"args": []
}
},
{
"lhs": "lab0",
"rhs": {
"op": "input_sh_lab0",
"args": []
}
},
{
"lhs": "T_tr",
"rhs": {
"op": "input_sh_T_tr",
"args": []
}
},
{
"lhs": "q_tr",
"rhs": {
"op": "input_sh_q_tr",
"args": []
}
},
{
"lhs": "dh_tr",
"rhs": {
"op": "input_sh_dh_tr",
"args": []
}
},
{
"lhs": "phi_h",
"rhs": {
"op": "input_sh_phi_h",
"args": []
}
},
{
"lhs": "p_h",
"rhs": {
"op": "input_sh_p_h",
"args": []
}
},
{
"lhs": "hfx",
"rhs": {
"op": "input_sh_hfx",
"args": []
}
},
{
"lhs": "qfx",
"rhs": {
"op": "input_sh_qfx",
"args": []
}
},
{
"lhs": "rho_sfc",
"rhs": {
"op": "/",
"args": [
{
"op": "index",
"args": [
"p",
"NLEV"
]
},
{
"op": "*",
"args": [
"wrf.r_d",
{
"op": "*",
"args": [
{
"op": "index",
"args": [
"T",
"NLEV"
]
},
{
"op": "+",
"args": [
1.0,
{
"op": "*",
"args": [
"par.vtmpc1",
{
"op": "index",
"args": [
"q",
"NLEV"
]
}
]
}
]
}
]
}
]
}
]
}
},
{
"lhs": "buoy_flux",
"rhs": {
"op": "-",
"args": [
{
"op": "*",
"args": [
{
"op": "-",
"args": [
"hfx"
]
},
"par.rcpd"
]
},
{
"op": "*",
"args": [
"par.vtmpc1",
{
"op": "index",
"args": [
"T",
"NLEV"
]
},
"qfx"
]
}
]
}
},
{
"lhs": "active",
"rhs": {
"op": "ifelse",
"args": [
{
"op": "<",
"args": [
"buoy_flux",
0.0
]
},
1.0,
0.0
]
}
},
{
"lhs": "w_launch",
"rhs": {
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"active",
0.0
]
},
{
"op": "*",
"args": [
"par.ascent_conw_coef",
{
"op": "^",
"args": [
{
"op": "-",
"args": [
"par.ascent_w3_floor",
{
"op": "*",
"args": [
{
"op": "/",
"args": [
{
"op": "*",
"args": [
"par.ascent_wstar_coef",
{
"op": "index",
"args": [
"phi",
"NLEV"
]
}
]
},
{
"op": "*",
"args": [
"rho_sfc",
{
"op": "index",
"args": [
"T",
"NLEV"
]
}
]
}
]
},
"buoy_flux"
]
}
]
},
"par.t13"
]
}
]
},
0.0
]
}
},
{
"lhs": "dT_excess",
"rhs": {
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"active",
0.0
]
},
{
"op": "max",
"args": [
{
"op": "/",
"args": [
{
"op": "*",
"args": [
"par.ascent_excess_coef",
"hfx"
]
},
{
"op": "*",
"args": [
"rho_sfc",
"wrf.cp",
"w_launch"
]
}
]
},
0.0
]
},
0.0
]
}
},
{
"lhs": "dq_excess",
"rhs": {
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"active",
0.0
]
},
{
"op": "max",
"args": [
{
"op": "/",
"args": [
{
"op": "*",
"args": [
"par.ascent_excess_coef",
"qfx"
]
},
{
"op": "*",
"args": [
"rho_sfc",
"w_launch"
]
}
]
},
0.0
]
},
0.0
]
}
},
{
"lhs": "eta",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "+",
"args": [
{
"op": "/",
"args": [
"par.ascent_eta_coef",
{
"op": "*",
"args": [
{
"op": "index",
"args": [
"phi",
"k"
]
},
"par.zrg"
]
}
]
},
"par.ascent_eta_min"
]
}
}
},
{
"lhs": "dz",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "*",
"args": [
{
"op": "-",
"args": [
{
"op": "index",
"args": [
"phi_h",
"k"
]
},
{
"op": "index",
"args": [
"phi_h",
{
"op": "+",
"args": [
"k",
1
]
}
]
}
]
},
"par.zrg"
]
}
}
},
{
"lhs": "s_env",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "+",
"args": [
{
"op": "index",
"args": [
"phi_h",
"k"
]
},
{
"op": "*",
"args": [
"wrf.cp",
{
"op": "index",
"args": [
"T_h",
"k"
]
}
]
}
]
}
}
},
{
"lhs": "Tv_env",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "apply_expression_template",
"args": [],
"name": "virtual_temperature",
"bindings": {
"tt": {
"op": "index",
"args": [
"T_h",
"k"
]
},
"qq": {
"op": "index",
"args": [
"q_h",
"k"
]
}
}
}
}
},
{
"lhs": "dh_c",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "ifelse",
"args": [
{
"op": "==",
"args": [
"k",
"NLEV"
]
},
{
"op": "+",
"args": [
{
"op": "index",
"args": [
"s_env",
"k"
]
},
{
"op": "*",
"args": [
"dT_excess",
"wrf.cp"
]
}
]
},
{
"op": "index",
"args": [
"dh_tr",
"k"
]
}
]
}
}
},
{
"lhs": "q_c",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "ifelse",
"args": [
{
"op": "==",
"args": [
"k",
"NLEV"
]
},
{
"op": "+",
"args": [
{
"op": "index",
"args": [
"q_h",
"k"
]
},
"dq_excess"
]
},
{
"op": "index",
"args": [
"q_tr",
"k"
]
}
]
}
}
},
{
"lhs": "T_c",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "ifelse",
"args": [
{
"op": "==",
"args": [
"k",
"NLEV"
]
},
{
"op": "apply_expression_template",
"args": [],
"name": "temperature_from_dse",
"bindings": {
"dse": {
"op": "index",
"args": [
"dh_c",
"k"
]
},
"phi": {
"op": "index",
"args": [
"phi_h",
"k"
]
}
}
},
{
"op": "index",
"args": [
"T_tr",
"k"
]
}
]
}
}
},
{
"lhs": "dh_mix",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "apply_expression_template",
"args": [],
"name": "entrain_step",
"bindings": {
"prev": {
"op": "index",
"args": [
"dh_c",
{
"op": "min",
"args": [
"NLEV",
{
"op": "+",
"args": [
"k",
1
]
}
]
}
]
},
"env_prev": {
"op": "index",
"args": [
"s_env",
{
"op": "min",
"args": [
"NLEV",
{
"op": "+",
"args": [
"k",
1
]
}
]
}
]
},
"env": {
"op": "index",
"args": [
"s_env",
"k"
]
},
"eta": {
"op": "index",
"args": [
"eta",
"k"
]
},
"dz": {
"op": "index",
"args": [
"dz",
"k"
]
}
}
}
}
},
{
"lhs": "q_mix",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "apply_expression_template",
"args": [],
"name": "entrain_step",
"bindings": {
"prev": {
"op": "index",
"args": [
"q_c",
{
"op": "min",
"args": [
"NLEV",
{
"op": "+",
"args": [
"k",
1
]
}
]
}
]
},
"env_prev": {
"op": "index",
"args": [
"q_h",
{
"op": "min",
"args": [
"NLEV",
{
"op": "+",
"args": [
"k",
1
]
}
]
}
]
},
"env": {
"op": "index",
"args": [
"q_h",
"k"
]
},
"eta": {
"op": "index",
"args": [
"eta",
"k"
]
},
"dz": {
"op": "index",
"args": [
"dz",
"k"
]
}
}
}
}
},
{
"lhs": "T_mix",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "apply_expression_template",
"args": [],
"name": "temperature_from_dse",
"bindings": {
"dse": {
"op": "index",
"args": [
"dh_mix",
"k"
]
},
"phi": {
"op": "index",
"args": [
"phi_h",
"k"
]
}
}
}
}
},
{
"lhs": "T_up",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "apply_expression_template",
"args": [],
"name": "up_adjust_T",
"bindings": {
"tt": {
"op": "index",
"args": [
"T_mix",
"k"
]
},
"qq": {
"op": "index",
"args": [
"q_mix",
"k"
]
},
"pp": {
"op": "index",
"args": [
"p_h",
"k"
]
}
}
}
}
},
{
"lhs": "q_up",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "apply_expression_template",
"args": [],
"name": "up_adjust_q",
"bindings": {
"tt": {
"op": "index",
"args": [
"T_mix",
"k"
]
},
"qq": {
"op": "index",
"args": [
"q_mix",
"k"
]
},
"pp": {
"op": "index",
"args": [
"p_h",
"k"
]
}
}
}
}
},
{
"lhs": "dq_cond",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "max",
"args": [
{
"op": "-",
"args": [
{
"op": "index",
"args": [
"q_mix",
"k"
]
},
{
"op": "index",
"args": [
"q_up",
"k"
]
}
]
},
0.0
]
}
}
},
{
"lhs": "dl_frz",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "apply_expression_template",
"args": [],
"name": "freezing_amount",
"bindings": {
"dq": {
"op": "index",
"args": [
"dq_cond",
"k"
]
},
"tt": {
"op": "index",
"args": [
"T_up",
"k"
]
},
"tt_below": {
"op": "index",
"args": [
"T_c",
{
"op": "min",
"args": [
"NLEV",
{
"op": "+",
"args": [
"k",
1
]
}
]
}
]
}
}
}
}
},
{
"lhs": "dh_up",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "apply_expression_template",
"args": [],
"name": "parcel_dse",
"bindings": {
"phi": {
"op": "index",
"args": [
"phi_h",
"k"
]
},
"tt": {
"op": "index",
"args": [
"T_up",
"k"
]
},
"dl": {
"op": "index",
"args": [
"dl_frz",
"k"
]
}
}
}
}
},
{
"lhs": "l_climb",
"rhs": {
"op": "faq",
"output_idx": [
"j"
],
"args": [],
"ranges": {
"j": {
"from": "climb"
}
},
"expr": {
"op": "ifelse",
"args": [
{
"op": "<=",
"args": [
"j",
1
]
},
{
"op": "index",
"args": [
"l0",
"NLEV"
]
},
{
"op": "min",
"args": [
{
"op": "+",
"args": [
{
"op": "index",
"args": [
"l_climb",
{
"op": "-",
"args": [
"j",
1
]
}
]
},
{
"op": "index",
"args": [
"dq_cond",
{
"op": "-",
"args": [
{
"op": "+",
"args": [
"NLEV",
1
]
},
"j"
]
}
]
}
]
},
"par.ascent_plu_max"
]
}
]
}
}
},
{
"lhs": "l_up",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
"l_climb",
{
"op": "-",
"args": [
{
"op": "+",
"args": [
"NLEV",
1
]
},
"k"
]
}
]
}
}
},
{
"lhs": "Tv_up",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "apply_expression_template",
"args": [],
"name": "parcel_virtual_temperature",
"bindings": {
"tt": {
"op": "index",
"args": [
"T_up",
"k"
]
},
"qq": {
"op": "index",
"args": [
"q_up",
"k"
]
},
"ll": {
"op": "index",
"args": [
"l_up",
"k"
]
},
"dl": {
"op": "index",
"args": [
"dl_frz",
"k"
]
}
}
}
}
},
{
"lhs": "buoy",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "apply_expression_template",
"args": [],
"name": "buoyancy",
"bindings": {
"tv": {
"op": "ifelse",
"args": [
{
"op": "==",
"args": [
"k",
"NLEV"
]
},
{
"op": "apply_expression_template",
"args": [],
"name": "virtual_temperature",
"bindings": {
"tt": {
"op": "index",
"args": [
"T_c",
"k"
]
},
"qq": {
"op": "index",
"args": [
"q_c",
"k"
]
}
}
},
{
"op": "index",
"args": [
"Tv_up",
"k"
]
}
]
},
"tv_env": {
"op": "index",
"args": [
"Tv_env",
"k"
]
}
}
}
}
},
{
"lhs": "buoy_acc",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "*",
"args": [
{
"op": "*",
"args": [
{
"op": "+",
"args": [
{
"op": "index",
"args": [
"buoy",
"k"
]
},
{
"op": "index",
"args": [
"buoy",
{
"op": "min",
"args": [
"NLEV",
{
"op": "+",
"args": [
"k",
1
]
}
]
}
]
}
]
},
0.5
]
},
"wrf.g"
]
}
}
},
{
"lhs": "ke_climb",
"rhs": {
"op": "faq",
"output_idx": [
"j"
],
"args": [],
"ranges": {
"j": {
"from": "climb"
}
},
"expr": {
"op": "ifelse",
"args": [
{
"op": "<=",
"args": [
"j",
1
]
},
{
"op": "*",
"args": [
0.5,
{
"op": "^",
"args": [
"w_launch",
2
]
}
]
},
{
"op": "apply_expression_template",
"args": [],
"name": "ke_step",
"bindings": {
"prev": {
"op": "index",
"args": [
"ke_climb",
{
"op": "-",
"args": [
"j",
1
]
}
]
},
"eta": {
"op": "index",
"args": [
"eta",
{
"op": "-",
"args": [
{
"op": "+",
"args": [
"NLEV",
1
]
},
"j"
]
}
]
},
"acc": {
"op": "index",
"args": [
"buoy_acc",
{
"op": "-",
"args": [
{
"op": "+",
"args": [
"NLEV",
1
]
},
"j"
]
}
]
},
"dz": {
"op": "index",
"args": [
"dz",
{
"op": "-",
"args": [
{
"op": "+",
"args": [
"NLEV",
1
]
},
"j"
]
}
]
}
}
}
]
}
}
},
{
"lhs": "ke_up",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
"ke_climb",
{
"op": "-",
"args": [
{
"op": "+",
"args": [
"NLEV",
1
]
},
"k"
]
}
]
}
}
},
{
"lhs": "n_stalled_below",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"reduce": "+",
"args": [],
"ranges": {
"k": {
"from": "lev"
},
"i": {
"from": "lev"
}
},
"filter": {
"op": "and",
"args": [
{
"op": "and",
"args": [
{
"op": ">",
"args": [
"i",
"k"
]
},
{
"op": "<=",
"args": [
"i",
{
"op": "-",
"args": [
"NLEV",
1
]
}
]
}
]
},
{
"op": "<",
"args": [
{
"op": "index",
"args": [
"ke_up",
"i"
]
},
0.0
]
}
]
},
"expr": 1.0
}
},
{
"lhs": "reached",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "ifelse",
"args": [
{
"op": "and",
"args": [
{
"op": "and",
"args": [
{
"op": "and",
"args": [
{
"op": ">",
"args": [
"active",
0.0
]
},
{
"op": ">=",
"args": [
"k",
2
]
}
]
},
{
"op": "<=",
"args": [
"k",
{
"op": "-",
"args": [
"NLEV",
1
]
}
]
}
]
},
{
"op": "==",
"args": [
{
"op": "index",
"args": [
"n_stalled_below",
"k"
]
},
0.0
]
}
]
},
1.0,
0.0
]
}
}
},
{
"lhs": "stall",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "ifelse",
"args": [
{
"op": "and",
"args": [
{
"op": ">",
"args": [
{
"op": "index",
"args": [
"reached",
"k"
]
},
0.0
]
},
{
"op": "<",
"args": [
{
"op": "index",
"args": [
"ke_up",
"k"
]
},
0.0
]
}
]
},
1.0,
0.0
]
}
}
},
{
"lhs": "k_stall",
"rhs": {
"op": "faq",
"output_idx": [],
"reduce": "+",
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"filter": {
"op": ">",
"args": [
{
"op": "index",
"args": [
"stall",
"k"
]
},
0.0
]
},
"expr": "k"
}
},
{
"lhs": "p_lcl",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "apply_expression_template",
"args": [],
"name": "lcl_pressure",
"bindings": {
"tt": {
"op": "index",
"args": [
"T_c",
{
"op": "min",
"args": [
"NLEV",
{
"op": "+",
"args": [
"k",
1
]
}
]
}
]
},
"qq": {
"op": "index",
"args": [
"q_c",
{
"op": "min",
"args": [
"NLEV",
{
"op": "+",
"args": [
"k",
1
]
}
]
}
]
},
"pp": {
"op": "index",
"args": [
"p_h",
{
"op": "+",
"args": [
"k",
1
]
}
]
}
}
}
}
},
{
"lhs": "p_lcl_int",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "apply_expression_template",
"args": [],
"name": "lcl_pressure_held",
"bindings": {
"tt": {
"op": "index",
"args": [
"T_c",
{
"op": "min",
"args": [
"NLEV",
{
"op": "+",
"args": [
"k",
1
]
}
]
}
]
},
"qq": {
"op": "index",
"args": [
"q_c",
{
"op": "min",
"args": [
"NLEV",
{
"op": "+",
"args": [
"k",
1
]
}
]
}
]
},
"pp": {
"op": "index",
"args": [
"p_h",
{
"op": "+",
"args": [
"k",
1
]
}
]
}
}
}
}
},
{
"lhs": "is_base",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "ifelse",
"args": [
{
"op": "and",
"args": [
{
"op": "and",
"args": [
{
"op": ">",
"args": [
{
"op": "index",
"args": [
"reached",
"k"
]
},
0.0
]
},
{
"op": ">",
"args": [
{
"op": "index",
"args": [
"l_up",
"k"
]
},
0.0
]
}
]
},
{
"op": "or",
"args": [
{
"op": "==",
"args": [
"k",
{
"op": "-",
"args": [
"NLEV",
1
]
}
]
},
{
"op": "==",
"args": [
{
"op": "index",
"args": [
"l_up",
{
"op": "min",
"args": [
"NLEV",
{
"op": "+",
"args": [
"k",
1
]
}
]
}
]
},
0.0
]
}
]
}
]
},
1.0,
0.0
]
}
}
},
{
"lhs": "base_low",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "ifelse",
"args": [
{
"op": "and",
"args": [
{
"op": "and",
"args": [
{
"op": ">",
"args": [
{
"op": "index",
"args": [
"is_base",
"k"
]
},
0.0
]
},
{
"op": ">",
"args": [
{
"op": "apply_expression_template",
"args": [],
"name": "base_is_low",
"bindings": {
"p_lcl": {
"op": "index",
"args": [
"p_lcl_int",
"k"
]
},
"p_here": {
"op": "index",
"args": [
"p_h",
"k"
]
},
"p_below": {
"op": "index",
"args": [
"p_h",
{
"op": "+",
"args": [
"k",
1
]
}
]
}
}
},
0.0
]
}
]
},
{
"op": ">",
"args": [
{
"op": "index",
"args": [
"ke_up",
{
"op": "min",
"args": [
"NLEV",
{
"op": "+",
"args": [
"k",
1
]
}
]
}
]
},
0.0
]
}
]
},
1.0,
0.0
]
}
}
},
{
"lhs": "base_high",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "ifelse",
"args": [
{
"op": "and",
"args": [
{
"op": "and",
"args": [
{
"op": ">",
"args": [
{
"op": "index",
"args": [
"is_base",
"k"
]
},
0.0
]
},
{
"op": "not",
"args": [
{
"op": ">",
"args": [
{
"op": "apply_expression_template",
"args": [],
"name": "base_is_low",
"bindings": {
"p_lcl": {
"op": "index",
"args": [
"p_lcl_int",
"k"
]
},
"p_here": {
"op": "index",
"args": [
"p_h",
"k"
]
},
"p_below": {
"op": "index",
"args": [
"p_h",
{
"op": "+",
"args": [
"k",
1
]
}
]
}
}
},
0.0
]
}
]
}
]
},
{
"op": ">",
"args": [
{
"op": "index",
"args": [
"ke_up",
"k"
]
},
0.0
]
}
]
},
1.0,
0.0
]
}
}
},
{
"lhs": "kcbot",
"rhs": {
"op": "+",
"args": [
{
"op": "faq",
"output_idx": [],
"reduce": "+",
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"filter": {
"op": ">",
"args": [
{
"op": "index",
"args": [
"base_low",
"k"
]
},
0.0
]
},
"expr": {
"op": "min",
"args": [
{
"op": "-",
"args": [
"NLEV",
1
]
},
{
"op": "+",
"args": [
"k",
1
]
}
]
}
},
{
"op": "faq",
"output_idx": [],
"reduce": "+",
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"filter": {
"op": ">",
"args": [
{
"op": "index",
"args": [
"base_high",
"k"
]
},
0.0
]
},
"expr": "k"
},
{
"op": "ifelse",
"args": [
{
"op": "==",
"args": [
{
"op": "faq",
"output_idx": [],
"reduce": "+",
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"filter": {
"op": "or",
"args": [
{
"op": ">",
"args": [
{
"op": "index",
"args": [
"base_low",
"k"
]
},
0.0
]
},
{
"op": ">",
"args": [
{
"op": "index",
"args": [
"base_high",
"k"
]
},
0.0
]
}
]
},
"expr": 1.0
},
0.0
]
},
"NLEV",
0.0
]
}
]
}
},
{
"lhs": "l_out",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "ifelse",
"args": [
{
"op": "and",
"args": [
{
"op": ">=",
"args": [
"k",
2
]
},
{
"op": ">",
"args": [
{
"op": "index",
"args": [
"base_low",
{
"op": "max",
"args": [
1,
{
"op": "-",
"args": [
"k",
1
]
}
]
}
]
},
0.0
]
}
]
},
"par.ascent_plu_seed",
{
"op": "ifelse",
"args": [
{
"op": "or",
"args": [
{
"op": ">",
"args": [
{
"op": "index",
"args": [
"reached",
"k"
]
},
0.0
]
},
{
"op": "==",
"args": [
"k",
"NLEV"
]
}
]
},
{
"op": "index",
"args": [
"l_up",
"k"
]
},
{
"op": "index",
"args": [
"l0",
"k"
]
}
]
}
]
}
}
},
{
"lhs": "rises_into_cloud",
"rhs": {
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
{
"op": "faq",
"output_idx": [],
"reduce": "+",
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"filter": {
"op": "and",
"args": [
{
"op": ">",
"args": [
{
"op": "index",
"args": [
"stall",
"k"
]
},
0.0
]
},
{
"op": ">",
"args": [
{
"op": "index",
"args": [
"l_out",
{
"op": "min",
"args": [
"NLEV",
{
"op": "+",
"args": [
"k",
1
]
}
]
}
]
},
0.0
]
}
]
},
"expr": 1.0
},
0.0
]
},
1.0,
0.0
]
}
},
{
"lhs": "kctop",
"rhs": {
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"rises_into_cloud",
0.0
]
},
"k_stall",
"NLEV"
]
}
},
{
"lhs": "cloud_depth",
"rhs": {
"op": "-",
"args": [
{
"op": "faq",
"output_idx": [],
"reduce": "+",
"args": [],
"ranges": {
"n": {
"from": "lev_nodes"
}
},
"filter": {
"op": "==",
"args": [
"n",
"kcbot"
]
},
"expr": {
"op": "index",
"args": [
"p_h",
"n"
]
}
},
{
"op": "faq",
"output_idx": [],
"reduce": "+",
"args": [],
"ranges": {
"n": {
"from": "lev_nodes"
}
},
"filter": {
"op": "==",
"args": [
"n",
"kctop"
]
},
"expr": {
"op": "index",
"args": [
"p_h",
"n"
]
}
}
]
}
},
{
"lhs": "shallow",
"rhs": {
"op": "ifelse",
"args": [
{
"op": "and",
"args": [
{
"op": ">",
"args": [
"rises_into_cloud",
0.0
]
},
{
"op": "not",
"args": [
{
"op": ">",
"args": [
"cloud_depth",
"par.zdnoprc"
]
}
]
}
]
},
1.0,
0.0
]
}
},
{
"lhs": "ktype",
"rhs": {
"op": "*",
"args": [
2.0,
"shallow"
]
}
},
{
"lhs": "wbase",
"rhs": {
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"shallow",
0.0
]
},
{
"op": "sqrt",
"args": [
{
"op": "max",
"args": [
{
"op": "*",
"args": [
2.0,
{
"op": "faq",
"output_idx": [],
"reduce": "+",
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"filter": {
"op": "==",
"args": [
"k",
"kcbot"
]
},
"expr": {
"op": "index",
"args": [
"ke_out",
"k"
]
}
}
]
},
0.0
]
}
]
},
0.0
]
}
},
{
"lhs": "dh_out",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "ifelse",
"args": [
{
"op": "==",
"args": [
"k",
"NLEV"
]
},
{
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"active",
0.0
]
},
{
"op": "index",
"args": [
"dh_c",
"k"
]
},
0.0
]
},
{
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
{
"op": "index",
"args": [
"reached",
"k"
]
},
0.0
]
},
{
"op": "index",
"args": [
"dh_up",
"k"
]
},
0.0
]
}
]
}
}
},
{
"lhs": "s_env_out",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "ifelse",
"args": [
{
"op": "==",
"args": [
"k",
"NLEV"
]
},
{
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"active",
0.0
]
},
{
"op": "index",
"args": [
"s_env",
"k"
]
},
0.0
]
},
{
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
{
"op": "index",
"args": [
"reached",
"k"
]
},
0.0
]
},
{
"op": "index",
"args": [
"s_env",
"k"
]
},
0.0
]
}
]
}
}
},
{
"lhs": "T_out",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "ifelse",
"args": [
{
"op": "==",
"args": [
"k",
"NLEV"
]
},
{
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"active",
0.0
]
},
{
"op": "index",
"args": [
"T_c",
"k"
]
},
{
"op": "index",
"args": [
"T0",
"k"
]
}
]
},
{
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
{
"op": "index",
"args": [
"reached",
"k"
]
},
0.0
]
},
{
"op": "index",
"args": [
"T_up",
"k"
]
},
{
"op": "index",
"args": [
"T0",
"k"
]
}
]
}
]
}
}
},
{
"lhs": "q_out",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "ifelse",
"args": [
{
"op": "==",
"args": [
"k",
"NLEV"
]
},
{
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"active",
0.0
]
},
{
"op": "index",
"args": [
"q_c",
"k"
]
},
{
"op": "index",
"args": [
"q0",
"k"
]
}
]
},
{
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
{
"op": "index",
"args": [
"reached",
"k"
]
},
0.0
]
},
{
"op": "index",
"args": [
"q_up",
"k"
]
},
{
"op": "index",
"args": [
"q0",
"k"
]
}
]
}
]
}
}
},
{
"lhs": "ke_out",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "ifelse",
"args": [
{
"op": "==",
"args": [
"k",
"NLEV"
]
},
{
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"active",
0.0
]
},
{
"op": "index",
"args": [
"ke_up",
"k"
]
},
0.0
]
},
{
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
{
"op": "index",
"args": [
"reached",
"k"
]
},
0.0
]
},
{
"op": "index",
"args": [
"ke_up",
"k"
]
},
0.0
]
}
]
}
}
},
{
"lhs": "Tv_out",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "ifelse",
"args": [
{
"op": "==",
"args": [
"k",
"NLEV"
]
},
{
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"active",
0.0
]
},
{
"op": "apply_expression_template",
"args": [],
"name": "virtual_temperature",
"bindings": {
"tt": {
"op": "index",
"args": [
"T_c",
"k"
]
},
"qq": {
"op": "index",
"args": [
"q_c",
"k"
]
}
}
},
0.0
]
},
{
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
{
"op": "index",
"args": [
"reached",
"k"
]
},
0.0
]
},
{
"op": "index",
"args": [
"Tv_up",
"k"
]
},
0.0
]
}
]
}
}
},
{
"lhs": "Tv_env_out",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "ifelse",
"args": [
{
"op": "==",
"args": [
"k",
"NLEV"
]
},
{
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"active",
0.0
]
},
{
"op": "index",
"args": [
"Tv_env",
"k"
]
},
0.0
]
},
{
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
{
"op": "index",
"args": [
"reached",
"k"
]
},
0.0
]
},
{
"op": "index",
"args": [
"Tv_env",
"k"
]
},
0.0
]
}
]
}
}
},
{
"lhs": "buoy_out",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "ifelse",
"args": [
{
"op": "==",
"args": [
"k",
"NLEV"
]
},
{
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"active",
0.0
]
},
{
"op": "index",
"args": [
"buoy",
"k"
]
},
0.0
]
},
{
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
{
"op": "index",
"args": [
"reached",
"k"
]
},
0.0
]
},
{
"op": "index",
"args": [
"buoy",
"k"
]
},
0.0
]
}
]
}
}
},
{
"lhs": "buoy_acc_out",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "ifelse",
"args": [
{
"op": "==",
"args": [
"k",
"NLEV"
]
},
{
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"active",
0.0
]
},
0.0,
0.0
]
},
{
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
{
"op": "index",
"args": [
"reached",
"k"
]
},
0.0
]
},
{
"op": "index",
"args": [
"buoy_acc",
"k"
]
},
0.0
]
}
]
}
}
},
{
"lhs": "marked",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "ifelse",
"args": [
{
"op": "or",
"args": [
{
"op": "or",
"args": [
{
"op": ">",
"args": [
{
"op": "index",
"args": [
"base_high",
"k"
]
},
0.0
]
},
{
"op": ">",
"args": [
{
"op": "index",
"args": [
"base_low",
"k"
]
},
0.0
]
}
]
},
{
"op": "and",
"args": [
{
"op": "and",
"args": [
{
"op": ">=",
"args": [
"k",
2
]
},
{
"op": "<=",
"args": [
"k",
{
"op": "-",
"args": [
"NLEV",
1
]
}
]
}
]
},
{
"op": ">",
"args": [
{
"op": "index",
"args": [
"base_low",
{
"op": "max",
"args": [
1,
{
"op": "-",
"args": [
"k",
1
]
}
]
}
]
},
0.0
]
}
]
}
]
},
1.0,
0.0
]
}
}
},
{
"lhs": "lab_out",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "ifelse",
"args": [
{
"op": "==",
"args": [
"k",
"NLEV"
]
},
{
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
"active",
0.0
]
},
1.0,
{
"op": "index",
"args": [
"lab0",
"k"
]
}
]
},
{
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
{
"op": "index",
"args": [
"marked",
"k"
]
},
0.0
]
},
2.0,
{
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
{
"op": "index",
"args": [
"reached",
"k"
]
},
0.0
]
},
{
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
{
"op": "index",
"args": [
"stall",
"k"
]
},
0.0
]
},
{
"op": "index",
"args": [
"lab0",
"k"
]
},
{
"op": "ifelse",
"args": [
{
"op": ">",
"args": [
{
"op": "index",
"args": [
"l_up",
"k"
]
},
0.0
]
},
2.0,
1.0
]
}
]
},
{
"op": "index",
"args": [
"lab0",
"k"
]
}
]
}
]
}
]
}
}
}
],
"tests": [
{
"id": "step918_col1_shallow_ascent",
"description": "cutypen's shallow test parcel, step 918, TILE COLUMN 1 of 2: the parcel is NOT LAUNCHED: the surface virtual-temperature flux is downward (buoy_flux >= 0), so no level is reached and every array is left as cuinin handed it. Reference: the real64 replay of the chem170 single-column run (em_scm_xy, Weisman-Klemp sounding, dx = 20 km, 59 levels, dt = 60 s, cu_physics = 16) through kernels/ntiedtke_driver of WRF fork branch earthsciml-instrumented-chem170, the sh_* tape spliced in at the end of cutypen's shallow phase (fork commit 177342a5); the seven cu_ntiedtke_init arguments at binary64, the scheme's literals at their binary32 roundings (FORTRAN_BUGS N109). Inputs: the environment the ascent saw (sh_*), cuinin's parcel (ci_*) and the TEACHER TRAJECTORY sh_ptu/sh_pqu/sh_dh, from which each level is stepped (see the component description). Algebraic observeds at t = 0 with no ODE state; the empty time_span is one static evaluation. Arrays are compared as Linf errors at 1e-9 of each profile's maximum (the project baseline for a double-precision kernel reference); labels, levels and the type are integers compared exactly.",
"parameter_overrides": {},
"expression_template_imports": [
{
"ref": "./tests/sh_step918_col1_inputs.esm"
}
],
"time_span": {
"start": 0,
"end": 0
},
"tolerance": {
"rel": 1e-09
},
"assertions": [
{
"variable": "T_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
219.68470764160156,
231.29728226179188,
227.60834404679287,
223.49314201864172,
218.03235713879195,
220.64936067270926,
226.00367744796188,
231.24461885304095,
235.75661726630207,
239.81464721263265,
243.7391668519147,
247.34629649591255,
250.5850007820661,
253.2816560136736,
255.2646094189417,
257.67219944200866,
260.3843477617475,
262.4311793363027,
264.33661208114273,
266.12463912825996,
267.76309976931185,
269.23413682744626,
270.5662757591237,
271.8187015866317,
273.04527032609394,
274.29737822683416,
275.5234516248205,
276.71923921932563,
277.8469910729559,
278.88538592176457,
279.8392814115899,
280.7906909496845,
281.76992824858996,
282.7107344605623,
283.5805189548596,
284.4460448846081,
285.3593126360271,
286.2450511346363,
287.01741375878834,
287.6962118076125,
288.3135838062908,
288.9008530112049,
289.5029121192514,
290.13535044488094,
290.77428026777625,
291.4451933178222,
292.2187186101521,
293.05566705047664,
293.87989843288057,
294.6269749279223,
295.23218779694747,
295.6311650676505,
295.8333624604004,
295.98958259465985,
296.3079160153111,
296.8544953109565,
297.5332142213067,
298.19139515369307,
298.0315441493883
]
},
"k"
]
}
},
"tolerance": {
"abs": 2.981913951536931e-07,
"rel": 0.0
}
},
{
"variable": "q_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
7.671865755606612e-05,
0.0005913961880780027,
0.0002621803725967733,
0.00012760857996313936,
6.929288494543551e-05,
8.484031474794778e-05,
0.00013943453416071741,
0.00022785388076165293,
0.0003590357981203268,
0.0005382014260873068,
0.0007585160465526617,
0.0009994871747110727,
0.0012587247856603243,
0.0016186770311315173,
0.001863244796358549,
0.0016946231144359667,
0.0015332132352450976,
0.0015290912454716088,
0.0016667103082580886,
0.0018491003559544734,
0.0020542425526422917,
0.0022905969912621095,
0.0025727732312818274,
0.003015434622416112,
0.0035717749664378588,
0.003992964227591588,
0.00428216098872705,
0.0045014679697799155,
0.004784810900776953,
0.005114529297917422,
0.005441858014609153,
0.005734518224087347,
0.006010377653910072,
0.006345792243078904,
0.0067231827575334885,
0.007066743441880033,
0.007238761414373487,
0.007328560046494806,
0.007600023330512001,
0.008146957053876485,
0.008907883605767615,
0.009835326601480133,
0.010854679366515779,
0.011861013742033466,
0.012824143383807664,
0.013648768342254099,
0.014074001783810528,
0.014215276274918495,
0.014279667253122557,
0.014348527223347405,
0.014401034496120515,
0.01441553301074887,
0.014451297294244657,
0.014616697239147883,
0.01484615526307024,
0.014982778369765202,
0.015071647209459993,
0.01504066871402048,
0.015314576172581066
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.5314576172581068e-11,
"rel": 0.0
}
},
{
"variable": "dh_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "s_env_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "l_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "ke_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "Tv_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "Tv_env_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "buoy_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "buoy_acc_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "lab_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "kcbot",
"time": 0.0,
"expected": 59.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "kctop",
"time": 0.0,
"expected": 59.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "ktype",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "wbase",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 1e-12,
"rel": 1e-09
}
}
]
},
{
"id": "step60_col1_shallow_ascent",
"description": "cutypen's shallow test parcel, step 60, TILE COLUMN 1 of 2: a DRY ascent that stalls at the first level above the launch layer (kernel 58): the launch kinetic energy is spent within one step. Reference: the real64 replay of the chem170 single-column run (em_scm_xy, Weisman-Klemp sounding, dx = 20 km, 59 levels, dt = 60 s, cu_physics = 16) through kernels/ntiedtke_driver of WRF fork branch earthsciml-instrumented-chem170, the sh_* tape spliced in at the end of cutypen's shallow phase (fork commit 177342a5); the seven cu_ntiedtke_init arguments at binary64, the scheme's literals at their binary32 roundings (FORTRAN_BUGS N109). Inputs: the environment the ascent saw (sh_*), cuinin's parcel (ci_*) and the TEACHER TRAJECTORY sh_ptu/sh_pqu/sh_dh, from which each level is stepped (see the component description). Algebraic observeds at t = 0 with no ODE state; the empty time_span is one static evaluation. Arrays are compared as Linf errors at 1e-9 of each profile's maximum (the project baseline for a double-precision kernel reference); labels, levels and the type are integers compared exactly.",
"parameter_overrides": {},
"expression_template_imports": [
{
"ref": "./tests/sh_step60_col1_inputs.esm"
}
],
"time_span": {
"start": 0,
"end": 0
},
"tolerance": {
"rel": 1e-09
},
"assertions": [
{
"variable": "T_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
218.95802307128906,
230.62803153290233,
226.83028826362363,
224.22886922610502,
218.4884403563197,
222.2843666351313,
226.13332849133042,
229.96691642767027,
234.2625175293822,
237.84610442629102,
241.39623941013394,
244.58669418892413,
247.48587699361448,
250.17571358274984,
252.68330132895798,
255.03707603183096,
257.25234568858514,
259.3461073859482,
261.3330527415181,
263.2213513883477,
265.0164328080121,
266.7216378042918,
268.3534385356134,
269.9150584164075,
271.4104359489786,
272.84159583432046,
274.1794285624752,
275.4068079123662,
276.5358146988867,
277.59143981996965,
278.5767090184725,
279.4924342823804,
280.3440984554657,
281.13938562644597,
282.11206907084915,
283.23030620694595,
284.22043910143026,
285.1840545804642,
286.1307612880749,
287.0749803101115,
287.9572068292132,
288.7370590266584,
289.43630115052906,
290.08580466800055,
290.44407589116116,
290.93959674325845,
291.7260508907287,
292.39808320935003,
293.0754731641734,
293.73277282184887,
294.37153558280187,
294.9893084858216,
295.5806138398012,
295.50473157175486,
296.21247043969356,
296.7189667947365,
297.0465002185514,
297.05440010681684,
297.5139720319219
]
},
"k"
]
}
},
"tolerance": {
"abs": 2.9751397203192195e-07,
"rel": 0.0
}
},
{
"variable": "q_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
7.681264122138786e-05,
0.0005560267024593875,
0.0002444718485425493,
0.00013511993714652543,
7.553125011506717e-05,
0.0001062449715179065,
0.0001510231909996121,
0.00021405976616687002,
0.0003186812222638495,
0.00041492978940919835,
0.0004524066045024363,
0.0005457147555012293,
0.0006688332501168617,
0.0008084533680258588,
0.0009654218110528382,
0.0011380564958175538,
0.0013260557433394454,
0.0015303187679411813,
0.001751322274476568,
0.001987596389638473,
0.0022382288168476053,
0.002501880270423652,
0.0027797177345123907,
0.003072643136300778,
0.003380934777008883,
0.0037047466532106636,
0.00403387515118488,
0.004370543915472824,
0.004756189371123713,
0.005162422277555748,
0.005571230770945778,
0.005991482271273238,
0.006426630067628567,
0.0068755960114630045,
0.007338870540177817,
0.007816608363846816,
0.008308096805263605,
0.008799050988010093,
0.009287910889397018,
0.009839370006992044,
0.010435809498158359,
0.011054589259554094,
0.011707098702963237,
0.012375736207162034,
0.013778280641348284,
0.013607873520098322,
0.013858525374133767,
0.013811415937764103,
0.013770014779003201,
0.013797669114510872,
0.013791338615302559,
0.013792988374942791,
0.013793735818041681,
0.013854104720104597,
0.013851020546241734,
0.013887978054028707,
0.014001349707947261,
0.014155943713604414,
0.014215616900069627
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.4215616900069627e-11,
"rel": 0.0
}
},
{
"variable": "dh_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
299648.2599730629,
299471.467997954
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.0002996482599730629,
"rel": 0.0
}
},
{
"variable": "s_env_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
300282.9199020386,
299470.9490288544
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.0003002829199020386,
"rel": 0.0
}
},
{
"variable": "l_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "ke_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
-0.8141300303396249,
0.008072430803250092
]
},
"k"
]
}
},
"tolerance": {
"abs": 8.14130030339625e-10,
"rel": 0.0
}
},
{
"variable": "Tv_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
299.61261580443437,
300.0869461632273
]
},
"k"
]
}
},
"tolerance": {
"abs": 3.0008694616322735e-07,
"rel": 0.0
}
},
{
"variable": "Tv_env_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
300.21413738547017,
300.08339959930856
]
},
"k"
]
}
},
"tolerance": {
"abs": 3.002141373854702e-07,
"rel": 0.0
}
},
{
"variable": "buoy_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
-0.0020036417547633777,
1.181859417575922e-05
]
},
"k"
]
}
},
"tolerance": {
"abs": 2.0036417547633777e-12,
"rel": 0.0
}
},
{
"variable": "buoy_acc_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
-0.00976989260268227,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 9.76989260268227e-12,
"rel": 0.0
}
},
{
"variable": "lab_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
1.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "kcbot",
"time": 0.0,
"expected": 59.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "kctop",
"time": 0.0,
"expected": 59.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "ktype",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "wbase",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 1e-12,
"rel": 1e-09
}
}
]
},
{
"id": "step230_col1_shallow_ascent",
"description": "cutypen's shallow test parcel, step 230, TILE COLUMN 1 of 2: a DRY ascent through 11 levels that stalls without condensing: no cloud base, ktype 0. Reference: the real64 replay of the chem170 single-column run (em_scm_xy, Weisman-Klemp sounding, dx = 20 km, 59 levels, dt = 60 s, cu_physics = 16) through kernels/ntiedtke_driver of WRF fork branch earthsciml-instrumented-chem170, the sh_* tape spliced in at the end of cutypen's shallow phase (fork commit 177342a5); the seven cu_ntiedtke_init arguments at binary64, the scheme's literals at their binary32 roundings (FORTRAN_BUGS N109). Inputs: the environment the ascent saw (sh_*), cuinin's parcel (ci_*) and the TEACHER TRAJECTORY sh_ptu/sh_pqu/sh_dh, from which each level is stepped (see the component description). Algebraic observeds at t = 0 with no ODE state; the empty time_span is one static evaluation. Arrays are compared as Linf errors at 1e-9 of each profile's maximum (the project baseline for a double-precision kernel reference); labels, levels and the type are integers compared exactly.",
"parameter_overrides": {},
"expression_template_imports": [
{
"ref": "./tests/sh_step230_col1_inputs.esm"
}
],
"time_span": {
"start": 0,
"end": 0
},
"tolerance": {
"rel": 1e-09
},
"assertions": [
{
"variable": "T_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
218.9664764404297,
230.63599751711553,
226.8994468473885,
224.16670901808658,
218.3521806716088,
221.88857863948223,
225.7168750553342,
229.65413566521218,
234.05612302860658,
238.0680976516565,
241.83288617651888,
245.18696634391773,
247.68503609642386,
250.04943854200968,
252.75659642389743,
255.1013254368574,
257.30699941459113,
259.3914102741069,
261.37088779217464,
263.2526769542404,
265.04142578668404,
266.74117036439793,
268.36697052907147,
269.92240744988226,
271.4138217969814,
272.8392712434315,
274.1716827606827,
275.3963652364852,
276.524459273357,
277.5782004168272,
278.5633731900256,
279.4808158005233,
280.3373205708086,
281.14802902716195,
282.1148926819817,
283.206506964097,
284.1907465982371,
285.14633854765253,
286.0831363967078,
287.01021454586595,
287.8760509746536,
288.6467378231708,
289.3386065505433,
289.9681520173833,
290.36533953301455,
290.8954823333391,
291.6447325593828,
291.71533052514314,
292.538214850879,
293.35394680112347,
294.1684368432676,
294.96897509539656,
295.74630313984585,
296.50204253558763,
297.23825017698016,
297.95804533163306,
298.66726782943385,
299.3808226900989,
300.16235423727636
]
},
"k"
]
}
},
"tolerance": {
"abs": 3.001623542372764e-07,
"rel": 0.0
}
},
{
"variable": "q_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
7.681285946658439e-05,
0.000556440725541256,
0.0002459862504898146,
0.00013442441757443189,
7.419767488427968e-05,
0.0001010648044063244,
0.00014359333704613473,
0.00020639466502975144,
0.0003116729961430615,
0.00044715847871048045,
0.0006187572508225715,
0.000813902618041238,
0.0009757537857997558,
0.0008893642301329211,
0.0009663843347487781,
0.0011388736681270369,
0.0013267203532776077,
0.0015308647532946272,
0.0017517687859949988,
0.0019879568047665736,
0.002238478335591445,
0.0025021280140871947,
0.0027798785908343185,
0.0030727690402013474,
0.003381013084419591,
0.0037047822947255606,
0.00403386312134898,
0.004370711193480599,
0.004756223400892112,
0.005162366621124027,
0.005571259134843576,
0.0059915618443399455,
0.006426738676672253,
0.006875822399502622,
0.007339095213039337,
0.007816636271211777,
0.008308031032580519,
0.00879899577299456,
0.009288344921121409,
0.009839619441412983,
0.010435902843313534,
0.011054819492435078,
0.011707216532236277,
0.012382495823790338,
0.01376323990293224,
0.013612087296858307,
0.013855084178333157,
0.01439373070146232,
0.01445763846808787,
0.014529349445970762,
0.014595058575615065,
0.014645903957086558,
0.014685620820576334,
0.014721091547876207,
0.01475633843040747,
0.014795168736963918,
0.014843352378030852,
0.014930941657119763,
0.015091042807528173
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.5091042807528175e-11,
"rel": 0.0
}
},
{
"variable": "dh_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
301947.6537001284,
301894.1916773271,
301862.33203060064,
301856.49697458965,
301862.50936516176,
301870.01591193414,
301879.6958456501,
301892.7321532404,
301911.40072202677,
301940.758443907,
301994.99079695897,
302137.2210833278
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.0003021372210833278,
"rel": 0.0
}
},
{
"variable": "s_env_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
302558.04358247056,
302342.775306183,
302010.38388758706,
301810.7444260406,
301810.7444260406,
301810.7444260406,
301810.7444260407,
301810.7444260407,
301810.7444260407,
301810.7444260407,
301810.7444260407,
301810.7444260407
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.00030255804358247056,
"rel": 0.0
}
},
{
"variable": "l_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "ke_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
-1.8949641291985757,
0.46000484850173845,
1.7299097052683883,
1.8522515749470427,
1.6203280349394698,
1.475404513527818,
1.3694255309151684,
1.2805744912244015,
1.1947573847692825,
1.0958996906934824,
0.8824160201769456,
0.13547761933474428
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.894964129198576e-09,
"rel": 0.0
}
},
{
"variable": "Tv_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
294.2697661882898,
295.1112298030499,
295.94693444562927,
296.78038322642993,
297.59715362854104,
298.3885535736369,
299.15744311456797,
299.90661769676154,
300.6399132295082,
301.36427418180574,
302.10022535354625,
302.91809155017097
]
},
"k"
]
}
},
"tolerance": {
"abs": 3.02918091550171e-07,
"rel": 0.0
}
},
{
"variable": "Tv_env_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
294.77915973144036,
295.4399170385892,
295.9778679390305,
296.6463069101516,
297.4855619924429,
298.283094868885,
299.04949425692394,
299.7892744076987,
300.5050392943633,
301.19875836064205,
301.85774570701443,
302.54274261206956
]
},
"k"
]
}
},
"tolerance": {
"abs": 3.0254274261206956e-07,
"rel": 0.0
}
},
{
"variable": "buoy_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
-0.0017280514118252135,
-0.0011125349574761753,
-0.00010451285975069397,
0.0004519736573660417,
0.00037511614126994414,
0.0003535524022850873,
0.0003609732158626891,
0.00039141923704464964,
0.0004488242042848065,
0.0005495235839103731,
0.0008032911196758629,
0.0012406476349779627
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.7280514118252136e-12,
"rel": 0.0
}
},
{
"variable": "buoy_acc_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
-0.013933076141423313,
-0.005969619543497794,
0.0017042952123032808,
0.004056875462309511,
0.0035741192061374293,
0.003504748157014843,
0.003690484981510497,
0.004121394079720983,
0.0048968959010973565,
0.006635556121090488,
0.010025519591577015,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.3933076141423314e-11,
"rel": 0.0
}
},
{
"variable": "lab_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "kcbot",
"time": 0.0,
"expected": 59.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "kctop",
"time": 0.0,
"expected": 59.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "ktype",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "wbase",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 1e-12,
"rel": 1e-09
}
}
]
},
{
"id": "step601_col2_shallow_ascent",
"description": "cutypen's shallow test parcel, step 601, TILE COLUMN 2 of 2: a short DRY ascent (4 levels) in tile column 2, whose launch differs from column 1's at the same step. Reference: the real64 replay of the chem170 single-column run (em_scm_xy, Weisman-Klemp sounding, dx = 20 km, 59 levels, dt = 60 s, cu_physics = 16) through kernels/ntiedtke_driver of WRF fork branch earthsciml-instrumented-chem170, the sh_* tape spliced in at the end of cutypen's shallow phase (fork commit 177342a5); the seven cu_ntiedtke_init arguments at binary64, the scheme's literals at their binary32 roundings (FORTRAN_BUGS N109). Inputs: the environment the ascent saw (sh_*), cuinin's parcel (ci_*) and the TEACHER TRAJECTORY sh_ptu/sh_pqu/sh_dh, from which each level is stepped (see the component description). Algebraic observeds at t = 0 with no ODE state; the empty time_span is one static evaluation. Arrays are compared as Linf errors at 1e-9 of each profile's maximum (the project baseline for a double-precision kernel reference); labels, levels and the type are integers compared exactly.",
"parameter_overrides": {},
"expression_template_imports": [
{
"ref": "./tests/sh_step601_col2_inputs.esm"
}
],
"time_span": {
"start": 0,
"end": 0
},
"tolerance": {
"rel": 1e-09
},
"assertions": [
{
"variable": "T_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
219.8552703857422,
231.45575845871502,
227.1110066733865,
223.1026008657573,
218.61026127880754,
221.21052941432768,
226.62821421233082,
232.35883740476612,
236.67126988592847,
240.01488199235467,
243.6966542217114,
247.34594161979643,
250.54329360126766,
253.1504068541369,
255.4789304636655,
257.64032773644885,
259.6890037589641,
261.66064815027084,
263.53194333337814,
265.34936069750665,
267.091083766753,
268.7493866258925,
270.3501067286822,
271.890693390271,
273.311729753385,
274.48843269367086,
275.60140879800997,
276.68935616962455,
277.8043930046014,
278.8543343142332,
279.8288113020695,
280.7091891353893,
281.5475397473268,
282.324592981069,
283.06190405551826,
283.8632043266789,
284.82235284174004,
285.89398717892146,
286.9339727741971,
287.8251504191516,
288.55353492474677,
289.1889951411577,
289.84514276700713,
290.3847337796769,
291.2417437307191,
291.7354376170531,
292.67531349846274,
293.5854858922463,
294.4667368455979,
295.3198794014841,
296.146120010759,
296.946618630617,
297.7229444220629,
297.53404755728127,
295.85562099371026,
296.48990850516236,
297.1778006811606,
297.8546233802816,
298.54594149085506
]
},
"k"
]
}
},
"tolerance": {
"abs": 2.985459414908551e-07,
"rel": 0.0
}
},
{
"variable": "q_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
7.694010367478374e-05,
0.0006003415922423291,
0.0002501526307448354,
0.00012348557835738206,
7.49451162234177e-05,
9.151847763207042e-05,
0.00015946277646448754,
0.0002823919469334997,
0.00041698886748005824,
0.0005486845058385403,
0.0007288073142980593,
0.000881763210363341,
0.0009874572741210511,
0.0011062099859552505,
0.0012407378031497143,
0.0013768805117312089,
0.0015122448917166448,
0.0016599261402641876,
0.0018371454682641693,
0.002043642199935707,
0.0022445300640867726,
0.0024480130136818367,
0.0026507617073600774,
0.0028373078389610485,
0.0030519411945881675,
0.003445843364200643,
0.0038401019861973363,
0.004132310209229513,
0.004368426414398894,
0.004585780885670622,
0.0048023838873673475,
0.005045894607459447,
0.005303526699963681,
0.005606279400575977,
0.005970257668553908,
0.006372854632822417,
0.0067818892941110655,
0.0072070233590345555,
0.007672335186908234,
0.008238293991922538,
0.00896942628682814,
0.009848368002633943,
0.010765802549873705,
0.011693883879874079,
0.012200837950050444,
0.013156254645300033,
0.013595157755571182,
0.014078103816371843,
0.014433783737580398,
0.014483180113647515,
0.014541205159549276,
0.01465544004461208,
0.014692727396418125,
0.014459122440895143,
0.014503551389953568,
0.01459002837256497,
0.014679881490034272,
0.014787021166541124,
0.014931898718998545
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.4931898718998546e-11,
"rel": 0.0
}
},
{
"variable": "dh_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
300489.3807922713,
300425.1809449981,
300436.09116416966,
300456.2491902231,
300510.62898405653
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.00030051062898405655,
"rel": 0.0
}
},
{
"variable": "s_env_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
301155.03398035024,
300387.7652749634,
300387.7652749634,
300387.7652749634,
300383.8691471672
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.00030115503398035027,
"rel": 0.0
}
},
{
"variable": "l_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "ke_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
-0.44931049208438967,
0.7296473677339713,
0.5769096257628373,
0.4140126362262662,
0.06009432772501698
]
},
"k"
]
}
},
"tolerance": {
"abs": 7.296473677339714e-10,
"rel": 0.0
}
},
{
"variable": "Tv_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
298.46607788450933,
299.1215601168392,
299.8318027464874,
300.53408402674563,
301.257934400697
]
},
"k"
]
}
},
"tolerance": {
"abs": 3.0125793440069704e-07,
"rel": 0.0
}
},
{
"variable": "Tv_env_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
299.0573127471659,
299.0086288485526,
299.7311446696949,
300.40505466691155,
301.09652865876865
]
},
"k"
]
}
},
"tolerance": {
"abs": 3.0109652865876867e-07,
"rel": 0.0
}
},
{
"variable": "buoy_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
-0.001976995169338711,
0.0003776856498138561,
0.0003358278863660918,
0.00042951793862838164,
0.0005360597900193568
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.976995169338711e-12,
"rel": 0.0
}
},
{
"variable": "buoy_acc_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
-0.007844613193269415,
0.0034997838949626446,
0.003754021271597893,
0.004736158759017157,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 7.844613193269415e-12,
"rel": 0.0
}
},
{
"variable": "lab_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
1.0,
1.0,
1.0,
1.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "kcbot",
"time": 0.0,
"expected": 59.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "kctop",
"time": 0.0,
"expected": 59.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "ktype",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "wbase",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 1e-12,
"rel": 1e-09
}
}
]
},
{
"id": "step2134_col1_shallow_ascent",
"description": "cutypen's shallow test parcel, step 2134, TILE COLUMN 1 of 2: a marginal DRY ascent: the stall level's kinetic energy is only -0.067 m^2/s^2, the closest call to continuing in the tape. Reference: the real64 replay of the chem170 single-column run (em_scm_xy, Weisman-Klemp sounding, dx = 20 km, 59 levels, dt = 60 s, cu_physics = 16) through kernels/ntiedtke_driver of WRF fork branch earthsciml-instrumented-chem170, the sh_* tape spliced in at the end of cutypen's shallow phase (fork commit 177342a5); the seven cu_ntiedtke_init arguments at binary64, the scheme's literals at their binary32 roundings (FORTRAN_BUGS N109). Inputs: the environment the ascent saw (sh_*), cuinin's parcel (ci_*) and the TEACHER TRAJECTORY sh_ptu/sh_pqu/sh_dh, from which each level is stepped (see the component description). Algebraic observeds at t = 0 with no ODE state; the empty time_span is one static evaluation. Arrays are compared as Linf errors at 1e-9 of each profile's maximum (the project baseline for a double-precision kernel reference); labels, levels and the type are integers compared exactly.",
"parameter_overrides": {},
"expression_template_imports": [
{
"ref": "./tests/sh_step2134_col1_inputs.esm"
}
],
"time_span": {
"start": 0,
"end": 0
},
"tolerance": {
"rel": 1e-09
},
"assertions": [
{
"variable": "T_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
219.84657287597656,
231.44563866285924,
227.55543844699966,
222.8773155871207,
219.11782551734444,
220.70891099883525,
225.39094962441214,
230.2338944239809,
235.0076772661331,
239.54049045530607,
243.6711376567902,
247.37797201354573,
250.4087549315867,
253.77604476192843,
256.506586536198,
258.7670333367706,
260.90692321910973,
262.9987829486253,
264.9097500697194,
266.617349226362,
268.1486317776762,
269.5742600897314,
270.85793733118794,
272.2212228724521,
273.5708059328316,
274.72381056668223,
276.0269502808395,
277.1111287326013,
278.25749581964084,
279.30818992504993,
279.9514931380423,
281.2454609658163,
282.2676810349953,
283.0598599451072,
283.933670824096,
284.87356504409905,
285.68378861634443,
286.5800129893988,
286.77165070263027,
287.89441233192355,
288.5785121009166,
289.1292608753272,
289.6518498278716,
290.2784648464565,
291.02208199752766,
291.7092160835892,
292.30763914415536,
293.1382523074842,
293.95712639270045,
294.79029709081715,
295.6152543558783,
296.4144237339358,
297.1888012622314,
297.7074989448447,
297.911489068012,
297.65389465764366,
298.29566268045284,
298.948021167553,
299.6002497450204
]
},
"k"
]
}
},
"tolerance": {
"abs": 2.996002497450204e-07,
"rel": 0.0
}
},
{
"variable": "q_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
7.67957635925673e-05,
0.0005996228877311985,
0.00026084883568062685,
0.00012075797804278581,
7.33787690002256e-05,
8.415874673415357e-05,
0.00012824410742847572,
0.00019929906992422852,
0.0003317140568334366,
0.0005158937441312717,
0.0007476114386719205,
0.0010135995055845395,
0.0011760348402640737,
0.0013830128487314363,
0.00166194911650138,
0.0018196604717882643,
0.0018219861881241777,
0.0017865130179814095,
0.0018328619748061987,
0.0019586665649021537,
0.0022172787132024785,
0.002559271368796779,
0.003113349939957974,
0.0034859759776656426,
0.004046519633405202,
0.0042919609803132065,
0.004385603407468479,
0.004749656770381866,
0.004954624472897413,
0.005154505138325623,
0.006020425792912072,
0.005817613141843584,
0.0061947399644849835,
0.0067897155748838705,
0.007149045672236758,
0.007356715763514088,
0.007746391423814911,
0.007645685287001159,
0.008832686145464891,
0.00831071625243332,
0.008753890578622891,
0.009419971412442184,
0.010451460693226371,
0.011382591053953063,
0.012167278812852646,
0.012839434431807044,
0.014182877873984362,
0.014465123717036352,
0.014353858857736396,
0.014333885797884078,
0.014350967254071206,
0.014370450780278016,
0.014375808773428,
0.014418070670356489,
0.0142772502707504,
0.015097959640064385,
0.015231074156814954,
0.015356401837626694,
0.015500208934327023
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.5500208934327025e-11,
"rel": 0.0
}
},
{
"variable": "dh_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
301606.5106613863,
301567.8036509487,
301560.3055846454,
301572.46871707856
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.00030160651066138633,
"rel": 0.0
}
},
{
"variable": "s_env_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
301892.59462928516,
301585.77319885255,
301585.77319885255,
301503.3391242981
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.00030189259462928516,
"rel": 0.0
}
},
{
"variable": "l_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "ke_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
-0.06673321956878721,
0.24131554394154164,
0.19928312704057327,
0.03840499805708708
]
},
"k"
]
}
},
"tolerance": {
"abs": 2.4131554394154166e-10,
"rel": 0.0
}
},
{
"variable": "Tv_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
300.38785475816036,
301.0596739782623,
301.7408704128684,
302.42540335227517
]
},
"k"
]
}
},
"tolerance": {
"abs": 3.0242540335227517e-07,
"rel": 0.0
}
},
{
"variable": "Tv_env_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
300.55289151205227,
301.01049708481185,
301.7017864523795,
302.32666131313636
]
},
"k"
]
}
},
"tolerance": {
"abs": 3.0232666131313637e-07,
"rel": 0.0
}
},
{
"variable": "buoy_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
-0.0005491105178247579,
0.0001633726860914385,
0.00012954500849483725,
0.00032660711665300396
]
},
"k"
]
}
},
"tolerance": {
"abs": 5.49110517824758e-13,
"rel": 0.0
}
},
{
"variable": "buoy_acc_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
-0.0018920440646519319,
0.0014367612919456824,
0.0022374261738501615,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 2.2374261738501615e-12,
"rel": 0.0
}
},
{
"variable": "lab_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
1.0,
1.0,
1.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "kcbot",
"time": 0.0,
"expected": 59.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "kctop",
"time": 0.0,
"expected": 59.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "ktype",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "wbase",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 1e-12,
"rel": 1e-09
}
}
]
},
{
"id": "step364_col1_shallow_ascent",
"description": "cutypen's shallow test parcel, step 364, TILE COLUMN 1 of 2: a SATURATED ascent through 36 levels that rises into cloud, hits the 5e-3 condensate CAP, and is rejected as TOO DEEP (base at kernel 46, top at 23, more than 200 hPa): ktype 0. Reference: the real64 replay of the chem170 single-column run (em_scm_xy, Weisman-Klemp sounding, dx = 20 km, 59 levels, dt = 60 s, cu_physics = 16) through kernels/ntiedtke_driver of WRF fork branch earthsciml-instrumented-chem170, the sh_* tape spliced in at the end of cutypen's shallow phase (fork commit 177342a5); the seven cu_ntiedtke_init arguments at binary64, the scheme's literals at their binary32 roundings (FORTRAN_BUGS N109). Inputs: the environment the ascent saw (sh_*), cuinin's parcel (ci_*) and the TEACHER TRAJECTORY sh_ptu/sh_pqu/sh_dh, from which each level is stepped (see the component description). Algebraic observeds at t = 0 with no ODE state; the empty time_span is one static evaluation. Arrays are compared as Linf errors at 1e-9 of each profile's maximum (the project baseline for a double-precision kernel reference); labels, levels and the type are integers compared exactly.",
"parameter_overrides": {},
"expression_template_imports": [
{
"ref": "./tests/sh_step364_col1_inputs.esm"
}
],
"time_span": {
"start": 0,
"end": 0
},
"tolerance": {
"rel": 1e-09
},
"assertions": [
{
"variable": "T_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
219.090087890625,
230.75016480043956,
227.00976889871382,
224.14793040695005,
218.35685591978088,
221.94246753405568,
225.97225364623495,
229.9338533852099,
234.25999831731994,
238.26919595180928,
242.05332112962714,
245.41718245451628,
247.97036644132564,
250.18616509469604,
252.86152397630156,
255.20991772059875,
257.41191933992593,
259.4879275291792,
261.4623402288674,
263.3445059325056,
265.13036026308316,
266.8264958212294,
268.7626709280762,
270.32110030277846,
271.81196624733343,
273.2500090409079,
274.62945254935255,
275.9431631729388,
277.19092160775483,
278.3791348699804,
279.5128103251759,
280.5969713417089,
281.63563092297693,
282.6320298649302,
283.5869310026783,
284.49873518613555,
285.36802947618713,
286.19776096306015,
286.9903556965716,
287.7458097641118,
288.46261850774226,
289.1410672914174,
289.7772596647981,
290.33636036387895,
290.8219442298806,
291.2744252198493,
292.1906772340812,
293.10153690834983,
293.9836980611616,
294.8383994527648,
295.6668734759879,
296.4703613130449,
297.25016649101354,
298.00775169493676,
298.744909038318,
299.4642256138601,
300.1704078125409,
300.8751076435598,
301.62746518655
]
},
"k"
]
}
},
"tolerance": {
"abs": 3.0162746518655e-07,
"rel": 0.0
}
},
{
"variable": "q_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
7.681291039046356e-05,
0.0005623442871549163,
0.0002484188852959239,
0.00013421433406349243,
7.42313577170555e-05,
0.00010133682037167358,
0.00014631641689019236,
0.0002095856829721403,
0.0003128663631551933,
0.0004478098045201199,
0.0006214212505124867,
0.0008202924511674748,
0.0009928092415379518,
0.0009131166990357723,
0.0009724721319939158,
0.00113975530445151,
0.0013263882827398421,
0.00152915934949878,
0.0017485205958178375,
0.0019831327348809394,
0.0022319221435409707,
0.0024937280978975613,
0.004734813447998075,
0.005209138100515871,
0.005683465289259766,
0.006157092447246502,
0.00663295145341169,
0.007112954887214777,
0.007593355020668188,
0.008073954315293173,
0.008554322194829841,
0.009034479399463257,
0.009514252742069225,
0.00999330033023337,
0.010469821836423004,
0.010940306662480543,
0.01140269428396101,
0.011856805650266491,
0.012302327750787873,
0.012737155416432788,
0.013157908376805087,
0.013562669100573892,
0.013945815471469428,
0.014273100594386476,
0.014544344443638826,
0.014794423644162547,
0.01483442667037027,
0.014859330101462261,
0.01488130680791469,
0.014901646126829808,
0.01492125650125464,
0.01494091397318505,
0.014961416472470542,
0.014983741233891729,
0.015009275072217585,
0.015039874017822622,
0.01507971465649095,
0.015157620475186274,
0.015304838658083892
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.5304838658083892e-11,
"rel": 0.0
}
},
{
"variable": "dh_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
315616.64439716237,
314864.944075219,
314153.2398867934,
313479.77766557643,
312853.14283973083,
312247.59816649434,
311658.4662237397,
311087.1820584383,
310534.21545210795,
310000.4115140161,
309485.92616447405,
308990.3240579161,
308510.1562278349,
308040.01303695363,
307577.9766024823,
307124.43382806773,
306679.40869857336,
306240.5501646421,
305804.301450695,
305369.2667036038,
304929.80991995963,
304448.16684196173,
303927.35000039946,
303407.07504544803,
303384.38909938355,
303386.7248510487,
303389.43241728056,
303392.6131096772,
303396.41034290916,
303401.0344398081,
303406.80774589936,
303414.25259746145,
303424.2788239977,
303438.63642508193,
303461.214863304,
303502.92448324146,
303612.3172402396
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.0003156166443971624,
"rel": 0.0
}
},
{
"variable": "s_env_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
315292.283923261,
314535.53251617355,
313823.62422916305,
313144.3170802493,
312303.1656960865,
311761.0798067122,
311063.2879881612,
310356.880646062,
309657.48667121225,
308957.40727545734,
308262.6278260381,
307588.9034488747,
307102.0317359472,
306781.34484915994,
306429.0247994237,
306093.7215179244,
305784.13471523504,
305498.12683603924,
305196.77913079126,
304843.25505987444,
304384.4716424171,
303780.47876531037,
303520.51385750517,
303361.2490629385,
303361.2490629385,
303361.24906293856,
303361.24906293856,
303361.2490629386,
303361.2490629386,
303361.2490629386,
303361.2490629386,
303361.2490629386,
303361.2490629386,
303361.2490629386,
303361.2490629386,
303361.2490629387,
303361.2490629387
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.000315292283923261,
"rel": 0.0
}
},
{
"variable": "l_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.004999999888241291,
0.004905174570588768,
0.004636521808195685,
0.0043774902647828965,
0.004124366176767642,
0.003875359029142239,
0.003632061205822274,
0.003391994636529727,
0.003154844176537913,
0.002920532259679781,
0.0026886605598678576,
0.0024589062231736795,
0.0022324687133360253,
0.002012014443666532,
0.0017984603084056864,
0.0015914456002762683,
0.00139133284716326,
0.0011977336346990827,
0.001009308234105017,
0.0008244906637766853,
0.0006387581715183634,
0.00043432311041338885,
0.00021684935085210244,
9.889476326456481e-06,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 4.999999888241291e-12,
"rel": 0.0
}
},
{
"variable": "ke_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
-9.803005103627573,
0.9500928761574244,
11.76433863751558,
22.392826549327,
31.255374356294823,
38.862272518176084,
46.0464633307388,
51.58496759255766,
55.21883033068607,
56.689754783105705,
55.70786897147881,
52.07533086897018,
46.57563174708844,
40.811119655090906,
35.36279955217147,
30.093627073422585,
25.11468902734869,
20.63234152496202,
16.75136662423796,
13.259714563584051,
9.707292822119427,
6.072705428790735,
3.172527698198627,
1.8790775093260177,
1.6225502490253632,
1.4849432792686055,
1.381409878076772,
1.2991200728761993,
1.230443192215407,
1.1702690586895053,
1.1147723131975285,
1.0606665073571708,
1.0046034253505578,
0.944338145863882,
0.8729277327847762,
0.7018810042551632,
0.1075038265325985
]
},
"k"
]
}
},
"tolerance": {
"abs": 5.668975478310571e-08,
"rel": 0.0
}
},
{
"variable": "Tv_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
268.204125541411,
269.8628181983803,
271.50179263063364,
273.07738419057887,
274.60497534396006,
276.067860524952,
277.46463385142323,
278.80224202000306,
280.08561132715045,
281.3197063731822,
282.50854726240726,
283.6553391619707,
284.76012358697113,
285.8198495696143,
286.8343958931195,
287.8067043239023,
288.7389708325572,
289.6308534004334,
290.4805495482307,
291.2883811895899,
292.05066402825446,
292.7313142785748,
293.33213966856937,
293.8931224477584,
294.82761247167355,
295.7511329668278,
296.6451992341491,
297.5112866664259,
298.3507986733996,
299.1651256455551,
299.9557264409338,
300.72425456279757,
301.47277214816177,
302.2042314601078,
302.92415040325335,
303.6495750680868,
304.43588470498696
]
},
"k"
]
}
},
"tolerance": {
"abs": 3.04435884704987e-07,
"rel": 0.0
}
},
{
"variable": "Tv_env_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
268.9031682677661,
270.5068782921552,
272.05010974514136,
273.5283482536484,
274.7511890283011,
276.18732110335907,
277.39416657870777,
278.51997130775254,
279.5803050165274,
280.57338340927487,
281.5097358483996,
282.40868295661267,
283.4402414623429,
284.5877254563814,
285.6557818729729,
286.69306471525374,
287.7104371580754,
288.719543117264,
289.68060816904006,
290.5538523463213,
291.3191470473037,
292.07653898185276,
292.9151899182594,
293.7862488836898,
294.7538439481773,
295.6838061582619,
296.58086110326894,
297.44761818023517,
298.28593887150123,
299.0973201788241,
299.88307090967265,
300.64438945886354,
301.3824399106136,
302.09905604705244,
302.79408281844394,
303.45436068801365,
304.13969325513295
]
},
"k"
]
}
},
"tolerance": {
"abs": 3.0413969325513296e-07,
"rel": 0.0
}
},
{
"variable": "buoy_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
-0.0025996076240315255,
-0.0023809379555934746,
-0.002015500434906564,
-0.0016486922322630569,
-0.0005321676126612648,
-0.0004325346215381825,
0.00025403300143107815,
0.0010134666858005138,
0.0018073744879603371,
0.0026599920307432664,
0.00354805282665445,
0.004414369247809387,
0.004656650438267399,
0.004329505467099747,
0.004125993923241189,
0.003884431629884846,
0.0035748917718847356,
0.00315638585919796,
0.002761459885930207,
0.002528029958429515,
0.0025110501261764364,
0.002241793534682814,
0.001423448713691958,
0.0003637800083384185,
0.0002502716249876126,
0.00022769866716968143,
0.00021693284806321728,
0.00021404940668299615,
0.0002174417008852228,
0.00022670034853707594,
0.000242279535956308,
0.000265646413950304,
0.00029972627992186124,
0.00034814876428798837,
0.0004295578817086693,
0.0006433072163818474,
0.0009738664713044915
]
},
"k"
]
}
},
"tolerance": {
"abs": 4.6566504382674e-12,
"rel": 0.0
}
},
{
"variable": "buoy_acc_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
-0.024429576068060628,
-0.02156453030540269,
-0.017972865032466992,
-0.010697117539353799,
-0.004731864458748289,
-0.000875550446625347,
0.006217085965870959,
0.013836225957296975,
0.021912432774241174,
0.0304504600255358,
0.03905568027524513,
0.04449335156020663,
0.04407709471582585,
0.041474224509622286,
0.039291137338083204,
0.0365879812856798,
0.03301691678046062,
0.029027033379853663,
0.025944947686584438,
0.024716687814992193,
0.023312698156514624,
0.01797801322827826,
0.008766356881558997,
0.003011923261464183,
0.0023444442830315272,
0.002180917582217368,
0.002113967959530177,
0.002116463882622114,
0.0021785167524163754,
0.002300346333440048,
0.002491376784291932,
0.0027731530634429705,
0.0031778270918493123,
0.0038146510986136056,
0.005262403306133985,
0.007932236938101493,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 4.449335156020664e-11,
"rel": 0.0
}
},
{
"variable": "lab_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "kcbot",
"time": 0.0,
"expected": 46.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "kctop",
"time": 0.0,
"expected": 23.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "ktype",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "wbase",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 1e-12,
"rel": 1e-09
}
}
]
},
{
"id": "step1801_col2_shallow_ascent",
"description": "cutypen's shallow test parcel, step 1801, TILE COLUMN 2 of 2: a saturated ascent through 29 levels in tile column 2, cloud base 47 and top 30, also rejected as too deep. Reference: the real64 replay of the chem170 single-column run (em_scm_xy, Weisman-Klemp sounding, dx = 20 km, 59 levels, dt = 60 s, cu_physics = 16) through kernels/ntiedtke_driver of WRF fork branch earthsciml-instrumented-chem170, the sh_* tape spliced in at the end of cutypen's shallow phase (fork commit 177342a5); the seven cu_ntiedtke_init arguments at binary64, the scheme's literals at their binary32 roundings (FORTRAN_BUGS N109). Inputs: the environment the ascent saw (sh_*), cuinin's parcel (ci_*) and the TEACHER TRAJECTORY sh_ptu/sh_pqu/sh_dh, from which each level is stepped (see the component description). Algebraic observeds at t = 0 with no ODE state; the empty time_span is one static evaluation. Arrays are compared as Linf errors at 1e-9 of each profile's maximum (the project baseline for a double-precision kernel reference); labels, levels and the type are integers compared exactly.",
"parameter_overrides": {},
"expression_template_imports": [
{
"ref": "./tests/sh_step1801_col2_inputs.esm"
}
],
"time_span": {
"start": 0,
"end": 0
},
"tolerance": {
"rel": 1e-09
},
"assertions": [
{
"variable": "T_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
219.4933319091797,
231.12160385118483,
227.44204923459606,
222.8172269842287,
218.89999902473303,
220.6552686472476,
225.36976755112047,
230.3532181725527,
234.9872587226548,
239.1223971801792,
242.76559697653286,
246.27700664890708,
249.8661950093041,
253.02975800103437,
255.5941015707019,
257.3998352912202,
260.11406351696957,
262.25501187561446,
264.0840411588536,
265.7711868313166,
267.41440164523,
268.9127683984414,
270.34036822414214,
271.62689489970865,
272.8331735933962,
273.9110873899838,
275.004962124082,
276.29708201387064,
277.39226695773834,
278.04418579462714,
279.1433935216438,
280.19896587331783,
281.21635956997426,
282.1992863974183,
283.1464750721447,
284.06112587875094,
284.95293720883427,
285.824983591693,
286.6789120271328,
287.51317850663924,
288.3204915590189,
289.0912116796857,
289.74681076666644,
290.2953747203774,
290.81407485877287,
291.2909020148014,
291.73165021699214,
292.64106468849053,
293.52172859968823,
294.37485435289693,
295.20163717500526,
296.003264257014,
296.78095916551354,
297.5360549255636,
298.2701233333435,
298.98534237399974,
299.6854355723356,
300.3794218397826,
301.10466213316
]
},
"k"
]
}
},
"tolerance": {
"abs": 3.0110466213316e-07,
"rel": 0.0
}
},
{
"variable": "q_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
7.691989417432409e-05,
0.0005820848730250639,
0.00025835458673275036,
0.00012023407660080145,
7.233292300246809e-05,
8.408779686382628e-05,
0.00013317546432503136,
0.00022083479368762094,
0.00033921089774368446,
0.00048508936191658455,
0.0006677606670726651,
0.0008973173526815944,
0.0011914790915855623,
0.0015375171720018348,
0.001896942455676922,
0.0018838479158057113,
0.0016076376372539459,
0.0015254379178231453,
0.0016616646982058748,
0.0018496773910869574,
0.002046788832168386,
0.002271215621450164,
0.002544421040316727,
0.0029391469222002226,
0.0034327764906151386,
0.0038757580858466596,
0.004215504105663128,
0.004491135303491182,
0.004784130407124402,
0.00788610807712539,
0.0083370815573268,
0.008789678109010544,
0.009245137510248852,
0.009704027889350864,
0.010163801510094059,
0.010624932980354372,
0.011092960884352783,
0.011569287204634602,
0.01205449257134815,
0.012546637794241804,
0.013038718746551815,
0.013520843445260895,
0.013920062870433694,
0.014237347176511045,
0.014538696211838344,
0.014811529898396363,
0.01505949728413595,
0.015095619070026592,
0.015125426181496763,
0.015151451274650648,
0.015175245662971794,
0.015197952723564584,
0.015220579723890543,
0.015244219398585598,
0.015270243574069602,
0.015300731248290643,
0.015339136915848617,
0.01541177995855007,
0.015544347903796031
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.5544347903796033e-11,
"rel": 0.0
}
},
{
"variable": "dh_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
310746.6158587303,
310154.75370460056,
309588.15133937664,
309048.1921602071,
308534.85884538636,
308043.4902280358,
307574.1707035061,
307133.91437891073,
306723.2601206388,
306341.3667296436,
305984.2415269601,
305642.3436391985,
305303.8023336603,
304884.229982011,
304394.27801184374,
303908.63050642837,
303413.5022384188,
302914.09958571766,
302915.86619589734,
302917.9140273126,
302920.3197112789,
302923.1917242996,
302926.6891488073,
302931.05580628227,
302936.68678332435,
302944.27030130744,
302955.1304423927,
302972.2088979202,
303003.75924035045,
303086.51113819564
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.0003107466158587303,
"rel": 0.0
}
},
{
"variable": "s_env_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
311125.9092836222,
310421.40600986895,
309769.2815075738,
309181.73107587633,
308624.35799536563,
308044.00542034564,
307547.72418611863,
307091.0018126815,
306574.3592606136,
306104.7088752767,
305593.543201372,
305042.92808675143,
304434.0013622476,
303742.4118651732,
303296.04727392114,
303106.8827614271,
302971.98583007447,
302896.5939657211,
302896.5939657211,
302896.5939657211,
302896.5939657211,
302896.5939657211,
302896.5939657211,
302896.5939657211,
302896.5939657211,
302896.5939657211,
302896.5939657211,
302896.5939657211,
302896.5939657211,
302896.5939657211
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.00031112590928362223,
"rel": 0.0
}
},
{
"variable": "l_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0031713749299420897,
0.0029534243203050616,
0.002742040046185149,
0.0025388145455531932,
0.0023444144373085726,
0.002156469942767336,
0.0019752950159428843,
0.0018046787916906615,
0.0016436642046074243,
0.001490852161010645,
0.001343936886231717,
0.0011973179709699935,
0.0010444572187965299,
0.0008515500386330685,
0.0006274245881830696,
0.00040982739755629494,
0.0001990500320837793,
9.99999993922529e-09,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 3.17137492994209e-12,
"rel": 0.0
}
},
{
"variable": "ke_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
-6.901920687543908,
1.0468756677389828,
7.670638460260756,
13.287950288076852,
18.129643040189208,
22.126396923943958,
25.372077382504877,
28.04889361066168,
29.80987608968101,
30.34965116836029,
29.50838218281537,
26.931705241869373,
22.28069611183517,
16.8790187881479,
11.492595595444921,
6.445601232358882,
3.024672671735468,
1.6725431661566752,
1.4442900987939584,
1.2833888278630026,
1.163257378549832,
1.0693959996242948,
0.9928375856631947,
0.9275010892283411,
0.8687148999971371,
0.8126878992886585,
0.7556568236691196,
0.693720870284434,
0.5507668886502208,
0.08376159974672143
]
},
"k"
]
}
},
"tolerance": {
"abs": 3.0349651168360294e-08,
"rel": 0.0
}
},
{
"variable": "Tv_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
278.4963513883679,
279.7347706279224,
280.9289596521107,
282.0840749239918,
283.2036762589565,
284.28665055100004,
285.3361383287732,
286.36170497177125,
287.36691070302714,
288.3538758560379,
289.3213389410425,
290.26231503629646,
291.1672089552772,
291.95378104478345,
292.62761985842013,
293.26708235470085,
293.85767803466683,
294.40438807823506,
295.3285650969315,
296.2226392626135,
297.0882760023113,
297.92695297917487,
298.7400697461719,
299.5290404281083,
300.29540710531273,
301.0410055215168,
301.76841428044276,
302.4820262378985,
303.19576337022187,
303.9520873731941
]
},
"k"
]
}
},
"tolerance": {
"abs": 3.039520873731941e-07,
"rel": 0.0
}
},
{
"variable": "Tv_env_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
279.2864262943668,
280.33195213522407,
281.357292210871,
282.37594176976324,
283.3676351028852,
284.3002642742251,
285.2405078804075,
286.15224924207894,
286.9754467578499,
287.789509158979,
288.5545712501613,
289.26483646150166,
289.92630991785757,
290.87513904801955,
291.53453992848534,
292.44894451627664,
293.39471701711625,
294.3112707919703,
295.25109822897457,
296.15400156834204,
297.02452929741776,
297.8653823167946,
298.6784981842566,
299.46544073570755,
300.2275245764018,
300.9661233219423,
301.6824156262929,
302.37830457339237,
303.039005108421,
303.72328556993426
]
},
"k"
]
}
},
"tolerance": {
"abs": 3.037232855699343e-07,
"rel": 0.0
}
},
{
"variable": "buoy_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
-0.0028289054949135147,
-0.0021302655753405557,
-0.0015223794464132012,
-0.0010336108803823405,
-0.0005786082234450189,
-4.788501783438518e-05,
0.0003352625090885658,
0.0007319730327022986,
0.0013641025725366445,
0.0019610398541218227,
0.0026572709888433373,
0.003448322952062486,
0.004280049774617597,
0.0037082646536727125,
0.0037494011179701908,
0.0027975407460520754,
0.0015779459911801162,
0.000316390486895726,
0.0002623762228883557,
0.00023176352137050366,
0.00021461764469199576,
0.0002067063379483531,
0.00020614661681237826,
0.00021237740236243518,
0.00022610361593839172,
0.0002488060740790294,
0.0002850635293785432,
0.00034301953194838336,
0.0005172874090738756,
0.0007533232192931696
]
},
"k"
]
}
},
"tolerance": {
"abs": 4.280049774617597e-12,
"rel": 0.0
}
},
{
"variable": "buoy_acc_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
-0.024324734099596214,
-0.01791622383170218,
-0.012537132552932134,
-0.007907934704273197,
-0.0030729493484754774,
0.001409586594601756,
0.005234790332484191,
0.010281250843697015,
0.01630982360275978,
0.022652814684744112,
0.029947938280143065,
0.03790766822436581,
0.03918268227076397,
0.03657985060990844,
0.03211274984302921,
0.0214617624461239,
0.009291720424962006,
0.0028388507114909204,
0.0024237554455897054,
0.0021894996195365598,
0.0020665941348509114,
0.0020250437431013875,
0.00205286031405246,
0.002150749394765556,
0.0023294320295354507,
0.002618630404959393,
0.003080747415808575,
0.0042198055457141805,
0.006232345132140357,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 3.9182682270763975e-11,
"rel": 0.0
}
},
{
"variable": "lab_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "kcbot",
"time": 0.0,
"expected": 47.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "kctop",
"time": 0.0,
"expected": 30.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "ktype",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "wbase",
"time": 0.0,
"expected": 0.0,
"tolerance": {
"abs": 1e-12,
"rel": 1e-09
}
}
]
},
{
"id": "step1730_col1_shallow_ascent",
"description": "cutypen's shallow test parcel, step 1730, TILE COLUMN 1 of 2: the one SHALLOW cloud in the tape, tile column 1: base at kernel 48, top at 32, ktype 2 and cloud-base velocity 1.80 m/s (the deep scan overrides it afterwards: the step's final ktype is 1). Reference: the real64 replay of the chem170 single-column run (em_scm_xy, Weisman-Klemp sounding, dx = 20 km, 59 levels, dt = 60 s, cu_physics = 16) through kernels/ntiedtke_driver of WRF fork branch earthsciml-instrumented-chem170, the sh_* tape spliced in at the end of cutypen's shallow phase (fork commit 177342a5); the seven cu_ntiedtke_init arguments at binary64, the scheme's literals at their binary32 roundings (FORTRAN_BUGS N109). Inputs: the environment the ascent saw (sh_*), cuinin's parcel (ci_*) and the TEACHER TRAJECTORY sh_ptu/sh_pqu/sh_dh, from which each level is stepped (see the component description). Algebraic observeds at t = 0 with no ODE state; the empty time_span is one static evaluation. Arrays are compared as Linf errors at 1e-9 of each profile's maximum (the project baseline for a double-precision kernel reference); labels, levels and the type are integers compared exactly.",
"parameter_overrides": {},
"expression_template_imports": [
{
"ref": "./tests/sh_step1730_col1_inputs.esm"
}
],
"time_span": {
"start": 0,
"end": 0
},
"tolerance": {
"rel": 1e-09
},
"assertions": [
{
"variable": "T_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
219.45716857910156,
231.0885205696673,
227.37871035436885,
222.84276664298957,
218.85371600094615,
220.60131146038722,
225.37348660479356,
230.36308232514406,
234.97525252544344,
239.03314246846426,
242.67814012636597,
246.22754632643662,
249.82186451882671,
252.97726996762316,
255.56733879773242,
257.30522088996133,
260.0922514103469,
262.216574385739,
264.0339504648577,
265.71831466981195,
267.3710041095672,
268.86394165573904,
270.3010030792299,
271.6121964981465,
272.81988286909944,
273.91291631016924,
275.02937851977435,
276.2514726872645,
277.32791995867865,
278.35485836017125,
279.3505754688566,
280.05850484567975,
281.0685050724124,
282.0437208405635,
282.9814959169669,
283.8853727356474,
284.76702601095093,
285.6251756726454,
286.4608966469525,
287.2764117291102,
288.0653427169384,
288.8197081962596,
289.5301416538978,
290.1820090266533,
290.74183182356234,
291.2314847281111,
291.68960995232675,
292.1531236527182,
293.03287581980015,
293.88519459009933,
294.7112842464304,
295.5123527845216,
296.2896551434488,
297.04458012375807,
297.77879910306063,
298.49468770413796,
299.19642238346444,
299.89423650844446,
300.6309595833459
]
},
"k"
]
}
},
"tolerance": {
"abs": 3.006309595833459e-07,
"rel": 0.0
}
},
{
"variable": "q_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
7.695446420485147e-05,
0.0005803481291199212,
0.0002568527167791933,
0.00012049853853790502,
7.219670718408374e-05,
8.390294174986435e-05,
0.0001329801453878522,
0.0002198401244022011,
0.0003354362893310246,
0.000483170872624501,
0.0006706666197440607,
0.0008958001689749328,
0.0011954684008247296,
0.0015454105247813268,
0.0019047437963016537,
0.0018904999826391594,
0.0015943848401570868,
0.0015186912468082173,
0.0016631844200795931,
0.0018541023971728066,
0.0020510816526209934,
0.002278051949223985,
0.0025515091831147525,
0.0029401307674371464,
0.0034385796263228705,
0.003895195535352983,
0.004237460291583752,
0.004508100144364883,
0.00480748242110706,
0.005131218961523889,
0.005454214160736691,
0.00870476592666162,
0.009151897479548856,
0.009601872956625656,
0.01005119493568162,
0.010500457391659753,
0.010956481035174114,
0.011417372210898178,
0.011882984686142071,
0.012354095420046642,
0.012824516846387342,
0.013285972979916794,
0.01372817875625566,
0.014135194952556,
0.014472590510029061,
0.014756457862822637,
0.015020399204279378,
0.015245541919915334,
0.015280426063542794,
0.015309392944633324,
0.015334960178497144,
0.015358682264296845,
0.015381774089297537,
0.015405446651203343,
0.015431134741474523,
0.015460939929454872,
0.015498800110187819,
0.015571261751881902,
0.015703453040281642
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.5703453040281642e-11,
"rel": 0.0
}
},
{
"variable": "dh_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
309426.576030083,
308879.3170464102,
308358.2691077835,
307857.406210605,
307377.1205140321,
306926.4640318088,
306501.65652054537,
306101.2689606724,
305725.02536704746,
305364.4160084322,
305009.19259359204,
304647.8771631665,
304263.81306971464,
303819.89839074295,
303339.2977680302,
302858.40114877233,
302413.53578227555,
302415.89102295216,
302418.6578558915,
302421.9610393333,
302425.9835478332,
302431.0058059498,
302437.4822199107,
302446.20433379005,
302458.6950561308,
302478.3383245953,
302514.62739158014,
302609.80618761905
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.000309426576030083,
"rel": 0.0
}
},
{
"variable": "s_env_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
309705.25515907595,
309136.7305040318,
308601.1094891376,
308017.63030470355,
307554.06158344477,
307124.0180536761,
306545.7384728908,
306086.6062921588,
305602.29923837545,
305071.03951443906,
304502.4895251118,
303960.36290746793,
303316.9428821188,
303007.5252698021,
302611.49408429937,
302444.04981663584,
302391.364238777,
302391.364238777,
302391.364238777,
302391.364238777,
302391.364238777,
302391.3642387771,
302391.3642387771,
302391.3642387771,
302391.3642387771,
302391.36423877714,
302391.36423877714,
302391.36423877714
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.00030970525515907596,
"rel": 0.0
}
},
{
"variable": "l_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0028083889365015536,
0.002605663560599738,
0.0024124147256111787,
0.0022254523262358675,
0.002045426999403792,
0.0018773790166773108,
0.0017173524586617944,
0.001563615845303807,
0.0014167152629506446,
0.00127162651908355,
0.0011226656715505722,
0.0009650435814295092,
0.0007913307816384066,
0.000592048032353628,
0.00038179495484835617,
0.00017779324559193642,
9.99999993922529e-09,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 2.808388936501554e-12,
"rel": 0.0
}
},
{
"variable": "ke_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
-3.454984377500809,
2.052957325714347,
7.027734053207419,
11.349037966055104,
15.18685793571397,
18.843496403958994,
21.704701075186502,
23.462009529137045,
24.28114824595861,
23.87822175428635,
21.995148768823206,
18.705751334917938,
14.013793243099808,
9.504490897982961,
5.816407821017515,
2.831831247850323,
1.6176391195139992,
1.4160594611217376,
1.274179841830066,
1.1677183628732548,
1.0836570761078357,
1.013847291032873,
0.9523553491754662,
0.894528087045814,
0.8358860029126256,
0.7694736364758669,
0.6145356161102751,
0.09381234628185303
]
},
"k"
]
}
},
"tolerance": {
"abs": 2.4281148245958613e-08,
"rel": 0.0
}
},
{
"variable": "Tv_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
280.7550840270318,
281.90103180407345,
283.0108497341715,
284.0821005011148,
285.1181892921936,
286.13052804826214,
287.1185803712122,
288.0838537113127,
289.02852535835393,
289.9465035835803,
290.8298992368577,
291.6688034625662,
292.44774722541536,
293.12955825275026,
293.7347587558259,
294.30316414283027,
294.8627895353552,
295.7569200425329,
296.62234094979755,
297.460708504582,
298.27351510471675,
299.0622426359784,
299.828509858424,
300.57426359508526,
301.3022851706895,
302.0175115681966,
302.7351255219814,
303.50300435576776
]
},
"k"
]
}
},
"tolerance": {
"abs": 3.035030043557678e-07,
"rel": 0.0
}
},
{
"variable": "Tv_env_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
281.31663811941024,
282.3528295179346,
283.3645478017823,
284.3003571379707,
285.26914475982284,
286.20206265097704,
286.987636806515,
287.80989686632216,
288.59919553870486,
289.3194128181719,
290.007561418142,
290.7028149985422,
291.33214245419765,
292.3506060786201,
292.9944496310392,
293.86500847507006,
294.77083914150654,
295.67886639210025,
296.55149283344815,
297.3931809747292,
298.20647696556205,
298.99320799967586,
299.75480506389283,
300.49273143481133,
301.2081866328879,
301.9024920445441,
302.5623731700339,
303.24571181922136
]
},
"k"
]
}
},
"tolerance": {
"abs": 3.032457118192214e-07,
"rel": 0.0
}
},
{
"variable": "buoy_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
-0.0019961638107593746,
-0.0016001175360363885,
-0.0012482086074445647,
-0.0007676973713754664,
-0.0005291685778225719,
-0.0002499443996046305,
0.000456269009195932,
0.000951867354018733,
0.0014876334594338498,
0.002167468678648667,
0.002835573716404025,
0.003322941554689975,
0.003829322648094335,
0.0026644452172631212,
0.0025267001669109675,
0.0014910100050152253,
0.00031193856935258585,
0.00026398116099763275,
0.00023890662519505858,
0.00022706482250687624,
0.00022480443696883793,
0.0002308903160857813,
0.0002458836131600002,
0.00027132822775651963,
0.00031240365294695426,
0.00038098235915037077,
0.0005709644267313609,
0.0008484622420639058
]
},
"k"
]
}
},
"tolerance": {
"abs": 3.8293226480943354e-12,
"rel": 0.0
}
},
{
"variable": "buoy_acc_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
-0.017639760006033216,
-0.013971039733774076,
-0.009888018826112253,
-0.0063611274808163774,
-0.003821549154280428,
0.001012022210045334,
0.006906908861567931,
0.011965751489984919,
0.017928275987294746,
0.024539922947733456,
0.030207517404716073,
0.03508185591465705,
0.03185193137957833,
0.025462568109373907,
0.019706868393297976,
0.008843462757274113,
0.0028248862773678223,
0.0024666645912751507,
0.00228558995097799,
0.002216418717728378,
0.0022351827637329073,
0.002338576122950559,
0.00253692407969553,
0.0028632048748505395,
0.0034010583893373794,
0.004669298984749894,
0.006962287810440783,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 3.508185591465705e-11,
"rel": 0.0
}
},
{
"variable": "lab_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "kcbot",
"time": 0.0,
"expected": 48.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "kctop",
"time": 0.0,
"expected": 32.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "ktype",
"time": 0.0,
"expected": 2.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "wbase",
"time": 0.0,
"expected": 1.7986879215216847,
"tolerance": {
"abs": 1e-12,
"rel": 1e-09
}
}
]
},
{
"id": "step1730_col2_shallow_ascent",
"description": "cutypen's shallow test parcel, step 1730, TILE COLUMN 2 of 2: the same SHALLOW cloud in tile column 2, cloud-base velocity 1.85 m/s: the two columns share a base and a top but not a launch. Reference: the real64 replay of the chem170 single-column run (em_scm_xy, Weisman-Klemp sounding, dx = 20 km, 59 levels, dt = 60 s, cu_physics = 16) through kernels/ntiedtke_driver of WRF fork branch earthsciml-instrumented-chem170, the sh_* tape spliced in at the end of cutypen's shallow phase (fork commit 177342a5); the seven cu_ntiedtke_init arguments at binary64, the scheme's literals at their binary32 roundings (FORTRAN_BUGS N109). Inputs: the environment the ascent saw (sh_*), cuinin's parcel (ci_*) and the TEACHER TRAJECTORY sh_ptu/sh_pqu/sh_dh, from which each level is stepped (see the component description). Algebraic observeds at t = 0 with no ODE state; the empty time_span is one static evaluation. Arrays are compared as Linf errors at 1e-9 of each profile's maximum (the project baseline for a double-precision kernel reference); labels, levels and the type are integers compared exactly.",
"parameter_overrides": {},
"expression_template_imports": [
{
"ref": "./tests/sh_step1730_col2_inputs.esm"
}
],
"time_span": {
"start": 0,
"end": 0
},
"tolerance": {
"rel": 1e-09
},
"assertions": [
{
"variable": "T_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
219.4573974609375,
231.08861292632957,
227.37885796162635,
222.8457810146978,
218.85590495057667,
220.60165180583132,
225.37528241808562,
230.3656909466523,
234.97321810894945,
239.03282912774068,
242.67992071056474,
246.22648119449914,
249.82124887153688,
252.9766016930349,
255.56406019837632,
257.30221399645364,
260.09114745881885,
262.21351897720314,
264.0309560282526,
265.716058521794,
267.3694080779632,
268.86382177106293,
270.30236893852947,
271.6156246043538,
272.8251008599499,
273.91912879549176,
275.0349014368815,
276.25757495698645,
277.3329374900828,
278.35767179062356,
279.349851134338,
280.0233570392759,
281.031391830241,
282.0043316184258,
282.94108679860295,
283.8447274597015,
284.72457656641626,
285.5846098312787,
286.4267672956212,
287.24855180728014,
288.0418361148913,
288.79928792504825,
289.51427316486155,
290.1705353304809,
290.73436485865193,
291.22560022239685,
291.6830561538959,
292.2060608960611,
293.0860496861557,
293.9386466168321,
294.76506280611306,
295.56651913551553,
296.34429425822503,
297.0998140103841,
297.83481644597055,
298.5518033890651,
299.2552359785907,
299.9561330587657,
300.700867832696
]
},
"k"
]
}
},
"tolerance": {
"abs": 3.00700867832696e-07,
"rel": 0.0
}
},
{
"variable": "q_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
7.695295831341996e-05,
0.0005803476823313583,
0.00025685354346666265,
0.00012052828370745896,
7.220604458770224e-05,
8.390882492385778e-05,
0.0001329701234600191,
0.0002195788937796752,
0.0003346822419427584,
0.0004831808414507859,
0.0006708575111680657,
0.0008959179036015166,
0.0011956712808042552,
0.0015457881146493972,
0.001904922246668113,
0.0018900053642640386,
0.0015936300011685938,
0.001518770945569655,
0.0016636886129882177,
0.0018545227313001064,
0.00205137061074411,
0.002278120414507284,
0.0025511103075202056,
0.0029387732492139546,
0.003436009158064666,
0.0038924261503079116,
0.004235152767216851,
0.004505826025240898,
0.004805478564456693,
0.005130139068647724,
0.005454703911413255,
0.008683634752498783,
0.0091286264985648,
0.009576158323896246,
0.010023789429443115,
0.010471863713463102,
0.010925531975611158,
0.011386778575271171,
0.011856387846456436,
0.012331687650044732,
0.012805024592318411,
0.013268552368543988,
0.013714303792275817,
0.014124957089885858,
0.014465858981837896,
0.014751097000398752,
0.01501432782781051,
0.015216506924006404,
0.015252305385861921,
0.01528241649771542,
0.015309206273591619,
0.015334224343349263,
0.015358724514292293,
0.01538398390881976,
0.015411541975704659,
0.01544368410369867,
0.01548472194059974,
0.015561851336187234,
0.015701087146951332
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.5701087146951333e-11,
"rel": 0.0
}
},
{
"variable": "dh_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
309390.980261187,
308841.7877126177,
308318.5110325837,
307816.6955002319,
307336.2851492858,
306883.93134065263,
306461.1224871406,
306067.3057623675,
305697.52147449495,
305341.349691129,
304989.25284082815,
304632.52284820494,
304252.83141134307,
303813.21332864085,
303334.0334373136,
302852.5369628628,
302467.40879265196,
302469.96160456765,
302472.96054797014,
302476.5408395951,
302480.9007927923,
302486.34435356624,
302493.36402853334,
302502.81773942325,
302516.3560621162,
302537.64665246336,
302576.97791155847,
302680.13414299535
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.00030939098026118705,
"rel": 0.0
}
},
{
"variable": "s_env_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
309699.94904766604,
309126.35321824445,
308583.3922206386,
308018.8617211415,
307535.74028533313,
307091.3415317169,
306589.4225711621,
306129.10174150055,
305623.22860432067,
305084.9250181137,
304536.7210832748,
304011.0578533567,
303357.21429777995,
302935.718777442,
302637.13684835413,
302443.376865978,
302443.376865978,
302443.376865978,
302443.37686597806,
302443.37686597806,
302443.37686597806,
302443.37686597806,
302443.37686597806,
302443.3768659781,
302443.3768659782,
302443.3768659782,
302443.3768659782,
302443.3768659782
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.00030969994904766606,
"rel": 0.0
}
},
{
"variable": "l_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.002758146994153462,
0.002555534538967511,
0.0023621575113681927,
0.0021757748048104684,
0.0019966536802001455,
0.0018284299923686607,
0.0016705692318401619,
0.0015217614607791925,
0.0013792272671037005,
0.00123714611848302,
0.0010907954007522858,
0.0009368260980447806,
0.0007666764946771768,
0.0005688190626007943,
0.00035852628148930026,
0.00015493215028748557,
9.99999993922529e-09,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 2.758146994153462e-12,
"rel": 0.0
}
},
{
"variable": "ke_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
-4.542486660870653,
1.0111853365841068,
5.997332939834907,
10.369838932090005,
14.242951929087544,
17.822901002829443,
20.780302358553726,
22.82335733556538,
23.81799679937964,
23.500053671517563,
21.76489249517444,
18.723237642602175,
14.313118574254755,
9.678783701840768,
5.82915230310492,
2.932025763635901,
1.7150719848478415,
1.5115459133147529,
1.3660448135318026,
1.2558610438352134,
1.168173641669991,
1.0947335787986752,
1.0294214347182,
0.9673158311742936,
0.9034553329279232,
0.8297276956207339,
0.6622681521451333,
0.10105046742828289
]
},
"k"
]
}
},
"tolerance": {
"abs": 2.3817996799379642e-08,
"rel": 0.0
}
},
{
"variable": "Tv_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
280.73031790075197,
281.87391784639374,
282.98108657480344,
284.0508727015587,
285.08627398804276,
286.0964514768402,
287.0858476934946,
288.0568846816585,
289.0073481050316,
289.9293595716139,
290.81548024397716,
291.65854333082393,
292.44153061242105,
293.12759280709867,
293.73465031560573,
294.30214245651393,
294.91105629268554,
295.8055742272792,
296.6714668495372,
297.5103704833647,
298.3237897502057,
299.1132375606841,
299.88038213287666,
300.6272567707071,
301.35680394177155,
302.07431670009635,
302.79589118474706,
303.57314766096596
]
},
"k"
]
}
},
"tolerance": {
"abs": 3.0357314766096595e-07,
"rel": 0.0
}
},
{
"variable": "Tv_env_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
281.3120351156472,
282.3436045895969,
283.3491600508553,
284.29525139760455,
285.2486612771083,
286.1724774589146,
287.0053483467675,
287.8268402279713,
288.59720147605896,
289.3210838255844,
290.0255210606848,
290.73168088713044,
291.3582021773759,
292.26788451173064,
293.0219982297156,
293.8601907810074,
294.8158853168712,
295.72355294248996,
296.59637383093127,
297.4383570424781,
298.2519550726282,
299.0389796496562,
299.80086872517717,
300.53909682814697,
301.2548794462009,
301.949568516145,
302.61020488185915,
303.29535797265805
]
},
"k"
]
}
},
"tolerance": {
"abs": 3.0329535797265806e-07,
"rel": 0.0
}
},
{
"variable": "buoy_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
-0.0020678717661548438,
-0.0016635288902183101,
-0.001299010295233577,
-0.0008595947165647502,
-0.0005692832644279007,
-0.00026566489813946496,
0.00028048030181595515,
0.000799246010222802,
0.0014211732715179461,
0.002102424538116774,
0.002723757483145984,
0.0031880338629257476,
0.003718201262052039,
0.002941507914235158,
0.0024320770802041523,
0.0015039521832879718,
0.0003228149518201115,
0.0002773579715687091,
0.000253182524236515,
0.0002421121525905962,
0.0002408523275564322,
0.00024832184458001435,
0.0002652207381439672,
0.00029333934749444803,
0.0003383330944149725,
0.00041314244813921505,
0.0006136154693144243,
0.0009159048465652673
]
},
"k"
]
}
},
"tolerance": {
"abs": 3.718201262052039e-12,
"rel": 0.0
}
},
{
"variable": "buoy_acc_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
-0.018302520219510322,
-0.014531254704641507,
-0.010587957582870795,
-0.007008646496768953,
-0.004095420737392929,
7.266955503318435e-05,
0.005296057560550104,
0.010891156576938371,
0.017283247256258304,
0.02367242281429383,
0.028997336552481844,
0.03387508328801605,
0.0326658735096887,
0.026357434397724817,
0.019306223537428873,
0.008960292797705148,
0.0029438481892221655,
0.002602301131924624,
0.0024294203898369802,
0.002368940775121174,
0.0023993993143292705,
0.00251892636826113,
0.002739737220056427,
0.003098353327565708,
0.00368598753622829,
0.005036247585110102,
0.007502297149389888,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 3.387508328801605e-11,
"rel": 0.0
}
},
{
"variable": "lab_out",
"time": 0.0,
"reduce": "Linf_error",
"expected": 0.0,
"reference": {
"op": "faq",
"output_idx": [
"k"
],
"args": [],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "index",
"args": [
{
"op": "const",
"args": [],
"value": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "kcbot",
"time": 0.0,
"expected": 48.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "kctop",
"time": 0.0,
"expected": 32.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "ktype",
"time": 0.0,
"expected": 2.0,
"tolerance": {
"abs": 0.0,
"rel": 0.0
}
},
{
"variable": "wbase",
"time": 0.0,
"expected": 1.8520647855017607,
"tolerance": {
"abs": 1e-12,
"rel": 1e-09
}
}
]
}
]
}