Skip to main content

A package for interacting with the USGS influx db

Project description

Derived Project Database Library

Overview

This libary contains several functions that enable the processing, storage, and retrieve of seismic and infrasound signal data. The underlying storage mechanism that sits under each respective component is an InfluxDB database that we call the Derived Product Database (DPD).

The DPD is a time-series storage system that contains processed seismic and infrasound signal data. In theory, the DPD can be extended to store any time series data and the dpd_lib can be used to upload and retrieve that data assuming the underlying system has been set up correctly.

The DPD Library

The DPD Library is a python library comprised of a number of functions that enable users to upload and retrieve signal data stored in an underlying DPD. The functions typically follow the following format:

  • read_[signal_type]()
  • record_[signal_type]()
  • list_[signal_type]()

So, for example, to retrieve infrasound data, one would import and use read_infrasound() with the proper arguments. Just like with the DPD Agent, the DPD Library depends on four InfluxDB environment variables to run.

The library can be found at pypi.org and installed using pip.

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

dpd_lib-0.2.2.tar.gz (6.0 kB view hashes)

Uploaded Source

Built Distribution

dpd_lib-0.2.2-py3-none-any.whl (6.1 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