Tip
Need help? Please let us know in the UMEP Community.
Please report issues with the manual on GitHub Issues (or use Report Issue for This Page for page-specific feedback).
Please cite SUEWS with proper information from our Zenodo page.
6.3. Utility Functions#
SuPy provides a comprehensive set of utility functions for data processing, analysis, and visualisation.
6.3.1. ERA-5 Data Processing#
Functions for downloading and processing ERA-5 reanalysis data:
|
Generate SUEWS forcing files using ERA-5 timeseries data. |
6.3.2. Meteorological Data#
Functions for working with EPW weather files and meteorological data:
|
Generate an |
|
Read in |
|
Fill all gaps in a time series using data from neighbouring divisions of 'freq' |
6.3.3. Energy Balance Analysis#
Functions for analysing the Objective Hysteresis Model (OHM):
|
A function to linearly fit two independant variables to a dependent one. |
|
Calculate QS using OHM (Objective Hysteresis Model). |
6.3.4. Surface Conductance#
Functions for calculating and calibrating surface conductance:
|
Model surface conductance/resistance using phenology and atmospheric forcing conditions. |
|
Calculate surface conductance based on observations, notably turbulent fluxes. |
|
Calibrate parameters for modelling surface conductance over vegetated surfaces using |
6.3.5. Plotting and Visualisation#
Functions for visualising SUEWS results:
|
Produce a scatter plot with linear regression line to compare simulation results and observations. |
|
Produce a ensemble diurnal climatologies with uncertainties shown in inter-quartile ranges. |
|
Produce a quick plot of RSL results |
6.3.6. Roughness Calculations#
Functions for calculating roughness parameters:
|
Calculates surface roughness and zero plane displacement height. |
|
Calculates the rows associated with neutral condition (threshold=0.01) |