+ IRIS Data Services Shortcourse December 15, 2014 MOMA Room, Palomar Hotel.

Slides:



Advertisements
Similar presentations
IRIS Services, Products, Quality Assurance Efforts, and Potential Links to High Performance Computing in the Era of BIG DATA By T. Ahern, M. Bahavar, R.Casey,
Advertisements

ASL QC Procedures Status and plans. GSN ANSS Traditional Waveform Review  The “morning run” Daily summarizes problems with availability, timing,
Data Management Workshop
Antelope Relational Database Management System A practical introduction.
03/17/2014 Data Management System -Data Services- Temporary Experiment Data Brief Data Services News MUSTANG update- QC on PASSCAL Data PASSCAL SC Spring.
IRIS Services Initiative Improving Data Access and Integration for the GeoSciences Linus Kamb, Joanna Muench, Tim Ahern IRIS Data Management Center.
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
INTERNET DATABASE Chapter 9. u Basics of Internet, Web, HTTP, HTML, URLs. u Advantages and disadvantages of Web as a database platform. u Approaches for.
Interpret Application Specifications
Improved Quality Control for Seismic Networks ---MUSTANG.
1 The World Wide Web. 2  Web Fundamentals  Pages are defined by the Hypertext Markup Language (HTML) and contain text, graphics, audio, video and software.
COMPUTER TERMS PART 1. COOKIE A cookie is a small amount of data generated by a website and saved by your web browser. Its purpose is to remember information.
Web Client/Server Communication A290/A590, Fall /09/2014.
August 13-19, 2010Data Management Workshop Foz do Iguassu- Brazil Seismic Quality Assurance Rick Benson IRIS DMC Rick Benson IRIS DMC.
CVSQL 2 The Design. System Overview System Components CVSQL Server –Three network interfaces –Modular data source provider framework –Decoupled SQL parsing.
Tuesday, December 4, 2012 Getting Started with Citrix Marketing Concierge Sheralyn Felix, Sr. WW Online Channel Marketing Coordinator.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
Overview of SQL Server Alka Arora.
1 HTML and CGI Scripting CSC8304 – Computing Environments for Bioinformatics - Lecture 10.
Copyright © cs-tutorial.com. Introduction to Web Development In 1990 and 1991,Tim Berners-Lee created the World Wide Web at the European Laboratory for.
Classroom User Training June 29, 2005 Presented by:
FPDS- NG Reports Overview December 16, Today’s Goals Provide an overview of the FPDS-NG reporting capability Demonstrate each of the reporting tools.
By Tim Ahern, Rick Benson, Rob Casey, Chad Trabant and Bruce Weertman and many more talented people at the IRIS DMC.
Array Response Functions with ArrayGUI
Chapter 6 The World Wide Web. Web Pages Each page is an interactive multimedia publication It can include: text, graphics, music and videos Pages are.
By Tim Ahern and Chad Trabant.  Federated Services in Seismology (COOPEUS)  Standardized access to seismological Data Centers resulting in federated.
September 11, 2015 The IRIS Data Management System Operations Overview & Data Curation Rick Benson IRIS DMC Operations Managing Data from Seismic Networks,
Accessing Data Using Web Services. IRIS Services – service.iris.edu FDSN Web services dataselect station event Documentation IRIS web services fedcatalog.
 Web Services and Data Products DSSC Fall 2014 Manoch Bahavar Alex Hutko Yazan Suleiman Bruce Weertman Mike Stults Mick Van Fossen Robert Weekly Chad.
