pyinterp.geometry.satellite.filter_by_extent#
- pyinterp.geometry.satellite.filter_by_extent(segments: collections.abc.Sequence[pyinterp.core.geometry.satellite.TrackSegment], extent: pyinterp.core.geometry.geographic.Box) list[pyinterp.core.geometry.satellite.TrackSegment]#
Filter segments by intersection with a data extent.
- Parameters:
segments – List of TrackSegment objects to filter.
extent – Geographic bounding box to use for filtering.
- Returns:
List of TrackSegment objects whose bounding boxes intersect with the given extent.