specific_humidity: Specific humidity.

View source: R/cdtClimate_Humidity_functions.R

specific_humidityR Documentation

Specific humidity.

Description

Compute the specific humidity from the dewpoint temperature and surface pressure.

Usage

specific_humidity(td, pr)

Arguments

td

numeric, a vector or matrix of the dewpoint temperature in degree Celsius.

pr

numeric, a vector or matrix of the surface pressure in hPa.

Value

Returns a vector or matrix, the units are in kg/kg.


rijaf-iri/CDT documentation built on July 3, 2024, 2:54 a.m.