Skip to main content

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 eartschopestraintools'[mseed]'

pip install eartschopestraintools'[tiledb]'

pip install eartschopestraintools'[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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

earthscopestraintools-0.0.6.tar.gz (23.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

earthscopestraintools-0.0.6-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

File details

Details for the file earthscopestraintools-0.0.6.tar.gz.

File metadata

  • Download URL: earthscopestraintools-0.0.6.tar.gz
  • Upload date:
  • Size: 23.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.7

File hashes

Hashes for earthscopestraintools-0.0.6.tar.gz
Algorithm Hash digest
SHA256 c3ac7239239c2e2509051210f06e0f7accd2988d212364839b5859eeca513e4c
MD5 08282e7b0e4f3e762d9a3dab542353df
BLAKE2b-256 93fe247e4ad24068b95c8215fa0d0de3185d910bcda5d87de442b4ffdab2f09e

See more details on using hashes here.

File details

Details for the file earthscopestraintools-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for earthscopestraintools-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 bd75a8e18f8f9fc2f944386ef9c595af8e2681c8615a07acba004fb524d938c8
MD5 2372490caa26eb7156eb1ec05f716bc6
BLAKE2b-256 ecf2829e251854ae30d3db8c91e130ef5f6b2792b3265e4e2e8e386ea79d0473

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page