qtunbale [-c chan] [-d db] [-f max-frag] [-i info-dir] [-o orb] [-S subdir] [-t timeout] [-w wfname] [-aqruvV] url [time [endtime|period]]
qtunbale2 is an alternative approach which uses wget instead of the perl http interface.
Because balers are often sleeping, qtunbale always pings the baler, and waits for a response before beginning to download data. (The baler takes about 15 seconds to wake up after the attention button on its front panel is pressed).
Typically as data is downloaded, it is fed to miniseed2days(1) to sort the variety of data blocks inside the volume into individual channel day volumes. The resulting filenames are dictated by the -w option passed to miniseed2days, or otherwise by the miniseed2days parameter file.
1) a 3 character channel code 2) a 2 character loc code 3) loc and channel combination, like this: X1-BHZ 4) a blank separated list of option #3.In any of these options, use '?' to represent a single character wildcard.
% qtunbale -a joebaler reading availability from 'http://joebaler/files.htm' 7226.339 Mbytes data is present in QT-0113 from 3/14/2003 22:51:07.000 to 12/30/2003 23:08:59.000 % % qtunbale -v -d db joebaler waiting 1:04 minutes reading availability from 'http://joebaler/files.htm' 8454.717 Mbytes data is present in QT-0113 from 3/14/2003 22:51:07.000 to 2/13/2004 14:41:29.000 unloading informational files: url is http://joebaler result is QT-0113 Information Hardware and Software Q330 Serial Number: 010000069A40064D AMB Serial Number: 010000067C1E9257 Seismo 1 Serial Number: None Seismo 2 Serial Number: None QAPCHP 1 Serial Number: 3110126 QAPCHP 2 Serial Number: 3110061 KMI Property Tag Number: 113 System Software Version: 1.50 Slave Processor Version: 1.10 Calibrator Type: QCAL330 Calibrator Version: 1.4 Clock Type: Motorola M12 PLD Version: 2.6 GPS Engine Identification SFTW P/N # 61-G10002A SOFTWARE VER # 1 SOFTWARE REV # 3 SOFTWARE DATE Mar 13 2000 MODEL # P133T11NR1 HWDR P/N # 1 SERIAL # P002XL MANUFACTUR DATE 0A25 . . . |========================>| Got 30076928 bytes of 30076928 (100.00%) wrote 30.08 Mbytes in 1:53 minutes 0.3 Mbyte/s = 764.6 x real time unload_timerange: * * 2003/03/27 00:00:00 to 2003/03/28 00:00:00 (1 days) miniseed2days: appending to ./2003/086/QT_0113_BLE_.msd448 miniseed2days: appending to ./2003/086/QT_0113_BLN_.msd448 miniseed2days: appending to ./2003/086/QT_0113_BLZ_.msd448 . . .
q3302orb(1) miniseed2days(1) miniseed2db(1)
When using the -v option (to get an ascii progress bar), occasionally the bar may be interrupted with other output from miniseed2days or miniseed2orb.
The verbose option may need some tuning.