GWDOColumnState
The column state GWDO builds before it knows anything about the orography: the thermodynamic profile, the earth-relative wind, the three orography-referenced level indices, the pressure-weighted low-level means, the projected wind speed along the low-level flow, and the layer Richardson number and squared Brunt-Vaisala frequency -- together with the six-way gate `ldrag` that switches the whole scheme off in a column. This is lines 249-459 of `phys/physics_mmm/bl_gwdo.F90` (WRF 4.8, NCAR/MMM-physics CCPP kernel `bl_gwdo_run`, the Hong et al. 2025 revision), which every later stage reads and none of which mentions the sub-grid orography statistics beyond the standard deviation `var` and the maximum height `omax` = ELVMAX.
Description
The column state GWDO builds before it knows anything about the orography: the thermodynamic profile, the earth-relative wind, the three orography-referenced level indices, the pressure-weighted low-level means, the projected wind speed along the low-level flow, and the layer Richardson number and squared Brunt-Vaisala frequency – together with the six-way gate ldrag that switches the whole scheme off in a column. This is lines 249-459 of phys/physics_mmm/bl_gwdo.F90 (WRF 4.8, NCAR/MMM-physics CCPP kernel bl_gwdo_run, the Hong et al. 2025 revision), which every later stage reads and none of which mentions the sub-grid orography statistics beyond the standard deviation var and the maximum height omax = ELVMAX.
The column is a consumer-supplied read, not owned state: u, v, T, q_v, the two pressure profiles, the Exner function and the layer heights all enter as plain algebraic reads of input_* rewrite targets and every product is an OBSERVED, so mounting this component adds no ODE state to a coupled document and cannot integrate a private copy of a column the document is also advancing.
The vertical coordinate is the COLUMN MASS above the surface, ze[k] = (p_i[1] - p_i[k])/g in kg/m^2, monotone increasing with the lev index. That is the coordinate GWDO’s own vertical operator is taken with respect to – the stress divergence is -g dtau/dp – so the EarthSciDiscretizations column_nonuniform_1d grid is mounted on it, and the layer measure dz it derives IS del/g. The geometric heights zl enter separately as data, because that is how WRF supplies them (layer centres only, with no interface heights); they are used only by the three threshold searches and by the shear denominator, never as a control volume.
RICHARDSON NUMBER, the quantity FORTRAN_BUGS N85 is about. usqj here is the RAW layer Richardson number for k >= kref and the pressure-weighted low-level average for k < kref, exactly as the Fortran overwrites level 1 with the average and then floods it down through kref-1. The wave-saturation stage compares it against ric = 0.25 and then evaluates 2 sqrt(temc) - temc with temc = 2 + 1/sqrt(Ri), which vanishes at that same 0.25; the amplification that produces is traced in wave_saturation.esm and in the tolerance of every test that reaches it.
Reference
- Hong, S.-Y., and co-authors (2025). Revision of the orographic gravity wave drag parameterization in the KIAPS Integrated Model. Wea. Forecasting.
- Choi, H.-J., and S.-Y. Hong (2015). An updated subgrid orographic parameterization for global atmospheric forecast models. J. Geophys. Res. Atmos. 120, 12445-12457.
- Kim, Y.-J., and A. Arakawa (1995). Improvement of orographic gravity wave parameterization using a mesoscale gravity wave model. J. Atmos. Sci. 52, 1875-1902.
- NCAR/MMM-physics bl_gwdo.F90 at commit 52cfbd7 (WRF 4.8 phys/physics_mmm submodule).
Observed
| Name | Units | Default | Description |
|---|---|---|---|
uproj | m/s | Projection-relative zonal wind on the model grid (WRF uproj, the rotated wind the dynamics carries). | |
vproj | m/s | Projection-relative meridional wind on the model grid (WRF vproj). | |
T | K | Layer temperature. | |
qv | kg/kg | Water-vapour mixing ratio. | |
prsi | Pa | Pressure at the NLEV+1 layer interfaces, decreasing with the lev index; prsi[1] is the surface. | |
prsl | Pa | Pressure at the layer mid-points. | |
prslk | 1 | Exner function (p/p00)^(R_d/cp) at the layer mid-points, WRF’s pi3d. | |
zl | m | Geometric height of the layer mid-points above SEA level. GWDO compares it against ELVMAX, which is also above sea level (the comment at bl_gwdo.F90:284 records that this differs from the KIM/UFS convention, where both are above the model surface). | |
sina | 1 | Sine of the map-rotation angle between the model grid and earth coordinates. | |
cosa | 1 | Cosine of the map-rotation angle. | |
var | m | Standard deviation of the sub-grid orography (WPS VAR). | |
omax | m | Maximum sub-grid orographic height above sea level (WPS ELVMAX). WPS 4.3 does not write this field, and a run without it has omax = 0 everywhere, which the omax <= hmt_min gate below turns into silent zero drag at every point (FORTRAN_BUGS B17). | |
ze | kg/m^2 | The column’s vertical coordinate for the finite-volume operators: the air mass per unit area below each interface, (prsi[1] - prsi[k])/g, zero at the surface and increasing upward. | |
dz | kg/m^2 | Layer measure of the column_nonuniform_1d grid, derived from ze by the grid’s own column_cell_thickness template: the layer mass per unit area del/g. Every rule on this grid reads it by this bare name. | |
zc | kg/m^2 | Layer mid-points of the mass coordinate, derived from ze by the grid’s column_cell_center template. Part of the grid’s keyed-factor contract; GWDO’s own operators use only dz. | |
del | Pa | Positive pressure thickness of each layer, prsi[k] - prsi[k+1]. | |
vtj | K | Virtual temperature T (1 + eps_1 q_v). | |
vtk | K | Virtual potential temperature, vtj divided by the Exner function. | |
rho | kg/m^3 | Air density from the ideal gas law with the virtual temperature. | |
u1 | m/s | Earth-relative zonal wind, uproj cosa - vproj sina. | |
v1 | m/s | Earth-relative meridional wind, uproj sina + vproj cosa. | |
dzg | m | Geometric distance between the mid-points of layers k and k+1, zl[k+1] - zl[k]: the length the Richardson number’s shear and lapse rate are taken over. Element NLEV has no layer above it; it is set to 1 m so that the reciprocals below are finite, and the conditional that guards every use of it discards the value. | |
dw2 | m^2/s^2 | Squared vector wind difference across the interface k+1/2, (u[k]-u[k+1])^2 + (v[k]-v[k+1])^2, zero at NLEV. | |
zref | m | Depth of the wave-launch layer, 2 var. | |
kgwdmax | 1 | Highest admissible reference level, NLEV/2 in integer arithmetic. It also bounds every low-level loop and separates the wind-reversal limiter from the mesosphere density limiter. | |
kref | 1 | Wave-launch (reference) level index: one above the lowest level whose height above the lowest model level reaches zref, clamped into [kgwdmin, kgwdmax]. | |
komax | 1 | Level index one above the lowest level reaching the maximum sub-grid peak ELVMAX, raised to at least kref. The flow-blocking search measures its potential energy against the height of this level. | |
kbomax | 1 | Level index one above the lowest level reaching ELVMAX + 2 var: the top of the downward flow-blocking search. | |
delks | 1/Pa | Reciprocal of the pressure depth of the sub-column below the reference level, measured on the INTERFACES: 1/(prsi[1] - prsi[kref]). | |
delks1 | 1/Pa | Reciprocal of the same depth measured on the layer MID-POINTS: 1/(prsl[1] - prsl[kref]). The scheme uses the interface form for the momentum and density means and the mid-point form for the stability means. | |
wmass | 1 | Normalised layer-mass weights del delks of the low-level momentum and density means; they sum to one over k < kref. | |
wpres | 1 | Normalised mid-point-thickness weights (prsl[k] - prsl[k+1]) delks1 of the low-level stability means; they sum to one over k < kref. The Fortran writes the k = 1 term separately as wtkbj and the rest in a loop, which is the same weight evaluated at k = 1. | |
ubar | m/s | Mass-weighted mean earth-relative zonal wind below the reference level. | |
vbar | m/s | Mass-weighted mean earth-relative meridional wind below the reference level. | |
rhobar | kg/m^3 | Mass-weighted mean density below the reference level. | |
ulow | m/s | Speed of the low-level mean wind, floored at velmin. The floor is also the calm-wind switch: ulow == velmin is one of the six conditions that turn the scheme off. | |
velco_raw | m/s | The projected interface wind speed before small positive values are raised to velmin: ((u[k]+u[k+1]) ubar + (v[k]+v[k+1]) vbar) / (2 ulow), zero at NLEV. | |
velco | m/s | Wind speed at the layer INTERFACE k+1/2 projected on the low-level mean wind direction, ((u[k]+u[k+1]) ubar + (v[k]+v[k+1]) vbar) / (2 ulow). A small POSITIVE value is raised to velmin; a negative one is left alone, because its sign is what detects a critical level. Element NLEV is never defined by the Fortran (the array is declared kts:kte-1) and never read; it is set to zero here. | |
usqj_raw | 1 | Layer (gradient) Richardson number N^2/S^2 across the interface k+1/2, floored at rimin, with the squared shear floored at dw2min. Element NLEV is undefined in the Fortran and set to zero here. | |
bnv2_raw | 1/s^2 | Squared Brunt-Vaisala frequency across the interface k+1/2, from the virtual potential temperature: 2 g (theta_v[k+1] - theta_v[k]) / ((theta_v[k+1] + theta_v[k]) dz_geom). Element NLEV is undefined in the Fortran and set to zero here. | |
bnv2low | 1/s^2 | Pressure-weighted mean of bnv2_raw below the reference level. The Fortran stores it back into bnv2(:,1), and its sign is the sixth off-switch: a statically unstable launch layer means no drag. | |
usqjlow | 1 | Pressure-weighted mean of usqj_raw below the reference level; the Fortran stores it back into usqj(:,1). | |
bnv2 | 1/s^2 | The N^2 profile as the later stages see it: the low-level mean at k = 1 and the raw layer value above. The flow-blocking search reads it at every level and the wave-saturation profile reads it at k >= kref, so the substitution at k = 1 reaches only the launch stress, through bnv = sqrt(bnv2[1]). | |
usqj | 1 | The Richardson-number profile as the later stages see it: the low-level mean flooded through every level below kref, and the raw layer value at and above kref. Only the k >= kref part reaches the wave-saturation branch. | |
nbad | 1 | Number of levels strictly between the second and the reference level at which the projected wind is non-positive (a critical level) or the stratification is unstable. Any such level switches the scheme off. | |
ldrag | 1 | The scheme’s off switch, 1 when NO drag is computed in this column and 0 otherwise. Six conditions in OR: the sub-grid peak is below hmt_min (50 m, the ELVMAX condition of FORTRAN_BUGS B17); the sub-grid standard deviation is not positive; the projected wind is non-positive at the lowest interface; the low-level wind is calm (ulow at its floor); some level below the reference level has a critical level or unstable stratification; or the low-level mean N^2 is not positive. The daytime mixed layer of the reference run trips the fifth and sixth conditions, which is why GWDO is almost entirely off there. |
Observed expressions
$$ uproj = \mathrm{input_uproj}\left(\right) $$Projection-relative zonal wind on the model grid (WRF uproj, the rotated wind the dynamics carries).
Projection-relative meridional wind on the model grid (WRF vproj).
Layer temperature.
$$ qv = \mathrm{input_qv}\left(\right) $$Water-vapour mixing ratio.
$$ prsi = \mathrm{input_prsi}\left(\right) $$Pressure at the NLEV+1 layer interfaces, decreasing with the lev index; prsi[1] is the surface.
$$ prsl = \mathrm{input_prsl}\left(\right) $$Pressure at the layer mid-points.
$$ prslk = \mathrm{input_prslk}\left(\right) $$Exner function (p/p00)^(R_d/cp) at the layer mid-points, WRF’s pi3d.
Geometric height of the layer mid-points above SEA level. GWDO compares it against ELVMAX, which is also above sea level (the comment at bl_gwdo.F90:284 records that this differs from the KIM/UFS convention, where both are above the model surface).
$$ sina = \mathrm{input_sina}\left(\right) $$Sine of the map-rotation angle between the model grid and earth coordinates.
$$ cosa = \mathrm{input_cosa}\left(\right) $$Cosine of the map-rotation angle.
$$ var = \mathrm{input_var}\left(\right) $$Standard deviation of the sub-grid orography (WPS VAR).
Maximum sub-grid orographic height above sea level (WPS ELVMAX). WPS 4.3 does not write this field, and a run without it has omax = 0 everywhere, which the omax <= hmt_min gate below turns into silent zero drag at every point (FORTRAN_BUGS B17).
The column’s vertical coordinate for the finite-volume operators: the air mass per unit area below each interface, (prsi[1] - prsi[k])/g, zero at the surface and increasing upward.
$$ dz = \mathrm{column_cell_thickness}\left(ze=ze\right) $$Layer measure of the column_nonuniform_1d grid, derived from ze by the grid’s own column_cell_thickness template: the layer mass per unit area del/g. Every rule on this grid reads it by this bare name.
Layer mid-points of the mass coordinate, derived from ze by the grid’s column_cell_center template. Part of the grid’s keyed-factor contract; GWDO’s own operators use only dz.
Positive pressure thickness of each layer, prsi[k] - prsi[k+1].
$$ vtj = T \cdot \left(1.0 + wrf.ep_{1} \cdot qv\right) $$Virtual temperature T (1 + eps_1 q_v).
$$ vtk = \frac{vtj}{prslk} $$Virtual potential temperature, vtj divided by the Exner function.
$$ rho = \frac{prsl}{wrf.r_{d} \cdot vtj} $$Air density from the ideal gas law with the virtual temperature.
$$ u1 = uproj \cdot cosa - vproj \cdot sina $$Earth-relative zonal wind, uproj cosa - vproj sina.
$$ v1 = uproj \cdot sina + vproj \cdot cosa $$Earth-relative meridional wind, uproj sina + vproj cosa.
$$ dzg = \mathrm{faq}\left(zl\right) $$Geometric distance between the mid-points of layers k and k+1, zl[k+1] - zl[k]: the length the Richardson number’s shear and lapse rate are taken over. Element NLEV has no layer above it; it is set to 1 m so that the reciprocals below are finite, and the conditional that guards every use of it discards the value.
$$ dw2 = \mathrm{faq}\left(u1, v1\right) $$Squared vector wind difference across the interface k+1/2, (u[k]-u[k+1])^2 + (v[k]-v[k+1])^2, zero at NLEV.
$$ zref = 2.0 \cdot var $$Depth of the wave-launch layer, 2 var.
$$ kgwdmax = \mathrm{floor}\left(\frac{NLEV}{2}\right) $$Highest admissible reference level, NLEV/2 in integer arithmetic. It also bounds every low-level loop and separates the wind-reversal limiter from the mesosphere density limiter.
$$ kref = \mathrm{max}\left(\mathrm{min}\left(\mathrm{level_index_above}\left(z=zl - \mathrm{index}\left(zl, 1\right), thr=zref\right), kgwdmax\right), par.kgwdmin\right) $$Wave-launch (reference) level index: one above the lowest level whose height above the lowest model level reaches zref, clamped into [kgwdmin, kgwdmax].
$$ komax = \mathrm{max}\left(\mathrm{level_index_above}\left(z=zl, thr=omax\right), kref\right) $$Level index one above the lowest level reaching the maximum sub-grid peak ELVMAX, raised to at least kref. The flow-blocking search measures its potential energy against the height of this level.
$$ kbomax = \mathrm{level_index_above}\left(z=zl, thr=omax + zref\right) $$Level index one above the lowest level reaching ELVMAX + 2 var: the top of the downward flow-blocking search.
$$ delks = \frac{1.0}{\mathrm{index}\left(prsi, 1\right) - \mathrm{index}\left(prsi, kref\right)} $$Reciprocal of the pressure depth of the sub-column below the reference level, measured on the INTERFACES: 1/(prsi[1] - prsi[kref]).
$$ delks1 = \frac{1.0}{\mathrm{index}\left(prsl, 1\right) - \mathrm{index}\left(prsl, kref\right)} $$Reciprocal of the same depth measured on the layer MID-POINTS: 1/(prsl[1] - prsl[kref]). The scheme uses the interface form for the momentum and density means and the mid-point form for the stability means.
$$ wmass = del \cdot delks $$Normalised layer-mass weights del delks of the low-level momentum and density means; they sum to one over k < kref.
$$ wpres = \mathrm{faq}\left(prsl\right) $$Normalised mid-point-thickness weights (prsl[k] - prsl[k+1]) delks1 of the low-level stability means; they sum to one over k < kref. The Fortran writes the k = 1 term separately as wtkbj and the rest in a loop, which is the same weight evaluated at k = 1.
Mass-weighted mean earth-relative zonal wind below the reference level.
$$ vbar = \mathrm{weighted_mean_below}\left(f=v1, w=wmass, ktop=kref\right) $$Mass-weighted mean earth-relative meridional wind below the reference level.
$$ rhobar = \mathrm{weighted_mean_below}\left(f=rho, w=wmass, ktop=kref\right) $$Mass-weighted mean density below the reference level.
$$ ulow = \mathrm{max}\left(\sqrt{ubar \cdot ubar + vbar \cdot vbar}, par.velmin\right) $$Speed of the low-level mean wind, floored at velmin. The floor is also the calm-wind switch: ulow == velmin is one of the six conditions that turn the scheme off.
$$ velco_{raw} = \mathrm{faq}\left(u1, v1\right) $$The projected interface wind speed before small positive values are raised to velmin: ((u[k]+u[k+1]) ubar + (v[k]+v[k+1]) vbar) / (2 ulow), zero at NLEV.
$$ velco = \mathrm{ifelse}\left(\mathrm{and}\left(\mathrm{<}\left(velco_{raw}, par.velmin\right), \mathrm{>}\left(velco_{raw}, 0.0\right)\right), par.velmin, velco_{raw}\right) $$Wind speed at the layer INTERFACE k+1/2 projected on the low-level mean wind direction, ((u[k]+u[k+1]) ubar + (v[k]+v[k+1]) vbar) / (2 ulow). A small POSITIVE value is raised to velmin; a negative one is left alone, because its sign is what detects a critical level. Element NLEV is never defined by the Fortran (the array is declared kts:kte-1) and never read; it is set to zero here.
$$ usqj_{raw} = \mathrm{faq}\left(T, vtj, dzg, dw2\right) $$Layer (gradient) Richardson number N^2/S^2 across the interface k+1/2, floored at rimin, with the squared shear floored at dw2min. Element NLEV is undefined in the Fortran and set to zero here.
$$ bnv2_{raw} = \mathrm{faq}\left(vtk, dzg\right) $$Squared Brunt-Vaisala frequency across the interface k+1/2, from the virtual potential temperature: 2 g (theta_v[k+1] - theta_v[k]) / ((theta_v[k+1] + theta_v[k]) dz_geom). Element NLEV is undefined in the Fortran and set to zero here.
$$ bnv2low = \mathrm{weighted_mean_below}\left(f=bnv2_{raw}, w=wpres, ktop=kref\right) $$Pressure-weighted mean of bnv2_raw below the reference level. The Fortran stores it back into bnv2(:,1), and its sign is the sixth off-switch: a statically unstable launch layer means no drag.
$$ usqjlow = \mathrm{weighted_mean_below}\left(f=usqj_{raw}, w=wpres, ktop=kref\right) $$Pressure-weighted mean of usqj_raw below the reference level; the Fortran stores it back into usqj(:,1).
$$ bnv2 = \mathrm{faq}\left(bnv2_{raw}\right) $$The N^2 profile as the later stages see it: the low-level mean at k = 1 and the raw layer value above. The flow-blocking search reads it at every level and the wave-saturation profile reads it at k >= kref, so the substitution at k = 1 reaches only the launch stress, through bnv = sqrt(bnv2[1]).
$$ usqj = \mathrm{faq}\left(usqj_{raw}\right) $$The Richardson-number profile as the later stages see it: the low-level mean flooded through every level below kref, and the raw layer value at and above kref. Only the k >= kref part reaches the wave-saturation branch.
$$ nbad = \mathrm{faq}\left(velco, bnv2_{raw}\right) $$Number of levels strictly between the second and the reference level at which the projected wind is non-positive (a critical level) or the stratification is unstable. Any such level switches the scheme off.
$$ ldrag = \mathrm{ifelse}\left(\mathrm{or}\left(\mathrm{or}\left(\mathrm{or}\left(\mathrm{<=}\left(omax, par.hmt_{min}\right), \mathrm{<=}\left(var, 0.0\right)\right), \mathrm{or}\left(\mathrm{<=}\left(\mathrm{index}\left(velco, 1\right), 0.0\right), \mathrm{<=}\left(ulow, par.velmin\right)\right)\right), \mathrm{or}\left(\mathrm{>}\left(nbad, 0.0\right), \mathrm{<=}\left(bnv2low, 0.0\right)\right)\right), 1.0, 0.0\right) $$The scheme’s off switch, 1 when NO drag is computed in this column and 0 otherwise. Six conditions in OR: the sub-grid peak is below hmt_min (50 m, the ELVMAX condition of FORTRAN_BUGS B17); the sub-grid standard deviation is not positive; the projected wind is non-positive at the lowest interface; the low-level wind is calm (ulow at its floor); some level below the reference level has a critical level or unstable stratification; or the low-level mean N^2 is not positive. The daytime mixed layer of the reference run trips the fifth and sixth conditions, which is why GWDO is almost entirely off there.
Raw .esm
Raw .esm JSON (this component)
{
"expression_template_imports": [
{
"ref": "${ESD_ROOT}/grids/column_nonuniform_1d/grid.esm",
"bindings": {
"NLEV": "NLEV"
}
},
{
"ref": "./gwdo_templates.esm",
"bindings": {
"NLEV": "NLEV"
}
}
],
"subsystems": {
"wrf": {
"ref": "../../../lib/wrf_constants.esm"
},
"par": {
"ref": "./gwdo_parameters.esm"
}
},
"variables": {
"uproj": {
"type": "unknown",
"units": "m/s",
"shape": [
"lev"
],
"description": "Projection-relative zonal wind on the model grid (WRF `uproj`, the rotated wind the dynamics carries)."
},
"vproj": {
"type": "unknown",
"units": "m/s",
"shape": [
"lev"
],
"description": "Projection-relative meridional wind on the model grid (WRF `vproj`)."
},
"T": {
"type": "unknown",
"units": "K",
"shape": [
"lev"
],
"description": "Layer temperature."
},
"qv": {
"type": "unknown",
"units": "kg/kg",
"shape": [
"lev"
],
"description": "Water-vapour mixing ratio."
},
"prsi": {
"type": "unknown",
"units": "Pa",
"shape": [
"lev_nodes"
],
"description": "Pressure at the NLEV+1 layer interfaces, decreasing with the lev index; prsi[1] is the surface."
},
"prsl": {
"type": "unknown",
"units": "Pa",
"shape": [
"lev"
],
"description": "Pressure at the layer mid-points."
},
"prslk": {
"type": "unknown",
"units": "1",
"shape": [
"lev"
],
"description": "Exner function (p/p00)^(R_d/cp) at the layer mid-points, WRF's `pi3d`."
},
"zl": {
"type": "unknown",
"units": "m",
"shape": [
"lev"
],
"description": "Geometric height of the layer mid-points above SEA level. GWDO compares it against ELVMAX, which is also above sea level (the comment at bl_gwdo.F90:284 records that this differs from the KIM/UFS convention, where both are above the model surface)."
},
"sina": {
"type": "unknown",
"units": "1",
"description": "Sine of the map-rotation angle between the model grid and earth coordinates."
},
"cosa": {
"type": "unknown",
"units": "1",
"description": "Cosine of the map-rotation angle."
},
"var": {
"type": "unknown",
"units": "m",
"description": "Standard deviation of the sub-grid orography (WPS `VAR`)."
},
"omax": {
"type": "unknown",
"units": "m",
"description": "Maximum sub-grid orographic height above sea level (WPS `ELVMAX`). WPS 4.3 does not write this field, and a run without it has omax = 0 everywhere, which the `omax <= hmt_min` gate below turns into silent zero drag at every point (FORTRAN_BUGS B17)."
},
"ze": {
"type": "unknown",
"units": "kg/m^2",
"shape": [
"lev_nodes"
],
"description": "The column's vertical coordinate for the finite-volume operators: the air mass per unit area below each interface, (prsi[1] - prsi[k])/g, zero at the surface and increasing upward."
},
"dz": {
"type": "unknown",
"units": "kg/m^2",
"shape": [
"lev"
],
"description": "Layer measure of the column_nonuniform_1d grid, derived from ze by the grid's own `column_cell_thickness` template: the layer mass per unit area del/g. Every rule on this grid reads it by this bare name."
},
"zc": {
"type": "unknown",
"units": "kg/m^2",
"shape": [
"lev"
],
"description": "Layer mid-points of the mass coordinate, derived from ze by the grid's `column_cell_center` template. Part of the grid's keyed-factor contract; GWDO's own operators use only dz."
},
"del": {
"type": "unknown",
"units": "Pa",
"shape": [
"lev"
],
"description": "Positive pressure thickness of each layer, prsi[k] - prsi[k+1]."
},
"vtj": {
"type": "unknown",
"units": "K",
"shape": [
"lev"
],
"description": "Virtual temperature T (1 + eps_1 q_v)."
},
"vtk": {
"type": "unknown",
"units": "K",
"shape": [
"lev"
],
"description": "Virtual potential temperature, vtj divided by the Exner function."
},
"rho": {
"type": "unknown",
"units": "kg/m^3",
"shape": [
"lev"
],
"description": "Air density from the ideal gas law with the virtual temperature."
},
"u1": {
"type": "unknown",
"units": "m/s",
"shape": [
"lev"
],
"description": "Earth-relative zonal wind, uproj cosa - vproj sina."
},
"v1": {
"type": "unknown",
"units": "m/s",
"shape": [
"lev"
],
"description": "Earth-relative meridional wind, uproj sina + vproj cosa."
},
"dzg": {
"type": "unknown",
"units": "m",
"shape": [
"lev"
],
"description": "Geometric distance between the mid-points of layers k and k+1, zl[k+1] - zl[k]: the length the Richardson number's shear and lapse rate are taken over. Element NLEV has no layer above it; it is set to 1 m so that the reciprocals below are finite, and the conditional that guards every use of it discards the value."
},
"dw2": {
"type": "unknown",
"units": "m^2/s^2",
"shape": [
"lev"
],
"description": "Squared vector wind difference across the interface k+1/2, (u[k]-u[k+1])^2 + (v[k]-v[k+1])^2, zero at NLEV."
},
"zref": {
"type": "unknown",
"units": "m",
"description": "Depth of the wave-launch layer, 2 var."
},
"kgwdmax": {
"type": "unknown",
"units": "1",
"description": "Highest admissible reference level, NLEV/2 in integer arithmetic. It also bounds every low-level loop and separates the wind-reversal limiter from the mesosphere density limiter."
},
"kref": {
"type": "unknown",
"units": "1",
"description": "Wave-launch (reference) level index: one above the lowest level whose height above the lowest model level reaches zref, clamped into [kgwdmin, kgwdmax]."
},
"komax": {
"type": "unknown",
"units": "1",
"description": "Level index one above the lowest level reaching the maximum sub-grid peak ELVMAX, raised to at least kref. The flow-blocking search measures its potential energy against the height of this level."
},
"kbomax": {
"type": "unknown",
"units": "1",
"description": "Level index one above the lowest level reaching ELVMAX + 2 var: the top of the downward flow-blocking search."
},
"delks": {
"type": "unknown",
"units": "1/Pa",
"description": "Reciprocal of the pressure depth of the sub-column below the reference level, measured on the INTERFACES: 1/(prsi[1] - prsi[kref])."
},
"delks1": {
"type": "unknown",
"units": "1/Pa",
"description": "Reciprocal of the same depth measured on the layer MID-POINTS: 1/(prsl[1] - prsl[kref]). The scheme uses the interface form for the momentum and density means and the mid-point form for the stability means."
},
"wmass": {
"type": "unknown",
"units": "1",
"shape": [
"lev"
],
"description": "Normalised layer-mass weights del delks of the low-level momentum and density means; they sum to one over k < kref."
},
"wpres": {
"type": "unknown",
"units": "1",
"shape": [
"lev"
],
"description": "Normalised mid-point-thickness weights (prsl[k] - prsl[k+1]) delks1 of the low-level stability means; they sum to one over k < kref. The Fortran writes the k = 1 term separately as `wtkbj` and the rest in a loop, which is the same weight evaluated at k = 1."
},
"ubar": {
"type": "unknown",
"units": "m/s",
"description": "Mass-weighted mean earth-relative zonal wind below the reference level."
},
"vbar": {
"type": "unknown",
"units": "m/s",
"description": "Mass-weighted mean earth-relative meridional wind below the reference level."
},
"rhobar": {
"type": "unknown",
"units": "kg/m^3",
"description": "Mass-weighted mean density below the reference level."
},
"ulow": {
"type": "unknown",
"units": "m/s",
"description": "Speed of the low-level mean wind, floored at velmin. The floor is also the calm-wind switch: ulow == velmin is one of the six conditions that turn the scheme off."
},
"velco_raw": {
"type": "unknown",
"units": "m/s",
"shape": [
"lev"
],
"description": "The projected interface wind speed before small positive values are raised to velmin: ((u[k]+u[k+1]) ubar + (v[k]+v[k+1]) vbar) / (2 ulow), zero at NLEV."
},
"velco": {
"type": "unknown",
"units": "m/s",
"shape": [
"lev"
],
"description": "Wind speed at the layer INTERFACE k+1/2 projected on the low-level mean wind direction, ((u[k]+u[k+1]) ubar + (v[k]+v[k+1]) vbar) / (2 ulow). A small POSITIVE value is raised to velmin; a negative one is left alone, because its sign is what detects a critical level. Element NLEV is never defined by the Fortran (the array is declared kts:kte-1) and never read; it is set to zero here."
},
"usqj_raw": {
"type": "unknown",
"units": "1",
"shape": [
"lev"
],
"description": "Layer (gradient) Richardson number N^2/S^2 across the interface k+1/2, floored at rimin, with the squared shear floored at dw2min. Element NLEV is undefined in the Fortran and set to zero here."
},
"bnv2_raw": {
"type": "unknown",
"units": "1/s^2",
"shape": [
"lev"
],
"description": "Squared Brunt-Vaisala frequency across the interface k+1/2, from the virtual potential temperature: 2 g (theta_v[k+1] - theta_v[k]) / ((theta_v[k+1] + theta_v[k]) dz_geom). Element NLEV is undefined in the Fortran and set to zero here."
},
"bnv2low": {
"type": "unknown",
"units": "1/s^2",
"description": "Pressure-weighted mean of bnv2_raw below the reference level. The Fortran stores it back into bnv2(:,1), and its sign is the sixth off-switch: a statically unstable launch layer means no drag."
},
"usqjlow": {
"type": "unknown",
"units": "1",
"description": "Pressure-weighted mean of usqj_raw below the reference level; the Fortran stores it back into usqj(:,1)."
},
"bnv2": {
"type": "unknown",
"units": "1/s^2",
"shape": [
"lev"
],
"description": "The N^2 profile as the later stages see it: the low-level mean at k = 1 and the raw layer value above. The flow-blocking search reads it at every level and the wave-saturation profile reads it at k >= kref, so the substitution at k = 1 reaches only the launch stress, through bnv = sqrt(bnv2[1])."
},
"usqj": {
"type": "unknown",
"units": "1",
"shape": [
"lev"
],
"description": "The Richardson-number profile as the later stages see it: the low-level mean flooded through every level below kref, and the raw layer value at and above kref. Only the k >= kref part reaches the wave-saturation branch."
},
"nbad": {
"type": "unknown",
"units": "1",
"description": "Number of levels strictly between the second and the reference level at which the projected wind is non-positive (a critical level) or the stratification is unstable. Any such level switches the scheme off."
},
"ldrag": {
"type": "unknown",
"units": "1",
"description": "The scheme's off switch, 1 when NO drag is computed in this column and 0 otherwise. Six conditions in OR: the sub-grid peak is below hmt_min (50 m, the ELVMAX condition of FORTRAN_BUGS B17); the sub-grid standard deviation is not positive; the projected wind is non-positive at the lowest interface; the low-level wind is calm (ulow at its floor); some level below the reference level has a critical level or unstable stratification; or the low-level mean N^2 is not positive. The daytime mixed layer of the reference run trips the fifth and sixth conditions, which is why GWDO is almost entirely off there."
}
},
"equations": [
{
"lhs": "uproj",
"rhs": {
"op": "input_uproj",
"args": []
}
},
{
"lhs": "vproj",
"rhs": {
"op": "input_vproj",
"args": []
}
},
{
"lhs": "T",
"rhs": {
"op": "input_T",
"args": []
}
},
{
"lhs": "qv",
"rhs": {
"op": "input_qv",
"args": []
}
},
{
"lhs": "prsi",
"rhs": {
"op": "input_prsi",
"args": []
}
},
{
"lhs": "prsl",
"rhs": {
"op": "input_prsl",
"args": []
}
},
{
"lhs": "prslk",
"rhs": {
"op": "input_prslk",
"args": []
}
},
{
"lhs": "zl",
"rhs": {
"op": "input_zl",
"args": []
}
},
{
"lhs": "sina",
"rhs": {
"op": "input_sina",
"args": []
}
},
{
"lhs": "cosa",
"rhs": {
"op": "input_cosa",
"args": []
}
},
{
"lhs": "var",
"rhs": {
"op": "input_var",
"args": []
}
},
{
"lhs": "omax",
"rhs": {
"op": "input_omax",
"args": []
}
},
{
"lhs": "ze",
"rhs": {
"op": "/",
"args": [
{
"op": "-",
"args": [
{
"op": "index",
"args": [
"prsi",
1
]
},
"prsi"
]
},
"wrf.g"
]
}
},
{
"lhs": "zc",
"rhs": {
"op": "apply_expression_template",
"args": [],
"name": "column_cell_center",
"bindings": {
"ze": "ze"
}
}
},
{
"lhs": "dz",
"rhs": {
"op": "apply_expression_template",
"args": [],
"name": "column_cell_thickness",
"bindings": {
"ze": "ze"
}
}
},
{
"lhs": "del",
"rhs": {
"op": "*",
"args": [
"wrf.g",
"dz"
]
}
},
{
"lhs": "vtj",
"rhs": {
"op": "*",
"args": [
"T",
{
"op": "+",
"args": [
1.0,
{
"op": "*",
"args": [
"wrf.ep_1",
"qv"
]
}
]
}
]
}
},
{
"lhs": "vtk",
"rhs": {
"op": "/",
"args": [
"vtj",
"prslk"
]
}
},
{
"lhs": "rho",
"rhs": {
"op": "/",
"args": [
"prsl",
{
"op": "*",
"args": [
"wrf.r_d",
"vtj"
]
}
]
}
},
{
"lhs": "u1",
"rhs": {
"op": "-",
"args": [
{
"op": "*",
"args": [
"uproj",
"cosa"
]
},
{
"op": "*",
"args": [
"vproj",
"sina"
]
}
]
}
},
{
"lhs": "v1",
"rhs": {
"op": "+",
"args": [
{
"op": "*",
"args": [
"uproj",
"sina"
]
},
{
"op": "*",
"args": [
"vproj",
"cosa"
]
}
]
}
},
{
"lhs": "dzg",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [
"zl"
],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "ifelse",
"args": [
{
"op": "<",
"args": [
"k",
"NLEV"
]
},
{
"op": "-",
"args": [
{
"op": "index",
"args": [
"zl",
{
"op": "+",
"args": [
"k",
1
]
}
]
},
{
"op": "index",
"args": [
"zl",
"k"
]
}
]
},
1.0
]
}
}
},
{
"lhs": "dw2",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [
"u1",
"v1"
],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "ifelse",
"args": [
{
"op": "<",
"args": [
"k",
"NLEV"
]
},
{
"op": "+",
"args": [
{
"op": "^",
"args": [
{
"op": "-",
"args": [
{
"op": "index",
"args": [
"u1",
"k"
]
},
{
"op": "index",
"args": [
"u1",
{
"op": "+",
"args": [
"k",
1
]
}
]
}
]
},
2
]
},
{
"op": "^",
"args": [
{
"op": "-",
"args": [
{
"op": "index",
"args": [
"v1",
"k"
]
},
{
"op": "index",
"args": [
"v1",
{
"op": "+",
"args": [
"k",
1
]
}
]
}
]
},
2
]
}
]
},
0.0
]
}
}
},
{
"lhs": "zref",
"rhs": {
"op": "*",
"args": [
2.0,
"var"
]
}
},
{
"lhs": "kgwdmax",
"rhs": {
"op": "floor",
"args": [
{
"op": "/",
"args": [
"NLEV",
2
]
}
]
}
},
{
"lhs": "kref",
"rhs": {
"op": "max",
"args": [
{
"op": "min",
"args": [
{
"op": "apply_expression_template",
"args": [],
"name": "level_index_above",
"bindings": {
"z": {
"op": "-",
"args": [
"zl",
{
"op": "index",
"args": [
"zl",
1
]
}
]
},
"thr": "zref"
}
},
"kgwdmax"
]
},
"par.kgwdmin"
]
}
},
{
"lhs": "komax",
"rhs": {
"op": "max",
"args": [
{
"op": "apply_expression_template",
"args": [],
"name": "level_index_above",
"bindings": {
"z": "zl",
"thr": "omax"
}
},
"kref"
]
}
},
{
"lhs": "kbomax",
"rhs": {
"op": "apply_expression_template",
"args": [],
"name": "level_index_above",
"bindings": {
"z": "zl",
"thr": {
"op": "+",
"args": [
"omax",
"zref"
]
}
}
}
},
{
"lhs": "delks",
"rhs": {
"op": "/",
"args": [
1.0,
{
"op": "-",
"args": [
{
"op": "index",
"args": [
"prsi",
1
]
},
{
"op": "index",
"args": [
"prsi",
"kref"
]
}
]
}
]
}
},
{
"lhs": "delks1",
"rhs": {
"op": "/",
"args": [
1.0,
{
"op": "-",
"args": [
{
"op": "index",
"args": [
"prsl",
1
]
},
{
"op": "index",
"args": [
"prsl",
"kref"
]
}
]
}
]
}
},
{
"lhs": "wmass",
"rhs": {
"op": "*",
"args": [
"del",
"delks"
]
}
},
{
"lhs": "wpres",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [
"prsl"
],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "ifelse",
"args": [
{
"op": "<",
"args": [
"k",
"NLEV"
]
},
{
"op": "*",
"args": [
{
"op": "-",
"args": [
{
"op": "index",
"args": [
"prsl",
"k"
]
},
{
"op": "index",
"args": [
"prsl",
{
"op": "+",
"args": [
"k",
1
]
}
]
}
]
},
"delks1"
]
},
0.0
]
}
}
},
{
"lhs": "ubar",
"rhs": {
"op": "apply_expression_template",
"args": [],
"name": "weighted_mean_below",
"bindings": {
"f": "u1",
"w": "wmass",
"ktop": "kref"
}
}
},
{
"lhs": "vbar",
"rhs": {
"op": "apply_expression_template",
"args": [],
"name": "weighted_mean_below",
"bindings": {
"f": "v1",
"w": "wmass",
"ktop": "kref"
}
}
},
{
"lhs": "rhobar",
"rhs": {
"op": "apply_expression_template",
"args": [],
"name": "weighted_mean_below",
"bindings": {
"f": "rho",
"w": "wmass",
"ktop": "kref"
}
}
},
{
"lhs": "ulow",
"rhs": {
"op": "max",
"args": [
{
"op": "sqrt",
"args": [
{
"op": "+",
"args": [
{
"op": "*",
"args": [
"ubar",
"ubar"
]
},
{
"op": "*",
"args": [
"vbar",
"vbar"
]
}
]
}
]
},
"par.velmin"
]
}
},
{
"lhs": "velco_raw",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [
"u1",
"v1"
],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "ifelse",
"args": [
{
"op": "<",
"args": [
"k",
"NLEV"
]
},
{
"op": "/",
"args": [
{
"op": "*",
"args": [
0.5,
{
"op": "+",
"args": [
{
"op": "*",
"args": [
"ubar",
{
"op": "+",
"args": [
{
"op": "index",
"args": [
"u1",
"k"
]
},
{
"op": "index",
"args": [
"u1",
{
"op": "+",
"args": [
"k",
1
]
}
]
}
]
}
]
},
{
"op": "*",
"args": [
"vbar",
{
"op": "+",
"args": [
{
"op": "index",
"args": [
"v1",
"k"
]
},
{
"op": "index",
"args": [
"v1",
{
"op": "+",
"args": [
"k",
1
]
}
]
}
]
}
]
}
]
}
]
},
"ulow"
]
},
0.0
]
}
}
},
{
"lhs": "velco",
"rhs": {
"op": "ifelse",
"args": [
{
"op": "and",
"args": [
{
"op": "<",
"args": [
"velco_raw",
"par.velmin"
]
},
{
"op": ">",
"args": [
"velco_raw",
0.0
]
}
]
},
"par.velmin",
"velco_raw"
]
}
},
{
"lhs": "usqj_raw",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [
"T",
"vtj",
"dzg",
"dw2"
],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "ifelse",
"args": [
{
"op": "<",
"args": [
"k",
"NLEV"
]
},
{
"op": "max",
"args": [
{
"op": "/",
"args": [
{
"op": "*",
"args": [
"wrf.g",
{
"op": "+",
"args": [
{
"op": "/",
"args": [
"wrf.g",
"wrf.cp"
]
},
{
"op": "/",
"args": [
{
"op": "-",
"args": [
{
"op": "index",
"args": [
"vtj",
{
"op": "+",
"args": [
"k",
1
]
}
]
},
{
"op": "index",
"args": [
"vtj",
"k"
]
}
]
},
{
"op": "index",
"args": [
"dzg",
"k"
]
}
]
}
]
},
{
"op": "/",
"args": [
2.0,
{
"op": "+",
"args": [
{
"op": "index",
"args": [
"T",
"k"
]
},
{
"op": "index",
"args": [
"T",
{
"op": "+",
"args": [
"k",
1
]
}
]
}
]
}
]
}
]
},
{
"op": "/",
"args": [
{
"op": "max",
"args": [
{
"op": "index",
"args": [
"dw2",
"k"
]
},
"par.dw2min"
]
},
{
"op": "^",
"args": [
{
"op": "index",
"args": [
"dzg",
"k"
]
},
2
]
}
]
}
]
},
"par.rimin"
]
},
0.0
]
}
}
},
{
"lhs": "bnv2_raw",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [
"vtk",
"dzg"
],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "ifelse",
"args": [
{
"op": "<",
"args": [
"k",
"NLEV"
]
},
{
"op": "/",
"args": [
{
"op": "*",
"args": [
2.0,
"wrf.g",
{
"op": "-",
"args": [
{
"op": "index",
"args": [
"vtk",
{
"op": "+",
"args": [
"k",
1
]
}
]
},
{
"op": "index",
"args": [
"vtk",
"k"
]
}
]
}
]
},
{
"op": "*",
"args": [
{
"op": "index",
"args": [
"dzg",
"k"
]
},
{
"op": "+",
"args": [
{
"op": "index",
"args": [
"vtk",
{
"op": "+",
"args": [
"k",
1
]
}
]
},
{
"op": "index",
"args": [
"vtk",
"k"
]
}
]
}
]
}
]
},
0.0
]
}
}
},
{
"lhs": "bnv2low",
"rhs": {
"op": "apply_expression_template",
"args": [],
"name": "weighted_mean_below",
"bindings": {
"f": "bnv2_raw",
"w": "wpres",
"ktop": "kref"
}
}
},
{
"lhs": "usqjlow",
"rhs": {
"op": "apply_expression_template",
"args": [],
"name": "weighted_mean_below",
"bindings": {
"f": "usqj_raw",
"w": "wpres",
"ktop": "kref"
}
}
},
{
"lhs": "bnv2",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [
"bnv2_raw"
],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "ifelse",
"args": [
{
"op": "==",
"args": [
"k",
1
]
},
"bnv2low",
{
"op": "index",
"args": [
"bnv2_raw",
"k"
]
}
]
}
}
},
{
"lhs": "usqj",
"rhs": {
"op": "faq",
"output_idx": [
"k"
],
"args": [
"usqj_raw"
],
"ranges": {
"k": {
"from": "lev"
}
},
"expr": {
"op": "ifelse",
"args": [
{
"op": "<",
"args": [
"k",
"kref"
]
},
"usqjlow",
{
"op": "index",
"args": [
"usqj_raw",
"k"
]
}
]
}
}
},
{
"lhs": "nbad",
"rhs": {
"op": "faq",
"output_idx": [],
"reduce": "+",
"args": [
"velco",
"bnv2_raw"
],
"ranges": {
"k": {
"from": "lev"
}
},
"filter": {
"op": "and",
"args": [
{
"op": ">=",
"args": [
"k",
"par.kgwdmin"
]
},
{
"op": "<",
"args": [
"k",
"kref"
]
}
]
},
"expr": {
"op": "ifelse",
"args": [
{
"op": "or",
"args": [
{
"op": "<=",
"args": [
{
"op": "index",
"args": [
"velco",
"k"
]
},
0.0
]
},
{
"op": "<",
"args": [
{
"op": "index",
"args": [
"bnv2_raw",
"k"
]
},
0.0
]
}
]
},
1.0,
0.0
]
}
}
},
{
"lhs": "ldrag",
"rhs": {
"op": "ifelse",
"args": [
{
"op": "or",
"args": [
{
"op": "or",
"args": [
{
"op": "or",
"args": [
{
"op": "<=",
"args": [
"omax",
"par.hmt_min"
]
},
{
"op": "<=",
"args": [
"var",
0.0
]
}
]
},
{
"op": "or",
"args": [
{
"op": "<=",
"args": [
{
"op": "index",
"args": [
"velco",
1
]
},
0.0
]
},
{
"op": "<=",
"args": [
"ulow",
"par.velmin"
]
}
]
}
]
},
{
"op": "or",
"args": [
{
"op": ">",
"args": [
"nbad",
0.0
]
},
{
"op": "<=",
"args": [
"bnv2low",
0.0
]
}
]
}
]
},
1.0,
0.0
]
}
}
],
"tests": [
{
"id": "s2_j61_i39_col30_night_launch_over_the_sangre_de_cristo",
"description": "Reference run: WRF 4.8 real-terrain simulation of data/eqwefic/notes/gwdo_real_reference_run.md (Last Chance Gulch d01, Colorado Rockies, 8.1 km, 150 x 180 x 50, dt = 45 s, gwd_opt = 1 with ELVMAX supplied by WPS util/compute_gwdo.py -- without it GWDO is silently off everywhere, FORTRAN_BUGS B17). Step 2 = 2012-06-25 12:01Z, global row j = 61 across the Sangre de Cristo range, tile column 30 of the dump that starts at i = 39. Drag is ON: ELVMAX = 1770 m and var = 54 m clear both orography gates, the launch level is kref = 5, and above it the column has 8 saturating levels and 24 no-wave-breaking levels as well as a flow-blocking layer, so a single column exercises the whole of this block. Its minimum saturation margin |2 sqrt(temc) - temc| is 0.37 at Ri = 0.68, comfortably away from the critical value. Reference build: the real64 (kind_phys = real64) replay of the same dumped row through kernels/gwdo_diag_driver of WRF fork branch earthsciml-instrumented-gwdo, with the six scalar constants g, cp, R_d, R_v, eps_1 and pi supplied at binary64 precision instead of WRF's real32 module values (gwdo_real/mkflat64.py). They are subroutine arguments, not internal parameters, so that is what a double-precision kernel reference means for this scheme, and it is what lib/wrf_constants.esm carries for g, cp, R_d, R_v and eps_1 (pi is the truncated literal 3.141592653 WRF passes, gwdo_parameters.esm `pi`: replaying all 140 rows with that value instead of math.pi, gwdo_real/run_diag64p.py, reproduces every field of this reference bit for bit); promoting them flips no branch on any of the 140 dumped rows and moves the outputs by a median 2.7e-8 of the row maximum. Column tolerances are ABSOLUTE, set to 1e-9 of the profile's own maximum rather than per cell, per FORTRAN_BUGS N85. Every assertion is on an algebraic observed at t = 0 and this document declares no ODE state, so the empty time_span is a single static evaluation.",
"parameter_overrides": {},
"expression_template_imports": [
{
"ref": "./tests/s2_j61_i39_col30_inputs.esm"
}
],
"time_span": {
"start": 0,
"end": 0
},
"tolerance": {
"rel": 1e-09
},
"assertions": [
{
"variable": "vtj",
"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": [
294.73652915127656,
295.6386204038687,
296.6978976301175,
297.911040627253,
298.7712731891848,
299.4459473244085,
299.83599032181877,
299.77495164860784,
299.29670032912156,
298.3790596634777,
297.3978945507574,
296.3015755190533,
294.94115370166,
293.2993202359077,
291.3128915654879,
288.9402998039899,
286.179124996352,
283.0667550171727,
279.66179538920215,
276.153137859289,
272.48063962809323,
268.62165781481076,
264.75853177719654,
260.9727419124535,
257.2285951043787,
253.21133378543888,
248.84661489734106,
244.48196067421006,
240.2326712271223,
236.0662872211987,
231.98337080307869,
227.95653117479648,
224.20716466048634,
221.03439905925956,
217.98172194874346,
214.83924690770436,
211.56286799483144,
208.3774323377862,
205.5595414002179,
203.23586772988187,
201.64829964498392,
200.81871362703552,
201.39445615809578,
202.7799151507796,
204.55252274317834,
206.71408699815143,
208.75767132685,
210.24010972101127,
211.66281006451467,
213.02739773576337
]
},
"k"
]
}
},
"tolerance": {
"abs": 2.9983599032181876e-07,
"rel": 0.0
}
},
{
"variable": "vtk",
"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": [
310.15960239356383,
311.445740860936,
312.97181192122906,
314.7348133573503,
316.2246033898662,
317.623501069935,
318.8508452816875,
319.73988418150344,
320.34566166144293,
320.66602681587693,
321.12093664453505,
321.6776815119075,
322.1999099444355,
322.68594323955733,
323.0839158389865,
323.3620849841842,
323.5272927971363,
323.62937587037123,
323.74181006946856,
324.09261198859207,
324.6352981286397,
325.3933244744556,
326.6647679823943,
328.42427176198953,
330.37561466816936,
332.04221012548015,
333.32024593013506,
334.6661305288744,
336.24885061488646,
338.0367083042683,
340.0448292789712,
342.23608793104785,
344.87411994206576,
348.3602468590013,
352.0012105637532,
355.4606545706468,
358.6492651956585,
361.9355297827579,
365.8192230431359,
370.5743508110356,
376.7210529331473,
384.4014694517942,
394.97409600690054,
407.45805474828063,
421.1150406132322,
436.01607307722617,
451.14292650837365,
465.5160797376589,
480.19608086961233,
495.18592828460487
]
},
"k"
]
}
},
"tolerance": {
"abs": 4.951859282846049e-07,
"rel": 0.0
}
},
{
"variable": "rho",
"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.9888737206325717,
0.9820804825598073,
0.9741217373774249,
0.9649212459647721,
0.9560023336875644,
0.9466645894363163,
0.9370554601242509,
0.9275075360920519,
0.9177141810032409,
0.9075428581712267,
0.8956624950094961,
0.8820714394519268,
0.8670679486877385,
0.850572709979099,
0.8326655260159086,
0.8133888710540355,
0.7927049356208757,
0.7705022684828909,
0.7466547655951015,
0.7207450737747146,
0.6929730063132112,
0.6632717343937891,
0.6310044821196781,
0.5973161015839281,
0.564245883279065,
0.5329392773478714,
0.5034043578810755,
0.4748436281325945,
0.4470249544435215,
0.4200252448338757,
0.3938592962432356,
0.3686274984424884,
0.3443026545031019,
0.32078063594440565,
0.2987629573319995,
0.27842762864201803,
0.2596963300446859,
0.24217766773769875,
0.2254896989047966,
0.20948049385011958,
0.1939228678900114,
0.17885415332404234,
0.1638080861454565,
0.14942992209252295,
0.13606213327157052,
0.12366638441248386,
0.11247575225512542,
0.1025806455461243,
0.09358712375452699,
0.08540924625838393
]
},
"k"
]
}
},
"tolerance": {
"abs": 9.888737206325718e-10,
"rel": 0.0
}
},
{
"variable": "del",
"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": [
293.265625,
347.4921875,
410.78125,
484.1953125,
568.890625,
665.875,
775.96875,
899.78125,
1037.2890625,
1188.140625,
1351.0390625,
1524.1171875,
1704.703125,
1889.46875,
2074.6796875,
2256.375,
2430.4609375,
2593.20703125,
2740.8359375,
2869.89453125,
2993.109375,
3121.46875,
3252.9921875,
3164.67578125,
3001.828125,
2849.47265625,
2704.4375,
2564.74609375,
2429.4609375,
2298.119140625,
2170.46484375,
2041.408203125,
1882.412109375,
1728.94921875,
1588.01953125,
1458.58984375,
1339.7080078125,
1230.5146484375,
1130.232421875,
1038.115234375,
953.5107421875,
875.8017578125,
804.423828125,
738.86328125,
678.6494140625,
623.3369140625,
572.5390625,
525.87353515625,
483.01904296875,
443.6484375
]
},
"k"
]
}
},
"tolerance": {
"abs": 3.2529921875000003e-06,
"rel": 0.0
}
},
{
"variable": "u1",
"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": [
2.593652621487525,
3.261723765829228,
3.9305219672947027,
4.6643958854611824,
5.566868006739622,
6.406367183011763,
7.187177140777621,
7.721349311439592,
7.738756691716367,
7.391693180560125,
6.9730782258792035,
6.496273173379961,
6.033966007197124,
5.462966686999376,
4.681732875652364,
3.4790430464700552,
2.1084252312517506,
0.9463608023406285,
0.003448654429574871,
-0.5278673079425742,
-1.1698119950108552,
-2.1743851791520905,
-2.1451165401464896,
-1.2567094056763608,
-0.9210184700005097,
-0.02567313997744769,
1.5175272904251598,
2.825324175269733,
3.592492423777731,
3.6048534065731794,
3.4181011758857975,
3.831111883062097,
4.225648739568134,
2.6928008931232954,
2.7393621573360005,
3.4768527631824018,
3.503017186474311,
3.383951690785297,
3.292856074477302,
3.275263046784202,
3.316430443085337,
3.0128325592419336,
1.385925285005265,
-0.9154530461078572,
-3.300184627451431,
-5.765786092051893,
-7.541218878960878,
-8.201807305947549,
-8.607931721594909,
-8.75819298518146
]
},
"k"
]
}
},
"tolerance": {
"abs": 8.75819298518146e-09,
"rel": 0.0
}
},
{
"variable": "v1",
"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": [
4.310193881438747,
5.079791594114111,
5.777863208762275,
6.343463158179832,
6.802786427751623,
6.862333424464513,
6.638315438081515,
6.103922724223951,
5.619394556865104,
5.056356845577376,
4.743452438455698,
4.565623866175409,
4.268289885312713,
3.876567938350986,
3.363451322167687,
2.724586287498213,
2.158379686950509,
2.014927476475113,
2.4056593871164913,
3.7800446193516883,
4.852978607519494,
4.7986566573638765,
5.952483585087171,
8.293493861368033,
9.995098077120781,
11.8792849096827,
13.421473691476288,
12.498934473515208,
9.562653304469961,
5.77973332129572,
2.574476744701277,
0.7541552698312306,
0.6913644891649628,
0.6298484224379974,
-0.0790781652561039,
-1.3457444295515164,
-2.6777789810733554,
-2.694803793373695,
-1.3328375513466306,
-0.2044766593766263,
-0.533518150244273,
-1.205183918504537,
-1.8848955709608919,
-2.2457094333459233,
-2.370754607095348,
-2.2581996749323157,
-1.4904868099210198,
-0.145356574369103,
1.1971540016559707,
2.535913157923596
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.342147369147629e-08,
"rel": 0.0
}
},
{
"variable": "velco",
"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": [
5.528598772033789,
6.511346736275732,
7.428282009154242,
8.31226437268854,
9.016780114426712,
9.404607295457444,
9.461033508419947,
9.195021876694094,
8.669267516512095,
8.091796654853692,
7.637056642137004,
7.176461624624877,
6.6009544199519485,
5.846534185387009,
4.812253660389441,
3.5902272793345715,
2.5844114126731363,
2.0944710029828584,
2.4093756279205305,
3.090938650618413,
3.0488033798526284,
3.228926063627709,
4.931692852114427,
6.947087190422282,
8.775602393162579,
10.87790904986088,
11.936064845649916,
10.924708914011218,
8.366574436741075,
5.42890799497395,
3.4152019313995634,
2.8639780531214907,
2.4923745209561257,
1.7557968684401584,
1.1597359163668064,
1.0,
-0.28340524751002355,
1.0,
1.2122316363276586,
1.549267246035105,
1.0617935773002678,
-0.03988122447347788,
-1.5750628996081149,
-3.094154626641623,
-4.463774223525703,
-5.2929634602044695,
-5.104887954552044,
-4.294013271775986,
-3.342210983599835,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.1936064845649917e-08,
"rel": 0.0
}
},
{
"variable": "usqj_raw",
"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": [
1.3033152883967523,
1.8966033015118846,
2.6037235954069597,
2.5260410235345145,
2.8727815829756245,
2.9502302130027886,
2.505606057755722,
1.9921255010403878,
1.2127462764626131,
1.995711612438965,
2.809161342906523,
2.9925352585324116,
3.1550517188746885,
2.904195634009127,
1.219596197580848,
0.6776047844365193,
0.743700850399298,
1.1887276092195207,
1.9193106633479498,
4.473093073589019,
10.495592205107314,
14.569888520291473,
4.511140967576203,
10.53014364273531,
6.224079890646948,
4.368454459353962,
8.532020878796702,
2.784167544990541,
2.0240832196275256,
3.1562447279205115,
10.178953075396215,
42.176934254904346,
23.174553677522205,
55.63175355608295,
24.023426937377145,
26.166368723366432,
46.7519724652316,
28.95010358215794,
50.62844195951565,
81.27983341628668,
99.06796190846298,
42.87385540630418,
28.306573548091144,
28.752879490185098,
28.660178333847345,
46.22053939562333,
71.3696504193722,
81.17217997358561,
87.67270987294886,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 9.906796190846298e-08,
"rel": 0.0
}
},
{
"variable": "bnv2_raw",
"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.0012246864791172908,
0.0012131947824175525,
0.0011708153915399185,
0.0008286946236171975,
0.0006543297618140101,
0.0004847161906014476,
0.00029803037094707196,
0.0001734468584428959,
7.886173074411153e-05,
9.683380883116219e-05,
0.0001030134737588772,
8.45116286982946e-05,
6.927359646956226e-05,
5.0326211405819776e-05,
3.145003013897311e-05,
1.682885470738522e-05,
9.4377905118176e-06,
9.497584094323224e-06,
2.7225596152477448e-05,
3.877144922138458e-05,
4.970645563536815e-05,
7.606210814493104e-05,
9.883747492495162e-05,
0.00010731031283951298,
9.074380759358091e-05,
6.894783327203815e-05,
7.196141025014307e-05,
8.377137981851732e-05,
9.35491998370108e-05,
0.0001037588112392087,
0.00011184021054968183,
0.00013421423385492835,
0.00017818005804564973,
0.0001868041372649238,
0.00017821819980448026,
0.00016518110910072938,
0.00017130329518263434,
0.00020335873664012756,
0.0002491658995665103,
0.00032045111727447954,
0.0003954836465011674,
0.0005319988705536103,
0.0006072160372114826,
0.0006383809995879994,
0.0006669482245508055,
0.000647573073326332,
0.0005905203003709699,
0.0005805609988788645,
0.0005709747086781624,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.2246864791172908e-12,
"rel": 0.0
}
},
{
"variable": "usqj",
"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": [
2.1701415620400386,
2.1701415620400386,
2.1701415620400386,
2.1701415620400386,
2.8727815829756245,
2.9502302130027886,
2.505606057755722,
1.9921255010403878,
1.2127462764626131,
1.995711612438965,
2.809161342906523,
2.9925352585324116,
3.1550517188746885,
2.904195634009127,
1.219596197580848,
0.6776047844365193,
0.743700850399298,
1.1887276092195207,
1.9193106633479498,
4.473093073589019,
10.495592205107314,
14.569888520291473,
4.511140967576203,
10.53014364273531,
6.224079890646948,
4.368454459353962,
8.532020878796702,
2.784167544990541,
2.0240832196275256,
3.1562447279205115,
10.178953075396215,
42.176934254904346,
23.174553677522205,
55.63175355608295,
24.023426937377145,
26.166368723366432,
46.7519724652316,
28.95010358215794,
50.62844195951565,
81.27983341628668,
99.06796190846298,
42.87385540630418,
28.306573548091144,
28.752879490185098,
28.660178333847345,
46.22053939562333,
71.3696504193722,
81.17217997358561,
87.67270987294886,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 9.906796190846298e-08,
"rel": 0.0
}
},
{
"variable": "bnv2",
"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.001083087987552359,
0.0012131947824175525,
0.0011708153915399185,
0.0008286946236171975,
0.0006543297618140101,
0.0004847161906014476,
0.00029803037094707196,
0.0001734468584428959,
7.886173074411153e-05,
9.683380883116219e-05,
0.0001030134737588772,
8.45116286982946e-05,
6.927359646956226e-05,
5.0326211405819776e-05,
3.145003013897311e-05,
1.682885470738522e-05,
9.4377905118176e-06,
9.497584094323224e-06,
2.7225596152477448e-05,
3.877144922138458e-05,
4.970645563536815e-05,
7.606210814493104e-05,
9.883747492495162e-05,
0.00010731031283951298,
9.074380759358091e-05,
6.894783327203815e-05,
7.196141025014307e-05,
8.377137981851732e-05,
9.35491998370108e-05,
0.0001037588112392087,
0.00011184021054968183,
0.00013421423385492835,
0.00017818005804564973,
0.0001868041372649238,
0.00017821819980448026,
0.00016518110910072938,
0.00017130329518263434,
0.00020335873664012756,
0.0002491658995665103,
0.00032045111727447954,
0.0003954836465011674,
0.0005319988705536103,
0.0006072160372114826,
0.0006383809995879994,
0.0006669482245508055,
0.000647573073326332,
0.0005905203003709699,
0.0005805609988788645,
0.0005709747086781624,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.2131947824175526e-12,
"rel": 0.0
}
},
{
"variable": "zref",
"time": 0.0,
"expected": 108.1253433227539
},
{
"variable": "kref",
"time": 0.0,
"expected": 5.0
},
{
"variable": "komax",
"time": 0.0,
"expected": 6.0
},
{
"variable": "kbomax",
"time": 0.0,
"expected": 7.0
},
{
"variable": "delks",
"time": 0.0,
"expected": 0.0006511542726912003
},
{
"variable": "delks1",
"time": 0.0,
"expected": 0.0005975333078136817
},
{
"variable": "ubar",
"time": 0.0,
"expected": 3.7552822464786804
},
{
"variable": "vbar",
"time": 0.0,
"expected": 5.517967645300402
},
{
"variable": "rhobar",
"time": 0.0,
"expected": 0.9758388419696747
},
{
"variable": "ulow",
"time": 0.0,
"expected": 6.674587004849066
},
{
"variable": "bnv2low",
"time": 0.0,
"expected": 0.001083087987552359
},
{
"variable": "usqjlow",
"time": 0.0,
"expected": 2.1701415620400386
},
{
"variable": "ldrag",
"time": 0.0,
"expected": 0.0
}
]
},
{
"id": "s880_j141_i39_col22_evening_saturating_wave_over_wyoming",
"description": "Reference run: WRF 4.8 real-terrain simulation of data/eqwefic/notes/gwdo_real_reference_run.md (Last Chance Gulch d01, Colorado Rockies, 8.1 km, 150 x 180 x 50, dt = 45 s, gwd_opt = 1 with ELVMAX supplied by WPS util/compute_gwdo.py -- without it GWDO is silently off everywhere, FORTRAN_BUGS B17). Step 880 = 06-25 23Z, global row j = 141 over the southern Wyoming ranges, tile column 22 of the dump that starts at i = 39. The strongest saturating column in the dumped set: launch stress 2.06 Pa, |dtaux3d| up to 1.6e-2 m/s^2, six saturating levels and no flow blocking. It is also the only test here in wind-rose sector 7 (north-east) and the one with the widest cross-wind orography, aspect ratio od = 2.73. Reference build: the real64 (kind_phys = real64) replay of the same dumped row through kernels/gwdo_diag_driver of WRF fork branch earthsciml-instrumented-gwdo, with the six scalar constants g, cp, R_d, R_v, eps_1 and pi supplied at binary64 precision instead of WRF's real32 module values (gwdo_real/mkflat64.py). They are subroutine arguments, not internal parameters, so that is what a double-precision kernel reference means for this scheme, and it is what lib/wrf_constants.esm carries for g, cp, R_d, R_v and eps_1 (pi is the truncated literal 3.141592653 WRF passes, gwdo_parameters.esm `pi`: replaying all 140 rows with that value instead of math.pi, gwdo_real/run_diag64p.py, reproduces every field of this reference bit for bit); promoting them flips no branch on any of the 140 dumped rows and moves the outputs by a median 2.7e-8 of the row maximum. Column tolerances are ABSOLUTE, set to 1e-9 of the profile's own maximum rather than per cell, per FORTRAN_BUGS N85. Every assertion is on an algebraic observed at t = 0 and this document declares no ODE state, so the empty time_span is a single static evaluation.",
"parameter_overrides": {},
"expression_template_imports": [
{
"ref": "./tests/s880_j141_i39_col22_inputs.esm"
}
],
"time_span": {
"start": 0,
"end": 0
},
"tolerance": {
"rel": 1e-09
},
"assertions": [
{
"variable": "vtj",
"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": [
299.6946606946728,
299.3507763228522,
299.0534104907335,
298.89719529609647,
299.4023008291829,
299.39066939820185,
300.0684405633261,
300.1292199946017,
299.92507982025813,
299.39732224029484,
298.4562009489632,
297.1972151133291,
295.7197252578406,
293.9451416390444,
291.84868488667223,
289.60878860147767,
287.1489044668559,
284.2223989196102,
280.77014799245603,
276.9154602273366,
272.7383804582609,
268.2270230660067,
264.27812514013243,
261.26633090051484,
257.99607889163576,
253.95229146376064,
249.5086823498841,
244.8374322927805,
240.61115363645732,
237.23523892941805,
233.84400209728852,
229.83487939479954,
225.24788321966767,
221.2253570797983,
217.33611574214086,
212.9109232164689,
209.92997398751768,
207.85657521558915,
207.14938985807635,
206.86854642959264,
205.3924529114395,
203.1196256516525,
204.3930445969575,
208.1079544076673,
209.60356722903313,
211.02473305373834,
212.93029776475163,
214.4181418021078,
215.17763148091197,
215.91341233749304
]
},
"k"
]
}
},
"tolerance": {
"abs": 3.0012921999460176e-07,
"rel": 0.0
}
},
{
"variable": "vtk",
"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": [
313.1482720078077,
313.136402352584,
313.2357870563895,
313.56066335994524,
314.66909791399314,
315.3455147516748,
316.8755073368159,
317.89800610380354,
318.80916311579773,
319.56246969641256,
320.08727430691755,
320.50424261074494,
320.9412881753791,
321.3371270730329,
321.68182104417485,
322.19026006059886,
322.7938355613466,
323.2293415843166,
323.4275687373769,
323.5299374491422,
323.64133527666746,
323.7851070751171,
325.1216361302651,
328.0230869283758,
330.7607530982067,
332.56864838804813,
333.8966839868241,
334.9535788883558,
336.6650206344876,
339.66026917087083,
342.75812659437514,
345.05325216629797,
346.4678315598721,
348.64715485294204,
350.93816956246457,
352.2432047311634,
355.8473594513028,
360.99077738631803,
368.6041427852651,
377.15167119489536,
383.6639183718446,
388.7382165762878,
400.7784585683328,
418.0664213546402,
431.44656322837227,
445.10780713271146,
460.1754985338036,
474.79112604925166,
488.20343933897124,
501.92967410459465
]
},
"k"
]
}
},
"tolerance": {
"abs": 5.019296741045947e-07,
"rel": 0.0
}
},
{
"variable": "rho",
"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.9971245909022578,
0.9944206240519077,
0.9908466367197717,
0.9859719184701139,
0.9779675985054419,
0.9705622480660389,
0.959688236844158,
0.9493948894852982,
0.9383473598242781,
0.926528774629946,
0.9140108065333816,
0.9002999490712987,
0.8849195064074146,
0.8679585074566204,
0.8493716936084166,
0.8285742341772858,
0.8057842448777899,
0.7817159094530207,
0.7565582161943065,
0.7300390814790286,
0.701963856274427,
0.6722339166417114,
0.6384796272282094,
0.6014353212293619,
0.5660708419584782,
0.5338561293851707,
0.5037284208442564,
0.47519259222355076,
0.44690261114610935,
0.4182240575195135,
0.39081265743187527,
0.36563146482725345,
0.34271567091908317,
0.32050491242809676,
0.2996504767588164,
0.280949142111656,
0.26171625584360675,
0.24278452832388622,
0.22375910704712532,
0.205801964955847,
0.19038779671792755,
0.17682811733310494,
0.1614048906896952,
0.14560417456966276,
0.13278329647942738,
0.12114022549043647,
0.11027165400133383,
0.10058181641539311,
0.09205842383991429,
0.0842676204133015
]
},
"k"
]
}
},
"tolerance": {
"abs": 9.97124590902258e-10,
"rel": 0.0
}
},
{
"variable": "del",
"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": [
302.6484375,
358.7890625,
424.4375,
500.75,
588.9765625,
690.171875,
805.171875,
934.6171875,
1078.5546875,
1236.765625,
1408.2421875,
1591.234375,
1783.015625,
1980.109375,
2178.0390625,
2371.28125,
2554.96875,
2725.1953125,
2878.31640625,
3010.83203125,
3134.7734375,
3260.265625,
3383.83984375,
3275.37109375,
3090.7109375,
2919.109375,
2757.38671875,
2603.59375,
2456.318359375,
2314.92578125,
2178.513671875,
2042.87109375,
1882.646484375,
1729.056640625,
1588.05859375,
1458.578125,
1339.7021484375,
1230.5126953125,
1130.2333984375,
1038.1162109375,
953.51171875,
875.8017578125,
804.423828125,
738.8623046875,
678.6494140625,
623.3369140625,
572.5390625,
525.87353515625,
483.01904296875,
443.6484375
]
},
"k"
]
}
},
"tolerance": {
"abs": 3.38383984375e-06,
"rel": 0.0
}
},
{
"variable": "u1",
"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.064672503899818,
-8.784249827249674,
-9.691149633883839,
-10.351468203006144,
-10.341097690953424,
-8.19613760404768,
-9.967446716398431,
-10.809515822795845,
-10.706688006646662,
-9.787521628714911,
-8.387779603763247,
-6.683084689237013,
-4.8656039465545495,
-2.8415999248696266,
-0.1436507573425425,
3.332308608837284,
7.07802922761609,
10.20218695395987,
12.236371478059848,
13.135513177978593,
13.285794331149326,
13.066444453906001,
12.738724929536994,
11.965182313215905,
10.721231077702729,
10.454141673266703,
11.145390914101036,
13.097078383302316,
14.733227310732621,
13.610018125542338,
8.462292743394737,
2.8289982277092767,
1.2026452840644937,
3.3204321556849488,
8.180397717857645,
17.25794160756339,
19.89921452046696,
19.90844662635586,
17.400411574169045,
11.62477084077937,
5.845069472874485,
5.0978499840024085,
8.62484568838009,
7.650683154988891,
3.85396373669675,
2.2920928983390176,
-0.4191091703425611,
-2.964241462819678,
-4.2807087704432085,
-4.636250709553501
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.9908446626355862e-08,
"rel": 0.0
}
},
{
"variable": "v1",
"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": [
-9.217088148915154,
-10.831827103509461,
-11.386663345157448,
-11.575185908030111,
-9.177884376250065,
-5.776213436710078,
-3.8964628359961786,
-1.154994853416536,
1.820645902515432,
4.364718312521287,
6.073343760473179,
7.1330419800699385,
7.686244611363906,
7.518273597029461,
6.701846056654644,
6.223309373311264,
6.529159142895622,
7.024101775218437,
7.37856516312894,
7.654446072987232,
8.15877234034136,
8.602554971603128,
8.262051792460749,
8.266952175887017,
9.044305319222254,
10.086555313473522,
10.962805800455506,
11.04642354946424,
9.741008856966605,
5.4766610736459995,
2.8153960624609304,
1.264747531474268,
-0.7268039186915343,
-0.48669730436066505,
-0.08503252573084907,
3.0343977367181516,
7.099876104513704,
9.604938207580943,
10.587699932602732,
10.03253839122235,
9.804756454269684,
9.511542743039612,
6.12055161789911,
0.21277923259601028,
-1.796883220878546,
-1.6735417134030417,
-2.565976885360619,
-2.059198131753101,
-2.095881721614303,
-1.782648798739812
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.1575185908030111e-08,
"rel": 0.0
}
},
{
"variable": "velco",
"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": [
12.74740221021222,
14.43364142387533,
15.23602231578013,
14.63818123596045,
11.768687053365788,
9.690279540140617,
8.861437789491061,
6.99656507054376,
4.61181533043981,
2.258942437076577,
1.0,
-1.591484909729477,
-3.027011291431441,
-4.252540654479312,
-5.851997934638376,
-8.219075307603259,
-10.827642945253414,
-12.878055887217979,
-14.098505195319532,
-14.740212042036688,
-15.067494450068732,
-14.921527088105398,
-14.426748165690487,
-14.03684275502185,
-14.200942623025488,
-15.053023180359729,
-16.29755374001276,
-17.053552661828242,
-15.166979959456151,
-10.49557550077862,
-5.309311294850122,
-1.555996801359834,
-1.0738817457940844,
-3.659968607576737,
-9.653345845531625,
-16.25445287410991,
-19.575891758494482,
-20.024265943089773,
-17.393951078395602,
-13.214787154142368,
-10.825109608864974,
-10.398709727836085,
-7.8201199086676,
-3.286961568187017,
-0.7857771896046031,
1.0,
2.848890775524411,
3.974959280675592,
4.435536962582282,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 2.0024265943089775e-08,
"rel": 0.0
}
},
{
"variable": "usqj_raw",
"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.002646656629100389,
0.11217808270128854,
0.48855648263655005,
0.3439104372677011,
0.08771065606092675,
0.5658003833923356,
0.36021041429803935,
0.3464945898895373,
0.40410385398750936,
0.48628471204697027,
0.5376736987697575,
0.7204285480250964,
0.6466788802245353,
0.3305683372672955,
0.35152506965701075,
0.4042890730409105,
0.45344658236015456,
0.5401238929818982,
1.329475956246909,
1.570686262486362,
2.2012075314364767,
21.128350020907558,
47.95149435362545,
21.133781927323252,
25.821827438481076,
17.55758665338804,
4.547831640256229,
6.394657565172006,
2.5139214256570956,
1.5038361064232046,
1.0927856367324738,
3.431153876131218,
7.52009982171429,
1.4743414462991231,
0.21177467571403852,
2.2355272330422795,
11.66130352503359,
14.563770241730072,
3.438946274947744,
2.573248786736548,
65.53742085613374,
6.337561869695069,
5.932066132433919,
8.67514748901715,
64.86681742579404,
21.123948166527924,
24.192580662152068,
84.0879969464431,
145.73535301934956,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.4573535301934958e-07,
"rel": 0.0
}
},
{
"variable": "bnv2_raw",
"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": [
-1.0981254101295368e-05,
7.739144052471995e-05,
0.00021309629519311222,
0.0006117719098919866,
0.00031466824056418407,
0.0006009308951484478,
0.0003400286467049472,
0.0002581334305091981,
0.00018283075682458863,
0.0001098176717794551,
7.572936554495133e-05,
6.933117352389933e-05,
5.5210411176885104e-05,
4.257590531313383e-05,
5.600684423109398e-05,
5.969797432642758e-05,
3.89712178846871e-05,
1.6180183923418526e-05,
7.679632829018887e-06,
7.710909794049902e-06,
9.172614257869017e-06,
7.808042197828699e-05,
0.00015905816393358584,
0.00014661018312158575,
9.596345826992731e-05,
7.007413840581191e-05,
5.551620042804391e-05,
8.935089417743604e-05,
0.00015450237204372603,
0.00015724783023750744,
0.0001150361655120244,
7.10313285917498e-05,
0.00011078554105597645,
0.00011781196748552231,
6.806028068612396e-05,
0.00018993865896795885,
0.0002710011323080965,
0.00039678314478937824,
0.0004368676119010562,
0.000327656313907197,
0.00025379986700622287,
0.0005906631473326801,
0.0008079943233048739,
0.000595270674716813,
0.0005847610610017249,
0.0006194446979470163,
0.0005771375581999816,
0.0005114717174965744,
0.0005072822275998121,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 8.079943233048739e-13,
"rel": 0.0
}
},
{
"variable": "usqj",
"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.21631994769769372,
0.21631994769769372,
0.21631994769769372,
0.21631994769769372,
0.21631994769769372,
0.5658003833923356,
0.36021041429803935,
0.3464945898895373,
0.40410385398750936,
0.48628471204697027,
0.5376736987697575,
0.7204285480250964,
0.6466788802245353,
0.3305683372672955,
0.35152506965701075,
0.4042890730409105,
0.45344658236015456,
0.5401238929818982,
1.329475956246909,
1.570686262486362,
2.2012075314364767,
21.128350020907558,
47.95149435362545,
21.133781927323252,
25.821827438481076,
17.55758665338804,
4.547831640256229,
6.394657565172006,
2.5139214256570956,
1.5038361064232046,
1.0927856367324738,
3.431153876131218,
7.52009982171429,
1.4743414462991231,
0.21177467571403852,
2.2355272330422795,
11.66130352503359,
14.563770241730072,
3.438946274947744,
2.573248786736548,
65.53742085613374,
6.337561869695069,
5.932066132433919,
8.67514748901715,
64.86681742579404,
21.123948166527924,
24.192580662152068,
84.0879969464431,
145.73535301934956,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.4573535301934958e-07,
"rel": 0.0
}
},
{
"variable": "bnv2",
"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.00027848787402663856,
7.739144052471995e-05,
0.00021309629519311222,
0.0006117719098919866,
0.00031466824056418407,
0.0006009308951484478,
0.0003400286467049472,
0.0002581334305091981,
0.00018283075682458863,
0.0001098176717794551,
7.572936554495133e-05,
6.933117352389933e-05,
5.5210411176885104e-05,
4.257590531313383e-05,
5.600684423109398e-05,
5.969797432642758e-05,
3.89712178846871e-05,
1.6180183923418526e-05,
7.679632829018887e-06,
7.710909794049902e-06,
9.172614257869017e-06,
7.808042197828699e-05,
0.00015905816393358584,
0.00014661018312158575,
9.596345826992731e-05,
7.007413840581191e-05,
5.551620042804391e-05,
8.935089417743604e-05,
0.00015450237204372603,
0.00015724783023750744,
0.0001150361655120244,
7.10313285917498e-05,
0.00011078554105597645,
0.00011781196748552231,
6.806028068612396e-05,
0.00018993865896795885,
0.0002710011323080965,
0.00039678314478937824,
0.0004368676119010562,
0.000327656313907197,
0.00025379986700622287,
0.0005906631473326801,
0.0008079943233048739,
0.000595270674716813,
0.0005847610610017249,
0.0006194446979470163,
0.0005771375581999816,
0.0005114717174965744,
0.0005072822275998121,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 8.079943233048739e-13,
"rel": 0.0
}
},
{
"variable": "zref",
"time": 0.0,
"expected": 127.2126235961914
},
{
"variable": "kref",
"time": 0.0,
"expected": 6.0
},
{
"variable": "komax",
"time": 0.0,
"expected": 7.0
},
{
"variable": "kbomax",
"time": 0.0,
"expected": 8.0
},
{
"variable": "delks",
"time": 0.0,
"expected": 0.00045964298667394433
},
{
"variable": "delks1",
"time": 0.0,
"expected": 0.00042205362059357884
},
{
"variable": "ubar",
"time": 0.0,
"expected": -9.504154808181024
},
{
"variable": "vbar",
"time": 0.0,
"expected": -10.438785698450587
},
{
"variable": "rhobar",
"time": 0.0,
"expected": 0.987700772904927
},
{
"variable": "ulow",
"time": 0.0,
"expected": 14.117266218218278
},
{
"variable": "bnv2low",
"time": 0.0,
"expected": 0.00027848787402663856
},
{
"variable": "usqjlow",
"time": 0.0,
"expected": 0.21631994769769372
},
{
"variable": "ldrag",
"time": 0.0,
"expected": 0.0
}
]
},
{
"id": "s1440_j61_i39_col18_predawn_flow_blocking_only",
"description": "Reference run: WRF 4.8 real-terrain simulation of data/eqwefic/notes/gwdo_real_reference_run.md (Last Chance Gulch d01, Colorado Rockies, 8.1 km, 150 x 180 x 50, dt = 45 s, gwd_opt = 1 with ELVMAX supplied by WPS util/compute_gwdo.py -- without it GWDO is silently off everywhere, FORTRAN_BUGS B17). Step 1440 = 06-26 06Z, global row j = 61, tile column 18 of the dump that starts at i = 39. The largest |dtaux3d| anywhere in the dumped set, 1.72e-2 m/s^2, and ALL of it is flow blocking: a critical level sits at the reference level itself, so no level ever reaches the saturation test (zero saturating and zero no-wave-breaking levels) and the entire wave stress is truncated at kref = 11. ELVMAX = 3649 m and var = 283 m, the deepest launch layer of these tests. Reference build: the real64 (kind_phys = real64) replay of the same dumped row through kernels/gwdo_diag_driver of WRF fork branch earthsciml-instrumented-gwdo, with the six scalar constants g, cp, R_d, R_v, eps_1 and pi supplied at binary64 precision instead of WRF's real32 module values (gwdo_real/mkflat64.py). They are subroutine arguments, not internal parameters, so that is what a double-precision kernel reference means for this scheme, and it is what lib/wrf_constants.esm carries for g, cp, R_d, R_v and eps_1 (pi is the truncated literal 3.141592653 WRF passes, gwdo_parameters.esm `pi`: replaying all 140 rows with that value instead of math.pi, gwdo_real/run_diag64p.py, reproduces every field of this reference bit for bit); promoting them flips no branch on any of the 140 dumped rows and moves the outputs by a median 2.7e-8 of the row maximum. Column tolerances are ABSOLUTE, set to 1e-9 of the profile's own maximum rather than per cell, per FORTRAN_BUGS N85. Every assertion is on an algebraic observed at t = 0 and this document declares no ODE state, so the empty time_span is a single static evaluation.",
"parameter_overrides": {},
"expression_template_imports": [
{
"ref": "./tests/s1440_j61_i39_col18_inputs.esm"
}
],
"time_span": {
"start": 0,
"end": 0
},
"tolerance": {
"rel": 1e-09
},
"assertions": [
{
"variable": "vtj",
"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": [
291.2583468109269,
292.88983916298014,
292.83897570026005,
292.5584629413938,
292.3031324505993,
292.03209417005087,
291.60663429904315,
290.99658644137406,
290.3048540168027,
289.3747816906093,
288.15756362255365,
286.8090812003194,
285.27106624288194,
283.5871476940315,
281.74698868077013,
279.7043542655867,
277.4254626200093,
274.8552463092445,
272.0506260770924,
269.8983449038104,
268.6268610636361,
266.86148207953164,
264.12747044981876,
260.45722812343587,
256.33756087635373,
252.1234155225891,
248.0261788378981,
244.07330872432846,
240.20924807221493,
237.3518942674244,
234.82426885226522,
230.16706858059737,
225.79629401527578,
221.86606387038705,
217.78774206364378,
213.84165564214132,
210.60550075061775,
208.00452376594245,
205.7365172556394,
203.535915239803,
201.425537694648,
200.7097274883655,
200.6921053546834,
200.90881063285127,
202.84545565539284,
205.6263400111801,
208.04900334542936,
209.4869235504064,
210.6773549047356,
212.43914217171798
]
},
"k"
]
}
},
"tolerance": {
"abs": 2.9288983916298017e-07,
"rel": 0.0
}
},
{
"variable": "vtk",
"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": [
319.19107822018924,
321.3289947708879,
321.6829860307217,
321.8608103009119,
322.15269019677095,
322.5263285035507,
322.84134917695525,
323.08192306933745,
323.3743032035,
323.5573232629489,
323.5889931621578,
323.65741976340007,
323.7037605081387,
323.7876773802319,
323.9034101528766,
324.003571523063,
324.0556538052245,
324.0035836918893,
323.9272660672506,
324.9121107810393,
327.31061406517256,
329.55341413007324,
331.13947024769055,
331.9952347181166,
332.504767476071,
333.05927010294306,
333.9546734694274,
335.2501970877212,
336.8904950319736,
340.2088118559197,
344.32235527029115,
345.5749472619476,
347.31971926538415,
349.66481304731474,
351.67625620426554,
353.79411756932205,
357.00685696677493,
361.2671333194216,
366.11347485764765,
371.10281531863797,
376.2832664657347,
384.1641860449679,
393.5793950840758,
403.7013038246746,
417.61225985958856,
433.73347088449094,
449.62382935556,
463.8592631799455,
477.97018619598634,
493.8183126334987
]
},
"k"
]
}
},
"tolerance": {
"abs": 4.938183126334988e-07,
"rel": 0.0
}
},
{
"variable": "rho",
"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.8682668649975596,
0.8601704549169734,
0.8564760189615255,
0.8527760558549431,
0.8482241937385911,
0.8428334538144373,
0.836890489887945,
0.830361083642262,
0.8228334689618457,
0.8146415338981303,
0.8058183839409094,
0.7958430317322436,
0.784818884126811,
0.772589520704219,
0.759168851016773,
0.7446762820449183,
0.7291887054158658,
0.7128148276799096,
0.6953416031224035,
0.6744630068941629,
0.6496050334347593,
0.6238943017048745,
0.5979027022110069,
0.5721553433060982,
0.5468570960721169,
0.5216056983942018,
0.4959889267205897,
0.47004904794119606,
0.44401494050397544,
0.41639504942939454,
0.38869788591372423,
0.3650412915802552,
0.34187719990729487,
0.3195770243407922,
0.2990284355325432,
0.2797262330779429,
0.2608767566859677,
0.2426118088864583,
0.2252957312373901,
0.20917168299242542,
0.1941373324348766,
0.17895127180354908,
0.16438135603420662,
0.1508215932763813,
0.13720717834468457,
0.12432056975190585,
0.11285887336134416,
0.1029494624741101,
0.09402488278199572,
0.08564574911665572
]
},
"k"
]
}
},
"tolerance": {
"abs": 8.682668649975596e-10,
"rel": 0.0
}
},
{
"variable": "del",
"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": [
251.3046875,
296.734375,
349.375,
409.859375,
478.8359375,
556.765625,
643.8125,
739.859375,
844.203125,
955.765625,
1072.78125,
1193.16796875,
1314.578125,
1434.6875,
1551.78515625,
1665.10546875,
1775.26953125,
1883.765625,
1992.32421875,
2101.25390625,
2223.88671875,
2372.70703125,
2546.953125,
2561.95703125,
2513.33203125,
2463.82421875,
2409.87890625,
2349.62109375,
2282.521484375,
2208.65234375,
2128.751953125,
2035.744140625,
1882.30859375,
1728.90234375,
1587.994140625,
1458.57421875,
1339.7001953125,
1230.5126953125,
1130.232421875,
1038.115234375,
953.5107421875,
875.8017578125,
804.423828125,
738.86328125,
678.6494140625,
623.3369140625,
572.5390625,
525.87353515625,
483.01904296875,
443.6484375
]
},
"k"
]
}
},
"tolerance": {
"abs": 2.56195703125e-06,
"rel": 0.0
}
},
{
"variable": "u1",
"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": [
1.1912446471979194,
5.299899259309399,
6.68213080190344,
7.229476454169472,
7.718698851354674,
8.151802774524214,
8.370400761520216,
8.512005460554803,
9.078463788946635,
8.99358005285628,
5.902151338404487,
7.322533119164248,
8.7001507575455,
9.001889829190091,
9.16738374311953,
9.728962491010194,
10.301352373056737,
10.26751952471679,
9.536316364117127,
8.510964991672935,
7.356559156214942,
6.052128326436119,
4.618291441088111,
3.4137464790260026,
2.689693111567067,
2.533268690410466,
2.7593446929348886,
2.0407081130949933,
1.778022963536955,
3.1729664011223377,
5.281759882745517,
3.908878020731935,
4.4057140800078685,
3.9856434067915814,
2.7265066044207593,
2.3452268547240926,
2.280059348791867,
2.9119546161686696,
3.1853452319679043,
2.634772162929142,
2.6203808864824225,
2.139924272279913,
-0.25126278849519323,
-0.25465215706478617,
-0.8781181636925766,
-3.188007404696485,
-6.6726123359973,
-8.246449845052847,
-8.470511985882744,
-8.303126815768564
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.0301352373056738e-08,
"rel": 0.0
}
},
{
"variable": "v1",
"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.6391528063212704,
7.805389260894458,
8.82459724150796,
9.027836513183331,
9.471934979283873,
10.190743850842608,
10.931688344737324,
11.130318496130172,
9.988269126968717,
7.729055848109297,
4.724885865422699,
6.175588627408132,
7.648024788780802,
7.83893220662155,
7.171404460886521,
6.42992484357903,
5.644046261326679,
4.932441992752956,
4.183832351012327,
3.852134716103052,
4.182787337407589,
5.11229300681638,
6.625276646213841,
8.190932861251902,
8.975149234973323,
9.43512009399921,
10.007345680971014,
11.17940746199298,
11.620504703257783,
8.020144507006272,
-0.8343441811857133,
-1.6313563435096619,
-2.252644062253161,
-2.0546326825469095,
-1.6201651292897097,
-1.5989947318888937,
-0.4969892213626359,
1.0242336255056372,
2.3873867497575816,
3.4249724073696513,
4.218576113086954,
4.414274351259586,
4.904330528450632,
4.228472705855941,
3.175690364290295,
1.870960460581518,
1.5320483035118002,
2.188454988842466,
2.002179200556327,
2.069653599551799
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.1620504703257784e-08,
"rel": 0.0
}
},
{
"variable": "velco",
"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": [
4.833105958924543,
10.209219245177295,
11.302267023353721,
11.885908396744933,
12.627404872402975,
13.392876130001714,
13.866214746318631,
13.740363032402426,
12.610101395509156,
9.580098882043464,
8.446189128329024,
10.466706891476447,
11.644925225372845,
11.617116940879201,
11.32122388832171,
11.113438547755349,
10.722475212010416,
9.919809741451077,
8.937086526082135,
8.224686932142815,
7.898562592563518,
7.9287411642164525,
8.232364791366802,
8.491956259866255,
8.675347008445025,
9.088841376617935,
9.58825824775237,
9.878385069162476,
9.052275365610793,
5.481903808462501,
2.068660895239017,
1.2456015378723844,
1.1104430981368665,
1.0,
1.0,
1.0,
1.8955297464931624,
3.283130614011628,
4.101402355666981,
4.6100661748569145,
4.822932408782501,
4.144523798652807,
3.2920143103649955,
2.4328705775750845,
1.0,
-1.932683541129167,
-3.464802848967046,
-3.8741050776208943,
-3.9375911129560897,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.3866214746318632e-08,
"rel": 0.0
}
},
{
"variable": "usqj_raw",
"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.024028988735708853,
0.14145648296639685,
0.24607332379462166,
0.4743683263088213,
0.7117233829564964,
0.7028220631579096,
0.6179722686598381,
0.5337363322665051,
0.12247532380029365,
0.006905550180754373,
0.07245845621210831,
0.05761008565979134,
0.4623975527468039,
0.7039805516931226,
0.6726096068228858,
0.38841366720253495,
-0.39255638210745936,
-0.5767897932241711,
7.855415604778532,
16.723613769984752,
9.64399430027075,
4.476422426229156,
2.9051887522831037,
6.1435293022413955,
7.820999861583933,
12.927065985361788,
10.135849010508135,
24.83069575156507,
3.4413765212214593,
0.7836073361002303,
8.004473451143147,
27.948783094580726,
36.761273303026776,
17.34552633530084,
31.62233602278592,
38.415765219472725,
22.327539882778773,
34.799507381489995,
48.98517032919763,
68.50863815283057,
101.69517529049658,
19.892309669784822,
124.3079264022459,
111.50252559588247,
26.841223184070788,
14.822185231725806,
54.606170241727554,
153.52705642867858,
168.34815735265585,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.6834815735265585e-07,
"rel": 0.0
}
},
{
"variable": "bnv2_raw",
"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.0020252169391045804,
0.0002814612182040419,
0.00011970415757927948,
0.00016692040704938287,
0.00018210019664152236,
0.00013140357452701013,
8.634861081911948e-05,
9.081623141432568e-05,
4.951546798330301e-05,
7.5211256779344626e-06,
1.437645378152099e-05,
8.680339489385114e-06,
1.4123879256692586e-05,
1.7630421591364415e-05,
1.3902275550594833e-05,
6.622878715949646e-06,
-6.090905160192128e-06,
-8.230759756531851e-06,
9.767984620126413e-05,
0.00021644897340414475,
0.00018183854311068487,
0.00011457964816710005,
5.68358492117939e-05,
3.2519119472030784e-05,
3.439964835831782e-05,
5.390572680533115e-05,
7.556650662255146e-05,
9.260685192207046e-05,
0.00018052401036509737,
0.00021444833577574223,
6.319249000942739e-05,
8.740900154075686e-05,
0.00011857860153280398,
0.00010291737584866223,
0.00010973114090016664,
0.00016800643825250607,
0.0002235428169916497,
0.00025406624169916763,
0.0002608907022878777,
0.0002700434629501509,
0.00040659739461141236,
0.0004758122615859647,
0.0004987145494561292,
0.0006617715819146399,
0.000731364153186749,
0.0006860885395905863,
0.0005888957682238985,
0.0005626328523289925,
0.0006081306471837391,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 2.0252169391045805e-12,
"rel": 0.0
}
},
{
"variable": "usqj",
"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.35612542623750176,
0.35612542623750176,
0.35612542623750176,
0.35612542623750176,
0.35612542623750176,
0.35612542623750176,
0.35612542623750176,
0.35612542623750176,
0.35612542623750176,
0.35612542623750176,
0.07245845621210831,
0.05761008565979134,
0.4623975527468039,
0.7039805516931226,
0.6726096068228858,
0.38841366720253495,
-0.39255638210745936,
-0.5767897932241711,
7.855415604778532,
16.723613769984752,
9.64399430027075,
4.476422426229156,
2.9051887522831037,
6.1435293022413955,
7.820999861583933,
12.927065985361788,
10.135849010508135,
24.83069575156507,
3.4413765212214593,
0.7836073361002303,
8.004473451143147,
27.948783094580726,
36.761273303026776,
17.34552633530084,
31.62233602278592,
38.415765219472725,
22.327539882778773,
34.799507381489995,
48.98517032919763,
68.50863815283057,
101.69517529049658,
19.892309669784822,
124.3079264022459,
111.50252559588247,
26.841223184070788,
14.822185231725806,
54.606170241727554,
153.52705642867858,
168.34815735265585,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.6834815735265585e-07,
"rel": 0.0
}
},
{
"variable": "bnv2",
"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.00018906512740739546,
0.0002814612182040419,
0.00011970415757927948,
0.00016692040704938287,
0.00018210019664152236,
0.00013140357452701013,
8.634861081911948e-05,
9.081623141432568e-05,
4.951546798330301e-05,
7.5211256779344626e-06,
1.437645378152099e-05,
8.680339489385114e-06,
1.4123879256692586e-05,
1.7630421591364415e-05,
1.3902275550594833e-05,
6.622878715949646e-06,
-6.090905160192128e-06,
-8.230759756531851e-06,
9.767984620126413e-05,
0.00021644897340414475,
0.00018183854311068487,
0.00011457964816710005,
5.68358492117939e-05,
3.2519119472030784e-05,
3.439964835831782e-05,
5.390572680533115e-05,
7.556650662255146e-05,
9.260685192207046e-05,
0.00018052401036509737,
0.00021444833577574223,
6.319249000942739e-05,
8.740900154075686e-05,
0.00011857860153280398,
0.00010291737584866223,
0.00010973114090016664,
0.00016800643825250607,
0.0002235428169916497,
0.00025406624169916763,
0.0002608907022878777,
0.0002700434629501509,
0.00040659739461141236,
0.0004758122615859647,
0.0004987145494561292,
0.0006617715819146399,
0.000731364153186749,
0.0006860885395905863,
0.0005888957682238985,
0.0005626328523289925,
0.0006081306471837391,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 7.31364153186749e-13,
"rel": 0.0
}
},
{
"variable": "zref",
"time": 0.0,
"expected": 566.50390625
},
{
"variable": "kref",
"time": 0.0,
"expected": 11.0
},
{
"variable": "komax",
"time": 0.0,
"expected": 13.0
},
{
"variable": "kbomax",
"time": 0.0,
"expected": 16.0
},
{
"variable": "delks",
"time": 0.0,
"expected": 0.0001809458378216383
},
{
"variable": "delks1",
"time": 0.0,
"expected": 0.00016842792271790034
},
{
"variable": "ubar",
"time": 0.0,
"expected": 7.844142776096538
},
{
"variable": "vbar",
"time": 0.0,
"expected": 9.090759247989478
},
{
"variable": "rhobar",
"time": 0.0,
"expected": 0.8366950232121138
},
{
"variable": "ulow",
"time": 0.0,
"expected": 12.007184499152736
},
{
"variable": "bnv2low",
"time": 0.0,
"expected": 0.00018906512740739546
},
{
"variable": "usqjlow",
"time": 0.0,
"expected": 0.35612542623750176
},
{
"variable": "ldrag",
"time": 0.0,
"expected": 0.0
}
]
},
{
"id": "s1440_j91_i1_col2_wave_reaching_the_model_top",
"description": "Reference run: WRF 4.8 real-terrain simulation of data/eqwefic/notes/gwdo_real_reference_run.md (Last Chance Gulch d01, Colorado Rockies, 8.1 km, 150 x 180 x 50, dt = 45 s, gwd_opt = 1 with ELVMAX supplied by WPS util/compute_gwdo.py -- without it GWDO is silently off everywhere, FORTRAN_BUGS B17). Step 1440 = 06-26 06Z, global row j = 91 over the Front Range, tile column 2 of the dump that starts at i = 1. One of only twelve columns in the whole dumped set in which no critical level is ever found above the reference level, so the wave-saturation sweep runs uninterrupted from kref = 12 to the model top: 8 saturating and 30 no-wave-breaking levels. Wind-rose sector 2 (south). Reference build: the real64 (kind_phys = real64) replay of the same dumped row through kernels/gwdo_diag_driver of WRF fork branch earthsciml-instrumented-gwdo, with the six scalar constants g, cp, R_d, R_v, eps_1 and pi supplied at binary64 precision instead of WRF's real32 module values (gwdo_real/mkflat64.py). They are subroutine arguments, not internal parameters, so that is what a double-precision kernel reference means for this scheme, and it is what lib/wrf_constants.esm carries for g, cp, R_d, R_v and eps_1 (pi is the truncated literal 3.141592653 WRF passes, gwdo_parameters.esm `pi`: replaying all 140 rows with that value instead of math.pi, gwdo_real/run_diag64p.py, reproduces every field of this reference bit for bit); promoting them flips no branch on any of the 140 dumped rows and moves the outputs by a median 2.7e-8 of the row maximum. Column tolerances are ABSOLUTE, set to 1e-9 of the profile's own maximum rather than per cell, per FORTRAN_BUGS N85. Every assertion is on an algebraic observed at t = 0 and this document declares no ODE state, so the empty time_span is a single static evaluation.",
"parameter_overrides": {},
"expression_template_imports": [
{
"ref": "./tests/s1440_j91_i1_col2_inputs.esm"
}
],
"time_span": {
"start": 0,
"end": 0
},
"tolerance": {
"rel": 1e-09
},
"assertions": [
{
"variable": "vtj",
"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": [
294.9223398491337,
295.2324552886541,
295.1872156677187,
295.12822474261696,
294.9622875188651,
294.5812519046425,
293.99295757189907,
293.28684938557075,
292.41751960840026,
291.38118287605715,
290.13350097959426,
288.763487386838,
287.20175665447584,
285.4474184870609,
283.48400411738504,
281.30174458001807,
278.88977831818505,
276.2298025594245,
273.46376477641167,
270.92161615059706,
268.78019454805553,
266.46592190734793,
263.3585641551748,
259.9428961901489,
256.555248465616,
252.78977866647713,
248.73848080442892,
244.83198331798437,
241.02715380192677,
237.0273588110712,
232.84534729457877,
228.65781584092025,
224.51191392325444,
220.33515917665954,
217.0040808300808,
214.2651857722789,
211.61918890183674,
208.56869352091863,
205.4333577198881,
203.37722902982713,
203.2938303121939,
204.0828840692579,
205.4483053506114,
206.77533191924869,
208.27156760894192,
210.0277376799613,
211.4184414010943,
212.51368541064048,
213.4670036790319,
214.32978581831037
]
},
"k"
]
}
},
"tolerance": {
"abs": 2.952324552886541e-07,
"rel": 0.0
}
},
{
"variable": "vtk",
"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": [
318.37547660838146,
319.05685433065196,
319.41819202668313,
319.84378394231845,
320.24068560081577,
320.50276620531844,
320.66093090947936,
320.81827523838615,
320.94645516884015,
321.0563426483057,
321.11672186387267,
321.23554663398266,
321.35816327736177,
321.48992868567257,
321.62427590819664,
321.7607871220825,
321.8937677005719,
322.012580646285,
322.2955514772896,
323.1557808924289,
324.85874315891533,
326.7973943438124,
328.29643383590206,
329.8390788177351,
331.6293108258305,
333.08290993748153,
334.3142296683572,
335.90433183343737,
337.81605757243204,
339.64309365641833,
341.3950661450695,
343.31342698308885,
345.35174909245643,
347.2591264607485,
350.41699863525537,
354.50004333966314,
358.7298447736261,
362.25048418449717,
365.5772905564071,
370.8161860600478,
379.7771049296716,
390.6256741580699,
402.9096546342011,
415.47730763067113,
428.7808276973025,
443.0302748920078,
456.917882707853,
470.5723045199806,
484.2933849816253,
498.21007343037223
]
},
"k"
]
}
},
"tolerance": {
"abs": 4.982100734303722e-07,
"rel": 0.0
}
},
{
"variable": "rho",
"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.9039973752414825,
0.8996150967357713,
0.895699206030172,
0.8911049690318223,
0.8860039821440809,
0.8805967207025007,
0.8747240191098469,
0.867979841933056,
0.8603586771591124,
0.8517338775587382,
0.842105279592846,
0.8311005977259854,
0.8188293737397047,
0.8052250506911656,
0.790289030515174,
0.7740221322035507,
0.7564397685420664,
0.7375792509518919,
0.7170490936769446,
0.6939971781487528,
0.6679623387685408,
0.6402057486564785,
0.6118266092732769,
0.5825424900299077,
0.553169189020113,
0.5249947464221909,
0.4977398565301701,
0.47054330468345174,
0.4435734205487726,
0.4174406002314227,
0.39214149047152697,
0.3674663368457934,
0.34383321150150437,
0.3217974687237902,
0.3001082464795832,
0.27917321321420685,
0.2596269886483535,
0.24195547233015705,
0.22562815213571086,
0.20933487362645,
0.19235318903799567,
0.17599349970572653,
0.16057585369032953,
0.14654256212120562,
0.13363251129302664,
0.12171528260934289,
0.11106021625757073,
0.1014831874624744,
0.09279613831804787,
0.08489025173766652
]
},
"k"
]
}
},
"tolerance": {
"abs": 9.039973752414825e-10,
"rel": 0.0
}
},
{
"variable": "del",
"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": [
266.546875,
315.171875,
371.6953125,
436.90625,
511.609375,
596.484375,
691.90625,
797.9921875,
914.3046875,
1040.0078125,
1173.5,
1312.7421875,
1455.25,
1598.32421875,
1739.5546875,
1876.94921875,
2009.2890625,
2136.11328125,
2257.52734375,
2373.56640625,
2496.125,
2636.60546875,
2795.2890625,
2773.65234375,
2684.703125,
2599.05859375,
2513.12890625,
2424.99609375,
2333.92578125,
2239.93359375,
2143.4296875,
2037.744140625,
1882.328125,
1728.908203125,
1587.998046875,
1458.576171875,
1339.69921875,
1230.509765625,
1130.23046875,
1038.1142578125,
953.5107421875,
875.8017578125,
804.423828125,
738.8623046875,
678.6494140625,
623.33642578125,
572.5390625,
525.8740234375,
483.01904296875,
443.6484375
]
},
"k"
]
}
},
"tolerance": {
"abs": 2.7952890625000002e-06,
"rel": 0.0
}
},
{
"variable": "u1",
"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.1845373775676329,
0.9332853359047348,
1.1676076382471692,
1.459305849771681,
1.7822734311032349,
2.262110526693931,
2.763529269262733,
3.3763135675136056,
4.060592741613732,
4.681908712384015,
5.43365079394745,
6.291126211672534,
7.033721778469541,
7.618820901579859,
8.108447912768199,
8.504821399838434,
8.771570360979126,
8.805471014502647,
8.529613486258654,
8.042444912941107,
7.620005312164764,
7.644455916761942,
8.449017342504817,
9.615127699047633,
10.793428313857248,
12.015865829693425,
13.340278252458361,
15.186794161300071,
17.105594890517978,
17.69937275274623,
17.497167908472704,
18.02032731451726,
19.893893687259364,
20.955266878743487,
21.05308847114739,
19.833916714579146,
17.211270258398855,
14.82344837657979,
13.416506974671222,
11.90154094148285,
9.412554965301695,
6.576321172353815,
4.4246775396520235,
2.5587343358286816,
2.131775783884276,
0.9440173527922582,
-0.658901823639642,
-2.193495095677248,
-4.29781661817438,
-5.5412392047377885
]
},
"k"
]
}
},
"tolerance": {
"abs": 2.105308847114739e-08,
"rel": 0.0
}
},
{
"variable": "v1",
"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": [
5.0168464138932105,
7.7316368989998105,
8.883996953135311,
10.088053350841493,
11.396881585750132,
12.417097730416607,
13.37135986700784,
14.173853392006773,
14.474432051140312,
14.031863476866953,
15.307314343121412,
15.77476957408766,
15.060034227779518,
14.066073632332852,
12.648950902537806,
11.075587517673995,
9.600805984301232,
8.665506184631198,
8.735002711021295,
10.069611887555496,
12.59395065537197,
14.982196168632164,
15.696967711570117,
15.47832220198243,
15.177965281194169,
15.622104157995793,
16.745829325801935,
17.448839192205384,
17.837827355558375,
18.62430498090174,
19.692169414630627,
20.62017620649337,
21.362241839994866,
22.175304092322207,
21.225473834891304,
20.28234885218781,
20.932753873214352,
21.675915426382545,
21.60799540600344,
20.33734009371986,
17.442250271348243,
13.082922518966186,
9.947239116388104,
8.152741616145919,
6.523844269868086,
5.041126828726787,
4.161856118606863,
3.578307899858549,
3.2299384464003893,
3.142076616542692
]
},
"k"
]
}
},
"tolerance": {
"abs": 2.217530409232221e-08,
"rel": 0.0
}
},
{
"variable": "velco",
"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": [
6.314511495343723,
8.309584620752341,
9.51624038026092,
10.809660237214242,
12.037273893473783,
13.115171340092418,
14.104024069326778,
14.798790979983448,
14.891411883570312,
15.464673941952034,
16.50801579975581,
16.586032488478146,
15.922356521534327,
14.887117178816277,
13.547839739267474,
12.153073555837409,
11.022620179777794,
10.573247359542943,
11.159167400656132,
12.91627378294952,
15.247091793932393,
16.852915469341188,
17.336911011554175,
17.3753083100943,
17.74177146834873,
18.816229897419053,
20.0932598365571,
21.087812993821732,
21.9679275076475,
22.91471923716282,
23.921347636927273,
25.02676348950232,
26.143031292359996,
26.220082527039686,
25.16436097872309,
24.547579699437314,
24.60328036263526,
24.46126912566484,
23.451526671734403,
20.938318948738637,
16.765379324754317,
12.517584062231684,
9.63234105641724,
7.6903210959473105,
5.9831949373433995,
4.493859125992798,
3.3972684662719828,
2.4958972770626753,
1.8706710606109958,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 2.6220082527039688e-08,
"rel": 0.0
}
},
{
"variable": "usqj_raw",
"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.08733546770542272,
0.31583015057135433,
0.3927285821432575,
0.36531195795586857,
0.40941631391393135,
0.30744686295431345,
0.4167263254163888,
0.3987106503104185,
0.3948910349822899,
0.11106862521350326,
0.5673200283179943,
0.6022776684071951,
0.5879619276515494,
0.3962059479689152,
0.3773583836833224,
0.47722890682177577,
1.0477532459920516,
2.684344069696754,
4.363797799659368,
2.884046745049644,
4.113926468017353,
17.26527295394922,
15.59980732305919,
17.644917204150328,
12.720264981707125,
6.14362593723965,
6.225708893546346,
7.737678018667577,
28.776255727719406,
23.69491312332105,
27.29458187341757,
8.049708118162657,
16.740756786340008,
48.33303519609623,
25.666954653562666,
8.443767368015918,
8.00926446430754,
23.277626185989856,
18.15462073102957,
8.128001453378827,
5.175106184514195,
10.695674302672089,
23.058629508514578,
56.25159018916734,
46.2222857534023,
47.519686370380605,
56.517765261685405,
32.8544888575542,
95.11554410658896,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 9.511554410658896e-08,
"rel": 0.0
}
},
{
"variable": "bnv2_raw",
"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.0006376712521940555,
0.0002846233614063275,
0.0002830576387848103,
0.00022352210256248458,
0.00012546280573396754,
6.466130234764269e-05,
5.5196876899452877e-05,
3.8784676848893176e-05,
2.884655266525785e-05,
1.3840804976239706e-05,
2.394736608658227e-05,
2.1878383187096643e-05,
2.0968621395802482e-05,
1.9206241962415777e-05,
1.7651766373651193e-05,
1.5648340795205952e-05,
1.2789489999090737e-05,
2.7962062267732797e-05,
7.808171312873732e-05,
0.00014129788522648332,
0.00014573021510538056,
0.00010135351887003975,
9.666119294629681e-05,
0.00010830344301356471,
8.581703207232024e-05,
7.09826022346994e-05,
8.946146074053229e-05,
0.00010481094438336634,
9.76227882878303e-05,
9.136069690276159e-05,
9.787621281546154e-05,
0.00010331765909930295,
9.766080494608315e-05,
0.00016327259658849655,
0.00021188235287389546,
0.00021968446728249673,
0.0001833417311181878,
0.000174183417227124,
0.0002745483005479597,
0.0004631448602484951,
0.0005453427221787675,
0.000596335755258462,
0.0005877259193165561,
0.0005989642623526008,
0.0006164183783061284,
0.0005776537613523079,
0.0005478896082493068,
0.000532238253495259,
0.0005224311334900746,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 6.376712521940555e-13,
"rel": 0.0
}
},
{
"variable": "usqj",
"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.36085270843632394,
0.36085270843632394,
0.36085270843632394,
0.36085270843632394,
0.36085270843632394,
0.36085270843632394,
0.36085270843632394,
0.36085270843632394,
0.36085270843632394,
0.36085270843632394,
0.36085270843632394,
0.6022776684071951,
0.5879619276515494,
0.3962059479689152,
0.3773583836833224,
0.47722890682177577,
1.0477532459920516,
2.684344069696754,
4.363797799659368,
2.884046745049644,
4.113926468017353,
17.26527295394922,
15.59980732305919,
17.644917204150328,
12.720264981707125,
6.14362593723965,
6.225708893546346,
7.737678018667577,
28.776255727719406,
23.69491312332105,
27.29458187341757,
8.049708118162657,
16.740756786340008,
48.33303519609623,
25.666954653562666,
8.443767368015918,
8.00926446430754,
23.277626185989856,
18.15462073102957,
8.128001453378827,
5.175106184514195,
10.695674302672089,
23.058629508514578,
56.25159018916734,
46.2222857534023,
47.519686370380605,
56.517765261685405,
32.8544888575542,
95.11554410658896,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 9.511554410658896e-08,
"rel": 0.0
}
},
{
"variable": "bnv2",
"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": [
9.980539946196254e-05,
0.0002846233614063275,
0.0002830576387848103,
0.00022352210256248458,
0.00012546280573396754,
6.466130234764269e-05,
5.5196876899452877e-05,
3.8784676848893176e-05,
2.884655266525785e-05,
1.3840804976239706e-05,
2.394736608658227e-05,
2.1878383187096643e-05,
2.0968621395802482e-05,
1.9206241962415777e-05,
1.7651766373651193e-05,
1.5648340795205952e-05,
1.2789489999090737e-05,
2.7962062267732797e-05,
7.808171312873732e-05,
0.00014129788522648332,
0.00014573021510538056,
0.00010135351887003975,
9.666119294629681e-05,
0.00010830344301356471,
8.581703207232024e-05,
7.09826022346994e-05,
8.946146074053229e-05,
0.00010481094438336634,
9.76227882878303e-05,
9.136069690276159e-05,
9.787621281546154e-05,
0.00010331765909930295,
9.766080494608315e-05,
0.00016327259658849655,
0.00021188235287389546,
0.00021968446728249673,
0.0001833417311181878,
0.000174183417227124,
0.0002745483005479597,
0.0004631448602484951,
0.0005453427221787675,
0.000596335755258462,
0.0005877259193165561,
0.0005989642623526008,
0.0006164183783061284,
0.0005776537613523079,
0.0005478896082493068,
0.000532238253495259,
0.0005224311334900746,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 6.164183783061284e-13,
"rel": 0.0
}
},
{
"variable": "zref",
"time": 0.0,
"expected": 651.27294921875
},
{
"variable": "kref",
"time": 0.0,
"expected": 12.0
},
{
"variable": "komax",
"time": 0.0,
"expected": 12.0
},
{
"variable": "kbomax",
"time": 0.0,
"expected": 16.0
},
{
"variable": "delks",
"time": 0.0,
"expected": 0.00014052591824904707
},
{
"variable": "delks1",
"time": 0.0,
"expected": 0.00013090330438802193
},
{
"variable": "ubar",
"time": 0.0,
"expected": 3.2659141749707983
},
{
"variable": "vbar",
"time": 0.0,
"expected": 12.798232590173942
},
{
"variable": "rhobar",
"time": 0.0,
"expected": 0.8689864581495805
},
{
"variable": "ulow",
"time": 0.0,
"expected": 13.208366773771298
},
{
"variable": "bnv2low",
"time": 0.0,
"expected": 9.980539946196254e-05
},
{
"variable": "usqjlow",
"time": 0.0,
"expected": 0.36085270843632394
},
{
"variable": "ldrag",
"time": 0.0,
"expected": 0.0
}
]
},
{
"id": "s2_j81_i76_col30_near_critical_richardson_number",
"description": "Reference run: WRF 4.8 real-terrain simulation of data/eqwefic/notes/gwdo_real_reference_run.md (Last Chance Gulch d01, Colorado Rockies, 8.1 km, 150 x 180 x 50, dt = 45 s, gwd_opt = 1 with ELVMAX supplied by WPS util/compute_gwdo.py -- without it GWDO is silently off everywhere, FORTRAN_BUGS B17). Step 2 = 06-25 12:01Z, global row j = 81, tile column 30 of the dump that starts at i = 76. THE column FORTRAN_BUGS N85 was measured on. Its one saturating level sits at Ri = 0.25664, which is 1.6e-3 above the critical value ric = 0.25, so the saturation factor 2 sqrt(temc) - temc is only 1.301e-2 and a perturbation of Ri is amplified 37-fold in the stress. At this stage of the scheme nothing has cancelled yet -- the Richardson number itself is a well-conditioned quotient -- so the assertions here still hold at 1e-9 of the column maximum; the amplification appears downstream, in wave_saturation.esm and momentum_tendency.esm, and the tolerances there record it. Reference build: the real64 (kind_phys = real64) replay of the same dumped row through kernels/gwdo_diag_driver of WRF fork branch earthsciml-instrumented-gwdo, with the six scalar constants g, cp, R_d, R_v, eps_1 and pi supplied at binary64 precision instead of WRF's real32 module values (gwdo_real/mkflat64.py). They are subroutine arguments, not internal parameters, so that is what a double-precision kernel reference means for this scheme, and it is what lib/wrf_constants.esm carries for g, cp, R_d, R_v and eps_1 (pi is the truncated literal 3.141592653 WRF passes, gwdo_parameters.esm `pi`: replaying all 140 rows with that value instead of math.pi, gwdo_real/run_diag64p.py, reproduces every field of this reference bit for bit); promoting them flips no branch on any of the 140 dumped rows and moves the outputs by a median 2.7e-8 of the row maximum. Column tolerances are ABSOLUTE, set to 1e-9 of the profile's own maximum rather than per cell, per FORTRAN_BUGS N85. Every assertion is on an algebraic observed at t = 0 and this document declares no ODE state, so the empty time_span is a single static evaluation.",
"parameter_overrides": {},
"expression_template_imports": [
{
"ref": "./tests/s2_j81_i76_col30_inputs.esm"
}
],
"time_span": {
"start": 0,
"end": 0
},
"tolerance": {
"rel": 1e-09
},
"assertions": [
{
"variable": "vtj",
"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": [
298.35488359504416,
299.4277860107042,
300.61072303282924,
301.79680451289465,
303.4696207819883,
304.9007338924255,
306.16914376170854,
306.55011461362767,
306.28095861940074,
305.4449468029867,
304.3012771346077,
302.6915561836802,
300.72762736308994,
298.52646347848656,
296.0787276608548,
293.4503223142266,
290.49369844328044,
287.01245137613125,
283.1161406959888,
278.9149400784408,
274.5258801160797,
270.75061227767804,
267.39677523726715,
263.02747540621505,
258.5863759770776,
254.07334110451717,
249.23513786810688,
244.34473414560432,
239.5764893856153,
234.88878882325398,
230.4932654647338,
226.60311186890485,
223.29889316401753,
220.21503906192092,
217.06131186631387,
214.00450233239889,
211.24659496106827,
208.5890176494524,
206.10090592747684,
204.0001079239549,
202.54606058428743,
201.77729188379212,
202.32400605716876,
203.63481445505008,
205.30278802162462,
207.32780228181298,
209.21683909333612,
210.56030421983064,
211.85442282037528,
213.10163788033586
]
},
"k"
]
}
},
"tolerance": {
"abs": 3.0655011461362766e-07,
"rel": 0.0
}
},
{
"variable": "vtk",
"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": [
306.57364497194214,
308.0187492192092,
309.6414433258952,
311.35199765437164,
313.6601058133613,
315.8330437276174,
317.97343083493274,
319.34469485459596,
320.2147293492311,
320.68813149832437,
321.06026561850996,
321.1864259369213,
321.2091828766486,
321.2788074614946,
321.41037445715307,
321.69840338281006,
322.0030268860551,
322.1156124483951,
322.1597611832636,
322.25741906563013,
322.55222488311466,
324.041330323237,
326.6073070906633,
328.3338572961001,
330.03928605931145,
331.62845010765506,
332.76163647437625,
333.78515053490304,
334.9404863283265,
336.1804008478701,
337.82409905635325,
340.2162870662521,
343.48669022146277,
347.0681484286363,
350.50506307371165,
354.06176147544284,
358.08832221417725,
362.2725076001939,
366.7473264012469,
371.929605039635,
378.35338783813074,
386.17810481256316,
396.7394324763534,
409.1269295693268,
422.61989771224756,
437.2846161716342,
452.12538444233496,
466.2267194421736,
480.6390114478322,
495.3674575645071
]
},
"k"
]
}
},
"tolerance": {
"abs": 4.953674575645072e-07,
"rel": 0.0
}
},
{
"variable": "rho",
"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": [
1.061988902378721,
1.0540951636541764,
1.0451187043600965,
1.035321492916022,
1.0229385582327755,
1.0103223247778992,
0.9970170371161473,
0.9851508125933345,
0.973668549634388,
0.9620394628489284,
0.949194983223256,
0.9353901190251172,
0.9200436559746096,
0.9025972021280523,
0.882925381461912,
0.8607355811329981,
0.8364296498245684,
0.8105881788258603,
0.7829726256492651,
0.7534427890070408,
0.7218424853560973,
0.6861557844537038,
0.6470382879581527,
0.609627565694584,
0.5737645850181404,
0.5399352171421662,
0.5085030385240465,
0.47874628981702977,
0.4502403271199118,
0.4230158846848437,
0.39666072371199623,
0.3708534443365862,
0.345701038173953,
0.3219731841559063,
0.30002936985586703,
0.27951347084725175,
0.2600850602530548,
0.24193197866356647,
0.22489738939331338,
0.2086957226315955,
0.1930633282103595,
0.17800447543954692,
0.16305549235833655,
0.14880258566787494,
0.13556490332506713,
0.12330031700930007,
0.11222890195296693,
0.10242465337793803,
0.09350247842847272,
0.08537949146694676
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.061988902378721e-09,
"rel": 0.0
}
},
{
"variable": "del",
"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": [
321.3046875,
381.390625,
451.7734375,
533.8671875,
629.03125,
738.671875,
864.03125,
1005.9140625,
1164.9296875,
1341.1875,
1533.8828125,
1741.6875,
1961.8359375,
2190.140625,
2421.21875,
2648.5234375,
2865.078125,
3063.55859375,
3237.078125,
3378.6953125,
3498.98046875,
3611.3515625,
3713.546875,
3557.3984375,
3319.75,
3100.1875,
2896.0,
2704.916015625,
2525.451171875,
2356.59375,
2197.55859375,
2044.923828125,
1882.31640625,
1728.90234375,
1587.998046875,
1458.578125,
1339.705078125,
1230.5126953125,
1130.2314453125,
1038.115234375,
953.5107421875,
875.8017578125,
804.423828125,
738.86328125,
678.6494140625,
623.3369140625,
572.5390625,
525.87353515625,
483.01904296875,
443.6484375
]
},
"k"
]
}
},
"tolerance": {
"abs": 3.7135468750000004e-06,
"rel": 0.0
}
},
{
"variable": "u1",
"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": [
4.538413411582169,
5.937252308919952,
7.482868420116761,
8.776678378212743,
10.650168282926657,
12.004224891930555,
12.91217794123976,
12.576708608969113,
11.463016049316595,
9.987145963205988,
8.82960482533655,
7.975312503876189,
7.28097400544646,
6.207744524555913,
4.124876015053349,
1.0289303335436202,
-2.0915553952093084,
-3.831936008802181,
-4.805582267530628,
-5.468938911178704,
-6.440822470595421,
-7.005126801324547,
-5.970615715383377,
-2.2616507193574815,
1.6176880522148585,
4.886651879447182,
7.444051958786537,
8.23450187113684,
7.489914787298216,
6.365840788266283,
5.454695075228631,
4.779159166714475,
3.9244580838377843,
2.4049372259140753,
4.199789494158736,
6.5113016530571635,
6.291140665375474,
5.52772531998794,
5.0016575855791565,
4.469812760849187,
3.9138400936202977,
3.058869253342337,
1.0109909794711953,
-1.5425114851433523,
-4.042572236955783,
-6.489309154282607,
-7.985952527760596,
-8.175531475903204,
-8.11203993097589,
-7.795044031781373
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.291217794123976e-08,
"rel": 0.0
}
},
{
"variable": "v1",
"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": [
3.334831071740421,
4.171502864158146,
5.077597004392025,
5.543131277967106,
6.095588288913007,
6.2264523614392076,
5.979682825324737,
5.69606413623044,
5.509784634032538,
5.809145211043116,
6.869530711226471,
8.280254144279919,
9.58386860570575,
10.370399695833962,
10.59686239200091,
9.834376991419699,
8.758623007185431,
8.344330181883294,
8.03044731951954,
7.262063243258574,
5.002557102213913,
2.4496158096430847,
0.7367121906830398,
0.2112732712314509,
0.8055665604672924,
1.0514898316715922,
-0.30859871938737804,
-1.4820947890295955,
-2.024731693348695,
-2.8429677965586038,
-3.5670150497892443,
-3.486916821756303,
-2.096120294534513,
-0.4183187500259411,
-2.124281162138196,
-5.053424177782972,
-6.541527709765145,
-7.375945519215453,
-7.75175899340163,
-7.714088231462931,
-7.393023996230994,
-6.799093527483333,
-5.802644165722369,
-4.638650563668031,
-3.4186757205404277,
-2.1434921173579973,
-0.9261672400633678,
0.03838449841811098,
0.82682441335146,
1.4391286189754968
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.059686239200091e-08,
"rel": 0.0
}
},
{
"variable": "velco",
"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": [
6.4436886111077465,
8.148080187415434,
9.701805447550427,
11.286011212720762,
12.797373521408302,
13.683593275879947,
13.762142439691841,
13.036106501291341,
12.015853230262348,
11.34038301548557,
11.240961859112504,
11.400667507925776,
11.28977597781174,
10.300875764360322,
8.038800065680459,
4.975963507380973,
2.56569779981595,
1.2501311587783417,
1.0,
-1.2761679072673373,
-3.3007077314883873,
-4.35028065239336,
-3.0722277651384946,
1.0,
3.1853988829219517,
5.230837572657233,
5.85542889558682,
5.3749114975998245,
4.219113477507338,
2.9428114172509248,
2.110221873582448,
1.9157294544615497,
1.8427199749726655,
1.9465029438577583,
2.2683067511537076,
1.8339964205246762,
1.0,
-0.1179973837757536,
-0.646593230949514,
-0.9846511897346354,
-1.292322232412364,
-2.0102855755655327,
-3.253208483154081,
-4.615012191015222,
-5.901053907288127,
-6.779788237943853,
-6.830915744579102,
-6.372303713839371,
-5.8101313478112715,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.3762142439691842e-08,
"rel": 0.0
}
},
{
"variable": "usqj_raw",
"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.5895870734789112,
0.6532964248430962,
1.3853109388610214,
1.0987197143760257,
2.521262604773736,
5.414641615760257,
4.081591805901148,
2.3754675879279867,
0.8489603554273252,
0.7120623577597308,
0.2566445684871001,
0.07432065790842278,
0.2935387930973129,
0.24844014652538252,
0.2610872819904463,
0.28699333410944383,
0.4114507120338182,
0.5756402596797022,
1.3342497105979703,
0.7168889569019735,
3.4185137398298937,
10.860516459147517,
2.171625322245839,
1.9504655666859583,
2.574056765555865,
2.3287668632562357,
8.748911952201977,
19.574468723590858,
10.756142223636196,
20.100445922939414,
39.119182322726296,
19.710835327253513,
10.967440984096779,
8.58416061068518,
3.817701425569828,
25.947438150805787,
46.55987590220876,
62.15390079335227,
70.2349393029334,
84.95121197750115,
93.1953947687481,
25.643956418230246,
19.324950257228124,
20.905683701944614,
22.539901958270832,
45.52656337731254,
157.1095814958823,
156.71323082369568,
156.3459404186487,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.571095814958823e-07,
"rel": 0.0
}
},
{
"variable": "bnv2_raw",
"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.0013622797667265567,
0.0012734400299081983,
0.0011184876590870413,
0.0012572529833220988,
0.000987080408883206,
0.0008135474431842252,
0.0004387229251744792,
0.00023612857000874872,
0.0001097499861261516,
7.415012072501371e-05,
2.1739668225418368e-05,
3.4137260902494885e-06,
9.149745828686096e-06,
1.5244918821697964e-05,
2.962406870289786e-05,
2.801345632083009e-05,
9.337953854364538e-06,
3.3328053190851484e-06,
6.767555824662772e-06,
1.8856315024694648e-05,
8.765883143493591e-05,
0.00013792143058771183,
8.762486401790582e-05,
8.574778393651201e-05,
8.014353279023811e-05,
5.736238570609627e-05,
5.205973488376633e-05,
5.902109970731436e-05,
6.356325169784672e-05,
8.442474417823292e-05,
0.0001227678053134418,
0.00016789673913130345,
0.00018447729383688592,
0.0001777572036541993,
0.00018475750809058848,
0.00020977493708675932,
0.00021829093854916953,
0.0002335539218889977,
0.0002699411348911924,
0.0003323281131565063,
0.0003994639112218031,
0.0005268274723943007,
0.00059759285430049,
0.0006260771054519456,
0.0006522663602586527,
0.0006321763720499218,
0.0005772306507690962,
0.0005685680359691652,
0.0005602733649952195,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.3622797667265567e-12,
"rel": 0.0
}
},
{
"variable": "usqj",
"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.6241477794573134,
0.6241477794573134,
1.3853109388610214,
1.0987197143760257,
2.521262604773736,
5.414641615760257,
4.081591805901148,
2.3754675879279867,
0.8489603554273252,
0.7120623577597308,
0.2566445684871001,
0.07432065790842278,
0.2935387930973129,
0.24844014652538252,
0.2610872819904463,
0.28699333410944383,
0.4114507120338182,
0.5756402596797022,
1.3342497105979703,
0.7168889569019735,
3.4185137398298937,
10.860516459147517,
2.171625322245839,
1.9504655666859583,
2.574056765555865,
2.3287668632562357,
8.748911952201977,
19.574468723590858,
10.756142223636196,
20.100445922939414,
39.119182322726296,
19.710835327253513,
10.967440984096779,
8.58416061068518,
3.817701425569828,
25.947438150805787,
46.55987590220876,
62.15390079335227,
70.2349393029334,
84.95121197750115,
93.1953947687481,
25.643956418230246,
19.324950257228124,
20.905683701944614,
22.539901958270832,
45.52656337731254,
157.1095814958823,
156.71323082369568,
156.3459404186487,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.571095814958823e-07,
"rel": 0.0
}
},
{
"variable": "bnv2",
"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.001314086464524708,
0.0012734400299081983,
0.0011184876590870413,
0.0012572529833220988,
0.000987080408883206,
0.0008135474431842252,
0.0004387229251744792,
0.00023612857000874872,
0.0001097499861261516,
7.415012072501371e-05,
2.1739668225418368e-05,
3.4137260902494885e-06,
9.149745828686096e-06,
1.5244918821697964e-05,
2.962406870289786e-05,
2.801345632083009e-05,
9.337953854364538e-06,
3.3328053190851484e-06,
6.767555824662772e-06,
1.8856315024694648e-05,
8.765883143493591e-05,
0.00013792143058771183,
8.762486401790582e-05,
8.574778393651201e-05,
8.014353279023811e-05,
5.736238570609627e-05,
5.205973488376633e-05,
5.902109970731436e-05,
6.356325169784672e-05,
8.442474417823292e-05,
0.0001227678053134418,
0.00016789673913130345,
0.00018447729383688592,
0.0001777572036541993,
0.00018475750809058848,
0.00020977493708675932,
0.00021829093854916953,
0.0002335539218889977,
0.0002699411348911924,
0.0003323281131565063,
0.0003994639112218031,
0.0005268274723943007,
0.00059759285430049,
0.0006260771054519456,
0.0006522663602586527,
0.0006321763720499218,
0.0005772306507690962,
0.0005685680359691652,
0.0005602733649952195,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.3140864645247082e-12,
"rel": 0.0
}
},
{
"variable": "zref",
"time": 0.0,
"expected": 27.815372467041016
},
{
"variable": "kref",
"time": 0.0,
"expected": 3.0
},
{
"variable": "komax",
"time": 0.0,
"expected": 3.0
},
{
"variable": "kbomax",
"time": 0.0,
"expected": 4.0
},
{
"variable": "delks",
"time": 0.0,
"expected": 0.0014230918894880204
},
{
"variable": "delks1",
"time": 0.0,
"expected": 0.0013022158015748673
},
{
"variable": "ubar",
"time": 0.0,
"expected": 5.297638685807927
},
{
"variable": "vbar",
"time": 0.0,
"expected": 3.7889379544159283
},
{
"variable": "rhobar",
"time": 0.0,
"expected": 1.0577045448596278
},
{
"variable": "ulow",
"time": 0.0,
"expected": 6.513142595382225
},
{
"variable": "bnv2low",
"time": 0.0,
"expected": 0.001314086464524708
},
{
"variable": "usqjlow",
"time": 0.0,
"expected": 0.6241477794573134
},
{
"variable": "ldrag",
"time": 0.0,
"expected": 0.0
}
]
},
{
"id": "s720_j101_i39_col3_daytime_mixed_layer_drag_off",
"description": "Reference run: WRF 4.8 real-terrain simulation of data/eqwefic/notes/gwdo_real_reference_run.md (Last Chance Gulch d01, Colorado Rockies, 8.1 km, 150 x 180 x 50, dt = 45 s, gwd_opt = 1 with ELVMAX supplied by WPS util/compute_gwdo.py -- without it GWDO is silently off everywhere, FORTRAN_BUGS B17). Step 720 = 06-25 21Z (15:00 local), global row j = 101, tile column 3 of the dump that starts at i = 39. The all-off branch: ELVMAX = 3304 m and var = 361 m clear the two orography gates by a wide margin, but the afternoon mixed layer is statically unstable below the reference level, so the low-level mean N^2 is -1.71e-5 s^-2 and the sixth condition of ldrag fires. Every dumped column of the 17Z, 19Z and 21Z rows is off this way, which is the diurnal signal reported in the reference-run notes. NOTE that the FIRST condition, omax <= 50 m, is NOT exercised by any test: with ELVMAX supplied it is 231-4227 m across the domain. That condition is precisely FORTRAN_BUGS B17 -- under WPS 4.3, which writes no ELVMAX, it is the only one that ever fires and it fires everywhere. Reference build: the real64 (kind_phys = real64) replay of the same dumped row through kernels/gwdo_diag_driver of WRF fork branch earthsciml-instrumented-gwdo, with the six scalar constants g, cp, R_d, R_v, eps_1 and pi supplied at binary64 precision instead of WRF's real32 module values (gwdo_real/mkflat64.py). They are subroutine arguments, not internal parameters, so that is what a double-precision kernel reference means for this scheme, and it is what lib/wrf_constants.esm carries for g, cp, R_d, R_v and eps_1 (pi is the truncated literal 3.141592653 WRF passes, gwdo_parameters.esm `pi`: replaying all 140 rows with that value instead of math.pi, gwdo_real/run_diag64p.py, reproduces every field of this reference bit for bit); promoting them flips no branch on any of the 140 dumped rows and moves the outputs by a median 2.7e-8 of the row maximum. Column tolerances are ABSOLUTE, set to 1e-9 of the profile's own maximum rather than per cell, per FORTRAN_BUGS N85. Every assertion is on an algebraic observed at t = 0 and this document declares no ODE state, so the empty time_span is a single static evaluation.",
"parameter_overrides": {},
"expression_template_imports": [
{
"ref": "./tests/s720_j101_i39_col3_inputs.esm"
}
],
"time_span": {
"start": 0,
"end": 0
},
"tolerance": {
"rel": 1e-09
},
"assertions": [
{
"variable": "vtj",
"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": [
298.9175029906941,
298.36328733343146,
297.89925191311124,
297.4068228098097,
296.8414321013294,
296.1952164153529,
295.4512471457314,
294.5887864060908,
293.59971689299954,
292.46703531154117,
291.1715608640273,
289.70799537247,
288.0600356638132,
286.2193121828867,
284.1792705500173,
281.9346583414177,
279.4826537865389,
276.82623189539987,
273.9955117822245,
271.08492323382967,
268.23053497636363,
265.5373262694904,
262.44019616553106,
259.0255635206977,
255.17154697656588,
252.51219647685636,
248.22685160769282,
244.17898826063382,
240.0833776493823,
236.49231810349144,
233.43458575902375,
230.36945718001118,
226.15058325600873,
221.78156807822748,
217.60426753486385,
213.7745231861656,
210.38702810653993,
207.59641767241123,
205.7387860600635,
204.74421947675094,
203.42109996391824,
202.13829283280177,
202.68714847576564,
204.6508090072859,
205.8919972877182,
208.18166412456287,
210.42021831715792,
211.89866521416386,
212.9798117790029,
214.58746187263569
]
},
"k"
]
}
},
"tolerance": {
"abs": 2.9891750299069415e-07,
"rel": 0.0
}
},
{
"variable": "vtk",
"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": [
324.2650303108721,
324.0153469112156,
323.93081325982405,
323.88103977433383,
323.8478358229954,
323.8242683872144,
323.8068635444334,
323.79419518119937,
323.78487102026395,
323.77841966441247,
323.7740943162156,
323.7717533897778,
323.7712971551496,
323.77304777507635,
323.7777855094304,
323.7873551216124,
323.80642959855857,
323.84949147552294,
323.9637639087712,
324.28388183173155,
325.0141103848395,
326.3614749127987,
327.73431882170644,
329.14049254259726,
330.1979421213328,
332.98298886132335,
333.8141229123537,
335.1305289248547,
336.56375071103315,
338.9088673237355,
342.2676150017138,
345.8821892737772,
347.87100179621433,
349.5378519863749,
351.3858386255965,
353.6885947902915,
356.64213555757885,
360.5627669357802,
366.12120146013365,
373.3095832360157,
380.0151560069709,
386.9059167130622,
397.49858593074924,
411.21531203374985,
423.8822835646617,
439.1253932335283,
454.745056432982,
469.19968066139535,
483.19299139954114,
498.8114954401522
]
},
"k"
]
}
},
"tolerance": {
"abs": 4.988114954401523e-07,
"rel": 0.0
}
},
{
"variable": "rho",
"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.8767471747135233,
0.8750458449878955,
0.8724740043953004,
0.8692819366998505,
0.8654925070939753,
0.8610111522674224,
0.8557615886125242,
0.849673571951223,
0.8426388205746322,
0.8345784071489016,
0.8254286710433664,
0.8151025088091649,
0.8035636558018744,
0.7907769616942532,
0.7767238667229314,
0.761399060073293,
0.7447972447531607,
0.7268927569735709,
0.7075756417543095,
0.6865599236840589,
0.66338799303033,
0.6375629689935398,
0.6101042569667938,
0.5816741417152298,
0.5540233625208723,
0.5240668437542262,
0.49775582620052744,
0.4711732370233388,
0.4449679901021533,
0.4182256857440001,
0.39110365627455,
0.36473039606269675,
0.34134173282787716,
0.31969890162444675,
0.2992806885015558,
0.27981417211150006,
0.2611476918317237,
0.24308878321960423,
0.22529326330557867,
0.20793723332585118,
0.19223282725626276,
0.177686541667699,
0.16276332202775842,
0.1480638178983062,
0.13517694362009142,
0.12279459794736475,
0.11158707233220791,
0.10177773490490007,
0.09300840973741337,
0.08478831574882749
]
},
"k"
]
}
},
"tolerance": {
"abs": 8.767471747135233e-10,
"rel": 0.0
}
},
{
"variable": "del",
"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": [
261.4140625,
308.8515625,
363.9921875,
427.5390625,
500.2421875,
582.7109375,
675.234375,
777.859375,
890.0625,
1010.9453125,
1138.8515625,
1271.75,
1407.1796875,
1542.578125,
1675.73046875,
1805.03125,
1929.91796875,
2050.7265625,
2168.41796875,
2283.82421875,
2408.6953125,
2553.046875,
2716.78125,
2706.03125,
2630.71875,
2556.9375,
2481.0078125,
2401.294921875,
2317.669921875,
2229.701171875,
2138.46484375,
2037.02734375,
1882.30859375,
1728.90234375,
1587.99609375,
1458.576171875,
1339.7021484375,
1230.513671875,
1130.2333984375,
1038.1162109375,
953.51171875,
875.8017578125,
804.423828125,
738.8623046875,
678.6484375,
623.3369140625,
572.5390625,
525.87353515625,
483.01904296875,
443.6484375
]
},
"k"
]
}
},
"tolerance": {
"abs": 2.7167812500000004e-06,
"rel": 0.0
}
},
{
"variable": "u1",
"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": [
3.938467999787452,
4.34676627001793,
4.513584077138663,
4.6245126639491,
4.714795980845787,
4.796273302814753,
4.87255279825145,
4.945746115271435,
5.016988580511909,
5.085350193271516,
5.146619302793265,
5.197499152516358,
5.230651490372807,
5.237799340188683,
5.205143515735028,
5.114600892155034,
4.9354206800833715,
4.6174834618473195,
4.108251362373634,
3.5065816853477756,
3.3011788724632183,
3.601377371390967,
3.7266553205243014,
5.1089664049106425,
5.6713479149858514,
6.442279320459143,
6.9102363506834195,
9.170814391341302,
10.1095845047683,
10.173976865640785,
9.474321694743601,
10.580404760524011,
11.836263172028682,
11.653515807953097,
11.290099558305752,
11.513131114640167,
11.88838538448675,
12.307800560464507,
12.353697994787769,
10.694082904971047,
6.2857336605778436,
5.557871441514429,
5.980615068685234,
3.54902649890494,
1.8339405241842677,
1.668593282373033,
-0.8012096708263736,
-2.7419908716795103,
-4.622119179935964,
-7.121381510766376
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.235369799478777e-08,
"rel": 0.0
}
},
{
"variable": "v1",
"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": [
2.0837801639827767,
2.4935197586260713,
2.678199859249405,
2.8114426399969563,
2.9267019883772605,
3.038535730526073,
3.1541679609826527,
3.279356788617843,
3.420154168669999,
3.581253469813994,
3.7691595057387914,
3.991723369086637,
4.2592236758532405,
4.584475635256428,
4.986675510497253,
5.493413183046048,
6.146246645416543,
7.007314026809286,
8.12122527794593,
9.285771771931802,
9.65736899722023,
9.004410142267039,
8.411449130817417,
8.19624588063126,
7.6908026098177995,
8.743521652369045,
9.011309803156486,
10.303127727955236,
12.150607210842608,
11.437275856764998,
8.412886131061036,
7.228354079116031,
6.6017616405263695,
6.768571247874512,
7.483236318792869,
8.970995053200319,
11.090480044206934,
13.040169624428504,
13.509948852688503,
11.949393483635973,
9.735299920198521,
10.162494745270607,
8.027719041378415,
4.602035962040755,
3.8540092104257218,
2.206163684613007,
0.4264533710210221,
-0.5694308329006965,
-1.4106473457412925,
-1.4537616146029375
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.3509948852688503e-08,
"rel": 0.0
}
},
{
"variable": "velco",
"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": [
4.717463171984185,
5.121341115557688,
5.324911231629976,
5.477408835196699,
5.611718309905166,
5.74029398428972,
5.869105366350832,
6.0027675575884984,
6.144333836581333,
6.294753937550198,
6.454863248673275,
6.625236260619928,
6.805742726616565,
6.996022407896937,
7.195708413506544,
7.403544411409186,
7.614463073772783,
7.815159133363106,
7.981412088397883,
8.069284810132016,
8.031087695573929,
7.864321477732598,
8.26948076490331,
8.880995667405587,
9.58786917024866,
10.46894163609464,
12.03693353117395,
14.237447331329191,
14.968799745327068,
13.67171952845544,
12.67867677134669,
13.162926954358989,
13.483213840154082,
13.499023368826109,
14.048787847062354,
15.294420171049351,
16.749483513665375,
17.61164688903329,
16.637794121818064,
13.066168077305695,
10.431883175044652,
9.833101446609342,
7.460099901321103,
4.579051655470733,
3.1335838281923856,
1.0886147194429954,
-1.5162922205889775,
-3.6162250575714574,
-5.685791608795229,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 1.761164688903329e-08,
"rel": 0.0
}
},
{
"variable": "usqj_raw",
"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.2515609135091866,
-0.10447261156016509,
-0.0611322596188491,
-0.059293039601222224,
-0.045845986724627696,
-0.03551916519967159,
-0.040439711525343716,
-0.025317934714135244,
-0.01500351657436538,
-0.025165507371579916,
-0.0002778959623529859,
0.002765517085662486,
0.01370387961617308,
0.03658101025818549,
0.07690439828062748,
0.16104799422119828,
0.3717536695034523,
0.7108131196702456,
1.8556616646997262,
7.881092420183535,
15.88746316469219,
17.877563423865215,
10.001887081253194,
15.144090204008883,
23.81154544154736,
12.353309911965004,
2.939382625173743,
5.140963853740964,
36.70580658685263,
5.538888022310889,
22.155061865812748,
16.178327668826896,
26.14493519007266,
28.289488609037335,
15.19813964940474,
9.291531230328918,
14.024942847067772,
77.16584477021716,
18.763940595944337,
3.643764809629467,
88.887347068877,
28.160811544554562,
9.555705854235928,
43.40319078850378,
65.10991056446727,
19.27707547887594,
33.87387534424501,
35.88855462009287,
26.552653621207213,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 8.888734706887701e-08,
"rel": 0.0
}
},
{
"variable": "bnv2_raw",
"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.0002276921524375786,
-6.520646006408043e-05,
-3.2534828312696065e-05,
-1.844428086513738e-05,
-1.1162749076467515e-05,
-7.0572336752933735e-06,
-4.417540398185934e-06,
-2.81079259790486e-06,
-1.6910817955097e-06,
-9.922818815183408e-07,
-4.7330316096265057e-07,
-8.189629405045033e-08,
2.8109415521676793e-07,
6.854860293607581e-07,
1.2561336627280801e-06,
2.2847521811294916e-06,
4.728051920522844e-06,
1.1534592250648644e-05,
2.9737438524953983e-05,
6.221015650399874e-05,
0.00010425601829342393,
9.54977136380345e-05,
9.046843229211771e-05,
6.56465727686949e-05,
0.0001678415972457925,
4.862516464778374e-05,
7.511040025134923e-05,
7.966375449985506e-05,
0.0001267254422396761,
0.00017565257885472185,
0.0001828138860284586,
9.935380665009601e-05,
8.417627945733557e-05,
9.466218082170975e-05,
0.00011944053765242372,
0.00015464976245352857,
0.0002063266160371173,
0.0002919508844407479,
0.00037363366697615557,
0.00034405446334969086,
0.0003495159454573569,
0.0005262496455683438,
0.0006568880886409391,
0.0005828686522614476,
0.0006729563971870846,
0.0006586294302218539,
0.0005845082660914273,
0.0005456318403079722,
0.0005869124216046441,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 6.729563971870846e-13,
"rel": 0.0
}
},
{
"variable": "usqj",
"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.040022625270638594,
-0.040022625270638594,
-0.040022625270638594,
-0.040022625270638594,
-0.040022625270638594,
-0.040022625270638594,
-0.040022625270638594,
-0.040022625270638594,
-0.040022625270638594,
-0.040022625270638594,
-0.040022625270638594,
0.002765517085662486,
0.01370387961617308,
0.03658101025818549,
0.07690439828062748,
0.16104799422119828,
0.3717536695034523,
0.7108131196702456,
1.8556616646997262,
7.881092420183535,
15.88746316469219,
17.877563423865215,
10.001887081253194,
15.144090204008883,
23.81154544154736,
12.353309911965004,
2.939382625173743,
5.140963853740964,
36.70580658685263,
5.538888022310889,
22.155061865812748,
16.178327668826896,
26.14493519007266,
28.289488609037335,
15.19813964940474,
9.291531230328918,
14.024942847067772,
77.16584477021716,
18.763940595944337,
3.643764809629467,
88.887347068877,
28.160811544554562,
9.555705854235928,
43.40319078850378,
65.10991056446727,
19.27707547887594,
33.87387534424501,
35.88855462009287,
26.552653621207213,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 8.888734706887701e-08,
"rel": 0.0
}
},
{
"variable": "bnv2",
"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": [
-1.714050923631466e-05,
-6.520646006408043e-05,
-3.2534828312696065e-05,
-1.844428086513738e-05,
-1.1162749076467515e-05,
-7.0572336752933735e-06,
-4.417540398185934e-06,
-2.81079259790486e-06,
-1.6910817955097e-06,
-9.922818815183408e-07,
-4.7330316096265057e-07,
-8.189629405045033e-08,
2.8109415521676793e-07,
6.854860293607581e-07,
1.2561336627280801e-06,
2.2847521811294916e-06,
4.728051920522844e-06,
1.1534592250648644e-05,
2.9737438524953983e-05,
6.221015650399874e-05,
0.00010425601829342393,
9.54977136380345e-05,
9.046843229211771e-05,
6.56465727686949e-05,
0.0001678415972457925,
4.862516464778374e-05,
7.511040025134923e-05,
7.966375449985506e-05,
0.0001267254422396761,
0.00017565257885472185,
0.0001828138860284586,
9.935380665009601e-05,
8.417627945733557e-05,
9.466218082170975e-05,
0.00011944053765242372,
0.00015464976245352857,
0.0002063266160371173,
0.0002919508844407479,
0.00037363366697615557,
0.00034405446334969086,
0.0003495159454573569,
0.0005262496455683438,
0.0006568880886409391,
0.0005828686522614476,
0.0006729563971870846,
0.0006586294302218539,
0.0005845082660914273,
0.0005456318403079722,
0.0005869124216046441,
0.0
]
},
"k"
]
}
},
"tolerance": {
"abs": 6.729563971870846e-13,
"rel": 0.0
}
},
{
"variable": "zref",
"time": 0.0,
"expected": 721.8699340820312
},
{
"variable": "kref",
"time": 0.0,
"expected": 12.0
},
{
"variable": "komax",
"time": 0.0,
"expected": 13.0
},
{
"variable": "kbomax",
"time": 0.0,
"expected": 17.0
},
{
"variable": "delks",
"time": 0.0,
"expected": 0.000144139923831059
},
{
"variable": "delks1",
"time": 0.0,
"expected": 0.00013435668340527014
},
{
"variable": "ubar",
"time": 0.0,
"expected": 4.864782433515268
},
{
"variable": "vbar",
"time": 0.0,
"expected": 3.2235664048579653
},
{
"variable": "rhobar",
"time": 0.0,
"expected": 0.8498312291646455
},
{
"variable": "ulow",
"time": 0.0,
"expected": 5.835879410334628
},
{
"variable": "bnv2low",
"time": 0.0,
"expected": -1.714050923631466e-05
},
{
"variable": "usqjlow",
"time": 0.0,
"expected": -0.040022625270638594
},
{
"variable": "ldrag",
"time": 0.0,
"expected": 1.0
}
]
}
]
}