specific_humidity_from_dewpoint

metpy.calc.specific_humidity_from_dewpoint(pressure, dewpoint)[source]

Calculate the specific humidity from the dewpoint temperature and pressure.

Parameters
Returns

pint.Quantity – Specific humidity

Changed in version 1.0: Changed signature from (dewpoint, pressure)