Calculates specfic humidity from vapor pressure and air pressure.

hum_specific(...)

# S3 method for numeric
hum_specific(p_vapor, p, ...)

# S3 method for weather_station
hum_specific(weather_station, height, ...)

Arguments

...

Additional parameters passed to later functions.

p_vapor

Vapor pressure in hPa.

p

Air pressure in hPa.

weather_station

Object of class weather_station.

height

Height of measurement. "lower" or "upper".

Value

Specific humidity in kg/kg.