mk_dataless_seed - prepares dataless seed file from css3.0 database
mk_dataless_seed [-v] [-k]
[-o dataless_seed]
[-p parameter_file] input_database
mk_dataless_seed opens input_database and creates a dataless seed file.
mk_dataless_seed creates a dummy wfdisc with each record corresponding
to a unique sta-chan-time from the input_database.stage table.
input_database_seed contains a descriptor file which references the
affiliation, calibration, instrument, network, sensor, site, sitechan,
stage, and (if possible) snetsta and schanloc tables of the input_database.
All the necessary parameters
are filled in the wfdisc table except for segtype which is defaulted
to sd. The default segtype is defined in a parameter file. If
different segtypes are needed, then an array with the name of the netcode
can be specified in the parameter files.
After building the dataless wfdisc, mk_dataless_seed executes:
-
1)
db2sd on the database, using the dataless wfdisc table.
This procedure generates a complete SEED volume, with many data records
and the corresponding time span headers. The data records, however,
contain no data.
-
2)
trash_data on the resulting SEED volume. This just eliminates the
empty data records and the corresponding time span headers.
-
-v
more verbose
-
-k
don't clean up temp files and temp db
-
-p parameter_file
name of optional parameter file to use. $PFPATH is searched to
find the parameter file. Default is mk_dataless_seed.pf.
-
-o dataless_seed
name of optional output dataless seed file to use.
Default is input_database_dataless_seed.
needs to have sourced $ANTELOPE/setup.csh. Needs
environment variable $PFPATH to be set if not using default parameter file.
-
default_datatype - default data format for mini-seed data, can be sd (seed),
s2 (two byte integer), s4 (four byte integer), etc.
-
netcode - an associative array of start times and data formats.
The following is an example parameter file where the datatype submitted
to the DMC changed over the years.
default_datatype sd
knet &Arr{
1991-09-01 s2
1995-01-05 s4
1996-04-01 sd
}
knetc &Arr{
1991-09-01 s2
1995-01-05 s4
1996-04-01 sd
}
joshua &Arr{
1992-04-23 s2
}
db2sd(1)
trash_data(1)
-
010 blockette
The 010 blockette contains a time range: the time range for the
associated waveforms in a full seed volume. The dataless seed result
from mk_dataless_seed has no associated waveforms, and the time
range reflects the start time of the first station configuration and
the last time of any station configuration change, not the time period
during which any station was operational. That information is contained
in the blockette 050 and 052 headers.
Frank Vernon
Table of Contents
Antelope Release 4.7 Linux 2.4.19-4GB 2005-07-19
Boulder Real Time Technologies, Inc
For more information, contact support@brtt.com