rcatool.utils.atmosphys.theta_pseudoequiv

rcatool.utils.atmosphys.theta_pseudoequiv(tair, tdew, p, sh)[source]

Returns the pseudo-equivalent potential temperature in units of Kelvin. Based on approximative formula from Bolton, D. 1980 See also: https://glossary.ametsoc.org/wiki/Pseudoequivalent_potential_temperature

Note that here the specific humidity is used instead of mixing ratio, which are approximately the same (low water vapor mass in parcel compared to dry mass).

Parameters:
  • tair – Air temperature (in units of Kelvin)

  • floats (float/array of) – Air temperature (in units of Kelvin)

  • tdew – Dew point temperature (in units of Kelvin)

  • floats – Dew point temperature (in units of Kelvin)

  • p – Pressure in units of hPa

  • floats – Pressure in units of hPa

  • sh – Specific humidity in units of kg/kg

  • floats – Specific humidity in units of kg/kg

Returns:

Pseudo-equivalent potential temperature (in units of Kelvin)

Return type:

theta_ep, floats/arrays of floats