DOI-USGS / DOI-USGS/plio

test map projection option in array_to_raster

Open
#150 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
Python
Stars
16
Forks
26
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.