act.retrievals.calculate_precipitable_water#
- act.retrievals.calculate_precipitable_water(ds, temp_name='tdry', rh_name='rh', pres_name='pres')[source]#
Function to calculate precipitable water vapor from ARM sondewnpn b1 data. Will first calculate saturation vapor pressure of all data using Arden-Buck equations, then calculate specific humidity and integrate over all pressure levels to give us a precipitable water value in centimeters.
- dsxarray.Dataset
Xarray dataset as read in by the ACT netCDF reader.
- temp_namestr
Name of temperature field to use. Defaults to ‘tdry’ for sondewnpn b1 level data.
- rh_namestr
Name of relative humidity field to use. Defaults to ‘rh’ for sondewnpn b1 level data.
- pres_namestr
Name of atmospheric pressure field to use. Defaults to ‘pres’ for sondewnpn b1 level data.