@vkbo I think we will have a bit of plotting using basemap in this project. I am a bit unsure how this specific package should be added in the requirements.txt
It looks like the basemap package is not available from pip (the version there is extremely old):
@vkbo I think we will have a bit of plotting using basemap in this project. I am a bit unsure how this specific package should be added in the requirements.txt
It looks like the basemap package is not available from pip (the version there is extremely old):
https://matplotlib.org/basemap/users/download.html
"Basemap is no longer uploaded to PyPI due to its size and non-python external dependencies."
I personally installed locally with:
sudo apt-get install -y python-mpltoolkits.basemap
(note this may be a bad idea, and the recommended method is probably rather to use conda, but but...).
How do you think this should be defined in the https://github.com/metno/MachineOcean-WP12/blob/master/requirements.txt ? ...
Also, this does not seem to be a completely usual package, as it installs as a subpackage:
from mpl_toolkits.basemap import Basemap
is the way to import.
Wondering if you know more about how the requirements should be formulated then. If you are unsure too I can look for more doc on my side :) .