johntruckenbrodt / pyroSAR

framework for large-scale SAR satellite data processing
MIT License
494 stars 110 forks source link

Adding refined selection via geometry as opt-in select argument #282

Closed MarkusZehner closed 4 months ago

MarkusZehner commented 9 months ago

added argument by_geometry to Archive.select, this will iterate over the found scenes and only returns overlapping ones with the geometry instead of the footprint.

Most time is spent in the identify, maybe there is a slimmed down approach to get the geometry faster? Directly intersect spatialist.Vector takes longer than the ogr conversion (230s vs 130s on ~1300 scenes)

hope this helps :)

johntruckenbrodt commented 4 months ago

closed in favor of https://github.com/johntruckenbrodt/pyroSAR/pull/296