hydromt.model.processes.meteo.press_correction#
- hydromt.model.processes.meteo.press_correction(dem_model: DataArray, g: float = 9.80665, R_air: float = 8.3144621, Mo: float = 0.0289644, lapse_rate: float = -0.0065) DataArray [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: