eogrow.utils.grid
Utilities for working with area grids
- eogrow.utils.grid.split_bbox(named_bbox, split_x, split_y, buffer_x, buffer_y, naming_schema='{name}_{i_x}_{i_y}')[source]
Splits a BBox into multiple smaller BBoxes with new names generated for them.
The buffer parameters describe the buffer of the original BBox, which is copied to the split ones.
- Parameters:
named_bbox (tuple[str, sentinelhub.geometry.BBox]) –
split_x (int) –
split_y (int) –
buffer_x (float) –
buffer_y (float) –
naming_schema (str) –
- Return type:
list[tuple[str, sentinelhub.geometry.BBox]]