Package to subsample, or interpolate, climatologies like WOA 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 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.io.
Features
If the database files are not localy available, automatically 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;
Ready to use with:
World Ocean Atlas (WOA)
CSIRO Atlas Regional Seas (CARS)
ETOPO (topography)
Quick howto use
Inside python:
>>> import oceansdb
>>> db = oceansdb.WOA()
To get temperature at one point:
>>> t = db['TEMP'].extract(var='mn', doy=136.875, depth=0, lat=17.5, lon=-37.5)
To get one profile of salinity:
>>> t = db['PSAL'].extract(var='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='mn', doy=136.875, lat=17.5, lon=[-39, -37.5, -35])
Or to get topography for one point:
>>> db = oceansdb.ETOPO()
>>> h = db.extract(lat=17.5, lon=0)
History
0.7.0 (2017-05-11)
New generic crop functionality.
Interpolate in steps, in order: time, lat x lon, and finally z. Gives better results for profiles.
0.6.0 (2016-04-14)
Adding CSIRO Atlas of Regional Seas (CARS), another climatology for temperature and salinity.
0.4.0 (2016-03-29)
Added etopo5, a world wide bathymetry. Some of this code has its origins on pyAVISO and CoTeDe.
0.2.0 (2016-03)
Renamed package to OceansDB, planning to include other climatologies and references.
0.1.0 (2016-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 oceansdb 0.7.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| oceansdb-0.7.1.tar.gz | 25.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| oceansdb-0.7.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 47.0 kB
Release files / oceansdb-0.7.1.tar.gz
| Download URL | oceansdb-0.7.1.tar.gz |
|---|---|
| Size | 25.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bd302fcc89a76637b10fe5f6eb51da41fcc9f76338d88038cd1db662d07c44d1
|
|
BLAKE2b-256 checksum How to use checksums |
711db639ff9c53f7c85f3ef525493c754a472f3af58551d3f5fc68c658443dea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / oceansdb-0.7.1-py2.py3-none-any.whl
| Download URL | oceansdb-0.7.1-py2.py3-none-any.whl |
|---|---|
| Size | 21.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
c13f46a7d4644517c16de6891fa7f4aad2bb9ac2e7346e0340d313afb4b870f7
|
|
BLAKE2b-256 checksum How to use checksums |
b75be4e32ac797789410684876ee6525d95f44dfd60ee72ad10388173d650a95
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |