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

GCP optimization - UTM zone ValueError #6

Open
MatteaE opened this issue Jan 24, 2023 · 2 comments
Open

GCP optimization - UTM zone ValueError #6

MatteaE opened this issue Jan 24, 2023 · 2 comments
Assignees

Comments

@MatteaE
Copy link

MatteaE commented Jan 24, 2023

I am trying to run the full orthorectification workflow on a single SPOT 5 HRG scene, using a Pléiades orthorectified scene + DEM as reference.
When I call cGCPOptimization(), I get the attached error message. For some reason, there is also a warning "UserWarning: Reproject DEM from 32642-->32641", but the entire domain lies well within the EPSG:32642 region.

gcpOptimization_errorMessage.txt

@MatteaE
Copy link
Author

MatteaE commented Jan 26, 2023

Updated findings: the error happens only if the reference DEM has gaps and/or does not cover the full extent of the SPOT scene. Using a complete global DEM with a large extent, the workflow runs without issues.

@SaifAati
Copy link
Owner

Great! thank you @MatteaE for the update. I will add a TODO comment to handle NaNs or non full cover DEMs.

@SaifAati SaifAati self-assigned this Jul 10, 2024
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

No branches or pull requests

2 participants