Skip to content

norfordb/groundmotion

Repository files navigation

Warning

This repository is currently under development so the functionality and organization of the code is changing rapidly.

Linux build Travis Build Status
Code quality Codacy
Code coverage Code Coverage Status

groundmotion-processing

Introduction

This is a project designed to provide a number of functions related to parsing and processing ground motion data, building on top of the ObsPy library. Most of the extensions that we provide are to handle strong motion data and related issues.

Current functionality includes:

  • Readers for a variety of formats not supported by ObsPy. See the gmprocess.io subpackage. All readers return ObsPy streams.
  • Ground motion record summary methods (i.e., intensity measures, or metrics) in gmprocess.metrics subpackage.
  • The gmprocess.processing.py module uses ObsPy and our own methods for processing ground motion records. We are working towards logging each processing step with the SEIS-PROV provenance standard.
  • We are also working towards storing records, event/station metadata, and provenance information in the ASDF format.

Installation and Dependencies

  • Mac OSX or Linux operating systems
  • bash shell, gcc, git, curl
  • On OSX, Xcode and command line tools
  • The install.sh script installs this package and all other dependencies, including python and the required python libraries. It is regularly tested on OSX, CentOS, and Ubuntu.
  • Alternative install with conda (not recommended currently because we are not able to keep it up to do with the rapid rate of development):
conda install gmprocess
  • Run gmsetup to install config files in the .gmprocess subdirectory under the home directory.