oceanval 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. oceanval-0.1.0/MANIFEST.in +28 -0
  2. oceanval-0.1.0/PKG-INFO +72 -0
  3. oceanval-0.1.0/README.md +66 -0
  4. oceanval-0.1.0/oceanval/__init__.py +1033 -0
  5. oceanval-0.1.0/oceanval/chunkers.py +70 -0
  6. oceanval-0.1.0/oceanval/data/.trackers/nctoolkit_rwi_eseqyqyonctoolkit +0 -0
  7. oceanval-0.1.0/oceanval/data/001_methods.ipynb +117 -0
  8. oceanval-0.1.0/oceanval/data/TM_WORLD_BORDERS-0.3.dbf +0 -0
  9. oceanval-0.1.0/oceanval/data/TM_WORLD_BORDERS-0.3.prj +1 -0
  10. oceanval-0.1.0/oceanval/data/TM_WORLD_BORDERS-0.3.shp +0 -0
  11. oceanval-0.1.0/oceanval/data/TM_WORLD_BORDERS-0.3.shx +0 -0
  12. oceanval-0.1.0/oceanval/data/chunk_bias.py +62 -0
  13. oceanval-0.1.0/oceanval/data/chunk_clim.py +164 -0
  14. oceanval-0.1.0/oceanval/data/chunk_empty.py +1 -0
  15. oceanval-0.1.0/oceanval/data/chunk_end.py +11 -0
  16. oceanval-0.1.0/oceanval/data/chunk_globals.py +4 -0
  17. oceanval-0.1.0/oceanval/data/chunk_point.py +897 -0
  18. oceanval-0.1.0/oceanval/data/chunk_results.py +38 -0
  19. oceanval-0.1.0/oceanval/data/chunk_seasonal.py +723 -0
  20. oceanval-0.1.0/oceanval/data/chunk_start.py +73 -0
  21. oceanval-0.1.0/oceanval/data/comparison_bias.ipynb +537 -0
  22. oceanval-0.1.0/oceanval/data/comparison_point.ipynb +236 -0
  23. oceanval-0.1.0/oceanval/data/comparison_regional.ipynb +362 -0
  24. oceanval-0.1.0/oceanval/data/comparison_seasonal.ipynb +341 -0
  25. oceanval-0.1.0/oceanval/data/comparison_spatial.ipynb +271 -0
  26. oceanval-0.1.0/oceanval/data/gridded_template.ipynb +1389 -0
  27. oceanval-0.1.0/oceanval/data/intro.md +9 -0
  28. oceanval-0.1.0/oceanval/data/intro_compare_simulations.md +10 -0
  29. oceanval-0.1.0/oceanval/data/pml_logo.jpg +0 -0
  30. oceanval-0.1.0/oceanval/data/point_template.ipynb +443 -0
  31. oceanval-0.1.0/oceanval/data/summary.ipynb +909 -0
  32. oceanval-0.1.0/oceanval/fixers.py +66 -0
  33. oceanval-0.1.0/oceanval/fvcom.py +264 -0
  34. oceanval-0.1.0/oceanval/gridded.py +726 -0
  35. oceanval-0.1.0/oceanval/matchall.py +1683 -0
  36. oceanval-0.1.0/oceanval/parsers.py +878 -0
  37. oceanval-0.1.0/oceanval/session.py +7 -0
  38. oceanval-0.1.0/oceanval/tidiers.py +207 -0
  39. oceanval-0.1.0/oceanval/utils.py +138 -0
  40. oceanval-0.1.0/oceanval.egg-info/SOURCES.txt +41 -0
  41. oceanval-0.1.0/pyproject.toml +5 -0
  42. oceanval-0.1.0/requirements.txt +25 -0
  43. oceanval-0.1.0/setup.cfg +4 -0
  44. oceanval-0.1.0/setup.py +69 -0
