https://github.com/csaundersshultz/data_availability_plot

https://github.com/csaundersshultz/data_availability_plot

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.3%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: csaundersshultz
  • Language: Python
  • Default Branch: main
  • Size: 43 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 1 year ago · Last pushed about 1 year ago
Metadata Files
Readme

README.md

data_avail_2

📈 Data availability visualizer for SQLite (rover) databases

This Python tool visualizes the data availability percentage of multiple stations over time using horizontal bar charts. It queries a local sqlite file, intended to be one connected to a local rover database. Note, this does not pull the full data availability from IRIS, it only shows what is downloaded locally and available in a rover database. Hopefully in the future this can be updated to accommodate other obspy clients (earthworm / fdsn).


🛠 USAGE

```python from dataavailabilityplot import availability_plot import matplotlib.pyplot as plt

sqlite_path = "/path/to/rover/datarepo/timeseries.sqlite"

fig, ax = availabilityplot(sqlitepath, network="A*", station="", location="", channel="HDF", intervaldays=1, maxchunk_days=200) plt.show() plt.close() ```



⬇️ Installation

Clone the repository and move into the project directory:

bash git clone https://github.com/csaundersshultz/data_availability_plot [Future work: create a setup.py file so it can be installed directly into python environments]


📦 Requirements

Requires Obspy==1.4.1 Requires Numpy, Matplotlib, Pandas, Requires a valid and accessible sqlite file with a tsindex column (created by mseedindex / rover)

Owner

  • Login: csaundersshultz
  • Kind: user

GitHub Events

Total
  • Push event: 11
  • Create event: 1
Last Year
  • Push event: 11
  • Create event: 1