GithubHelp home page GithubHelp logo

neptuneprojects / bathyreq Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 0.0 1.35 MB

A Python package for querying public bathymetric data sources.

Home Page: https://neptuneprojects.github.io/BathyReq/

License: MIT License

Python 100.00%
bathymetry download

bathyreq's Introduction

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]
)

bathyreq's People

Contributors

neptuneprojects avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bathyreq's Issues

Typo on README

Thanks for making this! Very useful tool!

Just a quick (probably annoying) note that the README has a typo. It should read req.get_point instead of req.get_points - thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.