hydromt_wflow.WflowModel.setup_temp_pet_forcing#
- WflowModel.setup_temp_pet_forcing(temp_pet_fn: str = 'era5', pet_method: str = 'debruin', press_correction: bool = True, temp_correction: bool = True, wind_correction: bool = True, wind_altitude: int = 10, reproj_method: str = 'nearest_index', dem_forcing_fn: str = 'era5_orography', skip_pet: str = False, chunksize: int | None = None, **kwargs) None [source]#
Generate gridded reference evapotranspiration forcing at model resolution.
Adds model layer:
pet: reference evapotranspiration [mm]
temp: temperature [°C]
- Parameters:
temp_pet_fn (str, optional) –
Name or path of data source with variables to calculate temperature and reference evapotranspiration, see data/forcing_sources.yml. By default ‘era5_daily_zarr’.
Required variable for temperature: [‘temp’]
Required variables for De Bruin reference evapotranspiration: [‘temp’, ‘press_msl’, ‘kin’, ‘kout’]
Required variables for Makkink reference evapotranspiration: [‘temp’, ‘press_msl’, ‘kin’]
Required variables for daily Penman-Monteith reference evapotranspiration: either [‘temp’, ‘temp_min’, ‘temp_max’, ‘wind’, ‘rh’, ‘kin’] for ‘penman-monteith_rh_simple’ or [‘temp’, ‘temp_min’, ‘temp_max’, ‘temp_dew’, ‘wind’, ‘kin’, ‘press_msl’, “wind10_u”, “wind10_v”] for ‘penman-monteith_tdew’ (these are the variables available in ERA5)
pet_method ({'debruin', 'makkink', 'penman-monteith_rh_simple', 'penman-monteith_tdew'}, optional) – Reference evapotranspiration method, by default ‘debruin’. If penman-monteith is used, requires the installation of the pyet package.
press_correction (bool, optional) – If True pressure, temperature are corrected using elevation lapse rate, by default False.
temp_correction (bool, optional) – If True pressure, temperature are corrected using elevation lapse rate, by default False.
dem_forcing_fn (str, default None) – Elevation data source with coverage of entire meteorological forcing domain. If temp_correction is True and dem_forcing_fn is provided this is used in combination with elevation at model resolution to correct the temperature.
skip_pet (bool, optional) – If True calculate temp only.
chunksize (int, optional) – Chunksize on time dimension for processing data (not for saving to disk!). If None the data chunksize is used, this can however be optimized for large/small catchments. By default None.