hydromt.workflows.forcing.temp_correction#
- hydromt.workflows.forcing.temp_correction(dem, lapse_rate=-0.0065)[source]#
Temperature correction based on elevation data.
- Parameters:
dem (
xarray.DataArray
) – DataArray with elevationlapse_rate (
float
, default-0.0065
) – lapse rate of temperature [°C m-1]
- Returns:
temp_add – temperature addition
- Return type: