w2q: Specific Humidity from mixing ratio

w2qR Documentation

Specific Humidity from mixing ratio

Description

This function calculates the specific humidity from a given Water mixing ratio.

Usage

w2q(w)

Arguments

w

A vector with mixing ratio values in kg/kg.

Value

The function returns a vector with the specific humidity.

Examples

data(RadiosondeD)
dws<-RadiosondeD[,6]/1000
w2q(dws)

aiRthermo documentation built on June 8, 2025, 11:48 a.m.