Skip to main content

Package to subsample World Ocean Atlas climatology.

Project description

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

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.

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

pyWOA-0.1.1.tar.gz (15.2 kB view details)

Uploaded Source

File details

Details for the file pyWOA-0.1.1.tar.gz.

File metadata

  • Download URL: pyWOA-0.1.1.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyWOA-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f092ce927dba9c3f250e8c0c6d97a26333be30bc4202f767c2fe3eaf947a21ee
MD5 ff18a0500e0da132c2f30fb4bb4c7cb3
BLAKE2b-256 c3fdef230c3d6f2f46ccf3f94aa9d248224e0a47f51c287b7be1530adacace17

See more details on using hashes here.

Supported by

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