nwm_eval.pair_data.join_time_series#

nwm_eval.pair_data.join_time_series(data_paths, dataset, nwm_version)[source]#

Join the observation and forecast time series data.

Join the observation and forecast time series data for a given dataset and NWM version, and store the joined data in a temporary DuckDB database.

Return type:

Path

Parameters:
  • data_paths (dict) – A dictionary containing paths to the observation, forecast, and crosswalk data.

  • dataset (str) – A string indicating the dataset name (e.g., ‘streamflow’).

  • nwm_version (str) – A string indicating the NWM version (e.g., ‘nwm_v2.1’).

Returns:

A Path object pointing to the temporary DuckDB database containing the joined time series data.

Return type:

Path