nwm_eval.fetch_data.retrieve_ngen_simulation#

nwm_eval.fetch_data.retrieve_ngen_simulation(locations, conf, data_paths)[source]#

Retrieve NGEN simulation data for the specified configuration.

Based on the data source specified in the configuration, the appropriate retrieval function is called.

Parameters:
  • locations (dict) – Dictionary containing secondary ID (NWM feature IDs) and primary ID (USGS gage IDs).

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

  • data_paths (dict) – Dictionary containing paths to store the data.

Returns:

None. Data retrieved will be saved in parquet files by forecast cycle in the data directory defined in conf.