Skip to main content

Download geoscience data with ease.

Project description

pygeodl

Download geoscience data with ease.

Currently suopports:

  • UNAVCO: GNSS
  • BGS: Seismic events

Feel free to request other data sources be added, via GitHub issues.

Installation

You can install pygeodl using pip:

pip install pygeodl

If you want to install it directly from the repository, you can do:

pip install git+https://github.com/mp-v2/pygeodl.git

Usage

Here is a simple example of how to use pygeodl to download GNSS data from the UNAVCO repository.

import pygeodl.gnss as gnss

# Create a downloader instance for UNAVCO
downloader = gnss.unavco()

# Find stations in a bounding box
df_stations = downloader.find(
    minlatitude=43.0,
    maxlatitude=60.0,
    minlongitude=-122.0,
    maxlongitude=-120.0,
    starttime="2012-01-01",
    endtime="2025-01-01",
)

print(df_stations.head())

# Request data for a specific station and time period
df = downloader.request(station="P201", starttime="2020-01-01", endtime="2020-01-02")

# Print the first few rows of the dataframe
print(df.head())

This will output a pandas DataFrame with the requested GNSS data.

Examples

Working example scripts can be found in the examples folder.

  • examples/get_unavco_gnss.py
  • examples/get_bgs_seismic.py

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

pygeodl-0.0.3.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

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

pygeodl-0.0.3-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file pygeodl-0.0.3.tar.gz.

File metadata

  • Download URL: pygeodl-0.0.3.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pygeodl-0.0.3.tar.gz
Algorithm Hash digest
SHA256 c70828980fe77f865a1997e25a867490c1c949ce60b07fb4203e9c22635a796b
MD5 2dd6c27f87c1a6f759c4e9ce4dc53a17
BLAKE2b-256 3875be5486ddcde05741852f567567ac444fca381d41fa5775bd39d256fb6775

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygeodl-0.0.3.tar.gz:

Publisher: python-publish.yml on mp-v2/pygeodl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pygeodl-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: pygeodl-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pygeodl-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c3d9f8d7a77512173878ce9d16ca9f55ad34d4147972fffed0556e859e1c1327
MD5 7318f0bc6bbe7f1f12ba57a40ff707c6
BLAKE2b-256 2efe7918af2f901cce167d9281492430ceb09c6b1f050cf199fb5bcdc10f915b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygeodl-0.0.3-py3-none-any.whl:

Publisher: python-publish.yml on mp-v2/pygeodl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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