nwm_eval.fetch_data.retrieve_usgs_obs#

nwm_eval.fetch_data.retrieve_usgs_obs(locations, conf, output_dir)[source]#

Retrieve USGS streamflow observations given configuration and a list of gage IDs.

Parameters:
  • locations (dict) – Dictionary containing USGS gage IDs for which observations are to be retrieved.

  • conf (dict) – Dictionary defining the configurations (e.g., config.yaml).

  • output_dir (Path) – Path to store the observation data.

Data retrieved will be saved in parquet files by chunk (e.g., month) in the data directory defined in conf