cut_to_filled_area#
- mhm_tools.common.utils.cut_to_filled_area(ds, resolutions: Resolution, catchment_mask, buffer=0, repeat=False, raise_on_l2_alignment_mismatch=False)[source]#
Create index slices that crop to filled mask cells, with optional coarse alignment.