@@ -0,0 +1,28 @@
1
+ include MANIFEST.in
2
+ include LICENSE
3
+ include README.md
4
+ include setup.py
5
+ include requirements.txt
6
+ exclude .gitattributes
7
+ exclude build-conda-package
8
+ #
9
+ #
10
+ #graft oceanval
11
+ #
12
+ #
13
+ global-exclude *.bz2
14
+ recursive-exclude docs *
15
+ recursive-exclude tests *
16
+ recursive-exclude tutorials *
17
+ recursive-exclude oceanval.egg-info *
18
+ recursive-exclude .github *
19
+ global-exclude docs/*
20
+ global-exclude *.nc
21
+ global-exclude *.sh
22
+ global-exclude *.rst
23
+ global-exclude *.yml
24
+ global-exclude *.yaml
25
+ global-exclude *.txt
26
+ global-exclude .coveragerc
27
+ global-exclude .gitignore
28
+ include requirements.txt
@@ -0,0 +1,72 @@
1
+ Metadata-Version: 2.4
2
+ Name: oceanval
3
+ Version: 0.1.0
4
+ Summary: A Python package for ocean model validation and analysis
5
+ Home-page: https://github.com/pmlmodelling/oceanVal
6
+ Author: Robert Wilson
7
+ Author-email: rwi@pml.ac.uk
8
+ Maintainer: Robert Wilson
9
+ Project-URL: Bug Tracker, https://github.com/pmlmodelling/oceanVal/issues
10
+ Project-URL: Source Code, https://github.com/pmlmodelling/oceanVal
11
+ Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
12
+ Classifier: Operating System :: POSIX :: Linux
13
+ Classifier: Operating System :: MacOS
14
+ Classifier: Programming Language :: Python :: 3.6
15
+ Classifier: Programming Language :: Python :: 3.7
16
+ Classifier: Programming Language :: Python :: 3.8
17
+ Classifier: Programming Language :: Python :: 3.9
18
+ Requires-Python: >=3.6.1
19
+ Requires-Dist: xarray
20
+ Requires-Dist: netCDF4
21
+ Requires-Dist: hvplot
22
+ Requires-Dist: panel
23
+ Requires-Dist: pandas
24
+ Requires-Dist: ncplot
25
+ Requires-Dist: dill
26
+ Requires-Dist: python-dateutil
27
+ Requires-Dist: matplotlib
28
+ Requires-Dist: jupytext
29
+ Requires-Dist: nctoolkit>=1.1.1
30
+ Requires-Dist: jellyfish
31
+ Requires-Dist: geopandas
32
+ Requires-Dist: holoviews
33
+ Requires-Dist: plotnine
34
+ Requires-Dist: jupyter-book==1.0.4
35
+ Requires-Dist: seawater
36
+ Requires-Dist: cmocean
37
+ Requires-Dist: numpydoc
38
+ Requires-Dist: sphinx_rtd_theme
39
+ Requires-Dist: nbsphinx
40
+ Requires-Dist: molmass
41
+ Requires-Dist: fiona
42
+ Provides-Extra: complete
43
+ Requires-Dist: geoviews; extra == "complete"
44
+ Requires-Dist: rioxarray; extra == "complete"
45
+ Requires-Dist: cfchecker; extra == "complete"
46
+ Requires-Dist: geocube; extra == "complete"
47
+ Requires-Dist: geopandas; extra == "complete"
48
+ Dynamic: author
49
+ Dynamic: author-email
50
+ Dynamic: classifier
51
+ Dynamic: description
52
+ Dynamic: home-page
53
+ Dynamic: maintainer
54
+ Dynamic: project-url
55
+ Dynamic: provides-extra
56
+ Dynamic: requires-dist
57
+ Dynamic: requires-python
58
+ Dynamic: summary
59
+
60
+
61
+
62
+ **oceanVal** is a Python package designed to automate the process of validating ocean models against observational datasets. It provides a suite of tools to facilitate the comparison of model outputs with various observational data sources, enabling researchers to assess model performance effectively.
63
+
64
+ Core abilities of oceanVal include:
65
+
66
+ - Matching model output variables to observational datasets
67
+ - Assesing spatial and temporal performance of ocean models
68
+ - Assessing model skill using a variety of statistical metrics
69
+ - Asssessing extent of model biases
70
+ - Generating comprehensive validation reports in html format
71
+
72
+
@@ -0,0 +1,66 @@
1
+ [![Documentation Status](https://readthedocs.org/projects/oceanval/badge/?version=latest)](https://oceanval.readthedocs.io/en/latest/?badge=latest)
2
+
3
+ # oceanVal
4
+ Marine ecosystem model validation made easy in Python
5
+
6
+
7
+ # Installation
8
+
9
+ First, clone this directory:
10
+
11
+ ```sh
12
+ git clone https://github.com/pmlmodelling/oceanval.git
13
+ ```
14
+
15
+ Then move to this directory.
16
+
17
+ ```sh
18
+ cd oceanval
19
+ ```
20
+
21
+
22
+ Second, 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.
23
+
24
+ ```sh
25
+ conda env create -f oceanval.yml
26
+ ```
27
+
28
+
29
+
30
+ Activate this environment.
31
+
32
+ ```sh
33
+ conda activate oceanval
34
+ ```
35
+
36
+ Now, sometimes R package installs go wrong in conda. Run the following command to ensure Rcpp is installed correctly.
37
+
38
+ ```sh
39
+ Rscript -e "install.packages('Rcpp', repos = 'https://cloud.r-project.org/')"
40
+ ```
41
+
42
+ Now, install the package.
43
+
44
+ ```sh
45
+ pip install .
46
+
47
+ ```sh
48
+ conda activate oceanval
49
+ ```
50
+
51
+
52
+ Now, install the package.
53
+
54
+ ```sh
55
+ pip install .
56
+
57
+ ```
58
+ Alternatively, install the conda environment and package using the following commands:
59
+
60
+ ```sh
61
+ conda env create --name oceanval -f https://raw.githubusercontent.com/pmlmodelling/oceanval/main/oceanval.yml
62
+ conda activate oceanval​
63
+ pip install git+https://github.com/pmlmodelling/oceanval.git​
64
+ ```
65
+
66
+ A website and user guide is available at: https://oceanval.readthedocs.io/en/latest/.