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 data
g (float, default 9.80665) – gravitational constant [m s-2]
R_air (float, default 8.3144621) – specific gas constant for dry air [J mol-1 K-1]
Mo (float, default 0.0289644) – molecular weight of gas [g / mol]
LapseRate (float, deafult -0.0065) – lapse rate of temperature [C m-1]
- Returns:
press_fact – pressure correction factor
- Return type: