Closed kkmcgg closed 3 years ago
Resolved, sort of, in 154eaa110b957aecd4f07030ab6cefea47c10093. The coreJG branch is too far behind to merge easily.
That should work! Now to implement it for loading a shapefile in the Zostera project!
I've got to reopen this one as unfortunately google colab does not have shapefile as a built-in! (oh no!) For the sake of this class (such as our tutorials and experiments) its really convenient to us that things work in colab. I'll comment out the function for now so that it will run. I think we can either explicitly pull the library OR we can get our package working properly wherein our requirements will be installed once we pip install our library from the git. https://packaging.python.org/tutorials/packaging-projects/
The sadness in colab: `--------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last)
this has been resolved now that we have our package setup.
make sure to use!pip install git+https://github.com/NSCC-COGS/Aestheta.git
to have external required packages installed
https://github.com/NSCC-COGS/Aestheta/blob/75f33c06b2d41b234b2e140835f768096dbfd257/Library/core.py#L9
shpreader can be used to load shapefiles into numpy arrays and only exists in the coreJG branch. We will need this functionality for the zostera project. We should move this over to the main branch.
Move, copy, or merge core.shpreader() into the main branch from the coreJG branch