q2w {aiRthermo}R Documentation

Water vapour mixing Ratio to specific humidity

Description

This function calculates the water vapour mixing ratio (kg/kg) from specific humidity (kg/kg).

Usage

q2w(q)

Arguments

q

A vector with specific humidity values (kg/kg).

Value

This function returns a vector with mixing ratio values in kg/kg.

Examples

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

[Package aiRthermo version 1.2.1 Index]