OceanSpy
An open source and user-friendly Python package that enables scientists and interested amateurs to analyze and visualize ocean model datasets.
https://github.com/hainegroup/oceanspy
Category: Hydrosphere
Sub Category: Ocean and Hydrology Data Access
Keywords
ocean oceanography physical-oceanography
Keywords from Contributors
ocean-modelling
Last synced: about 14 hours ago
JSON representation
Repository metadata
A Python package to facilitate ocean model data analysis and visualization.
- Host: GitHub
- URL: https://github.com/hainegroup/oceanspy
- Owner: hainegroup
- License: mit
- Created: 2018-04-09T06:20:24.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2025-12-08T19:20:56.000Z (17 days ago)
- Last Synced: 2025-12-13T05:44:38.286Z (12 days ago)
- Topics: ocean, oceanography, physical-oceanography
- Language: Jupyter Notebook
- Homepage: https://oceanspy.readthedocs.io
- Size: 36.3 MB
- Stars: 116
- Watchers: 10
- Forks: 34
- Open Issues: 18
- Releases: 9
-
Metadata Files:
- Readme: README.rst
- Changelog: HISTORY.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
- Codeowners: CODEOWNERS
README.rst
.. _readme:
======================================================================================
OceanSpy - A Python package to facilitate ocean model data analysis and visualization.
======================================================================================
|OceanSpy|
|version| |conda forge| |docs| |CI| |pre-commit| |codecov| |black| |license| |doi| |JOSS| |binder|
.. admonition:: Interactive Demo
Check out the interactive demonstration of OceanSpy at `www.bndr.it/gfvgd `_
For publications, please cite the following paper:
Almansi, M., R. Gelderloos, T. W. N. Haine, A. Saberi, and A. H. Siddiqui (2019). OceanSpy: A Python package to facilitate ocean model data analysis and visualization. *Journal of Open Source Software*, 4(39), 1506, doi: https://doi.org/10.21105/joss.01506 .
This material is based upon work supported by the National Science Foundation under Grant Numbers 1835640, 124330, 118123, and 1756863. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the National Science Foundation.
What is OceanSpy?
-----------------
**OceanSpy** is an open-source and user-friendly Python package that enables scientists and interested amateurs to analyze and visualize ocean model datasets.
OceanSpy builds on software packages developed by the Pangeo_ community, in particular xarray_, dask_, and xgcm_.
The integration of dask facilitates scalability, which is important for the petabyte-scale simulations that are becoming available.
Why OceanSpy?
-------------
Simulations of ocean currents using numerical circulation models are becoming increasingly realistic.
At the same time, these models generate increasingly large volumes of model output data, making the analysis of model data harder.
Using OceanSpy, model data can be easily analyzed in the way observational oceanographers analyze field measurements.
How to use OceanSpy?
--------------------
OceanSpy can be used as a standalone package for analysis of local circulation model output, or it can be run on a remote data-analysis cluster, such as the Johns Hopkins University SciServer_ system, which hosts several simulations and is publicly available (see `SciServer Access`_, and `Datasets`_).
.. note::
OceanSpy has been developed and tested using MITgcm output. However, it is designed to work with any (structured grid) ocean general circulation model. OceanSpy's architecture allows to easily implement model-specific features, such as different grids, numerical schemes for vector calculus, budget closures, and equations of state. We actively seek input and contributions from users of other ocean models (`feedback submission`_).
.. _Pangeo: http://pangeo-data.github.io
.. _xarray: http://xarray.pydata.org
.. _dask: https://dask.org
.. _xgcm: https://xgcm.readthedocs.io
.. _SciServer: http://www.sciserver.org
.. _`SciServer Access`: https://oceanspy.readthedocs.io/en/latest/sciserver.html
.. _Datasets: https://oceanspy.readthedocs.io/en/latest/datasets.html
.. _`feedback submission`: https://github.com/hainegroup/oceanspy/issues
.. |OceanSpy| image:: https://github.com/hainegroup/oceanspy/raw/main/docs/_static/oceanspy_logo_blue.png
:alt: OceanSpy image
:target: https://oceanspy.readthedocs.io
.. |version| image:: https://img.shields.io/pypi/v/oceanspy.svg?style=flat
:alt: PyPI
:target: https://pypi.python.org/pypi/oceanspy
.. |conda forge| image:: https://anaconda.org/conda-forge/oceanspy/badges/version.svg
:alt: conda-forge
:target: https://anaconda.org/conda-forge/oceanspy
.. |docs| image:: http://readthedocs.org/projects/oceanspy/badge/?version=latest
:alt: Documentation
:target: http://oceanspy.readthedocs.io/en/latest/?badge=latest
.. |CI| image:: https://img.shields.io/github/workflow/status/hainegroup/oceanspy/CI?logo=github
:alt: CI
:target: https://github.com/hainegroup/oceanspy/actions
.. |codecov| image:: https://codecov.io/github/hainegroup/oceanspy/coverage.svg?branch=main
:alt: Coverage
:target: https://codecov.io/github/hainegroup/oceanspy?branch=main
.. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg
:alt: black
:target: https://github.com/psf/black
.. |license| image:: https://img.shields.io/github/license/mashape/apistatus.svg
:alt: License
:target: https://github.com/hainegroup/oceanspy
.. |doi| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.3270646.svg
:alt: doi
:target: https://doi.org/10.5281/zenodo.3270646
.. |JOSS| image:: http://joss.theoj.org/papers/10.21105/joss.01506/status.svg
:alt: JOSS
:target: https://doi.org/10.21105/joss.01506
.. |binder| image:: https://mybinder.org/badge_logo.svg
:alt: binder
:target: https://mybinder.org/v2/gh/hainegroup/oceanspy.git/main?filepath=binder
.. |pre-commit| image:: https://results.pre-commit.ci/badge/github/hainegroup/oceanspy/main.svg
:target: https://results.pre-commit.ci/latest/github/hainegroup/oceanspy/main
:alt: pre-commit.ci status
Owner metadata
- Name: Thomas Haine Research Group
- Login: hainegroup
- Email:
- Kind: organization
- Description: Ocean circulation and dynamics
- Website:
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/61514340?v=4
- Repositories: 8
- Last ynced at: 2024-04-16T01:11:21.730Z
- Profile URL: https://github.com/hainegroup
GitHub Events
Total
- Issues event: 6
- Watch event: 10
- Delete event: 13
- Issue comment event: 24
- Push event: 23
- Pull request event: 39
- Pull request review comment event: 1
- Pull request review event: 12
- Fork event: 2
- Create event: 18
Last Year
- Issues event: 2
- Watch event: 7
- Delete event: 7
- Issue comment event: 18
- Push event: 16
- Pull request review event: 6
- Pull request event: 25
- Fork event: 1
- Create event: 12
Committers metadata
Last synced: about 21 hours ago
Total Commits: 1,097
Total Committers: 13
Avg Commits per committer: 84.385
Development Distribution Score (DDS): 0.552
Commits in past year: 10
Committers in past year: 3
Avg Commits per committer in past year: 3.333
Development Distribution Score (DDS) in past year: 0.6
| Name | Commits | |
|---|---|---|
| Miguel Jimenez-Urias | m****7@j****u | 491 |
| malmans2 | m****i@j****u | 458 |
| pre-commit-ci[bot] | 6****] | 67 |
| dependabot[bot] | 4****] | 36 |
| asiddi24 | a****4@j****u | 17 |
| ThomasHaine | T****e@j****u | 8 |
| renskegelderloos | r****2@j****u | 8 |
| MaceKuailv | 5****v | 7 |
| dependabot-preview[bot] | 2****] | 1 |
| Sourav Barua | s****6@g****m | 1 |
| Filipe | o****f@g****m | 1 |
| malmans2 | m****i@g****m | 1 |
| Atousa Saberi | a****i@j****u | 1 |
Committer domains:
Issue and Pull Request metadata
Last synced: 9 days ago
Total issues: 150
Total pull requests: 364
Average time to close issues: 3 months
Average time to close pull requests: 8 days
Total issue authors: 20
Total pull request authors: 12
Average comments per issue: 3.43
Average comments per pull request: 1.79
Merged pull request: 317
Bot issues: 0
Bot pull requests: 149
Past year issues: 3
Past year pull requests: 28
Past year average time to close issues: N/A
Past year average time to close pull requests: 21 days
Past year issue authors: 3
Past year pull request authors: 3
Past year average comments per issue: 0.33
Past year average comments per pull request: 0.71
Past year merged pull request: 16
Past year bot issues: 0
Past year bot pull requests: 26
Top Issue Authors
- Mikejmnez (49)
- malmans2 (28)
- ThomasHaine (23)
- MaceKuailv (11)
- renskegelderloos (11)
- asiddi24 (8)
- hooteoos-waltz (6)
- rabernat (2)
- ammedd (1)
- junweihua (1)
- shiprock-1583 (1)
- platipodium (1)
- ocefpaf (1)
- jdldeauna (1)
- daanreijnders (1)
Top Pull Request Authors
- malmans2 (100)
- pre-commit-ci[bot] (81)
- Mikejmnez (70)
- dependabot[bot] (67)
- asiddi24 (14)
- MaceKuailv (9)
- ThomasHaine (8)
- renskegelderloos (7)
- hooteoos-waltz (5)
- ocefpaf (1)
- BaruaSourav (1)
- dependabot-preview[bot] (1)
Top Issue Labels
- enhancement (26)
- bug (14)
- Documentation (9)
- dependencies (7)
- good first issue (4)
- question (4)
- help wanted (2)
- invalid (1)
Top Pull Request Labels
- dependencies (68)
- github_actions (59)
Package metadata
- Total packages: 3
-
Total downloads:
- pypi: 991 last-month
- Total dependent packages: 0 (may contain duplicates)
- Total dependent repositories: 1 (may contain duplicates)
- Total versions: 44
- Total maintainers: 4
proxy.golang.org: github.com/hainegroup/oceanspy
- Homepage:
- Documentation: https://pkg.go.dev/github.com/hainegroup/oceanspy#section-documentation
- Licenses: mit
- Latest release: v0.3.5 (published about 2 years ago)
- Last Synced: 2025-12-23T21:31:43.287Z (1 day ago)
- Versions: 20
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 5.395%
- Average: 5.576%
- Dependent repos count: 5.758%
pypi.org: oceanspy
A Python package to facilitate ocean model data analysis and visualization.
- Homepage:
- Documentation: https://oceanspy.readthedocs.io/
- Licenses: MIT License Copyright (c) 2018, Mattia Almansi Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- Latest release: 0.3.5 (published about 2 years ago)
- Last Synced: 2025-12-23T21:31:41.847Z (1 day ago)
- Versions: 20
- Dependent Packages: 0
- Dependent Repositories: 1
- Downloads: 991 Last month
-
Rankings:
- Dependent packages count: 10.06%
- Average: 18.296%
- Dependent repos count: 21.634%
- Downloads: 23.194%
- Maintainers (4)
conda-forge.org: oceanspy
- Homepage: https://github.com/hainegroup/oceanspy
- Licenses: MIT
- Latest release: 0.2.0 (published about 5 years ago)
- Last Synced: 2025-12-22T21:04:31.363Z (3 days ago)
- Versions: 4
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Forks count: 28.545%
- Stargazers count: 33.456%
- Dependent repos count: 34.025%
- Average: 36.801%
- Dependent packages count: 51.175%
Dependencies
- actions/checkout v3 composite
- codecov/codecov-action v3.1.1 composite
- mamba-org/provision-with-micromamba v15 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- pypa/gh-action-pypi-publish release/v1 composite
- dask *
- xarray >= 0.14.1
- xgcm >= 0.2.0
- bokeh
- bottleneck
- cartopy
- dask
- distributed
- esmf
- esmpy
- ffmpeg
- geopy
- intake-xarray
- ipython
- matplotlib
- netcdf4
- numpy
- pandas
- pip
- python 3.10.*
- rise
- tqdm
- xarray
- xesmf >0.6.3
- xgcm
- xmitgcm
- xoak
- nbsphinx
- numpydoc
- pandoc
- pip
- python 3.9.*
- sphinx
- sphinx_rtd_theme
- aiohttp
- black <20.8b1
- bottleneck
- cartopy
- cf_xarray
- cfgrib
- cftime
- cmasher
- cmocean
- codecov
- dask
- distributed
- eofs
- esmf
- esmpy
- fastjmd95
- ffmpeg
- flake8
- fsspec
- geopy
- gsw
- h5netcdf
- imageio
- intake-xarray
- ipykernel
- ipython
- matplotlib
- nc-time-axis
- netcdf4
- numba
- pandas
- pip
- pooch
- pre-commit
- pycwt
- pydap
- pys2index
- pytest
- pytest-cov
- pytest-env
- python 3.10.*
- rasterio
- scikit-learn
- scipy
- seaborn
- tqdm
- xarray
- xesmf >0.6.3
- xgcm
- xhistogram
- xmitgcm
- xoak
- zarr
Score: 14.366536414997046