Package to subsample ocean climatologies and reference data.
Project description
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.
Free software: 3-clause BSD style license - see LICENSE.rst
Documentation: https://oceansdb.readthedocs.org.
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 oceansdb 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.4.0 (2015-03-29)
Added etopo5, a world wide bathymetry. Some of this code has its origins on pyAVISO and CoTeDe.
0.2.0 (2015-03)
Renamed package to OceansDB, planning to include other climatologies and references.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file oceansdb-0.5.0.tar.gz
.
File metadata
- Download URL: oceansdb-0.5.0.tar.gz
- Upload date:
- Size: 18.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09bd73bc11f2f3b639f949595aa09f42e276854a42dcb15a1f0a4df64ef7f253 |
|
MD5 | dd47058ee856205e0f1e0e3479f3592e |
|
BLAKE2b-256 | 174426f36a9497387315c092462491a5feac8ee74d82ae5811c5f2d21507f187 |