recover_cdorb2db_wfdisc {-d dirs | -f files } [-v] newdb
To create the wfdisc records, recover_cdorb2db_wfdisc assumes that waveform files contain a single day of data and were written out using the cdorb2db program. The samprate, time and endtime fields used in the output wfdisc rows are calculated based on the assumed daylong length of the waveform files.
It is left to the user to take the newly created wfdisc and merge it into any pre-existing wfdisc. No attempt is made to run dbfixids, so caution must be use if one chooses to combine the output newdb.wfdisc with any pre-existing wfdisc.
If you are looking to convert s4 waveforms to miniseed, see the program db2msd(1).
% recover_cdorb2db_wfdisc -f '2011/050/A[MN]*' recovered_wf ~/rtsystems/usarray/bin/recover_cdorb2db_wfdisc -f '2011/050/A[MN]*' recovered_wf 2011-063 01:03:15 recover_cdorb2db_wfdisc *notify*: Starting program at: 3/04/2011 1:03:15.000 2011-063 01:03:15 recover_cdorb2db_wfdisc *complain*: Selected file does not end with '=' as expected. Appending... 2011-063 01:03:15 recover_cdorb2db_wfdisc *notify*: Recovering: 2011/050/AMTX.BHE.2011.050.00.00.00= 2011-063 01:03:15 recover_cdorb2db_wfdisc *notify*: Recovering: 2011/050/AMTX.BHN.2011.050.00.00.00= 2011-063 01:03:15 recover_cdorb2db_wfdisc *notify*: Recovering: 2011/050/AMTX.BHZ.2011.050.00.00.00= 2011-063 01:03:15 recover_cdorb2db_wfdisc *notify*: Recovering: 2011/050/AMTX.LHE.2011.050.00.00.00= 2011-063 01:03:15 recover_cdorb2db_wfdisc *notify*: Recovering: 2011/050/AMTX.LHN.2011.050.00.00.00= 2011-063 01:03:15 recover_cdorb2db_wfdisc *notify*: Recovering: 2011/050/AMTX.LHZ.2011.050.00.00.00= 2011-063 01:03:15 recover_cdorb2db_wfdisc *notify*: Recovering: 2011/050/ANMO.BH1_10.2011.050.00.00.00= 2011-063 01:03:15 recover_cdorb2db_wfdisc *notify*: Recovering: 2011/050/ANMO.BH2_10.2011.050.00.00.00= 2011-063 01:03:15 recover_cdorb2db_wfdisc *notify*: Recovering: 2011/050/ANMO.BHZ_10.2011.050.00.00.00= 2011-063 01:03:15 recover_cdorb2db_wfdisc *notify*: Recovering: 2011/050/ANMO.LH1_10.2011.050.00.00.00= 2011-063 01:03:15 recover_cdorb2db_wfdisc *notify*: Recovering: 2011/050/ANMO.LH2_10.2011.050.00.00.00= 2011-063 01:03:15 recover_cdorb2db_wfdisc *notify*: Recovering: 2011/050/ANMO.LHZ_10.2011.050.00.00.00= 2011-063 01:03:15 recover_cdorb2db_wfdisc *notify*: 12 new wfdisc records 2011-063 01:03:15 recover_cdorb2db_wfdisc *notify*: Finished. % ls -l recovered_wf* -rw-rw-r-- 1 rt antelope 43 Mar 4 01:03 recovered_wf.lastid -rw-rw-r-- 1 rt antelope 3408 Mar 4 01:03 recovered_wf.wfdisc
cdorb2db(1) miniseed2db(1) db2msd(1)
The output database must have no pre-existing records.
No values are filled in for chanid, calib, calper, instype, or segtype. These values might be filled in if/when the output wfdisc is carefully added to a real-time database that has rtdbclean(1) run nightly.
Jennifer Eakins jeakins@ucsd.edu ANF University of California, San Diego