nwm_eval.identify_location_ids.get_locations_from_config_list#

nwm_eval.identify_location_ids.get_locations_from_config_list(conf, id_type, nwm_ver=None)[source]#

Get list of locations as either “gage” or “link” based on location_list provided in config file.

Return type:

list

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

  • id_type (str) – Type of location ID to retrieve (“gage” or “link”).

  • nwm_ver (str, optional) – NWM version (e.g., “nwm30”).

Returns:

List of location IDs.

Return type:

list