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, dem_forcing_fn: str = 'era5_orography', skip_pet: str = False, chunksize: Optional[int] = None, **kwargs) None [source]#
Setup 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’.
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’]
pet_method ({'debruin', 'makkink'}, optional) – Reference evapotranspiration method, by default ‘debruin’.
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.