Skip to main content

NGDC seabed descriptions

Project description

Seabed

tests build version license style

parses seabed descriptions from https://www.ngdc.noaa.gov/geosamples/surveydisplay.jsp

Usage

retrieve a list of surveys from the NGBC web page

from seabed import NGDCSeabedDescriptions

surveys = NGDCSeabedDescriptions.all_surveys()

get seabed descriptions for specific surveys, within specified bounds

import numpy

from seabed import NGDCSeabedDescriptions

# define bounds
bounds = numpy.array([[-77, 39], [-75, 40]])

# retrieve a list of the first 5 surveys
first_5_surveys = NGDCSeabedDescriptions.all_surveys()[:5]

# intialize a Seabed Description object with specific surveys and bounds
seabed_descriptions = NGDCSeabedDescriptions(surveys=first_5_surveys, bounds=bounds)

print(f'surveys: {seabed_descriptions.surveys}')
print(f'bounds: {seabed_descriptions.bounds}')
print(f'descriptions: {seabed_descriptions.descriptions}')
print(f'data: {seabed_descriptions.data}')

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

seabed-1.0.0.tar.gz (5.8 kB view hashes)

Uploaded Source

Built Distribution

seabed-1.0.0-py3-none-any.whl (8.7 kB view hashes)

Uploaded Python 3

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