Python interface for ERDDAP
Project description
Redistribution and use in source and binary forms,
with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Description: .. image:: https://travis-ci.org/pyoceans/erddapy.svg?branch=master
:target: https://travis-ci.org/pyoceans/erddapy
.. image:: https://anaconda.org/conda-forge/erddapy/badges/version.svg
:target: https://anaconda.org/conda-forge/erddapy
.. image:: https://img.shields.io/pypi/v/erddapy.svg
:target: https://pypi.python.org/pypi/erddapy/
.. image:: https://img.shields.io/pypi/l/erddapy.svg
:target: https://pypi.python.org/pypi/erddapy/
.. image:: https://zenodo.org/badge/104919828.svg
:target: https://zenodo.org/badge/latestdoi/104919828
erddapy: ERDDAP + Python
========================
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.
Example
-------
.. code:: python
from erddapy import ERDDAP
import pandas as pd
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,
}
variables = [
'depth',
'latitude',
'longitude',
'salinity',
'temperature',
'time',
]
e = ERDDAP(
server='https://data.ioos.us/gliders/erddap',
protocol='tabledap',
response='csv',
dataset_id='blue-20160818T1448',
constraints=constraints,
variables=variables,
)
df = e.to_pandas()
What is ERDDAP?
---------------
ERDDAP unifies the different types of data servers and offers a consistent way to get the data in multiple the formats.
0.1.5
~~~~~
- Re-implemented caching in `get_var_by_attr()`.
0.1.3
~~~~~
- Avoid a caching bug in `get_var_by_attr()` by not caching at all.
0.1.3
~~~~~
- New API to make it easier to handle multiple requests from the same server.
0.1.2
~~~~~
- Added a workaround to access authenticated ERDDAP servers.
0.1.1
~~~~~
- Mostly boilerplate updates for a GitHub/PyPI release.
0.1.0
~~~~~
- First version!
Keywords: ERDDAP,Scientific Python,Remote data access
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Scientific/Engineering :: GIS
Classifier: License :: OSI Approved :: BSD License
Classifier: Development Status :: 4 - Beta
Provides-Extra: testing
Project details
Release history Release notifications | RSS feed
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.1.5.tar.gz
(25.4 kB
view hashes)
Built Distribution
erddapy-0.1.5-py3-none-any.whl
(10.4 kB
view hashes)