wrf.pw

wrf.pw(pres, tkel, qv, height, meta=True)

Return the precipitable water.

This is the raw computational algorithm and does not extract any variables from WRF output files. Use wrf.getvar() to both extract and compute diagnostic variables.

Parameters:

Warning

The input arrays must not contain any missing/fill values or numpy.nan values.

Returns:The precipitable water [kg m-2]. If xarray is enabled and the meta parameter is True, then the result will be an xarray.DataArray object. Otherwise, the result will be a numpy.ndarray object with no metadata.
Return type:xarray.DataArray or numpy.ndarray

See also

wrf.getvar()