Help with web service Fetch scripts

Overview of scripts

FetchData
Fetch time series and optionally, related metadata, matching SAC Poles and Zeros and matching SEED RESP files. Time series data are returned in miniSEED format, metadata is saved as a simple ASCII list.

FetchMetadata
Fetch station metadata and output simple ASCII. Optionally, the XML returned by the service can be saved.

FetchEvent
Fetch event parameters and print simple ASCII summary.

Quick start

  1. Download the latest version of desired scripts from the Files section
  2. Make the scripts executable (e.g 'chmod +x FetchData-2013.077')
  3. Run script to print usage message

Tutorial with examples

See Running the scripts and examples

Requirements

The scripts are written in Perl and should run with any relatively recent Perl interpreter. In some cases, particularly for older Perl releases, you might need to install some required modules, namely XML::SAX and Bundle::LWP (libwww-perl). The procedure to install these modules is system dependent, for most Unix/Linux OSes they can be installed using the package management system. In addition to Perl only network access to the IRIS DMC's web server is needed.

For large data requests installing the XML::SAX::ExpatXS Perl module will significantly increase the parsing speed of XML metadata used by all scripts.

Using the scripts with data centers other than the IRIS DMC

See Use with other data centers