Skip to main content

BathyReq: A Python package for querying public bathymetric data sources.

Project description

BathyReq

DOI

A Python package for querying public bathymetric data sources. Currently only digital elevation model (DEM) data from the NOAA National Centers for Environmental Information (NCEI) database is supported. Future development will focus on implementing other sources, such as the General Bathymetric Chart of the Oceans (GEBCO) and NOAA's new Blue Topo project.

Installation

pip install bathyreq

Usage

Download bathymetric data for a given area:

import bathyreq

req = bathyreq.BathyRequest()
data, lonvec, latvec = req.get_area(
    longitude=[-117.43, -117.23], latitude=[32.55, 32.75]
)

Download bathymetric data for a single longitude/latitude pair:

import bathyreq

req = bathyreq.BathyRequest()
data = req.get_point(
    longitude=-117.43, latitude=32.75
)

Methods not yet implemented

Download bathymetric data for a given set of longitude/latitude pairs:

import bathyreq

req = bathyreq.BathyRequest()
data = req.get_points(
    longitude=[-117.43, -117.23], latitude=[32.55, 32.75]
)

Download bathymetric data for a given profile between two longitude/latitude pairs:

import bathyreq

req = bathyreq.BathyRequest()
data = req.get_profile(
    longitude=[-117.43, -117.23], latitude=[32.55, 32.75]
)

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

bathyreq-1.1.0.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

bathyreq-1.1.0-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

Details for the file bathyreq-1.1.0.tar.gz.

File metadata

  • Download URL: bathyreq-1.1.0.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for bathyreq-1.1.0.tar.gz
Algorithm Hash digest
SHA256 2bf13672114f0fc7d2b80645b5f0480c27631c0faca23f08a606314d87854bfc
MD5 696af241a52a6fe255c8c7a707aae6f8
BLAKE2b-256 775fc228c8c72258bc0747b884c2fdbb2e211f0114b5ef8fd1707d74df787eb9

See more details on using hashes here.

File details

Details for the file bathyreq-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: bathyreq-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for bathyreq-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1f263392028fb631f06008aa24d9eaff0b32e8c4f11a4d0a2ce4194c5bcae671
MD5 6f80b48ef1156614e96472a693e5eec0
BLAKE2b-256 e1f8b4828078c0cc338efc459d9c1356f46fee16f0f727bc3a2ab1580b7129ff

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