Data Services Newsletter

Volume 19 : No 1 : Spring 2017

ISPAQ QA Client in Beta Test

Pack Ice
(Source: Andreas Weith, Wikimedia Commons)

ISPAQ (IRIS System for Portable Assessment of Quality, pronounced “ice-pack”) is currently in beta test in preparation for release in Spring 2017. ISPAQ is a command line tool written in Python that brings the ability to calculate MUSTANG data quality metrics to your desktop. Users will be able to calculate basic statistics such as daily sample mean, sample rms variance, and number of gaps, as well as more complex metrics such as MUSTANG’s orientation_check, polarity_check, and transfer_function. ISPAQ also has the capability to produce Power Spectral Densities (PSD) and a limited capacity to create Power Density Function (PDF) plots (for this first release, PDF plots are constrained to single day time extents).

The basic foundation for ISPAQ is miniSEED data, either as local station-channel-day files or accessible through an FDSN compliant web service. Many metrics can be calculated solely from the miniSEED data. Other metrics that rely on metadata or events can access that information through local XML files or web services. ISPAQ output is simple CSV format text files, suitable for use with other analysis tools such as Excel or Matlab.

Sample ISPAQ command line run:

(ispaq) bash-3.2$ ./run_ispaq.py -M customStats -S myStations –P preference.txt —starttime 2017-03-01 —endtime 2017-03-03

2017-03-23 11:45:49 – INFO – Running ISPAQ version 0.8.9 on Thu Mar 23 11:45:49 2017
2017-03-23 11:45:55 – INFO – Calculating simple metrics for 3 SNCLs on 2017-03-01
2017-03-23 11:45:55 – INFO – 000 Calculating simple metrics for IU.ANMO.00.BH1
2017-03-23 11:45:57 – INFO – 001 Calculating simple metrics for IU.ANMO.00.BH2
2017-03-23 11:45:57 – INFO – 002 Calculating simple metrics for IU.ANMO.00.BHZ
2017-03-23 11:45:59 – INFO – Calculating simple metrics for 3 SNCLs on 2017-03-02
2017-03-23 11:45:59 – INFO – 000 Calculating simple metrics for IU.ANMO.00.BH1
2017-03-23 11:46:00 – INFO – 001 Calculating simple metrics for IU.ANMO.00.BH2
2017-03-23 11:46:00 – INFO – 002 Calculating simple metrics for IU.ANMO.00.BHZ
2017-03-23 11:46:06 – INFO – Writing simple metrics to customStats_myStations_2017-03-01_2017-03-02_simpleMetrics.csv
2017-03-23 11:46:06 – INFOALL FINISHED!

by Gillian Sharer and Rob Casey (IRIS Data Management Center)