Accessing Data through Web Services. IRIS Services – service.iris.edu  FDSN Web services  dataselect  station  event  Documentation Documentation.
Web Services at IRIS Implementations, Directions, and International Coordination Tim Ahern, Director of Data Services, IRIS Web Services Team: Bruce Weertman,
Dynamic Content On Edge Cache Server (using Microsoft.NET) Name: Aparna Yeddula CS – 522 Semester Project Project URL: cs.uccs.edu/~ayeddula/project.html.
Portable Data Collection Center (PDCC) and the Nominal Response Library (NRL) Tim Ahern.
Higher-Level Clients to Leverage MUSTANG Metrics Dr. Mary Templeton IRIS Data Management Center Managing Data from Seismic Networks September
Chapter 6 Server-side Programming: Java Servlets
1 Welcome to CSC 301 Web Programming Charles Frank.
IT at the IRIS DMC: Synergy with the CIG By Tim Ahern, IRIS DMS Program Manager By Tim Ahern, IRIS DMS Program Manager.
Web Design (1) Terminology. Coding ‘languages’ (1) HTML - Hypertext Markup Language - describes the content of a web page CSS - Cascading Style Sheets.
GEOSS- Washington 2005 The International Seismological centre An Earth Observation System of Systems Avi Shapira – International seismological Centre,
IT as a Tool to Provide Seamless Access to Diverse Data Sets By Tim Ahern Program Manager Data Management System The IRIS Consortium By Tim Ahern Program.
Automated Data Quality Assurance: QUACK and MUSTANG Mary Templeton IRIS Data Management Center Mary Templeton IRIS Data Management Center.
Tim Ahern Non Real Time SEED Request Tools. Workshop Representation Europe – ORFEUS Germany – Geofon United States - IRIS FDSN Centers with Significant.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
ECMM6018 Enterprise Networking for Electronic Commerce Tutorial 7
By Tim Ahern, Director of Data Services, IRIS An Overview of IRIS Incorporated Research Institutions for Seismology.
MUSTANG Quality Assurance Gillian Sharer TA Team Meeting November 9-10, 2015 With contributions from Rob Casey, Bruce Weertman, Laura Hutchinson, and Mary.
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
1 Current Status of USArray and EarthScope Thanks to Bob Woodward USArray Director.
By Tim Ahern, IRIS Director of Data Services Rick Benson, Manoch Bahavar, Alex Hutko, Celso Reyes, Yazan Suleiman Chad Trabant, Bruce Weertman.
The Virtual Heliospheric Observatory and Distributed Data Processing T.W. Narock 1,2, A. Szabo 2, A. Davis 3 1. L3 Communications,
Facilitate – Collaborate – Educate Thursday January 12, 15:30 January 10, 2012 Metadata Workshop, Bangkok, Thailand.
FDSN Working Group II Data Exchange and Data Centers By Bernard Dost, ORFEUS Data Centre, deBilt Netherland Tim Ahern FDSN Data Center for Continuous Data.
Understanding SEED Headers. SEED is an international standard for the exchange of digital seismological data SEED was designed for use by the earthquake.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
1 Chapter 22 World Wide Web (HTTP) Chapter 22 World Wide Web (HTTP) Mi-Jung Choi Dept. of Computer Science and Engineering
Web Services Essentials. What is a web service? web service: software functionality that can be invoked through the internet using common protocols like.
Wednesday NI Vision Sessions
Thurs Nov 12, 12:45 Nov 8-17, 2009Data Management Workshop Cairo, Egypt.
Station Metadata: What do I Need?
Data Formats & Data Structures
z/Ware 2.0 Technical Overview
Network Interactions with MUSTANG: MUSTANG Clients and Network Reports
Data Virtualization Tutorial… CORS and CIS
ISPAQ: IRIS System for Portable Assessment of Quality
Requesting a Standardized Data Set for the FDSN Network
Requesting a Standardized Data Set for the FDSN Network
Station Metadata: What do I Need?
Course Name: QTP Trainer: Laxmi Duration: 25 Hrs Session: Daily 1 Hr.
PDAP Query Language International Planetary Data Alliance
The Web Service based approach for data distribution at the IRIS DMC
Presentation transcript:

+ IRIS Data Services Shortcourse December 15, 2014 MOMA Room, Palomar Hotel

+ Agenda 8:00Welcome and IntroductionsTim Ahern 8:10Rick Benson, DMC Operations What Types of Data Does the DMC Manage Focus on raw seismic data How data are referenced in SEED using naming conventions, UTC Times, Virtual Networks 8:25Chad Trabant, Products and Services Fundamentals of Web Services Review of Web Services at the DMC Exercise using web services, URL builders Web Services beyond the browser: Fetch scripts, Java, MATLAB, ObsPy Exercise Using FetchData 9:10Manoch Bahavar, Product Specialist Event related data access with WILBER3, a browser based web services client 9:30Rick Benson Other DMC Services: SeedLink and BreqFast 9:45Mary Templeton, Quality Assurance Analyst The IRIS MUSTANG Quality Assurance System MUSTANG system MUSTANG Data Browser LASSO Automated scripts for advanced QA 10:30Tim Ahern Research Ready Data Sets Answering your questions

+ What Data Does DMC Have?

+ Virtual Networks: Currently 54

+ USArray Virtual Networks Virtual NetworkDescription _US-TA USArray Transportable Array _US-REF USArray Reference Network _US-FAUSArray Flexible Array _US-MTUSArray Magnetotelluric _US-ALLAll USArray Components _PBO Plate Boundary Observatory _SAFODSAFOD

+ An overview of web services service.iris.edu Web services use HTTP to get information from IRIS to your computer. Next: the basics and what the IRIS DMC has to offer.

