aiRthermo (version 1.2.1)

PW: Vertically integrated water vapour column

Description

This function calculates the vertically integrated water vapour column integrating in pressure vertical coordinates.

Usage

PW(w, PRES, Psurf, consts = export_constants())

Arguments

w

A vector with mixing ratio values of a sounding (kg/kg).

PRES

A vector with pressure values of a sounding (Pa).

Psurf

Is the mean sea level pressure at the place of a sounding (Pa).

consts

The constants defined in aiRthermoConstants data are necessary.

Value

This function returns the vertically integrated water vapour column.

Examples

Run this code
# NOT RUN {
data(RadiosondeD)
dPs<-RadiosondeD[,1]*100
dws<-RadiosondeD[,6]/1000
PW(dws,dPs,dPs[1])
# }

Run the code above in your browser using DataLab