NAME
rddas - read data from RefTek DAS to orb
SYNOPSIS
rddas [-R]
[-l]
[-p parameter-file]
[-s B,P,D,S]
[-u]
[-v]
inport orb
SUPPORT
Contributed code: NO BRTT support.
THIS PIECE OF SOFTWARE WAS CONTRIBUTED BY THE ANTELOPE USER COMMUNITY. BRTT DISCLAIMS ALL OWNERSHIP, LIABILITY, AND SUPPORT FOR THIS PIECE OF SOFTWARE.
FOR HELP WITH THIS PIECE OF SOFTWARE, PLEASE CONTACT THE CONTRIBUTING AUTHOR.
DESCRIPTION
An
rddas reads RefTek DAS which connect to a serial port
inport
on a computer ; tries to recognize and parse PASSCAL packet; pre-appends a
specific header to each raw packet and sends it to an
orb ring buffer.
rddas devides all PASSCAL packets on two groups - Data packets and
Information packets. Data packets corresponds to PASSCAL
DT packet type.
Information packets include PASSCAL
AD, CD, EH, ET, OM, SH, SC packet
types.
OPTIONS
-
-R
Tells rddas to send RESET_DAS command to DAS before reading
data. That option can be used only in a case if DAS accepts external
commands.
-
-l
Tells rddas to create logfile representing data in Reftek
instrument format. It contains the instrument set-up information, the
state-of-health information, and records on all events and their
start&end&trigger times. The logfile name will be in a form of
DASID_log.
-
-p parameter-file
An rddas uses a parameter file which contains parameters for
Data and Information packets. A parameter file parameter-file
will be used to get parameters of a raw data packet, its type, header type,
and to get station and channel names code for each component of a raw data packet.
By default the pscl.pf parameter file is used.
-
-s B,P,D,S
Specify the serial port parameters to match the RefTek's serial port.
Parameters must be specified in form B,P,D,S where:
B is baud rate ( 9600, 38400, 57600, etc.);
P is a parity ( n => no parity, o = > odd parity,
e => even parity );
D is a number of data bits ( 7 or 8 );
S is a number of stop bits ( 1 or 2 )
The default parameter settings 57600,n,8,1 .
-
-u
Uncompress seismic data before putting them on an orb ring buffer.
-
-v
Be more verbose.
EXAMPLE
Read data from a DAS which connected to a Magma port /dev/cua/0
and send them to orb on localhost; create logfile.
rddas -l /dev/cua/0 localhost
SEE ALSO
orbstat(1)
BUGS AND CAVEATS
Occasionally when attempting to read from a DAS using a
Magma card on a Sun, no data will be returned. To fix this,
stop the instance of rddas and reset the Magma card by doing the
following:
$port will be 0,1,2,....
/opt/MAGMA_Sp/bin/magmareset /dev/cua/$port
/opt/MAGMA_Sp/bin/setport cua/$port 57600 cs8 -cstopb parenb parodd
AUTHOR
Marina Glushko
Antelope User Group Contributed Software