geocat.comp.interpolation.pressure_at_hybrid_levels#
- geocat.comp.interpolation.pressure_at_hybrid_levels(psfc, hya, hyb, p0=100000.0)#
Pressure at the hybrid levels.
\[p(k) = hya(k) * p0 + hyb(k) * psfc\]- Parameters:
psfc (
xarray.DataArray,numpy.ndarray) – A multi-dimensional array of surface pressures (Pa)hya (
xarray.DataArray,numpy.ndarray) – An array of the hybrid A coefficients. Must be 1D if typenumpy.ndarray(unitless).hyb (
xarray.DataArray,numpy.ndarray) – An array of the hybrid B coefficients. Must be same type and length ashyaand be 1D if typenumpy.ndarray(unitless)p0 (
float, optional) – Scalar numeric value equal to surface reference pressure (Pa). Defaults to 100000 Pa.
- Returns:
output (
xarray.DataArray) – Computed pressure at the provided hybrid levels (Pa)
See also
Related NCL Functions: pres_hybrid_ccm