geocat.comp.interpolation.pressure_at_hybrid_levels

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) – A multi-dimensional array of surface pressures (Pa)

  • hya (xarray.DataArray) – A one-dimensional array of the hybrid A coefficients (unitless)

  • hyb (xarray.DataArray) – A one-dimensional array of the hybrid B coefficients (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