hydromt.workflows.forcing.pet#

hydromt.workflows.forcing.pet(ds, temp, dem_model, method='debruin', press_correction=False, reproj_method='nearest_index', lapse_rate=-0.0065, freq=None, resample_kwargs={}, logger=<Logger hydromt.workflows.forcing (WARNING)>)[source]#

Determines reference evapotranspiration (lazy reprojection on model grid and resampling of time dimension to frequency).

Parameters:
  • ds (xarray.Dataset) – Dataset with pressure [hPa], global radiation [W m-2], TOA incident solar radiation [W m-2]

  • temp (xarray.DataArray) – DataArray with temperature [°C]

  • dem_model (xarray.DataArray) – DataArray of the target resolution and projection, contains elevation data

  • method ({'debruin', 'makkink'}) – Potential evapotranspiration method.

  • press_correction (bool, default False) – If True pressure is corrected, based on elevation data of dem_model

  • freq (str, Timedelta, default None) – output frequency of timedimension

  • resample_kwargs – Additional key-word arguments (e.g. label, closed) for time resampling method

Returns:

pet_out – reference evapotranspiration

Return type:

xarray.DataArray (lazy)