ocean-model-skill-assessor
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:
- Make a catalog for your model output.
- Make a catalog for your data.
- 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)
| File | Size | Uploaded | |
|---|---|---|---|
| ocean_model_skill_assessor-1.3.2.tar.gz | 835.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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 logRelease 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