Skip to main content

Neutral Surfaces in the Ocean

Project description

neutralocean

Calculate neutral surfaces in the ocean, using Python

Installation

If you use pip, simply execute

$ pip install neutralocean

If you use conda, we're going to still use pip because I haven't uploaded neutralocean to conda-forge yet. I will do that soon. In the meantime, it's probably best to install the main dependencies from conda-forge, first.

$ conda install -c conda-forge numba numpy scipy scikit-sparse xarray gsw pip pooch

Now that we've got most things from conda-forge, we'll get just neutralocean from pip:

$ pip install neutralocean

Usage

Try running the example script:

python /path/to/neutralocean/neutralocean/examples/run_OCCA.py

If that runs, we're in business.
Take a look at that example script, run_OCCA.py located in neutralocean/examples/. It is documented and will walk you through loading an ocean model dataset, selecting an equation of state, calculating various approximately neutral surfaces, and more.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

neutralocean-0.0.16.tar.gz (57.9 kB view hashes)

Uploaded Source

Built Distribution

neutralocean-0.0.16-py3-none-any.whl (70.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page