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
Hashes for ocean-model-skill-assessor-0.6.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 972f53d28215e192385e78250df3ce2e45ccc04552950a5ec50e09946bdeb9e7 |
|
MD5 | 475aecca03e02194a62896d1a7c01570 |
|
BLAKE2b-256 | 80ff1ba703e414e760987faf9e3f4bce6ef12173d6d7cad9021fb744a8d2ddf3 |
Hashes for ocean_model_skill_assessor-0.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00517781608c3281067282a038608f63ad59ce509f944d67187ac8947a39e499 |
|
MD5 | 76cf6d6e566fce47ad5079172cf96290 |
|
BLAKE2b-256 | cf007b6dcee965fdeb1191e40b7d7b4e6d4cc3a992177598042ccc54fe517bfa |