NAME
extrd - extract specified segment of the css data
SYNOPSIS
extrd
[-c chan]
[-n network]
[-o outdir]
[-s sta]
dbname|wfd_dir|"wfd_fnames" stime etime
SUPPORT
Contributed code: NO BRTT support.
THIS PIECE OF SOFTWARE WAS CONTRIBUTED BY THE ANTELOPE USER COMMUNITY. BRTT DISCLAIMS ALL OWNERSHIP, LIABILITY, AND SUPPORT FOR THIS PIECE OF SOFTWARE.
FOR HELP WITH THIS PIECE OF SOFTWARE, PLEASE CONTACT THE CONTRIBUTING AUTHOR.
DESCRIPTION
This program reads seismic data in CSS 3.0 format,
and extracts the specified subset of data.
The input data set can be specified by one of the
following:
dbname - database name
wfd_dir - full path name of a directory which contains a wfdisc files
wfd_fnames - full names of a wfdisc. Wild characters can be used in wfdisc name.
The program will create a data file and a wfdisc file with name of the
form YYDDDHHMM.w and YYDDDHHMM.wfdisc respectively,
which give the year, day, hour, and minute of the begining of the event.
COMMAND LINE ARGUMENTS
-
-c chan
Only data with channel names matching the regular
expression chan will be extracted.
-
-n network
A network code name. This name is used in a SEED header.
If this parameter is not specified extrd will look for an affiliation
table and will use the network code name specified in that table.
-
-o outdir
If outdir is specified in the command line then extrd
will create the directory and all output data will be placed there, otherwise
the output data will be placed in the current directory.
-
-s sta
Only data with station names matching the regular
expression sta will be extracted.
-
stime
The start time with which to start the data subset.
The program accepts time as a string in any date format (see DATASCOPE time utilities).
-
etime
The end time with which to finish the data subset.
Program accepts time as a string in any date format (see DATASCOPE time utilities).
EXAMPLE 1
Extract a subset of data with a time window 1992053-14:00:00 to 1992063-14:00:00:00
from the set of data wfdisc files of which are located in directory
/data/1991/wfdisc :
extrd /data/1991/wfdisc 1992053:14:00:00.0 1992063:14:00:00:00.0
EXAMPLE 2
Extract a subset of data with a descriptor file /hf/archive/anza with a
time window 880257482.0 to 880260000.0. Extract vertical channels only.
Store output data in /hf/archive/Z directory:
extrd -c ".*Z" /hf/archive/anza 880257482.0 880260000.0
AUTHOR
M. Glushko
Antelope User Group Contributed Software