Skip to main content

Misc functions for oceanographic data analysis

Project description

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Description: |PyPI| |Travis| |DOI|

.. |PyPI| image:: https://img.shields.io/pypi/v/oceans.svg
:target: https://pypi.org/project/oceans/
:alt: PyPI Package

.. |Travis| image:: https://travis-ci.org/pyoceans/python-oceans.svg?branch=master
:target: https://travis-ci.org/pyoceans/python-oceans
:alt: Travis Build Status

.. |DOI| image:: https://zenodo.org/badge/11956337.svg
:target: https://zenodo.org/badge/latestdoi/11956337
:alt: DOI

python-oceans
=============

Misc helper functions for ocean sciences.

Most of the functions here are Python versions of some common MatlabTM functions.
They are untested and probably buggy. Use with caution!

Changelog
---------

Version 0.7.0

* Added an updated version of the O2SAT function.


Version 0.6.0

* Re-factored datasets and fixed data sources URLs.

Version 0.5.1

* Fix find packages in setup.py #57.

Version 0.5.0

* Fixed pandas rolling_mean deprecation #54.
* Fixed failing tests.
* Added NaN support for MLD #53 and #56.

Version 0.4.1

* Replaced custom smooth filter for `scipy`'s `ndimage` filter.
* Re-factor `datasets` to avoid the `basemap` syntax in favor of a `bbox` like syntax.
* Re-factor `ff_tools` into a single `ocfis` module.
* Moved `compass` to plotting.
* Added `get_gebco15` function to extract gebco15 bathymetry.
* Removed `teaching` and `smoothers` modules as they were here only for learning purposes.
* Removed `shapely` and use `matplotlib.path.Path` in `in_polygon` instead.
* Many speed improvements via lazy imports and updates.
* Re-added a re-factored version of the filters module.
* Re-factored datasets and fixed many data sources.

Version 0.4.0

* Re-written `get_isobath` function that uses latest matplotlib contour machinery.
* Use integer indexes to fix `numpy` deprecations.
* Change license from MIT to BSD 3-Clause.

Version 0.3.0

* Fix `nanmean` and `nanstd` removed from latest `scipy`.

Version 0.2.5

* Lazy imports.
* Several minor bug fixes.

Version 0.2.4, 05-May-2015.

* Added `woa_profile`.
* Re-write of `woa_subset` to use iris instead of Pandas.
* Deprecate 'state' option in soundspeed.

Version 0.2.3

* Several small bugs and typos fixes.

Version 0.2.2

* Mixed Layer Depth functions.
* Critical depth and Light extinction coefficient.
* Contributor: arnaldorusso@gmail.com | github.com/arnaldorusso

Version 0.2.1, 07-Apr-2014.

* Python3 support.

Version 0.2.0

* Moved CTDProfile to a separated module (python-ctd).

Version 0.1.0

* Added several of new functions and sub-modules
* CTDProfile class (pandas DataFrame for CTDs).
* time_series methods to extend pandas Series.

Version 0.0.1

* Initial release.
Keywords: oceanography,data analysis
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Education
Classifier: Topic :: Scientific/Engineering
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Provides-Extra: full

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oceans-0.7.0.tar.gz (65.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

oceans-0.7.0-py3-none-any.whl (34.0 kB view details)

Uploaded Python 3

File details

Details for the file oceans-0.7.0.tar.gz.

File metadata

  • Download URL: oceans-0.7.0.tar.gz
  • Upload date:
  • Size: 65.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for oceans-0.7.0.tar.gz
Algorithm Hash digest
SHA256 cc071c8b0bf5e6ce3f875b93d62c658926c2d710bece5fead1253bc9cb68e8b0
MD5 5fe7e7416f18661ad11a73d858eff9a6
BLAKE2b-256 d8a4470f5eb04d8aea78304e79af8a5c08da5dab6df0de81a2c8574190cb017b

See more details on using hashes here.

File details

Details for the file oceans-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: oceans-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 34.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for oceans-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e3c3442aaeae18dcc985dcaa02acd19341e060df56caaca9f326aa8f989d8d00
MD5 3d51c63d89c1f4c894c6c632912160b4
BLAKE2b-256 2468e880dfb204f60ec6ba84cfbf710e0d7ebc93eb19aee2d57badc49528329b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page