apt install python3-gdal libhdf5-serial-dev libnetcdf-dev
Create a virtualenv::
Install dependencies & package and run tests::
$ rm -rf .venv
$ virtualenv .venv --system-site-packages
$ .venv/bin/pip install -r requirements.txt
$ .venv/bin/pip install -e .[test]
Update packages::
$ rm -rf .venv
$ virtualenv .venv --system-site-packages
$ .venv/bin/pip install -e .
$ .venv/bin/pip freeze --local | grep -v scripts > requirements.txt
rm -rf .venv virtualenv .venv --system-site-packages .venv/bin/pip install -e . .venv/bin/pip freeze --local | grep -v scripts > requirements.txt rm -rf .venv virtualenv .venv --system-site-packages .venv/bin/pip install -r requirements.txt .venv/bin/pip install -e .[test]