COMSERV basic binary installation readme file: 96/10/19 -------------------------------------------------------------------------- To extract data beginning at a specified time interval, use the "qmerge" command. This example illustrates using qmerge to make a file containing 3 days of LHN data beginning at 96/10/17,00:00:00. At this time, 3 days were not yet available, so extraction stops with the most recently recorded data. This example makes a MiniSEED binary file called "lhndata": ./qmerge -o lhndata -f 96/10/17,00:00 -s 3d ~/data/comserv/SYO/LHN.D/* SYO LHN: rate=1 (1996.290 23:54:11.8860 to 1996.291 13:31:19.8860) : 49028 points, 0.0 msec correction, (min,max,max_step = 0.0,0.0,0.0 msec) Similarly the system's text log files can be extracted and viewed using the "nlog" program. Read the "qlog.man" file to document operation of "nlog". nlog -o _log1 -f 96/10/17,00:00 -s 3d ~/data/comserv/SYO/LOG.L/* SYO LOG: text (1996.291 00:14:26.0000 to 1996.291 17:58:58.0000) : 326 lines geoturbo% tail _log1 1996.291 17:32:41.0000 FROM TAPE: Log Percentages : TIM=0.00 MSG=0.05 DATA=1.00 1996.291 17:35:58.0000 FROM TAPE: Log flush complete at 96/10/17 17:35:57 at record 7109 on /MT0 1996.291 17:50:01.0000 FROM AQSAMPLE: LPNB detector pick: 1996.291 17:50:01.0000 FROM AQSAMPLE: C A 0 01610 1996 291=10/17 17:48:32.886 0 9.00 0 LHZ 1996.291 17:54:24.0000 FROM TAPE: Starting log flush at 96/10/17 17:54:23 at record 7109 on /MT0 1996.291 17:54:24.0000 FROM TAPE: Log Percentages : TIM=0.00 MSG=0.03 DATA=1.20 1996.291 17:57:38.0000 FROM TAPE: Log flush complete at 96/10/17 17:57:38 at record 7124 on /MT0 1996.291 17:58:57.0000 FROM AQSAMPLE: 96/10/17 17:58:57 VHZ: 10761.184 1.198 3.407 1996.291 17:58:58.0000 FROM AQSAMPLE: 96/10/17 17:58:57 VHN: 1824.728 0.941 3.209 1996.291 17:58:58.0000 FROM AQSAMPLE: 96/10/17 17:58:57 VHE: 5743.124 0.947 3.026 You may use the "decode" program to decompress the miniSEED files into a simple ascii file. "decode" reads a file "i_decode" in the current working directory containing a list of the files to process. using the "lhndata" file extracted above results in the following run-time output. The program source "decode.f" explains the output. geoturbo% echo lhndata >i_decode geoturbo% cat i_decode lhndata geoturbo% decode now reading ----- lhndata warning: inaccurate time tag. compression level 2 11 SYO 442 1 1996 290 23 54 11 886 6489 LHN ---T---- warning: inaccurate time tag. 11 SYO 442 1 1996 291 1 42 20 886 3605 LHN ---T---- warning: inaccurate time tag. 11 SYO 446 1 1996 291 2 42 25 886 6489 LHN ---T---- warning: inaccurate time tag. 11 SYO 459 1 1996 291 4 30 34 886 2163 LHN ---T---- warning: inaccurate time tag. 11 SYO 463 1 1996 291 5 6 37 886 6489 LHN ---T---- warning: inaccurate time tag. 11 SYO 473 1 1996 291 6 54 46 886 6489 LHN ---T---- warning: inaccurate time tag. 11 SYO 477 1 1996 291 8 42 55 886 2163 LHN ---T---- warning: inaccurate time tag. 11 SYO 476 1 1996 291 9 18 58 886 6489 LHN ---T---- warning: inaccurate time tag. 11 SYO 473 1 1996 291 11 7 7 886 721 LHN ---T---- warning: inaccurate time tag. 11 SYO 474 1 1996 291 11 19 8 886 6489 LHN ---T---- warning: inaccurate time tag. 11 SYO 467 1 1996 291 13 7 17 886 721 LHN ---T---- total usr cpu: 0.1564400 The ascii file generated contains a header line, followed by the decompressed samples: geoturbo% head lhndata_LHN 11 SYO 442 1 1996 290 23 54 11 886 6489 LHN ---T---- 442 442 442 443 443 443 443 443 443 443 443 443 443 443 443 442 443 443 443 443 443 443 442 442 442 443 443 443 442 442 ********************************* END OF DOCUMENT *****************************