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.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1cc8e34382184e2dd53f5bb67d44959b0ddb16debdd89a21d0e47db097efab1 |
|
MD5 | 716bf88c07a507ac50bb490750bc707c |
|
BLAKE2b-256 | eac72e18f7357e83039bdd4d14e2b893d08cbf9d768a769c08d9ef3f47a539ea |
Hashes for earthscopestraintools-0.1.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f3015c05fb990db37243778039b0b7e5bf3b86583550edf45e1955cf4468b33 |
|
MD5 | 7dea3902f45db5a10dea3e1902b3a0e8 |
|
BLAKE2b-256 | 8ead52a3ef277cd9faa3a321774539c832ebb9ca959a1a9621ebb9cf60a214c6 |