Skip to main content

Python interface for ERDDAP

Project description

erddapy

erddapy: ERDDAP + Python.

conda-forge downloads Latest version Commits since last release # contributors Travis-CI zenodo zenodo


Table of contents

Overview

Easier access to scientific data.

erddapy takes advantage of ERDDAP's RESTful web services and creates the ERDDAP URL for any request, like searching for datasets, acquiring metadata, downloading the data, etc.

What is ERDDAP? ERDDAP unifies the different types of data servers and offers a consistent way to get the data in multiple the formats. For more information on ERDDAP servers please see https://coastwatch.pfeg.noaa.gov/erddap/index.html.

Documentation and code

The documentation is hosted at https://ioos.github.io/erddapy.

The code is hosted at https://github.com/ioos/erddapy.

Installation

For conda users you can

conda install --channel conda-forge erddapy

or, if you are a pip users

pip install erddapy

Note that, if you are installing the requirements-dev.txt, the iris package is named scitools-iris on PyPI so pip users must rename that before installing.

Example

from erddapy import ERDDAP


e = ERDDAP(
  server='https://gliders.ioos.us/erddap',
  protocol='tabledap',
)

e.response = 'csv'
e.dataset_id = 'whoi_406-20160902T1700'
e.constraints = {
    'time>=': '2016-07-10T00:00:00Z',
    'time<=': '2017-02-10T00:00:00Z',
    'latitude>=': 38.0,
    'latitude<=': 41.0,
    'longitude>=': -72.0,
    'longitude<=': -69.0,
}
e.variables = [
    'depth',
    'latitude',
    'longitude',
    'salinity',
    'temperature',
    'time',
]

df = e.to_pandas()

Get in touch

Report bugs, suggest features or view the source code on GitHub.

License and copyright

Erddapy is licensed under BSD 3-Clause "New" or "Revised" License (BSD-3-Clause).

Development occurs on GitHub at https://github.com/ioos/erddapy.

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

erddapy-0.7.0.tar.gz (43.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

erddapy-0.7.0-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file erddapy-0.7.0.tar.gz.

File metadata

  • Download URL: erddapy-0.7.0.tar.gz
  • Upload date:
  • Size: 43.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200917 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for erddapy-0.7.0.tar.gz
Algorithm Hash digest
SHA256 87289c428637f433161cae6385d89201938939c4119cdd11cc248fd9b53b9261
MD5 a08386f108bf4c1504b36a8a22b6dfa2
BLAKE2b-256 28f1535c56ae4fd74bdb86eddf2b37cc8f825aa1c73872b673cded0d0a984534

See more details on using hashes here.

File details

Details for the file erddapy-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: erddapy-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 11.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200917 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for erddapy-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 796d02abdbc359b01080911aae5de141365c251e3a72bc3c852c2b9dd6e96a76
MD5 586a469e81286c5f9df6af4ce99fa617
BLAKE2b-256 6ee1c35f995f96889a2b14d16853fced5b9e552d56df8c05e5e7ec1607164e1a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page