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

test map projection option in array_to_raster #150

Open
thareUSGS opened this issue Aug 12, 2020 · 0 comments
Open

test map projection option in array_to_raster #150

thareUSGS opened this issue Aug 12, 2020 · 0 comments

Comments

@thareUSGS
Copy link
Contributor

thareUSGS commented Aug 12, 2020

https://github.com/USGS-Astrogeology/plio/blob/a55f6d73b238887d0df4e5b6fc829fd96a28f4be/plio/io/tests/test_io_gdal.py#L187
It would be good to add a test for testing map projections during file creation in Plio.

In Pyhat we are running into issues writing map projections from CRISM files. In QGIS, the Python try, except isn't enough to be able to continue writing the files without a projection. Thus the file fails creation. For more see: https://github.com/USGS-Astrogeology/pyhat_qgis/issues/6

@AustinSanders stated perhaps we need to enable Python gdal bindings to raise exceptions by setting gdal.UseExceptions(). Does this need to be defined in Plio also?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant