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.cal_z0zdΒΆ

supy.util.cal_z0zd(ser_qh, ser_ustar, ser_ta_c, ser_rh_pct, ser_pres_hpa, ser_ws, z_meas, h_sfc, debug=False)[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
  • ser_qh (pd.DataFrame) – sensible heat flux [W/m^2]

  • ser_ustar (pd.Series) – friction velocity [m/s]

  • ser_ta_c (pd.Series) – air temperature [Β°C]

  • ser_rh_pct (pd.Series) – relative humidity [%]

  • ser_pres_hpa (pd.Series) – air pressure [hPa]

  • z_meas (number) – measurement height in m

  • h_sfc (number) – vegetation height in m

  • debug (bool, optional) – Option to output final calibrated ModelResult, by default False

Returns

  • z0 – surface roughness length for momentum

  • zd – zero displacement height