rcatool.utils.atmosphys.td2sh

rcatool.utils.atmosphys.td2sh(Td, P)[source]

Convert dew point temperature to specific humidity https://github.com/PecanProject/pecan/blob/master/modules/data.atmosphere/R/metutils.R

Parameters:
  • Td – Absolute dew point temperature in Kelvin

  • floats (float/array of) – Absolute dew point temperature in Kelvin

  • P – Pressure in mb

  • floats – Pressure in mb

Returns:

Specific humidity in g/kg

Return type:

p, float/array of floats