Skip to main content

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

Metadata

Release files for ocean-model-skill-assessor 1.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ocean-model-skill-assessor 1.3.2
File Size Uploaded
ocean_model_skill_assessor-1.3.2.tar.gz 835.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ocean-model-skill-assessor 1.3.2
File Interpreter ABI Platform
ocean_model_skill_assessor-1.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 902.1 kB

Release files / ocean_model_skill_assessor-1.3.2.tar.gz

Download URL ocean_model_skill_assessor-1.3.2.tar.gz
Size 835.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ffa5bc0d81a43bb9aff3a78d8a36bc2b77d4066c55591af53a3517a8ddb3a45d
BLAKE2b-256 checksum
How to use checksums
98d0f113ee834465cdc72f898a4d371b4b55f62fae96cc6baaae156ab356190e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2024.

Transparency log

Release files / ocean_model_skill_assessor-1.3.2-py3-none-any.whl

Download URL ocean_model_skill_assessor-1.3.2-py3-none-any.whl
Size 66.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b0e1a4197279264a29e308eed48bdb4277eb65e6c58d9dd2a3bf9f32fa89737
BLAKE2b-256 checksum
How to use checksums
002b179d5e33507ac20ec3432609719ca99b2ea3aad9e9a3704b4c23477e33d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2024.

Transparency log

Release history Release notifications | RSS feed

This release

1.3.2 This release

2 release files

1.3.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.2

2 release files

0.4.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page