Skip to main content

A package to fully run the comparison between data and model to assess model skill.

Project description

ocean-model-skill-assessor

Build Status Code Coverage License:MIT Documentation Status Code Style Status Conda Version

A package to fully run the comparison between data and model to assess model skill.


Project based on the cookiecutter science project template.

Run Demo without Installation

Click the binder button to open up a demonstration notebook in your browser window

Binder

Installation

Set up fresh environment for this package

First, make sure you have Anaconda or Miniconda installed.

Then, clone this repository:

$ git clone https://github.com/axiom-data-science/ocean-model-skill-assessor.git

In the ocean_model_skill_assessor directory, install a conda environment with convenient packages for working with this package (beyond the requirements):

$ conda env create -f environment.yml

Note that installing the packages is faster if you first install mamba to your base Python and then use mamba in place of conda.

Activate your new Python environment to use it with

$ conda activate ocean-model-skill-assessor

Install into existing Python environment

Install the package plus its requirements from conda-forge with

$ conda install -c conda-forge ocean_model_skill_assessor

Or you can git clone the repository and then pip install it locally into your existing Python environment: For local package install, in the ocean_model_skill_assessor directory:

$ pip install -e .

Extra packages for development

To also develop this package, install additional packages with:

$ conda install --file requirements-dev.txt

To then check code before committing and pushing it to github, locally run

$ pre-commit run --all-files

Run Demo

In your terminal window, activate your Python environment if you are using one, then type jupyter lab in the ocean_model_skill_assessor directory. This will open into your browser window. Navigate to docs/Demo-AK.ipynb or any of the other notebooks and double-click to open. Inside a notebook, push shift-enter to run individual cells, or the play button at the top to run all cells, or select commands under the Run menu.

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

ocean-model-skill-assessor-0.4.2.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

ocean_model_skill_assessor-0.4.2-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

Details for the file ocean-model-skill-assessor-0.4.2.tar.gz.

File metadata

File hashes

Hashes for ocean-model-skill-assessor-0.4.2.tar.gz
Algorithm Hash digest
SHA256 b1ce3edbc95c6e218d7e9a7f8f6eebdf5ecf0f439949140ce061eefffe88e707
MD5 5ba4b64746c586ab9b0d64e7acc8e32f
BLAKE2b-256 09e5f7cf8692d7b5d84ced2005fe341baea9faaa124d7c6c393feae27ce94eda

See more details on using hashes here.

File details

Details for the file ocean_model_skill_assessor-0.4.2-py3-none-any.whl.

File metadata

File hashes

Hashes for ocean_model_skill_assessor-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4ab511dfc6cfca0bfb3159380c8bb257baed03bd5dd8262d60bc664dcc966e2b
MD5 7446550a70e8160abbba6843ee0df2ba
BLAKE2b-256 34663c77ddb3424617398920d0dabb0cb5563ba5596d266f2745b999cf7e9fab

See more details on using hashes here.

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