Skip to main content
https://zenodo.org/badge/4645/castelao/pyWOA.svg https://readthedocs.org/projects/pywoa/badge/?version=latest https://img.shields.io/travis/castelao/pyWOA.svg https://img.shields.io/pypi/v/pyWOA.svg

ATENTION, this package is deprecated. All functionalities were absorbed by oceansdb (https://pypi.python.org/pypi/oceansdb).

Package to subsample, or interpolate, World Ocean Atlas climatology to any coordinates.

This package started with functions to obtain climatological values to compare with measured data, allowing a quality control check by comparison. It hence needed to work for any coordinates requested. I recently split these functionalities from CoTeDe into this standalone package to allow more people to use it for other purposes.

Features

  • If the WOA database files are not localy available, download it.

  • Extract, or interpolate if necessary, climatologic data on requested coordinates;

  • Can request a single point, a profile or a section;

  • Ready to handle -180 to 180 or 0 to 360 coordinate system;

Quick howto use

Inside python:

from pyWOA import WOA

db = WOA()

To get temperature at one point:

t = db[‘TEMP’].extract(var=’t_mn’, doy=136.875, depth=0, lat=17.5, lon=-37.5)

To get one profile of salinity:

t = db[‘PSAL’].extract(var=’t_mn’, doy=136.875, depth=[0, 10, 15, 18], lat=17.5, lon=-37.5)

To get a full depth section of temperature:

t = db[‘TEMP’].extract(var=’t_mn’, doy=136.875, lat=17.5, lon=[-39, -37.5, -35])

History

0.1.0 (2015-02-09)

  • Generalized interpolator. Extract climatology for point, profile or section.

0.0.1 (2015-12-13)

  • First release on PyPI. Extracted from CoTeDe to be a standalone package.

pre-released (~2006)

  • The first version was developed in support to quality control thermosalinographs at NOAA. It was later injected inside CoTeDe.

Release files for pyWOA 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyWOA 0.1.2
File Size Uploaded
pyWOA-0.1.2.tar.gz 15.3 kB Details

Release files / pyWOA-0.1.2.tar.gz

Download URL pyWOA-0.1.2.tar.gz
Size 15.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e1c577e6f1146e36334525efcb0429810906459261e4772f0b5a0b9530e078be
BLAKE2b-256 checksum
How to use checksums
342d620aba837845b7b4537aff638c4e5ba41ffada52233fc5a465c880cc1520
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page