80 likes | 103 Views
ISPAQ : I RIS S ystem for P ortable A ssessment of Q uality. Dr. Mary Templeton IRIS Data Management Center Managing Data from Seismic Networks August 20-26, 2017 Pretoria, South Africa. What is ISPAQ?. A python program that can calculate most MUSTANG metrics for data
E N D
ISPAQ:IRIS System for Portable Assessment of Quality Dr. Mary Templeton IRIS Data Management Center Managing Data from Seismic Networks August 20-26, 2017 Pretoria, South Africa
What is ISPAQ? • A python program that • can calculate most MUSTANG metrics for data • not archived at IRIS Data Services (Seattle), or • Metrics calculations for local files assumes day-long files • archived at any FSDN data center (including Seattle) • runs under • MacOS • Linux
How Do I Get ISPAQ? • To download ISPAQ • Install the git softwareon your machine (https://git-scm.com/downloads) • Typegit clone https://github.com/iris-edu/ispaq.git • To install ISPAQ • Follow the instructions in the README file
Running ISPAQ • Command line (great for scripting) ./run_ispaq.py -M percent_availability,num_gaps,max_gaps (metrics to run) -S AT06.XL..HH* (stations, networks, locations and channels to process) --sncl_format S.N.L.C (order for –S argument) --dataselect_url ./mydata (location of files or FDSN data center name) --csv_dir ./measurements (output directory for CSV files) --starttime 2015-001 --endtime 2015-008
Running ISPAQ • The possibilities (a LOT!) ./run_ispaq.py -h
ISPAQ Preference Files • Assigns nicknames to command-line options • cat preference_files/metprefs.txt nickname
Running ISPAQ • With a preference file (simplifies typing) ./run_ispaq.py -P preference_files/metprefs.txt (preference file name) -M completeness -S local --starttime 2015-001 --endtime 2015-031
ISPAQ Output Metrics values(CSV) PSD frequency-power values (CSV) PDF plots (PNG)