alsdb.processing._tiling.check_bbox_overlap#

alsdb.processing._tiling.check_bbox_overlap(requested: tuple[float, float, float, float], provider) bool[source]#

Return True if requested overlaps the stored data extent.

Logs a warning and returns False when there is no overlap, so the caller can bail out early rather than processing tiles that will all be empty.

Parameters:
  • requested(min_x, min_y, max_x, max_y) passed by the user.

  • provider – TileDB provider; used to read nonempty_domain.