hydromt.workflows.forcing.press_correction#
- hydromt.workflows.forcing.press_correction(dem_model, g=9.80665, R_air=8.3144621, Mo=0.0289644, lapse_rate=-0.0065)[source]#
Pressure correction based on elevation lapse_rate.
- Parameters:
dem_model (
xarray.DataArray
) – DataArray with high res lat/lon axis and elevation datag (
float
, default9.80665
) – gravitational constant [m s-2]R_air (
float
, default8.3144621
) – specific gas constant for dry air [J mol-1 K-1]Mo (
float
, default0.0289644
) – molecular weight of gas [kg / mol]lapse_rate (
float
,deafult -0.0065
) – lapse rate of temperature [C m-1]
- Returns:
press_fact – pressure correction factor
- Return type: