MapInterp is a set of tools for interpolating ocean data. Data is presumed to come from OceanDB.
Once OceanDB is installed, MapInterp should be cloned into a parallel directory, i.e.
root-dir/
├─ OceanDB/
├─ MapInterp/
You will need a .env file to connect to the OceanDB database. You can copy .env.example to .env, and modify as necessary.
cp .env.example .envIf you wish to use a virtual environment, you can start one with
python -m venv .venv
source .venv/bin/activateInstall the python dependencies with
pip install .(Note that if you are NOT using a virtual environment, you may have to use python -m pip instead of pip.)
An example can be found in test.py Run via
python test.pyNote that this test relies on the database being accessible with permissions in .env.