pvtend.ERA5_1P5_NH
- pvtend.ERA5_1P5_NH = GridProfile(name='ERA5_1P5_NH', nlat=61, nlon=240, lat_south=0.0, lat_north=90.0, dlat=1.5, dlon=1.5, lon_west=-180.0, lat_half=21.0, lon_half=36.0, z_is_height=False, inv_band_s=10.5, inv_band_n=85.5)
Static description of an input grid + its PV-inversion geometry (config).
Bundles the regular lat-lon grid metadata, the event-patch half-widths, and the Wu QG piecewise-inversion latitude band. Scope (v2.13): this is metadata/config consumed by callers. The Wu inversion solver (
pvtend.ppvi.solver.invert_piecewise()) is genuinely grid-agnostic (anisotropic-safezhdrreorder + below-ground fill), and the spectral Helmholtz/derivatives (pvtend.sh_ops) are global. The higher-levelTendencyComputerpipeline, however, is still ERA5-specific (it hard-codes the 10.5–85.5°N band andH=z/g), so f09 end-to-end use currently goes through the solver API directly — build the cubes +zhdryourself and passH=zwhenz_is_height(see thepv_inversion/wu_cesmclosure test for a worked example). Two profiles are provided:ERA5_1P5_NH— the default ERA5 1.5° Northern-Hemisphere grid (current behaviour; isotropic Δlat=Δlon=1.5°).CESM_F09— the CESM2-LENS2 f09 global grid (192×288, anisotropic Δlat≈0.942°, Δlon=1.25°). Helmholtz/derivatives run fully global; the Wu QG inversion runs on the mid-latitude band[inv_band_s, inv_band_n](it is singular at the equator/poles, so a truly-global QG inversion is out of scope — the band covers all blocking, ~25–85°N).
Note: CESM
zis geopotential height [m] (useH=zdirectly), whereas ERA5zis geopotential [m²/s²] (H=z/g).