IRISMustangMetrics-package {IRISMustangMetrics}R Documentation

Utilities for calculating seismic metrics from EarthScope (formerly IRIS DMC) data

Description

This package provides S4 classes and functions for calculating metrics from seismological data available from EarthScope (http://ds.iris.edu/ds/nodes/dmc/). This package is part of the MUSTANG project.

Introduction

The IRISMustangMetrics package depends upon the IRISSeismic package which defines new S4 classes and methods for manipulating seismic data. Please see the "seismic-intro" vignette for introductory examples on using IRISSeismic.

History

version 2.4.6

version 2.4.5

version 2.4.4

version 2.4.3

version 2.4.2

version 2.4.1

version 2.4.0

version 2.3.0

version 2.2.0

version 2.1.3

version 2.1.2

version 2.1.1

version 2.1.0

version 2.0.9

version 2.0.8

version 2.0.7

version 2.0.6

version 2.0.5

version 2.0.4

version 2.0.2

version 2.0.1

version 2.0.0 – GeneralValueMetrics

version 1.3.1 – PSDs

version 1.3.0 – latency

version 1.2.7 – PSDs

version 1.2.6 – PSDs

version 1.2.5 – ISPAQUtils

version 1.2.4 – package version dependencies

version 1.2.2 – correlationMetric tweak

version 1.2.1 – PSDs

version 1.2.0 – PSDs

version 1.1.3 – bug fix, import version increased

version 1.1.2 – modifications

version 1.1.1 – bug fix

version 1.1.0 – updates package dependencies

version 1.0.8 – new metric and bug fix

version 1.0.7 – bug fix

version 1.0.6 – function argument changes

version 1.0.5 – new PSD metric

version 1.0.3 – new functionality and bug fixes

version 1.0.0 – First Public Release

Author(s)

Jonathan Callahan jonathan@mazamascience.com

References

IRIS DMC web services: http://service.iris.edu/

Examples

# Open a connection to IRIS DMC webservices
iris <- new("IrisClient", debug=TRUE)

# Get the seismic data
starttime <- as.POSIXct("2010-02-27 06:45:00",tz="GMT")
endtime <- as.POSIXct("2010-02-27 07:45:00",tz="GMT")
result <- try(st <- getDataselect(iris,"IU","ANMO","00","BHZ",starttime,endtime))
if (class(result) == "try-error" ) {
   print(geterrmessage())
} else {
   # Apply a metric and show the results
   metricList <- basicStatsMetric(st)
   dummy <- lapply(metricList, show)
}

[Package IRISMustangMetrics version 2.4.6 Index]