pvtend.interp_event_fields_to_theta
- pvtend.interp_event_fields_to_theta(theta_3d: ndarray, pressure_hpa_1d: ndarray, field_3d: ndarray, theta_levels: ndarray) ndarray[source]
Interpolate one 3-D isobaric field to multiple θ surfaces (vectorized).
This is the convenience wrapper for the composite-event use case (shape:
(nlev, ny, nx)).Parameters
theta_3d : (nlev, ny, nx) — potential temperature [K] pressure_hpa_1d : (nlev,) — isobaric levels [hPa] (unused in θ-path
but kept for API compatibility with the full MetPy path).
field_3d : (nlev, ny, nx) — field to interpolate theta_levels : (n_theta,) — target θ [K]
Returns
(n_theta, ny, nx) — field on isentropic surfaces.