w2q {aiRthermo}R 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)

[Package aiRthermo version 1.2.1 Index]