orbmsd2days - copy seed packets from orb into channel day volumes
orbmsd2days
[-c net_sta_chan_loc]
[-d db]
[-S state]
[-w wfname]
[-s start-time] [-e end-time]
[-m match]
[-r reject]
[-IUv]
orb
orbmsd2days reads seed packets from an orb
and constructs corresponding
output miniseed day volumes for each channel.
The data block sequence numbers are changed as the new
day volumes are written.
If a starting pktid is not recovered from a state file,
orbmsd2days begins following the oldest packet in the orb.
-
-c net_sta_chan_loc
Specify the particular stations desired.
-
-d db
Run miniseed2db on the output files to create the database db wfdisc table.
-
-S state
Use the state file to preserve orb state information.
-
-U
This option enables a more limited method of suppressing duplication.
orbmsd2days keeps a record of the time of the previously written data block for the
same net, sta, channel and loc, and does not write another block with the same or
previous time.
-
-I
inclusive time screening: this means that if an input miniseed block
contains times within the specified range, it is written to the output;
normal processing writes only blocks where the initial miniseed block
time from the header is within the time range. This is important when
a block may contain multiple days.
-
-m pattern
-
-r pattern
Standard orb match/reject patterns on packet srcnames.
-
-s start-time
only save data records where the block start time is at or after start-time
-
-e end-time
only save data records where the block start time is before end-time
(end-time may also be a time period, like 1:30 for an hour and a half)
orbmsd2days quits when a packet with a time somewhat larger than end-time is seen.
The "time_cushion" parameter is two minutes by default, and is specified in the
parameter file.
-
-w wfname
specify an alternate pattern for the output miniseed volumes.
This pattern dictates the way the data records are allocated to
files; all records which have the same resulting filename fall into
that same file.
The default pattern is
dir/%Y/%j/%{net}_%{sta}_%{chan}_%{loc}.msd ;
With a different wfname pattern which mentioned only net and sta,
all the channels for a particular station would fall into the same file.
This path may also be set in the parameter file orbmsd2days.pf.
-
-v
Be more verbose.
The parameter file contains the default pattern used
to name the output miniseed files; this can be overridden on the command line.
-
wfname
%Y/%j/%{net}_%{sta}_%{chan}_%{loc}.msd
-
time_cushion
orbmsd2days quits when a packet with a time greater than time_cushion seconds plus
the specified end-time is seen.
% orbmsd2days -v :
.
.
.
creating 2004/202/BK_KCC_LOG_.msd
creating 2004/202/BK_MOD_LOG_.msd
creating 2004/202/BK_MOD_ACE_.msd
creating 2004/202/BK_JCC_LOG_.msd
creating 2004/202/BK_HUMO_LOG_.msd
creating 2004/202/BK_ORV_LOG_.msd
wrote 5888 miniseed data blocks into 62 files
msdd(1)
db2sd(1)
Daniel Quinlan
Table of Contents
Antelope Release 4.7 Linux 2.4.19-4GB 2005-08-11
Boulder Real Time Technologies, Inc
For more information, contact support@brtt.com