Skip to main content

Download and analyse (meta-)data of PANGAEA datasets

Project description

DOI

pangaeapy - a Python module to access and analyse PANGAEA data

Background

pangaea

PANGAEA (https://www.pangaea.de) is one of the world's largest archives of this kind offering essential data services such as data curation, long-term data archiving and data publication. PANGAEA hosts about 400,000 datasets comprising around 17.5 billion individual measurements (Aug. 2020) and observations which have been collected during more than 240 international research projects. The system is open to any project, institution or individual scientist using, archiving or publishing research data.

Since the programming languages Python and R have become increasingly important for scientific data analysis in recent years, we have developed 'pangaeapy' a new, custom Python module that considerably simplifies typical data science tasks.

Given a DOI, pangaeapy uses PANGAEA’s web services to automatically load PANGAEA metadata into a dedicated python object and tabular data into a Python Data Analysis Library (pandas) DataFrame with a mere call of a specialized function. This makes it possible to integrate PANGAEA data with data from a large number of sources and formats (Excel, NetCDF, etc.) and to carry out data analyses within a suitable computational environment such as Jupyter notebooks in a uniform manner.

Installation

  • Source code from GitHub
    • pip install git+https://github.com/pangaea-data-publisher/pangaeapy.git
  • Wheels for Python from PyPI
    • pip install pangaeapy

Usage

import pangaeapy.pandataset as pd

ds = pd.PanDataSet(787140)
print(ds.title)
print(ds.data.head())

Examples

Please take a look at the example Jupyter Notebooks which you can find in the 'examples' folder

Documentation

https://pangaea-data-publisher.github.io/pangaeapy/

Running the tests

The tests ar located in the test directory. You can run them by executing pytest or tox in the root directory.

Cite as

Robert Huber, Egor Gordeev, Markus Stocker, Aarthi Balamurugan, & Uwe Schindler (2020). pangaeapy - a Python module to access and analyse PANGAEA data. Zenodo. http://doi.org/10.5281/zenodo.4013940.

DOI

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

pangaeapy-1.1.0.tar.gz (838.1 kB view details)

Uploaded Source

Built Distribution

pangaeapy-1.1.0-py3-none-any.whl (67.3 kB view details)

Uploaded Python 3

File details

Details for the file pangaeapy-1.1.0.tar.gz.

File metadata

  • Download URL: pangaeapy-1.1.0.tar.gz
  • Upload date:
  • Size: 838.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for pangaeapy-1.1.0.tar.gz
Algorithm Hash digest
SHA256 3c4b8014869e5060d576e9c8076b85a34d787a67c06afdd6cc06fbfe8365f6b4
MD5 3cfd84f3639c71fff8e82123ffd91728
BLAKE2b-256 b0b0e671aadadad51cb727c7f199d967406a2d93d6a13c59acffff838d789d6a

See more details on using hashes here.

File details

Details for the file pangaeapy-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: pangaeapy-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 67.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for pangaeapy-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 165bfc3d8cca02b97e470279a1c9f71676758b0b9c95b6822a42d06c95eedcad
MD5 412abd1a6bbd874cebd3b45fa5a84d33
BLAKE2b-256 5dd9f577491ae3a168306b6a8dd10a8050d2039fcae429b3a2b8d376d61b9df2

See more details on using hashes here.

Supported by

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