+ Web Service Requests Client URL (with parameter list..) Header & Content Web Services

+ Communicate using client Client URL (with parameter list..) Header & Content Web Services

+ Communicate using client URL (with parameter list..) Header & Content Web Services Browser cURL Fetch irisFetch Your Own

+ Request is passed as URL Client Header & Content Web Services URL (with parameter list..) URL (with parameter list..)

+ Web Service executes request Client Header & Content URL (with parameter list..) URL (with parameter list..) Web Services

+ Content is returned Client URL (with parameter list..) URL (with parameter list..) Header & Content Web Services

+ Web Service Valid Request ? Data Exists? ✔ ✔ 400 – Invalid parameter PCLOADLETTER 200 – Data Data Data Data Data 404 (204) – Not Found ✖ ✖ Get Data A web service in action

+ Available via services… service.iris.edu

+ FDSN standardization Common set of interfaces: fdsnws-dataselect fdsnws-station fdsnws-event What you learn here applies to other datacenters.

service.iris.edu

+ Each service is fully documented URL Builder Description Query Parameters Examples Detailed Parameter Descriptions Relevant Links

+ Quickly access and explore web service data using the URL Builders

+ Web Services exercise Plot 35 minutes of 3-Component data with event From network IU and station(s) A?M? For the LH? channels Starting 5 min before P wave arrival For the largest shallow (<= 10km) event occurring within the last month. Rotated into RADIAL and TRANSVERSE components Use web services to do it. service.iris.edu

+ Web Services exercise Event – get event time, lat, lon, depth for largest shallow ( <10km depth) event in last 30 days. 2. Station – get station name, lat & lon for net: IU, station: A?M? 3. Distaz – get distance & azimuth 4. Traveltime – Find first P arrival 5. Rotation – plot a response corrected, ZRT rotated seismogram for 5 min before P arrival to 30 minutes after P arrival. for LH? channels. Taking notes will be helpful service.iris.edu

+ Web Services exercise Exercise 1. Event – get event time, lat, lon, depth for largest shallow ( <10k depth) event in last 30 days. 2. Station – get station name, lat & lon for net: IU, station: A?M? 3. Distaz – get distance & azimuth 4. Traveltime – Find first P arrival 5. Rotation – plot a response corrected, ZRT rotated seismogram for 5 min before P arrival to 30 minutes after P arrival. for LH channels. Hints. Builders help… EVENT Text output order by magnitude change dates & times max depth don’t need ALL events STATION text output, station level TRAVELTIME Only need min P phase traveltime ROTATION Rotate into ZRT service.iris.edu

+ About using the Browser… Interactive Builders only create URLs. Faster to modify/create the URL by hand Browser can only handle a certain amount of data. Lots of XML may crash your browser Requires your direct interaction

+ Web services: Beyond the Browser - via HTTP clients, such as wget, curl, etc These often are already on many systems - via DMC-provided interfaces: - command line: Fetch family of Perl scripts - Java: IRIS Java Web Service Library (IRIS-WS library) - MATLAB: irisFetch.m - via Community developed solutions: - ObsPy, SOD, Waveform Suite, EMERALD, SeisFile, etc. - via WILBER3 the JWEED and future desktop applications

+ Automate access with FETCH scripts

+ Fetch clients... Allow command-line access to IRIS-held data Have options that map to the service’s parameters Fetch clients and mseed2sac are available from: More usage details are available from:

+ The DMC’s Fetch web service clients FetchData: Fetch miniSEED data, simple metadata, and instrument responses (SEED RESP & SAC PZs) FetchEvent: Fetch Event (earthquake) information as text or XML FetchMetadata: Fetch primary channel metadata (coordinates, etc.) as text or XML service.iris.edu/clients

+ Usage: FetchEvent [options] -v More verbosity, may be specified multiple times (-vv, -vvv) -s starttime Limit to origins after time (YYYY-MM-DD,HH:MM:SS.sss) -e endtime Limit to origins before time (YYYY-MM-DD,HH:MM:SS.sss) --lat min:max Specify a minimum and/or maximum latitude range --lon min:max Specify a minimum and/or maximum longitude range --radius lat:lon:maxradius[:minradius] Specify circular region with opt. minimum radius --depth min:max Specify a minimum and/or maximum depth in kilometers --mag min:max Specify a minimum and/or maximum magnitude --magtype type Specify a magnitude type for magnitude range limits --cat name Limit to origins from specific catalog (e.g. ISC, PDE, GCMT) --con name Limit to origins from specific contributor (e.g. ISC, NEIC) --ua date Limit to origins updated after date (YYYY-MM-DD,HH:MM:SS) --allorigins Return all origins, default is only primary origin per event --allmags Return all magnitudes, default is only primary magnitude per event --orderbymag Order results by magnitude instead of time --evid id Select a specific event by DMC event ID --orid id Select a specific event by DMC origin ID -X xmlfile Write raw returned XML to xmlfile -A appname Application/version string for identification -o outfile Write event information to specified file, default: console --help

