salem.DatasetAccessor.wrf_plevel¶
-
DatasetAccessor.
wrf_plevel
(varname, levels=None, use_multiprocessing=True)[source]¶ Interpolates to a specified pressure level (hPa).
Parameters: varname: str
the name of the variable to interpolate
levels: 1d array
levels at which to interpolate (default: some levels I thought of)
use_multiprocessing: bool
set to false if, for some reason, you don’t want to use mp
Returns: an interpolated DataArray