DOI-USGS / DOI-USGS/plio

Update gdal import

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

Description

Gdal is being imported in the `__inti__.py` inside of the io module using find_spec and manually loading the module.

This can lead to problems within a jupyter notebook where plio can't find gdal due to the way packages are handled in conda envs.

This could probably be changed to a try except around the usual import method.

https://github.com/USGS-Astrogeology/plio/blob/baf43c4296b51cb1cbb7dfacd783f456605677d6/plio/io/__init__.py#L6

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.