nwm_eval.identify_location_ids.get_gage_id_from_file#

nwm_eval.identify_location_ids.get_gage_id_from_file(id_file, crosswalk_file=None)[source]#

Get location gage ID (USGS gage ID) from a file based on the provided crosswalk file.

Return type:

list

Parameters:
  • id_file (str) – Path to the file containing location IDs.

  • crosswalk_file (dict, optional) – Dictionary containing paths to crosswalk files for different NWM versions (optional).

Returns:

List of USGS gage IDs.

Return type:

list