OceansDB
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
>>> with oceansdb.WOA() as db:
Find out what is available:
>>> db.keys()
Average temperature at one point:
>>> t = db['sea_water_temperature'].extract(var='mean', doy=136.875, depth=0, lat=17.5, lon=-37.5)
A profile of salinity:
>>> t = db['sea_water_salinity'].extract(var='mean', doy=136.875, depth=[0, 10, 15, 18], lat=17.5, lon=-37.5)
A full depth section of temperature:
>>> t = db['sea_water_temperature'].extract(var='mean', doy=136.875, lat=17.48, lon=[-39, -37.5, -35.2])
Using CARS instead of WOA:
>>> with oceansdb.CARS() as db:
>>> t = db['sea_water_temperature'].extract(var='mean', doy=136.875, lat=17.48, lon=[-39, -37.5, -35.2], depth=[0,10,120,280])
Or to get topography for one point from the 1 min arc resolution:
>>> with oceansdb.ETOPO(resolution='1min') as db:
>>> h = db['topography'].extract(lat=17.5, lon=0)
Metadata
Release files for oceansdb 0.8.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| oceansdb-0.8.15.tar.gz | 40.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| oceansdb-0.8.15-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 67.9 kB
Release files / oceansdb-0.8.15.tar.gz
| Download URL | oceansdb-0.8.15.tar.gz |
|---|---|
| Size | 40.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
17dc46045e2fe86c8967f8dd583bb161638e70b29850d67cceec3b09e14c937e
|
|
BLAKE2b-256 checksum How to use checksums |
03a68c6f8c8795dfee2a19ff812c66b01bd83eea788db2a51187bfc1b0d7a263
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.2
|
Release files / oceansdb-0.8.15-py2.py3-none-any.whl
| Download URL | oceansdb-0.8.15-py2.py3-none-any.whl |
|---|---|
| Size | 27.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
1a7c65f3b1c0aa9dd672f9c9da868b49c196ce7d6cff86a8cfa91fc16958a1cf
|
|
BLAKE2b-256 checksum How to use checksums |
24f7fd20d1a52ce473f6a2a146416a7c9fec2bcf49d649c7345c1b5c802a13cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.2
|
Security for oceansdb 0.8.15
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.