specific_humidity_from_dewpoint¶
- metpy.calc.specific_humidity_from_dewpoint(pressure, dewpoint)¶
Calculate the specific humidity from the dewpoint temperature and pressure.
- Parameters
dewpoint (
pint.Quantity
) – Dewpoint temperaturepressure (
pint.Quantity
) – Pressure
- Returns
pint.Quantity
– Specific humidity
Changed in version 1.0: Changed signature from
(dewpoint, pressure)
See also