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 Python Package Index

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

You can run the analysis as a Python package or with a command-line interface.

There are three steps to follow for a set of model-data validation, which is for one variable:

  1. Make a catalog for your model output.
  2. Make a catalog for your data.
  3. Run the comparison.

These steps will save files into a user application directory cache. See the demos for more details.


Project based on the cookiecutter science project template.

Installation

Set up environment

NOTE: Make sure you have Anaconda or Miniconda installed.

Create a conda environment called "omsa" that includes the package ocean-model-skill-assessor:

$ conda create -n omsa -c conda-forge ocean-model-skill-assessor

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

Activate your new Python environment to use it with

$ conda activate omsa

Also install cartopy to be able to plot maps:

$ conda install -c conda-forge cartopy

Install into existing environment

From conda-forge:

$ conda install -c conda-forge ocean-model-skill-assessor

From PyPI:

$ pip install ocean-model-skill-assessor

To plot a map of the model domain with data locations, you'll need to additionally install cartopy. If you used conda above:

$ conda install -c conda-forge cartopy

If you installed from PyPI, check out the instructions for installing cartopy here.

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

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-1.3.2.tar.gz (835.5 kB view details)

Uploaded Source

Built Distribution

ocean_model_skill_assessor-1.3.2-py3-none-any.whl (66.7 kB view details)

Uploaded Python 3

File details

Details for the file ocean_model_skill_assessor-1.3.2.tar.gz.

File metadata

File hashes

Hashes for ocean_model_skill_assessor-1.3.2.tar.gz
Algorithm Hash digest
SHA256 ffa5bc0d81a43bb9aff3a78d8a36bc2b77d4066c55591af53a3517a8ddb3a45d
MD5 275c27245bc4443d2b981819cd29d0bc
BLAKE2b-256 98d0f113ee834465cdc72f898a4d371b4b55f62fae96cc6baaae156ab356190e

See more details on using hashes here.

Provenance

The following attestation bundles were made for ocean_model_skill_assessor-1.3.2.tar.gz:

Publisher: release.yaml on axiom-data-science/ocean-model-skill-assessor

Attestations:

File details

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

File metadata

File hashes

Hashes for ocean_model_skill_assessor-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5b0e1a4197279264a29e308eed48bdb4277eb65e6c58d9dd2a3bf9f32fa89737
MD5 f8097f8c253819e2054cccf26b1ba3e3
BLAKE2b-256 002b179d5e33507ac20ec3432609719ca99b2ea3aad9e9a3704b4c23477e33d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for ocean_model_skill_assessor-1.3.2-py3-none-any.whl:

Publisher: release.yaml on axiom-data-science/ocean-model-skill-assessor

Attestations:

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