Skip to content

BathyReq

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.

Banner

Digital elevation model (DEM) data from NOAA NCEI.

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
)

Contributing

Contributions are welcome! If you have any issues using the package, please open an issue on GitHub. If you would like to contribute to the package, please fork the repository and open a pull request.

Author

William Jenkins, Ph.D.
Scripps Institution of Oceanography
University of California San Diego
https://wjenkins.me

DOI

Support

If you find this package useful and if it's saved you lots of time and effort, please consider supporting the project by buying me a coffee!

Buy Me A Coffee

License

This project is licensed under the MIT License - see the license for details.