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 21 hours ago
JSON representation

Repository metadata

A Python package to facilitate ocean model data analysis and visualization.

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


GitHub Events

Total
Last Year

Committers metadata

Last synced: 1 day ago

Total Commits: 1,117
Total Committers: 13
Avg Commits per committer: 85.923
Development Distribution Score (DDS): 0.556

Commits in past year: 23
Committers in past year: 3
Avg Commits per committer in past year: 7.667
Development Distribution Score (DDS) in past year: 0.609

Name Email Commits
Miguel Jimenez-Urias m****7@j****u 496
malmans2 m****i@j****u 458
pre-commit-ci[bot] 6****] 74
dependabot[bot] 4****] 44
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: 1 day ago

Total issues: 152
Total pull requests: 380
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.4
Average comments per pull request: 1.75
Merged pull request: 328
Bot issues: 0
Bot pull requests: 159

Past year issues: 3
Past year pull requests: 29
Past year average time to close issues: N/A
Past year average time to close pull requests: 17 days
Past year issue authors: 2
Past year pull request authors: 4
Past year average comments per issue: 0.67
Past year average comments per pull request: 0.69
Past year merged pull request: 14
Past year bot issues: 0
Past year bot pull requests: 23

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/hainegroup/oceanspy

Top Issue Authors

  • Mikejmnez (51)
  • 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] (86)
  • Mikejmnez (75)
  • dependabot[bot] (72)
  • asiddi24 (14)
  • ThomasHaine (9)
  • MaceKuailv (9)
  • 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 (73)
  • github_actions (64)
  • enhancement (1)

Package metadata

proxy.golang.org: github.com/hainegroup/oceanspy

pypi.org: oceanspy

A Python package to facilitate ocean model data analysis and visualization.

  • Homepage:
  • Documentation: https://oceanspy.readthedocs.io/
  • Licenses: MIT License
  • Latest release: 0.3.5 (published over 2 years ago)
  • Last Synced: 2026-06-11T19:02:29.762Z (1 day ago)
  • Versions: 20
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 159 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 over 5 years ago)
  • Last Synced: 2026-03-27T14:10:18.338Z (3 months ago)
  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 27,868 Total
  • Rankings:
    • Forks count: 28.545%
    • Stargazers count: 33.456%
    • Dependent repos count: 34.025%
    • Average: 36.801%
    • Dependent packages count: 51.175%

Dependencies

.github/workflows/ci.yaml actions
  • actions/checkout v3 composite
  • codecov/codecov-action v3.1.1 composite
  • mamba-org/provision-with-micromamba v15 composite
.github/workflows/pypi.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • pypa/gh-action-pypi-publish release/v1 composite
pyproject.toml pypi
  • dask *
  • xarray >= 0.14.1
  • xgcm >= 0.2.0
binder/environment.yml conda
  • 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
docs/environment.yml conda
  • nbsphinx
  • numpydoc
  • pandoc
  • pip
  • python 3.9.*
  • sphinx
  • sphinx_rtd_theme
sciserver_catalogs/environment.yml conda
  • 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
ci/environment.yml conda
  • Ipython
  • aiohttp
  • bottleneck
  • cartopy
  • codecov
  • dask
  • distributed
  • esmf
  • ffmpeg
  • fsspec !=0.9.0
  • geopy
  • intake <2.0
  • intake-xarray <2.0
  • matplotlib
  • netCDF4
  • numpy
  • pandas
  • pip
  • pooch
  • pytest
  • pytest-cov
  • pytest-env
  • scipy
  • shapely
  • tqdm
  • xarray
  • xesmf >0.6.3
  • xgcm
  • xmitgcm
  • xoak

Score: 17.711326129636085