find_best_gauge_location_by_area#
- mhm_tools.common.utils.find_best_gauge_location_by_area(ds: Dataset, upstream_area, gauge_coords, ref_catchment_area, resolutions, max_distance_cells=5, max_error=0.25, recursion=False, method='basinex', raise_on_fallback=True, latlon=False)[source]#
Find best gauge location given reference gauge location, refernce cathcment area and allowed area and value deviation.