sensortoolkit.plotting._distribution.met_distrib
- met_distrib(met_ref_data, avg_hrly_df, figure_path, sensor_name=None, write_to_file=True)[source]
Create distribution plots for meteorological parameters provided in the passed met_ref_data dataframe.
Distributions are displayed as relative frequencies (i.e., percentages of the total distribution of measurements).
- Parameters
met_ref_data (pandas DataFrame) – Meteorological reference data (1-hour averages) for temperature, relative humidity, and dew point measurements.
avg_hrly_df (pandas DataFrame) – Dataframe containing the inter-sensor average value for 1-hour averaged air sensor measurements.
figure_path (str) – The full directory path to the folder where figures are saved. This should be located at
[project_path]/figures
.sensor_name (str, optional) – The name of the air sensor (make, manufacturer). Defaults to None.
write_to_file (bool, optional) – If true, the figure will be saved as a png image to the
[project_path]/figures
subdirectory. Defaults to True.
- Returns
None.