2D plotfile diagnostic reference
ERF writes each 2D output level as a one-cell-thick horizontal slab. The two 2D streams are independent. Each stream has its own prefix, interval, period, built-in variable list, and sampled-level list.
Fixed diagnostics appear in canonical catalog order, not request order. Sampled-level fields follow the fixed diagnostics and appear in level-set, target-value, and field order. ERF warns and skips an unknown or configuration-ineligible fixed name.
Three contracts govern a fixed diagnostic:
Descriptor metadata defines its public name, canonical order, long name, exact unit string, category, and missing-value policy.
Selectability determines whether ERF accepts the name for the active configuration and creates an output component.
Runtime value determines what ERF writes at each cell and output time after the name has been selected.
A variable may appear in the catalog without being available in every
simulation. A metadata policy also does not guarantee a non-missing value at
every cell. Internal provider sentinels are translated at the public output
boundary. Categorical source code 0 means that no source was selected; it is
not the continuous -999 fill value.
For the numerical production of the unified 2-m fields, see Land-surface and 2-m diagnostics. For fields sampled on pressure, height, or model-index levels, see 2D sampled-level output.
Built-in diagnostic catalog
The marked table is the authoritative fixed catalog. The three contracts in the introduction apply to every row; the selection table below gives the configuration and runtime details that cannot be inferred from metadata alone.
Variable |
Category |
Units |
Metadata policy |
Description |
|---|---|---|---|---|
|
|
|
|
Surface elevation |
|
|
|
|
Land-sea mask |
|
|
|
|
Map factor at mass points |
|
|
|
|
Latitude at unstaggered mass points |
|
|
|
|
Longitude at unstaggered mass points |
|
|
|
|
Friction velocity from the surface layer |
|
|
|
|
Convective velocity scale from the surface layer |
|
|
|
|
Temperature scale from the surface layer |
|
|
|
|
Humidity scale from the surface layer |
|
|
|
|
Obukhov length from the surface layer |
|
|
|
|
Planetary boundary layer height from the active PBL diagnostic provider |
|
|
|
|
Surface potential temperature from the surface layer |
|
|
|
|
Surface humidity from the surface layer |
|
|
|
|
Roughness height from the surface layer |
|
|
|
|
Grid-relative x wind 10 m above the local surface, from the surface-layer profile |
|
|
|
|
Grid-relative y wind 10 m above the local surface, from the surface-layer profile |
|
|
|
|
Eastward wind 10 m above the local surface, from the surface-layer profile |
|
|
|
|
Northward wind 10 m above the local surface, from the surface-layer profile |
|
|
|
|
Outgoing longwave radiation at the model top |
|
|
|
|
Direct sunlight blocked by terrain or by a midpoint sun below the cutoff when averaged cosine exceeds it (1 blocked, 0 otherwise) |
|
|
|
|
Terrain correction factor for direct shortwave |
|
|
|
|
Nonnegative cosine of sunlight incidence on terrain |
|
|
|
|
Surface downwelling shortwave before terrain correction |
|
|
|
|
Surface downwelling shortwave after terrain correction |
|
|
|
|
Prognostic surface temperature from the two-stream simplified surface energy balance |
|
|
|
|
Surface moisture of the two-stream surface energy balance: the soil water content (m3/m3) with seb_prognostic_enable, a land model’s 2 m mixing ratio (kg/kg) with one |
|
|
|
|
Sensible heat flux in the two-stream simplified surface energy balance |
|
|
|
|
Latent heat flux in the two-stream simplified surface energy balance |
|
|
|
|
Net shortwave absorbed by the two-stream simplified surface energy balance at its last update after the dycore |
|
|
|
|
Shadow of the immersed-boundary buildings on the ground for the two-stream surface energy balance on the sweep’s shortwave: 1 shaded, 0 sunlit |
|
|
|
|
Net longwave absorbed by the two-stream simplified surface energy balance at its last update after the dycore |
|
|
|
|
Share of the ground’s view of the sky taken by the walls of the immersed-boundary buildings (erf.ibseb.ground_sky_view) |
|
|
|
|
Deep soil temperature of the two-stream force-restore balance (evolves with erf.radiation.seb_deep_prognostic_enable; per column with erf.radiation.seb_init_t_deep_from_file) |
|
|
|
|
Mean water content of the soil column of the two-stream force-restore balance (evolves with erf.radiation.seb_deep_prognostic_enable; per column with erf.radiation.seb_init_soil_moisture_from_file) |
|
|
|
|
Rain rate at the two-stream force-restore soil over the last step (erf.radiation.seb_precipitation_source; not checkpointed, so zero at a restart step) |
|
|
|
|
Rain the two-stream force-restore hydrology has taken in since the start |
|
|
|
|
Water above the porosity that has run off the two-stream force-restore soil since the start |
|
|
|
|
Gravitational drainage out of the bottom of the two-stream force-restore soil column since the start (erf.radiation.seb_drainage_enable) |
|
|
|
|
Evaporation the two-stream force-restore soil column could not supply since the start |
|
|
|
|
Snow water equivalent on the two-stream force-restore surface (erf.radiation.seb_snow_enable) |
|
|
|
|
Frozen precipitation the two-stream force-restore snow layer has taken in since the start |
|
|
|
|
Snow sublimated from the two-stream force-restore snow layer since the start |
|
|
|
|
Snow melted on the two-stream force-restore surface since the start (the melt water goes to the soil as rain) |
|
|
|
|
Surface sensible heat flux |
|
|
|
|
Surface moisture flux (legacy output name) |
|
|
|
|
Surface pressure, at the ground |
|
|
|
|
Sea-level pressure from the NMC/NGM reduction with Shuell correction |
|
|
|
|
Accumulated surface precipitation, liquid-water equivalent |
|
|
|
|
Accumulated surface rain precipitation, liquid-water equivalent |
|
|
|
|
Accumulated surface snow precipitation, liquid-water equivalent |
|
|
|
|
Accumulated surface graupel precipitation, liquid-water equivalent |
|
|
|
|
Accumulated surface hail precipitation, liquid-water equivalent |
|
|
|
|
Accumulated frozen surface precipitation, liquid-water equivalent |
|
|
|
|
Column-integrated water vapor |
|
|
|
|
Column-integrated cloud liquid water |
|
|
|
|
Column-integrated cloud ice |
|
|
|
|
Column-integrated rain water |
|
|
|
|
Column-integrated snow |
|
|
|
|
Column-integrated graupel |
|
|
|
|
Estimated per-level shortwave hydrometeor extinction optical depth (including rain, snow, and graupel; may be partial-column) |
|
|
|
|
Per-level hydrometeor-only reflectance proxy (including rain, snow, and graupel; excludes surface, gas, and aerosol contributions; may be partial-column) |
|
|
|
|
Surface diagnostic source code |
|
|
|
|
Surface sensible heat flux |
|
|
|
|
Surface latent heat flux |
|
|
|
|
Native SHOC friction velocity diagnostic |
|
|
|
|
Native SHOC Obukhov length diagnostic |
|
|
|
|
Native SHOC surface virtual potential temperature flux |
|
|
|
|
Noah-MP radiative surface temperature |
|
|
|
|
Surface bulk emissivity |
|
|
|
|
Direct visible surface albedo |
|
|
|
|
Direct near-infrared surface albedo |
|
|
|
|
Diffuse visible surface albedo |
|
|
|
|
Diffuse near-infrared surface albedo |
|
|
|
|
Cosine of the solar zenith angle supplied to Noah-MP |
|
|
|
|
Downwelling shortwave flux supplied to Noah-MP |
|
|
|
|
Direct visible downwelling shortwave flux |
|
|
|
|
Direct near-infrared downwelling shortwave flux |
|
|
|
|
Diffuse visible downwelling shortwave flux |
|
|
|
|
Diffuse near-infrared downwelling shortwave flux |
|
|
|
|
Downwelling longwave flux supplied to Noah-MP |
|
|
|
|
Ground or snow heat flux |
|
|
|
|
Total net longwave flux, positive toward the atmosphere |
|
|
|
|
Solar radiation absorbed by vegetation |
|
|
|
|
Solar radiation absorbed by the ground |
|
|
|
|
Broadband surface albedo |
|
|
|
|
Accumulated surface runoff |
|
|
|
|
Accumulated subsurface runoff |
|
|
|
|
Noah-MP snow water equivalent |
|
|
|
|
Noah-MP physical snow depth |
|
|
|
|
Noah-MP 2-m temperature over the vegetated fraction |
|
|
|
|
Noah-MP 2-m temperature over the bare fraction |
|
|
|
|
Noah-MP 2-m water-vapor mixing ratio over the vegetated fraction |
|
|
|
|
Noah-MP 2-m water-vapor mixing ratio over the bare fraction |
|
|
|
|
Noah-MP vegetation fraction |
|
|
|
|
Physical air temperature 2 m above the local surface |
|
|
|
|
Water-vapor mixing ratio 2 m above the local surface per unit dry-air mass |
|
|
|
|
Source code for the unified near-surface diagnostic bundle |
Note
For the landmask variable, land is 1 and sea is 0. Buildings are
2 when using ImmersedForcing on levels where
\(\sqrt{\Delta x\,\Delta y} \leq 50\,\mathrm{m}\), matching the building
forcing cutoff. Immersed terrain retains its 2 mask at all resolutions.
If a requested fixed diagnostic is not selectable for the active configuration, ERF warns and skips it. The descriptor table above records metadata; it does not define request acceptance or guarantee a non-missing runtime value.
Selection and runtime-value rules
The selection contract and the value written after selection are separate:
Name or family |
Selectable when |
Runtime value |
|---|---|---|
|
Selectable: fixed geometry or state writer path. |
Value: ERF writes the corresponding geometry or state value. |
|
Selectable: fixed request names. |
Value: ERF writes the coordinate data, or zero when the coordinate source is absent. |
|
Selectable: ERF accepts these fixed request names; the runtime SurfaceLayer source may still be absent. |
Value: SurfaceLayer scalar values; |
|
Selectable: fixed request names; the runtime SurfaceLayer source may still be absent. |
Value: the wind 10 m above the local surface, as WRF’s |
|
Selectable: fixed request name. |
Native SHOC |
|
Selectable: fixed request name. |
Value: radiation output; |
|
Selectable: when either |
Value: diagnostics of the RRTMGP terrain correction, held between radiation
updates. |
|
Selectable: fixed request names. |
Value: the two-stream simplified surface energy balance’s own prognostic surface
state, which is distinct from Noah-MP’s |
|
Selectable: fixed request names. |
Value: the sensible and latent heat fluxes the two-stream surface energy balance
used at its last update, positive away from the surface. With
|
|
Selectable: fixed request names. |
Value: legacy conservative surface flux outputs. |
|
Selectable: fixed request name. |
Value: the pressure at the ground, as WRF’s |
|
Selectable: fixed request name in dry and moist configurations. |
Value: pressure reduced hydrostatically from the local terrain surface
to ERF’s physical |
|
Selectable: fixed request name. |
Value: categorical code |
|
Selectable: fixed request names. |
Value: the selected conservative sources converted to energy-flux units; |
|
Selectable: fixed request names. |
Value: native SHOC diagnostics; |
|
Selectable: the active moisture scheme has any rain, snow, or graupel mass component. |
Value: normalized liquid-water-equivalent accumulations; |
|
Selectable: the active moisture scheme has a rain mass component. |
Value: normalized rain accumulation, or the derived rain value when a runtime total source is used without a direct rain source. |
|
Selectable: the active moisture scheme has a snow mass component. |
Value: normalized snow accumulation. |
|
Selectable: the active moisture scheme has a graupel mass component. |
Value: normalized graupel accumulation. |
|
Selectable: not selectable for any current moisture scheme. The fixed descriptor reserves this public name for future support. |
Value: no component is currently written. If a future scheme makes the field selectable, the descriptor’s zero-fill policy applies when its runtime source is unavailable. |
|
Selectable: always. |
Value: column-integrated water vapor; zero when moisture is disabled. |
|
Selectable: the active moisture model exposes the corresponding conserved mass component. |
Value: the corresponding column water path. An unsupported species is skipped during request validation. |
Fixed land-surface provider names from |
Selectable: the active land-surface inventory contains the exact name. |
Value: finite provider values pass through when valid; absent, nonfinite, or sentinel values become |
|
Selectable: a Noah-MP or SurfaceLayer pathway exists. |
Value: a coherent native or MOST value, or |
|
Selectable: moisture is enabled and a Noah-MP or SurfaceLayer pathway exists. |
Value: a coherent native or MOST mixing ratio, or |
|
Selectable: a Noah-MP or SurfaceLayer pathway exists, including a dry source-only request. |
Value: categorical code |
Topographic shading diagnostics
With RRTMGP on static fitted terrain, enabling erf.topo_shading or
erf.slope_rad produces five diagnostics of the surface shortwave correction.
Both options default to false; see Topographic shading and slope radiation for
configuration and Topographic correction of surface radiation for the equations.
topographic_shadow is 1 where intervening terrain blocks direct sunlight
and 0 otherwise. It remains 0 when shading is disabled, even if slope
correction is enabled. A slope facing away from the sun can have zero direct
flux without a cast shadow, so the mask alone does not describe all slope
effects.
terrain_direct_factor multiplies the horizontal direct shortwave flux.
It is 0 in a cast shadow and can exceed 1 on a sun-facing slope.
terrain_incidence is the nonnegative cosine of the angle between the sun
direction and the terrain normal. If RRTMGP’s interval-averaged zenith cosine
is at or below 1.e-4, the mask is 0 and the direct factor is 1. If the
midpoint sun is at or below the same cutoff while the averaged cosine is above
it, incidence is 0 and the direct factor is 0; the mask is 1 when shading is
enabled and 0 when only slope correction is enabled. Thus mask 0 alone does
not imply daytime illumination.
unshaded_sw_flux_dn and terrain_sw_flux_dn are the total downwelling
shortwave fluxes before and after correction, respectively. They include the
unchanged diffuse component, so corrected shortwave need not vanish in shadow.
Where Noah-MP receives this forcing, its sw_flux_dn corresponds to the
corrected flux.
These fields update with radiation at erf.rad_freq_in_steps and remain
fixed between radiation updates. More frequent plotfiles do not cause more
frequent shadow calculations. Before the first radiation update, all five
diagnostics use the missing value -999. They are selectable only when
erf.topo_shading or erf.slope_rad is enabled.
To visualize the mask and its effect, add these outputs to a case with terrain correction enabled:
erf.plot2d_file_1 = plt2d
erf.plot2d_int_1 = 1
erf.plot2d_vars_1 = z_surf topographic_shadow terrain_direct_factor terrain_incidence unshaded_sw_flux_dn terrain_sw_flux_dn
In ParaView or VisIt, color by topographic_shadow and overlay z_surf
contours to locate shadows relative to ridges and valleys. Compare the two
shortwave fields to see the forcing change. For a simple directional check,
the fixed low eastern sun in Topographic shading and slope radiation should cast
shadows west of a hill; geographic west need not align with the negative grid
x direction on a rotated real-case grid. Use outputs after a radiation update
and exclude -999 values from the color scale.
NMC/NGM sea-level pressure
sea_level_pressure is an opt-in surface-state diagnostic useful for
comparing model pressure with meteorological sea-level-pressure analyses. It
is an adaptation of the NMC/NGM sea-level-pressure reduction with the Shuell
correction from NOAA-EMC UPP sorc/ncep_post.fd/NGMSLP.f at immutable commit
1ee7b175c340a566287a987870d925e4708fe19b.
ERF preserves the method and empirical correction but uses its native physical
constants, so bit-for-bit equality with UPP is not expected.
ERF stores water-vapor mixing ratio per unit dry-air mass, r_v. The
reduction uses specific humidity q_v:
The original UPP routine uses the rounded coefficient 0.608; ERF computes
the equivalent coefficient from its shared R_d and R_v constants. ERF
diagnoses p_m and T_m from the lowest cell-centered conserved state
using its existing EOS.
Let z_m be the lowest cell-center physical height and z_s the lower
terrain-interface height. With Gamma = 0.0065 K m^-1,
The ground pressure p_s is reconstructed because ERF does not store the
UPP ground-interface pressure in its cell-centered state. The uncorrected
sea-level extrapolation is T_{v,0}=T_{v,m}+Gamma z_m. For T_c=290.66 K,
the Shuell correction is
The final reduction uses
The output units are pascals. It is pressure reduced to ERF’s physical
z=0 datum and represents mean sea-level pressure only when that datum is
mean sea level. The diagnostic uses the lowest model level, assumes the fixed
lapse rate below it, applies no horizontal smoothing, does not calculate
1000-hPa height, is computed independently on each AMR level, and does not
alter model state. surf_pres remains a separate field, the pressure at the
ground.
erf.plot2d_vars_1 = surf_pres sea_level_pressure
Dynamic soil diagnostic families
Dynamic soil fields are not part of the fixed catalog. ERF exposes only names
reported by the active land-surface provider inventory, in that inventory’s
runtime order. <layer> is a one-based layer index.
Name family |
Meaning |
Units |
Metadata |
|---|---|---|---|
|
Volumetric total soil moisture |
|
Category |
|
Volumetric liquid soil water |
|
Category |
|
Soil temperature |
|
Category |
Surface flux diagnostics
The 2D flux diagnostics report the conservative lower-boundary surface flux
that ERF used. sens_flux and laten_flux are the legacy conservative
scalar outputs. sensible_heat_flux and latent_heat_flux convert the
same selected conservative sources to W m^-2 with Cp_d and L_v.
For non-SHOC configurations and native SHOC host-diffusion mode, these outputs
use the host vertical surface flux arrays. In native SHOC state_update mode,
SHOC consumes those surface fluxes before the host diffusion path clears the
overlapping arrays. In that mode, the 2D flux diagnostics use SHOC’s preserved
consumed-flux snapshots, component by component. If the corresponding host flux
field was unavailable before SHOC consumed it, ERF writes -999 rather than a
zero SHOC snapshot.
The sign convention follows ERF’s lower-boundary flux convention. No source-specific Noah-MP, MOST, or SHOC conversion is applied in the 2D diagnostic layer. Noah-MP LSM kinematic-to-conservative conversion happens upstream in SurfaceLayer. Native SHOC converts the conservative host fluxes to kinematic column inputs internally, then the diagnostic snapshot preserves the consumed flux in conservative ERF output units.
In native SHOC state_update mode, SHOC is the transport owner. The
surface_diagnostic_source field still describes the upstream surface-flux
source path used before SHOC consumes it.
Surface precipitation accumulations
ERF can write cumulative surface precipitation accumulations from the active
microphysics scheme in 2D plotfiles. These diagnostics report the liquid-water
equivalent mass that has reached the lower boundary since model start or the
most recent restart. Some schemes store explicit rain/snow/graupel species
accumulators, while others store a total accumulator plus frozen-species
subsets. ERF normalizes each available scheme-native source to kg/m^2
before deriving the public 2D fields. Request acceptance follows the active
rain, snow, and graupel mass components: total and frozen require any one of
those components; each species field requires its own component; hail is not
selectable for current schemes. Runtime mapping may still derive rain from a
total source without a direct rain source. The public fields use kg/m^2
because downstream land-surface forcing consumes precipitation as mass over
area, even though 1 kg/m^2 is numerically equal to 1 mm of liquid-water
equivalent.
Field |
Meaning |
Units |
|---|---|---|
|
Accumulated surface precipitation, liquid-water equivalent |
kg/m^2 |
|
Accumulated surface rain precipitation, liquid-water equivalent |
kg/m^2 |
|
Accumulated surface snow precipitation, liquid-water equivalent |
kg/m^2 |
|
Accumulated surface graupel precipitation, liquid-water equivalent |
kg/m^2 |
|
Accumulated surface hail precipitation, liquid-water equivalent |
kg/m^2 |
|
Accumulated frozen surface precipitation, liquid-water equivalent |
kg/m^2 |
precip_rain_accum, precip_snow_accum and precip_graupel_accum each
hold that one species, as their 3D counterparts rain_accum, snow_accum
and graupel_accum do. For Morrison, WSM6 and WDM6,
precip_total_accum is the scheme’s precipitation total, the 3D
precip_accum, which also counts the cloud ice (and, for Morrison, the
cloud water) that fell. For WSM6 and WDM6 that cloud ice is in
precip_frozen_accum, so the total is the rain plus precip_frozen_accum.
For Morrison the total can exceed the rain plus precip_frozen_accum.
For the other schemes it is the rain plus the frozen species; for SAM that
leaves out the cloud ice that the 3D precip_accum counts.
precip_total_accum is the normalized native total when one exists, or the
sum of normalized rain and frozen accumulations otherwise.
precip_frozen_accum is the sum of normalized snow, graupel, and hail
accumulations, except for WSM6 and WDM6, where it is the normalized
total less the normalized rain. Being a difference, it can then be slightly
negative from round-off (about one unit in the last place of the total, so
around 1e-6 kg/m^2 at 10 mm in a single-precision build). Species absent from the active runtime source contribute zero to
derived totals. precip_hail_accum is a fixed descriptor reserved for a
future scheme that exposes a distinct hail accumulator.
To diagnose the frozen fraction over a coupling interval, use accumulation differences rather than a ratio of cumulative values:
with
and
Column water-path diagnostics
ERF can write scheme-aware 2D water-path diagnostics for prognostic condensed
water species. These diagnostics integrate the conserved rho*q species
component over the model column. They are available only when the active
microphysics scheme exposes the corresponding conserved mass component.
For a condensed species \(q_x\), ERF writes
where \(W_x\) has units of \(\mathrm{kg\,m^{-2}}\).
The discrete diagnostic uses the same metric convention as integrated_qv:
for constant-\(\Delta z\) meshes, and
when ERF uses the column metric factor \(J\).
integrated_qc |
Cloud liquid water path |
kg/m^2 |
integrated_qi |
Cloud ice water path |
kg/m^2 |
integrated_qr |
Rain water path |
kg/m^2 |
integrated_qs |
Snow water path |
kg/m^2 |
integrated_qg |
Graupel water path |
kg/m^2 |
A name is selectable only if the active moisture model has that species as a conserved mass component. Unsupported species are skipped during request validation. Two-moment number concentrations are not water mass paths and are not included.
The metadata sidecar records these fields as ColumnIntegral diagnostics
with FillZeroWhenUnavailable missing-value policy. Water-path diagnostics
use the built-in metadata fields and add no water-path-specific metadata keys.
Estimated cloud optical depth and reflectance
cloud_optical_depth_sw and cloud_albedo_est are output-only,
dimensionless (units 1) column diagnostics. Either name can be selected
alone in either Plot2D stream or in station 2D output; both follow
integrated_qg in canonical order regardless of input order. They are
selectable when any conserved cloud-liquid, cloud-ice, rain, snow, or
graupel mass component is present in the active moisture scheme. Dry schemes
and schemes without conserved hydrometeor mass exclude both names. There is
no dependency on RRTMGP, TwoStream, SHOC, Noah-MP, or a surface model.
For each present species \(s\in\{qc,qi,qr,qs,qg\}\):
Here \(c\) is the run-time reflectance_scale; the default of 7.7 is
explained below.
The conserved component already contains density; it is not multiplied by
density again. Absent species contribute exactly zero, and number
concentrations are excluded. Negative mass values are clipped to zero before
integration. Zero condensate gives exactly zero optical depth and reflectance.
Nonfinite present mass (including a species with zero coefficient), a nonfinite
or nonpositive terrain metric, or arithmetic overflow gives -999 for both
fields. The metadata policy is FillMinus999WhenUnavailable with
missing_value: -999. Valid reflectance is bounded to [0,1]; the missing
sentinel is outside this range. Coefficients must be finite and nonnegative;
reflectance_scale must be finite and positive. An invalid setting aborts
the run at startup, naming the parameter, whether or not either field is
requested.
Constant-dz integration is \(\Delta z\sum_k \max(0,\rho q_s)\);
on nonconstant-dz/terrain meshes it is
\(\Delta z\sum_k J_{i,j,k}\max(0,\rho q_s)\), using the same
detJ_cc convention as the water paths. Vertically stacked boxes are summed
before reflectance is calculated. Both outputs are per-level column
proxies over the cells covered by that AMR level. Missing vertical coverage
is not supplied from coarser levels, and there is no coarse-plus-fine composite
column sum. A fine level that covers only the bottom part of the atmosphere
retains its partial optical depth and the reflectance proxy calculated from
that partial optical depth; neither value describes the full atmosphere.
There is no additional mask for incomplete vertical coverage. This follows
the existing per-level water-path convention. The final planar fill still
gives -999 where that level has no box reaching the ground. Thus an
incomplete bottom-reaching column can have a valid partial value, while a
column entirely aloft is missing in that level’s slab. Stations sample the
proxy on the level chosen by the existing station stencil rules; they do not
combine level-columns into a composite atmospheric column.
Warning
On a nested simulation, these are per-level partial-column proxies, not full-atmosphere or composite cloud albedos. A bottom-only fine level can report a much smaller optical depth than the coarse level if clouds lie above the fine level’s top. Values integrate only hydrometeors covered by that level and are not combined across levels. Interpret them using each level’s vertical coverage; an incomplete column must not be read as a full-column optical depth or albedo.
The five illustrative default mass-extinction coefficients, in \(\mathrm{m^2\,kg^{-1}}\), are:
Species |
Default |
Representative radius and particle density |
|---|---|---|
Cloud liquid (qc) |
150.0 |
10 micrometers; 1000 kg/m^3 |
Cloud ice (qi) |
65.4 |
25 micrometers; 917 kg/m^3 |
Rain (qr) |
3.0 |
0.5 mm; 1000 kg/m^3 |
Snow (qs) |
30.0 |
0.5 mm; 100 kg/m^3 |
Graupel (qg) |
7.5 |
0.5 mm; 400 kg/m^3 |
These defaults use an equivalent-sphere approximation: \(k_{ext}=3Q_{ext}/(4\rho_{particle}r_{eff})\), with assumed \(Q_{ext}\simeq2\). For a sphere this is its extinction cross section \(Q_{ext}\pi r_{eff}^2\) divided by its mass \(4\pi\rho_{particle}r_{eff}^3/3\). The representative radii and densities in the table are assumptions, not quantities diagnosed from the active microphysics scheme. In the geometric-optics limit, where the size parameter \(2\pi r_{eff}/\lambda\) is large, the extinction paradox gives \(Q_{ext}\rightarrow2\): diffraction contributes roughly another geometric cross section to the extinction. This limit is best supported here for spherical liquid cloud droplets at visible wavelengths. Bohren and Huffman (1983) discuss the extinction paradox. Grosvenor et al. (2018, Section 2.1, Eq. 2) define extinction for a spherical droplet size distribution, use \(Q_{ext}\simeq2\) when droplet radius is large relative to wavelength, and relate optical depth to liquid water and effective radius in Section 2.2, Eq. 6.
The representative radii and densities are fixed, tunable bulk proxies, not scheme-calibrated or retrieval-grade optics. Ice, snow, and graupel are often non-spherical; their equivalent radii and densities are particularly crude proxies. Real mass-size relations, scattering properties, and particle size distributions may differ greatly. Sensitivity test these assumptions before quantitative research use.
The inputs configure the five extinction coefficients in
\(\mathrm{m^2\,kg^{-1}}\), not radius or particle density directly. Users
wanting different assumed effective radii or densities must calculate the
corresponding coefficients themselves and supply kext_qc, kext_qi,
kext_qr, kext_qs, and/or kext_qg overrides.
The common two-stream approximation for a conservatively scattering, horizontally homogeneous cloud with asymmetry factor \(g\) gives
Lacis and Hansen (1974)
and Lu et al. (2008, Section 4.3)
give the corresponding nonabsorbing-cloud expression
\(R=\tau/(\tau+7.7)\) for \(g=0.85\). This published approximation
motivates the default reflectance_scale = 7.7; it does not make that
value a universal or scheme-calibrated albedo parameter. Its assumptions,
including a fixed asymmetry factor, are particularly limited for ice and
mixed-phase clouds, whose scattering properties vary with particle habit,
size, and wavelength. reflectance_scale remains a positive runtime
override, and sets the optical depth at which this proxy equals one half.
The implemented proxy is independent of solar zenith angle and does not solve
full radiative transfer, as described in the warning below.
Warning
cloud_albedo_est is an exploratory hydrometeor-only
reference-illumination reflectance proxy. It includes cloud liquid, cloud
ice, rain, snow, and graupel; excludes surface, gas, and aerosol
contributions; and does not solve two-stream radiative transfer. It
omits solar zenith angle, gas/aerosol scattering and absorption,
single-scattering albedo, phase-function asymmetry, overlap, spectral
dependence, surface reflection, and 3-D cloud effects. It is neither
physical broadband all-sky albedo nor top-of-atmosphere reflectance, nor
RRTMGP top-of-model flux-derived all-sky reflectance. Existing albedo
is surface albedo and remains a separate diagnostic. These new fields do
not affect prognostic physics, radiative heating, or fluxes. The proxy is
independent of solar zenith angle. No solar flux enters its definition:
it remains defined, and can remain nonzero, at night for a cloudy column.
Nighttime values must not be interpreted as observed instantaneous albedo.
Example (water-path outputs are optional):
erf.plot2d_file_1 = plt2d
erf.plot2d_per_1 = 600.0
erf.plot2d_vars_1 = integrated_qc integrated_qi integrated_qr integrated_qs integrated_qg cloud_optical_depth_sw cloud_albedo_est
erf.plot2d.cloud_optics.kext_qc = 150.0
erf.plot2d.cloud_optics.kext_qi = 65.4
erf.plot2d.cloud_optics.kext_qr = 3.0
erf.plot2d.cloud_optics.kext_qs = 30.0
erf.plot2d.cloud_optics.kext_qg = 7.5
erf.plot2d.cloud_optics.reflectance_scale = 7.7
Reproducing the optical settings
2DMetadata.json keeps the generic diagnostic-descriptor schema; it does
not record the per-run cloud-optics coefficients. Archive the input deck,
job_info, ERF commit/build configuration, and complete standard output
with the plotfiles. On first requested use, ERF prints one Plot2D cloud
optics: line containing all five resolved coefficients and the resolved
reflectance scale, including defaults omitted from the input deck. Values
are printed with enough digits to recover the build’s Real values.
For example, capture and retain this record alongside the plotfiles:
./erf_exec inputs > run.log 2>&1
sed -n '/^Plot2D cloud optics:/p' run.log > cloud_optics_resolved_settings.txt
Keep both files, rather than relying on job_info alone: supplied overrides
may be present there while unprovided defaults are absent. The writer integration
test archives this same resolved-settings record. Logging and these settings do not
change the diagnostic values or the generic metadata format.
References
Lacis, A. A., and J. E. Hansen (1974). A parameterization for the absorption of solar radiation in the Earth’s atmosphere. Journal of the Atmospheric Sciences, 31, 118–133.
Lu, M.-L., et al. (2008). Aerosol-cloud relationships in continental shallow cumulus. Journal of Geophysical Research: Atmospheres, 113, D15201.
Bohren, C. F., and D. R. Huffman (1983). Absorption and Scattering of Light by Small Particles. Wiley.
Grosvenor, D. P., et al. (2018). Remote sensing of droplet number concentration in warm clouds: A review of the current state of knowledge and perspectives. Reviews of Geophysics, 56, 409–453.
Surface diagnostic source codes
surface_diagnostic_source is a cell-centered categorical diagnostic. It
reports the source path used by the SurfaceLayer scalar diagnostic path. It
does not report fractional land-cover contributions. The same code table
defines near_surface_diagnostic_source; that field reports the request-
aware source selected for the unified 2-m output bundle.
If an input dataset contains fractional land information, this diagnostic still reports the categorical source used by ERF’s active SurfaceLayer scalar flux path.
The fields do not describe fractional cover or complete staggered stress-face
provenance. Consumers must compare the numeric code with this table rather than
infer provenance from landmask.
Value |
Token |
Meaning |
|---|---|---|
0 |
|
No source was selected. |
1 |
|
SurfaceLayer supplied the land value. |
2 |
|
The land-surface model supplied the land value. |
3 |
|
A land-surface path existed, but its required result was invalid or incomplete; SurfaceLayer supplied the value. |
4 |
|
SurfaceLayer supplied the value over water. |
5 |
|
The custom surface pathway supplied the SurfaceLayer state. |
6 |
|
The RICO pathway supplied the SurfaceLayer state. |
AMReX metadata and NetCDF differences
Native AMReX 2D plotfiles write a JSON metadata sidecar named
2DMetadata.json in the plotfile directory. The sidecar lists selected
outputs in component order. Fixed outputs use descriptor metadata. Sampled-
level outputs add source-field and vertical-coordinate metadata.
The metadata policy maps to JSON as follows:
AlwaysAvailablerecordsmissing_value: null.FillZeroWhenUnavailablerecordsmissing_value: 0.FillMinus999WhenUnavailablerecordsmissing_value: -999.
The sidecar uses the same 2D diagnostic catalog that defines the built-in plotfile variables. Sampled-level outputs carry their own metadata record. The sidecar does not record the runtime source chosen at each cell. Source choice is carried by categorical output fields. It does not change field values.
NetCDF 2D output uses the same variable names but does not write this JSON
sidecar or sampled-level metadata attributes. The sidecar format version is
2.
Example built-in metadata:
{
"format_version": 2,
"kind": "ERF 2D plotfile metadata",
"n_variables": 2,
"variables": [
{
"component_index": 0,
"name": "z_surf",
"long_name": "Surface elevation",
"units": "m",
"category": "Geometry",
"missing_policy": "AlwaysAvailable",
"missing_value": null
},
{
"component_index": 1,
"name": "latent_heat_flux",
"long_name": "Surface latent heat flux",
"units": "W m^-2",
"category": "SurfaceFlux",
"missing_policy": "FillMinus999WhenUnavailable",
"missing_value": -999
}
]
}
Sampled-level entries add source_field and vertical_coordinate records.
See AMReX metadata and NetCDF limitations for their exact form.