oceanmodeling / searvey

Sea state observational data retrieval
https://searvey.readthedocs.io/en/stable/
GNU General Public License v3.0
23 stars 11 forks source link
observations ocean-modelling ocean-sciences

searvey

pre-commit.ci tests readthedocs Binder

Searvey aims to provide the following functionality:

Installation

The package can be installed with pip:

pip install searvey

and conda`:

conda install -c conda-forge searvey

Development

In order to develop searvey you will need:

In order to setup the dev environment you can use:

python3 -mvenv .venv
source .venv/bin/activate
make init

which will:

  1. create and activate a virtual environment,
  2. install the full set of dependencies
  3. Setup the pre-commit hooks

After that you should run the tests with:

make test

If you execute make without arguments, you should see more subcommands. E.g.

make mypy
make lint
make docs
make deps

Check them out!

Jupyter

If you wish to use jupyterlab to test searvey, then, assuming you have an existing jupyterlab installation, you should be able to add a kernel to it with:

python -m ipykernel install --user --name searvey