Skip to contents

The function calculate precipitable water from the surface to the top of the atmosphere.

Usage

precipitable_water(hus_s, pa_s, hus_pl, pa_pl, nthreads = 1)

Arguments

hus_s

surface specific humidity [lon, lat, time] at 2 meter (kg/kg).

pa_s

surface pressure [lon, lat, time] (hPa).

hus_pl

specific humidity [lon, lat, lev, time] on pressure level (kg/kg).

pa_pl

pressure profile [lev] in descending manner (hPa).

nthreads

an integer specifying the number of threads to use for computation (OpenMP). Default is 1.

Value

precipitable water [lon, lat, time] (mm).