Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

geometry buffering for minimum overlap #147

Merged
merged 11 commits into from
Oct 11, 2023
Merged

Conversation

johntruckenbrodt
Copy link
Member

@johntruckenbrodt johntruckenbrodt commented Oct 11, 2023

For geocoding, the processor first selects all MGRS tiles in a particular UTM zone with a SAR scene. The bounding box of the selected tiles is then used as subset for geocoding only parts of the scene. It can happen that the selected subset is too small and SNAP trows an error. This is more likely to occur near the poles where up to nine different UTM zones were observed to overlap with one EW scene.
With this PR, a new function is introduced to buffer the subset geometry to have a minimum overlap of 1% with the scene's footprint to ensure a sufficiently large subset for geocoding.
This is handled by functions ancillary.buffer_min_overlapand tile_extraction.aoi_from_scene. The latter was outsourced from code in snap.process.

@johntruckenbrodt johntruckenbrodt marked this pull request as draft October 11, 2023 14:58
@johntruckenbrodt johntruckenbrodt marked this pull request as ready for review October 11, 2023 17:17
@johntruckenbrodt johntruckenbrodt merged commit 27b85e5 into main Oct 11, 2023
1 check passed
@johntruckenbrodt johntruckenbrodt deleted the feature/aoi_from_scene branch October 12, 2023 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant