johntruckenbrodt / pyroSAR

framework for large-scale SAR satellite data processing
MIT License
513 stars 112 forks source link

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

Closed MarkusZehner closed 7 months ago

MarkusZehner commented 12 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 7 months ago

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