Changes between Initial Version and Version 1 of README.dc2tank


Ignore:
Timestamp:
02/27/12 17:02:46 (10 years ago)
Author:
branden
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • README.dc2tank

    v1 v1  
     1{{{ 
     2dc2tank - datacenter to tank module 
     3 
     4        Pulls miniSEED data from a datacenter (currently only DHI enabled) and converts 
     5it to a tankplayer tank. Ultimately this module will allow pulling from the CWB format 
     6data center protocol for waveforms. 
     7 
     8        Written by Paul Friberg and Kevin Frechette of ISTI.com July 2007. 
     9 
     10ARGUMENT LIST: 
     11 
     12Usage: ./dc2tank [-n maxsamples] [-d secs] -D dir -t [d|c] -f scnlfile -p props -o tank 
     13Version 0.0.1 2007.07.18 
     14 -n maxsamples - the max number of samps per tracebuf in tank 
     15        defaults to 200 per tbuf, cannot be larger than 1008 
     16 -D workingdir - the working dir where mseeds and intermediate tanks are put 
     17 -p props - properties file needed for DHI type 
     18 -f scnlfile - SCNL file (space separated) needed for DHI type DC 
     19 -o tankfile - name of remuxed tank to write 
     20 -s YYYY/MM/DD HH:MM:SS - start time  to grab (put in quotes) required. 
     21 -d secs - optional duration in secs to grab (default=600secs). 
     22 -t d or c - type of data center d=DMC/DHI, c=CWB (not supported yet) 
     23 
     24 
     25 
     26If no args are given, the above message is spewed back to the user. 
     27 
     28REQUIREMENTS: 
     29 
     301. Java version 1.5 or greater installed and in the path of the user: 
     31 
     32        java -version 
     33 
     34        should run for you. 
     35 
     362. DHI properties file. An example below is for IRIS DHI and UCBerkeley: 
     37 
     38output of iris.txt: 
     39  NameService=corbaloc:iiop:dmc.iris.washington.edu:6371/NameService 
     40  NetworkDNS=edu/iris/dmc 
     41  NetworkDC=IRIS_NetworkDC 
     42  SeismogramDNS=edu/iris/dmc 
     43  SeismogramDC=IRIS_DataCenter 
     44 
     45output of ncedc.txt (uc berkeley): 
     46 
     47 NameService=corbaloc:iiop:transfrm.geo.berkeley.edu:1050/NameService 
     48 NetworkDNS=edu/berkeley/geo 
     49 NetworkDC=NCEDC_NetworkDC 
     50 SeismogramDNS=edu/berkeley/geo 
     51 SeismogramDC=NCEDC_DataCenter 
     52 
     533. a SCNL file (comma separated Station Channel Network Location per line), 
     54        uses the -- convention for blank location codes as EW does: 
     55Example: 
     56YUH BHZ BK -- 
     57CVS BHZ BK -- 
     58BDM BHZ BK -- 
     59 
     604. DHI2mseed.jar jar file in the current directory where you intend to  
     61 run the code (we can move this later or point to it via an env var). 
     62 
     63 
     645. The ability to write to a directory for working space for miniSEED files 
     65        and a temporary tank file. Note the temporary tank file is removed 
     66        after it is remuxed. 
     67 
     68EXAMPLE RUN: 
     69 
     70dc2tank -D test -p ncedc.txt -f bk.scnl -s "2007/07/01 00:00:00" -t d -v -o testtank 
     71running DHI2mseed to get mseed files 
     72Processing BDM.BHZ.BK..20070701.000000.mseed 
     73Processing CVS.BHZ.BK..20070701.000000.mseed 
     74Remuxing tank in time order testtank 
     7520070720_UTC_18:44:00 remux_tbuf: finished writing file testtank 
     76 
     77The file testtank is a remux'ed  tankbuf suitable for tankplayer'ing. 
     78 
     79Note that the miniSEED files are sitting in the directory test (specified by the -D arg). 
     80}}}