Installation

Stable release

If you want to do science, the stable release is the correct choice.

Using PIP

To install Ocean Color package, run this command in your terminal:

$ pip install OceanColor

If you don’t have pip installed, this Python installation guide can guide you through the process.

Using Conda

If you use conda, you shall add conda-forge to your channels, if you don’t already have it,

$ conda config --append channels conda-forge

and install OceanColor together with loky. While loky is not required, it will allow for faster searches

$ conda install oceancolor
$ conda install loky

From sources

If you are looking for the source code with the intention of contributing with modifications, please check the Contributing section of this manual.

PIP

Probably the most convenient way to install from the source is is using PIP:

$ pip install git+https://github.com/castelao/OceanColor.git

It the background, it will download the latest stable source and install it.

Manually

The sources for Ocean Color can be downloaded from the GitHub repo.

You can either clone the public repository:

$ git clone git://github.com/castelao/OceanColor

Or download the tarball:

$ curl -OJL https://github.com/castelao/OceanColor/tarball/master

Once you have a copy of the source, you can install it with:

$ python setup.py install