Crop a grid to a bbox (intersected with the grid footprint), snapped to pixel edges → a smaller grid with new bounds. Preserves the pixel array's type.
Crop a grid to a bbox (intersected with the grid footprint), snapped to pixel edges → a smaller grid with new bounds. Preserves the pixel array's type.