+ Example: Quick access to metadata $ FetchMetadata -N TA -S ELFS 29  The existence of metadata does not guarantee that time series data exists Received KB of metadata in 0.1 seconds (796.2 KB/s) Processed metadata for 114 channel epochs in 0.4 seconds (316.7 KB/s) #net|sta|loc|chan|lat|lon|elev|depth|azimuth|dip|instrument|scale|scalefreq|scaleunits|samplerate|start|end TA|ELFS|--|ACE| | |1553.0|0.0|0.0|0.0|Quanterra 330 Linear Phase Composite||0||0| T21:01:00| T18: TA|ELFS|--|BHE| | |1553.0|0.0|84.9|0.0|Streckeisen STS-2 G3/Quanterra 330 Linear Phase Co| E8|0.2|M/S|40|2007 TA|ELFS|--|BHN| | |1553.0|0.0|354.9|0.0|Streckeisen STS-2 G3/Quanterra 330 Linear Phase Co| E8|0.2|M/S|40|200 TA|ELFS|--|BHZ| | |1553.0|0.0|0.0|-90.0|Streckeisen STS-2 G3/Quanterra 330 Linear Phase Co| E8|0.2|M/S|40|200 TA|ELFS|--|LCE| | |1553.0|0.0|0.0|0.0|Quanterra 330 Linear Phase Composite| |0|S|1| T21:01:00|2007 TA|ELFS|--|LCQ| | |1553.0|0.0|0.0|0.0|Quanterra 330 Linear Phase Composite|1.0|0|PERCENT|1| T21:01:00|2007 TA|ELFS|--|LHE| | |1553.0|0.0|84.9|0.0|Streckeisen STS-2 G3/Quanterra 330 Linear Phase Co| E8|0.03|M/S|1|2007 TA|ELFS|--|LHN| | |1553.0|0.0|354.9|0.0|Streckeisen STS-2 G3/Quanterra 330 Linear Phase Co| E8|0.03|M/S|1|200 TA|ELFS|--|LHZ| | |1553.0|0.0|0.0|-90.0|Streckeisen STS-2 G3/Quanterra 330 Linear Phase Co| E8|0.03|M/S|1|200 TA|ELFS|--|LOG| | |1553.0|0.0|0.0|0.0|Quanterra 330 Linear Phase Composite||0||0| T21:01:00| T18: TA|ELFS|--|OCF| | |1553.0|0.0|0.0|0.0|Quanterra 330 Linear Phase Composite||0||0| T21:01:00| T18: TA|ELFS|--|UHE| | |1553.0|0.0|84.9|0.0|Streckeisen STS-2 G3/Quanterra 330 Linear Phase Co| E7|0.002|M/S|0.01|

+ FetchData exercise Request 1 hour of GSN long-period vertical (LHZ) data and simple metadata for M8.8 Chilean earthquake: $ FetchData -N _GSN –L 00 –C 'LHZ' -s ,06:34:00 -e ,07:34:00 -o /data/Chile-GSN-LHZ.mseed -m /data/Chile-GSN-LHZ.metadata Convert the miniSEED to SAC with metadata $ mseed2sac Chile-GSN-LHZ.mseed –m Chile-GSN- LHZ.metadata -E '2010,058,06:34:11/ / /22.9'

+ Broad support for FDSN services

+ Integrating & customizing for your own use #!/usr/bin/bash # usage:./fetchingscript minmag:maxmag startday endday a=$(./FetchEvent --mag ${1} --s ${2} --s ${3} --orderbymag --limit 1) # parse output a=${a%*|*|*|*|*|*} # strip off the end a=${a//[[:space:]]} # remove all spaces IFS=' ' read -r evid evdt evlat evlon evdep <<< ${b//|/ } # split fields # wrestle dates evdate=${evdt:0:10} evtime=${evdt:10} evendtime=$(date -j -f "%T" -v+10M ${evtime} "+%H:%M:%S") #add 10 minutes evstart="${evdate}T${evtime}" evend="${evdate}T${evendtime}"./FetchData -N _GSN -C BHZ -s ${evstart} -e ${evend} -o data.mseed -m data.meta -A test --radius ${evlat}:${evlon}:85:95./mseed2sac data -m data.meta data.mseed

