nwm_eval.identify_location_ids.find_locations_in_crosswalk#
- nwm_eval.identify_location_ids.find_locations_in_crosswalk(locations, cwt)[source]#
Find the primary_location_id for the given locations based on the crosswalk file.
- Return type:
tuple[dict[str,str],list[str]]- Parameters:
locations – A list of location IDs to find in the crosswalk.
cwt – A DataFrame containing the crosswalk data.
- Returns:
A dictionary mapping found location IDs to their primary_location_id.
A list of location IDs that were not found in the crosswalk.
- Return type:
A tuple containing