Ocean model validation made easy in Python.
To learn more about the package, visit the OceanVal website. The
OceanVal is designed for the automated creation of validation reports. You provide the model and validation data. OceanVal does the rest. A short example of what the report looks like can be found here.
OceanVal should be used with Python versions 3.10-3.13.
You can install the latest release OceanVal from conda-forge as follows:
conda install conda-forge::oceanvalYou can install the development version of OceanVal from GitHub using the following steps.
First, clone this directory:
git clone https://github.com/pmlmodelling/oceanval.gitThen move to this directory.
cd oceanvalSecond, set up a conda environment. If you want the envionment to called something other than oceanval, you can change the name in the oceanval.yml file.
conda env create -f oceanval.ymlActivate this environment.
conda activate oceanvalNow, sometimes R package installs go wrong in conda. Run the following command to ensure Rcpp is installed correctly.
Rscript -e "install.packages('Rcpp', repos = 'https://cloud.r-project.org/')"Now, install the package.
pip install .
```sh
conda activate oceanvalNow, install the package.
pip install .
Alternatively, install the conda environment and package using the following commands:
conda env create --name oceanval -f https://raw.githubusercontent.com/pmlmodelling/oceanval/main/oceanval.yml
conda activate oceanval
pip install git+https://github.com/pmlmodelling/oceanval.git