+ WILBER3 Event-related data access Purpose: Leverage IRIS/FDSN web services to request event-related data Scenario: Need waveforms relating to a specific event Stations with spread Choose distances & azimuths Preview ability Interface: Web based, all you need is a browser ds.iris.edu/wilber3

+ Waveform access, by need

+ Batch REQuest FAST (BREQ_FAST) Purpose: Request large volume of SEED information asynchronously Scenario: You’re away, and need to get data. Not at your computer Slow internet connection Need large volume of data Don’t/can’t need to work on it right away

+ Order SEED now, process later with BREQ_FAST

+ BREQ_FAST via SeismiQuery

+ BREQ_FAST via SeismiQuery

+ BREQ_FAST via SeismiQuiery

+ BREQ_FAST via SeismiQuiery

+ Request from BREQ_FAST Via Request SEED : Request SEED metadata: Request miniSEED : Manual: Joe Seismologist. FTP.LABEL Earthquake1.QUALITY B.END GRFO IU SHZ ANTO IU SH? AFI IU BH? 00 SEE CD SHZ CASY IU BHZ 10 KMI CD BHZ SSE CD B?? SHZ PAS TS BH? SHZ L??

+ Real-Time Data Import:

+ Seedlink: Real-Time Data Export

+ Buffer of Uniform Data: BUD

+ How IRIS DS Serves “SeedLink” Data

+ Connection and Expectation (We do not regard this as High Availability)

+ Stations: Total vs RealTime

+ Seedlink Shipments are Significant

+ The IRIS MUSTANG Quality Assurance System What is MUSTANG? Modular Utility for STAtistical kNowledge Gathering Suite of web services that calculate, store and retrieve data quality measurements Modular – new metrics can easily be contributed and implemented Able to house contributed measurements from other institutions Queries for MUSTANG measurements are in the form of a URL

+ A few terms Metric – an algorithm that calculates some value related to data quality. Target – a data channel described by its SEED network, station, location and channel IDs, plus its SEED quality code (e.g. IU.ANMO.00.BHZ.Q). Measurement – a value calculated by a data quality metric for a single target and time window.

+ The MUSTANG system

+ What does MUSTANG measure? Current metrics

+ What does MUSTANG measure? Current network coverage (mainly BH channels) Coming next: G, GE, MN, NL & NZ

+ Where do you find MUSTANG? Main MUSTANG web page Tutorial: Getting Started With MUSTANG

+ How do you access MUSTANG measurements? Existing clients Builder LASSO Databrowser Write a client customized to your needs Any language that can use HyperText Transfer Protocol (HTTP) to send commands and receive data can be used to write a client.

+ IRIS DMC: Research Ready Data Sets MUSTANG Metric Estimators Gaps, overlaps, completeness, signal to noise, power density, pdf mode changes, Glitches, (~24 metrics in phase 2) MUSTANG Metric Estimators Gaps, overlaps, completeness, signal to noise, power density, pdf mode changes, Glitches, (~24 metrics in phase 2) PostgreSQL Database Data Quality Technician Domestic & Non-US Network Operators Domestic & Non-US Network Operators Researcher Specifies Required Data Metric Constraints DMC Filters Data Request Using Defined Constraints Filtered Data Request Returned to Researcher Archived and Real Time Data Research Ready Data Sets

+ IRIS Data Services Posters Data Access: GC13F-0716: Developing Federated Services within Seismology: IRIS’ involvement in the CoopEUS Project Monday, Dec. 15, 2014, 01:40 PM – 06:00 PM, Moscone West S43A-4536: Federated data access and other services offered by the IRIS DMC Thursday, Dec. 18, 2014, 01:40 PM – 06:00 PM, Moscone South Data Products: S33A-4478: The IRIS DMC’s Earth Model Collaboration (EMC) Wednesday, Dec. 17, 2014, 01:40 PM - 06:00 PM, Moscone South S43A-4506: A highlight of data products from IRIS Data Services Thursday, Dec. 18, 2014, 01:40 PM - 06:00 PM, Moscone South Quality Assurance: S13C-4471: The Future of Seismic Data Quality Assurance at the IRIS DMC Monday, Dec. 15, 2014, 01:40 PM – 06:00 PM, Moscone South S43A-4525: MUSTANG, A Community-Facing Web Service to Improve Seismic Data Quality Awareness Through Metrics Thursday, Dec. 18, 2014, 01:40 PM - 06:00 PM, Moscone South

+ Time for your Questions