hydromt.model.processes.meteo.pet#
- hydromt.model.processes.meteo.pet(ds: Dataset, temp: DataArray, dem_model: DataArray, method: Literal['debruin', 'makkink', 'penman-monteith_rh_simple', 'penman-monteith_tdew'] = 'debruin', press_correction: bool = False, wind_correction: bool = True, wind_altitude: float = 10, reproj_method: str = 'nearest_index', freq: str | None = None, resample_kwargs: Dict[str, str] | None = None) DataArray [source]#
Determine reference evapotranspiration.
(lazy reprojection on model grid and resampling of time dimension to frequency).
- Parameters:
ds (
xarray.Dataset
) –Dataset with climate variables: pressure [hPa], global radiation [W m-2], TOA incident solar radiation [W m-2], wind [m s-1]
Required variables: {“temp”, “press” or “press_msl”, “kin”}
additional variables for debruin: {“kout”}
- additional variables for penman-monteith_rh_simple:
{“temp_min”, “temp_max”, “wind” or “wind_u”+”wind_v”, “rh”}
- additional variables for penman-monteith_tdew:
{“temp_min”, “temp_max”, “wind” or “wind_u”+”wind_v”, “temp_dew”}
temp (
xarray.DataArray
) – DataArray with temperature on model grid resolution [°C]dem_model (
xarray.DataArray
) – DataArray of the target resolution and projection, contains elevation datamethod (
{'debruin', 'makkink', "penman-monteith_rh_simple", "penman-monteith_tdew"}
) – Potential evapotranspiration method. if penman-monteith is used, requires the installation of the pyet package.reproj_method (
str
, optional) – Method for spatital reprojection of precip, by default ‘nearest_index’press_correction (
bool
, defaultFalse
) – If True pressure is corrected, based on elevation data of dem_modelwind_altitude (
float
, optional) – ALtitude of wind speed data. By default 10m.wind_correction (
str
, optional) – If True wind speed is re-calculated to wind speed at 2 meters using original wind_altitude.freq (
str
,Timedelta
, defaultNone
) – output frequency of timedimensionresample_kwargs – Additional key-word arguments (e.g. label, closed) for time resampling method
- Returns:
pet_out – reference evapotranspiration
- Return type:
xarray.DataArray (lazy)