A collection of utilities for working with EarthScope strainmeter data
Project description
This repo contains the code associated with a library on pypi https://pypi.org/project/earthscopestraintools/ M. Gottlieb 1-20-23
It can be installed with
pip install earthscopestraintools
Or with optional dependencies:
pip install 'earthscopestraintools[mseed]'
pip install 'earthscopestraintools[tiledb]'
pip install 'earthscopestraintools[mseed,tiledb]'
straintiledbarray.py
class with methods and metadata to interact with strain tiledb arrays.
Methods include create, delete, consolidate, vacuum, read, write. it also
includes the current schema definition.
ascii2tdb.py
ETL script to read level 2 ascii files and write them to tiledb local arrays. then need to
aws s3 sync arrayname s3://tiledb-strain/arrayname
tdb2ascii.py
distrubution script to generate level 2 ascii files based on a time query back from tiledb and package as tarball
tdb2tdb.py
distribution script to generate a subset tdb array based on a time query and package as tarball
bottle.py
library for reading gtsm bottle files
bottletar.py
wrapper class for reading 5 cases of tarballs of bottle files and writing to tiledb
bottle2mseed.py
add on functionality around bottletar to use obspy to write mseed files
bottle2tiledb.py
add on functionality around bottletar to use straintiledbarray to write to tiledb
mseed_tools.py
functions to download miniseed from DataSelect and load into pandas dataframes
gtsm_metadata.py
class to load GTSM metadata
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
Built Distribution
Hashes for earthscopestraintools-0.1.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1103938ea94e5875542dc3352afa63faf3c7c8fe53f75d004d4b04723eef318 |
|
MD5 | 43c3672e92a633702808a4fb778f1fd8 |
|
BLAKE2b-256 | 3313f95c0591a53d6d59663921465eb8988d28e35eabe58e9d5f452183dccc52 |
Hashes for earthscopestraintools-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d06f41cf35f1871e4e39dedcd513c529497c777f1a78bf7370594a7ab49afb1 |
|
MD5 | 184e02065c5145c216a4ef9b8fcbf8af |
|
BLAKE2b-256 | d036dc0479c362919ea28d0dc3b750a69f49a01fd02a35ff220a21320dcf5580 |