Tip

  1. Need help? Please let us know in the UMEP Community.
  2. Find an issue within this page? Please report it in the GitHub issues.
  3. 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)