nwm_eval.create_plots.barchart_by_metric#
- nwm_eval.create_plots.barchart_by_metric(df_metrics, conf, data_paths)[source]#
Create a bar chart comparing datasets for each metric and lead time.
- Parameters:
df_metrics – A DataFrame containing the metric values to be plotted, with columns including “primary_location_id”, “metric”, “lead_group”, “dataset”, and “value”.
conf – A dictionary containing the configuration for creating bar charts, which may include plotting parameters.
data_paths – A dictionary containing the paths to the metric files for each dataset.
- Returns:
None