Tip
- Need help? Please let us know in the UMEP Community.
- Find an issue within this page? Please report it in the GitHub issues.
- A good understanding of SUEWS is a prerequisite to the proper use of SuPy.
supy.util.optimize_MOΒΆ
-
supy.util.
optimize_MO
(df_val, z_meas, h_sfc)[source]ΒΆ Calculates surface roughness and zero plane displacement height. Refer to https://suews-parameters-docs.readthedocs.io/en/latest/steps/roughness-SuPy.html for example
Parameters: - df_val (pd.DataFrame) β Index should be time with columns: βHβ, βUSTARβ, βTAβ, βRHβ, βPAβ, βWSβ
- z_meas β measurement height in m
- h_sfc β vegetation height in m
Returns: - z0 β surface roughness
- d β zero displacement height
- ser_ws (pd.series) β observation time series of WS (Neutral conditions)
- ser_ustar (pd.series) β observation time series of u* (Neutral conditions)