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.
Project based on the cookiecutter science project template.
Run Demo without Installation
Click the binder button to open up a demonstration notebook in your browser window
Installation
Set up fresh environment for this package
First, make sure you have Anaconda or Miniconda installed.
Then, clone this repository:
$ git clone https://github.com/axiom-data-science/ocean-model-skill-assessor.git
In the ocean_model_skill_assessor
directory, install a conda environment with convenient packages for working with this package (beyond the requirements):
$ conda env create -f environment.yml
Note that installing the packages is faster if you first install mamba
to your base Python and then use mamba
in place of conda
.
Activate your new Python environment to use it with
$ conda activate ocean-model-skill-assessor
Install into existing Python environment
Install the package plus its requirements from conda-forge
with
$ conda install -c conda-forge ocean_model_skill_assessor
Or you can git clone the repository and then pip install it locally into your existing Python environment:
For local package install, in the ocean_model_skill_assessor
directory:
$ pip install -e .
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
Run Demo
In your terminal window, activate your Python environment if you are using one, then type jupyter lab
in the ocean_model_skill_assessor
directory. This will open into your browser window. Navigate to docs/Demo-AK.ipynb
or any of the other notebooks and double-click to open. Inside a notebook, push shift-enter
to run individual cells, or the play button at the top to run all cells, or select commands under the Run
menu.
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-0.5.0.tar.gz
.
File metadata
- Download URL: ocean-model-skill-assessor-0.5.0.tar.gz
- Upload date:
- Size: 437.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1399fae8951d85286871108e6d0dd33d343581388dcb2f82df00b6247ddca66f |
|
MD5 | 0acab35b5e5e6330d710ece62e74418d |
|
BLAKE2b-256 | 2e4584d5a03422442e15234bd721860befd0ed18ba89aebd8a51df24419444d9 |
File details
Details for the file ocean_model_skill_assessor-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: ocean_model_skill_assessor-0.5.0-py3-none-any.whl
- Upload date:
- Size: 23.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25ab934fcacd5ea3a6bfc4f0d3d726e8a79052d4c84e4426b71f7b087b308436 |
|
MD5 | 7196421a68daeabaf169b981a7dc8557 |
|
BLAKE2b-256 | 76f83dbc92eef951dee59917cea36ab2e10c027208c100b5fd0881b82b6000cb |