A package to fully run the comparison between data and model to assess model skill.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ocean-model-skill-assessor-1.1.0.tar.gz
.
File metadata
- Download URL: ocean-model-skill-assessor-1.1.0.tar.gz
- Upload date:
- Size: 768.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7ab15f2a84c09008f54338856e7ed80417cdef3a7437d0fa43e82dbb10e8b42 |
|
MD5 | 2f3f44c88f19b087fde6335148a3d56d |
|
BLAKE2b-256 | c5beb0a6d89702836f5fa82079a9583c512219bf528b7fbfa1ed77d4b21fc095 |
File details
Details for the file ocean_model_skill_assessor-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: ocean_model_skill_assessor-1.1.0-py3-none-any.whl
- Upload date:
- Size: 55.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cecbc1705dc59060f3a8a12e5ade7dff94fb5907779026b307310bd9d4984f15 |
|
MD5 | 6f67c4017b423cbe741dc8e7e5538fe7 |
|
BLAKE2b-256 | d955464bac9b04833a7392fc7d86a31387d2f6ee4c84bff63861e627d8240f27 |