Materialize
materialize
Build bounded native weather windows using Barograph's targeted range reader.
WeatherRequest
dataclass
Region, UTC time bounds and pressure range (Pa) requiring interpolation.
Includes neighbouring native times and pressure levels, without imposing a fixed integration horizon. Callers supply margins for lower probes, sedimentation and evolution; a window is not a bound on future motion.
Source code in packages/barograph-met/src/baro/met/materialize.py
materialize_radiation(source, request, *, fields=None)
Read only bracketing ERA5 midpoint fluxes on the requested domain.
Source code in packages/barograph-met/src/baro/met/materialize.py
materialize_weather(source, request, *, fields=('u', 'v', 't', 'q', 'omega'), tau_cirrus=False, units=None, executor=None)
Read a pressure-level window, extending only cirrus dependencies upward.
source must map the requested aliases to native variables. Deriving
tau_cirrus additionally requires t and ciwc, the complete native
pressure-level axis, and optional pycontrails. Its height convention is
pycontrails' ISA approximation unless geopotential is configured.
Hybrid-level conversion is deliberately not implicit.