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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c59403e720fb4f95d4546e766ade1f41886b07d672783884803692e2878f07b |
|
MD5 | 0f0cc21256c0f53b4104c71a85e35418 |
|
BLAKE2b-256 | 16c778e403ed57738553161e5554b2cf9a96eae8107060f1ac5e7071bf8edc53 |
Hashes for earthscopestraintools-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 506396e28909ed6562b53e63b54c72418e813839b1ddc8df0acc5913b5a9cb36 |
|
MD5 | 83fe65082c6e57114dfaf67c749e2b26 |
|
BLAKE2b-256 | ae2e449551c21af1842d5b2503734ab1adea762288fb8216158cc3942866700d |