nwm_eval.configuration#

Data models for configuration sections in the yaml file, defined with Pydantic for validation and documentation.

Classes

BarChartConfig

Config for bar charts.

BasePlotConfig

Common fields for all plot configs.

BoxPlotConfig

Config for box plots.

Config

Define a data model for each section in the config file.

FilePathsConfig

Data model for the 'file_paths' section of the config file.

FlowObservationConfig

Data model for the flow_observation section.

GeneralConfig

Data model for the 'general' section of the config file.

HistogramConfig

Config for histogram plots.

LeadTimesMixin

Mixin class to add lead_times field and validation to metric and plot configs.

LocationFilter

Data model for filtering locations based on column values in the crosswalk file.

MetricsConfig

Data model for the 'metrics' section of the config file.

NWMForecastConfig

Data model for the 'nwm_forecast' section of the config file.

PairDataConfig

Data model for the 'pair_data' section of the config file.

PlotsConfig

Data model for the 'plots' section of the config file.

ReferenceTimesMixin

Mixin class to add reference_times field and validation to metric and plot configs.

SpatialMapConfig

Config for spatial maps.

TablePlotConfig

Config for table plots displaying metric values.

TimeSeriesConfig

Config for time series plots.

USGSConfig

Configuration for USGS flow observations.