RT Seis
RT Seis
Data Utility
5.00 3/26/2013
This REF TEK manual describes a utility program for converting PASSCAL data recorded with a REF TEK DAS to SEISAN format.
Trimble Navigation Limited 1600 Tenth Street Suite A Plano, Texas 75074 Tel: 214-440-1265 Fax: 972-578-0045 www.reftek.com
5.00
RT_SEIS
3/26/2013
Revision History:
Rev 5.00 4.10 E D C A B 0.1 Date 2013.03.26 2009.06.30 2009.06.05 2007.07.13 2006.07.08 2005.10.27 2003.10.04 2003.09.02 2002.01.12 Reason for change Updated to 5.00 Updated Template Utilities 4.10 Separate docs RT_View 1.4.3 Added RT_COS Update Moved Archive Utilities Converted to separate document Added RT_SEIS(D) Initial release RT_COS Update RT_MSEED Update RT_CM6 Added Pages All All All Section 2 Section 7 Separate Document All Section 6 All Section 7 Section 8 Section 9
Related Documents:
Optional Manuals RTCC Command / Control Users Guide RT_Display Users Guide RT_View Users Guide RTPMonitor Installation and Users Guide RTPD Installation and Users Guide PDF file RTCC.pdf RTDisplay.pdf RTView.pdf RTPM.pdf RTPD.pdf
Copyright 2013 Trimble Navigation Limited All rights reserved. No part of this manual may be reproduced, copied or transmitted in any form outside the approved recipients organization without written permission from Trimble Navigation Limited. Printed in USA.
Page ii
Section 1
5.00
RT_SEIS
3/26/2013
Notation Conventions
conventions
are
used
throughout
REF
TEK
MSB MSbit LSB LSbit YYYY DDD HH MM SS TTT IIII n, nS u, uS m, mS K, KHz M, MHz G, GHz
Kb, KB Mb, MB Gb, GB
Indicates the entry conforms to the American Standard Code for Information Interchange definition of character (text) information. Indicates the entry is a raw, numeric value. Indicates hexadecimal notation. This is used with both ASCII characters (0 9, A F) and numeric values. Indicates the entry is a numeric value where each four bits represents a decimal digit. Indicates the entry is the ASCII representation of a floating-point number with n places following the decimal point. Indicates a single 8-bit byte. When the contents are numeric, it indicates a hexadecimal numeric value; i.e. <84> represents hexadecimal 84 (132 decimal). When the contents are capital letters, it represents a named ASCII control character; i.e. <SP> represents a space character, <CR> represents a carriage return character and <LF> represents a line feed character. Most Significant Byte of a multi-byte value. Most Significant Bit of a binary number. Least Significant Byte of a multi-byte value. Least Significant Bit (bit 0) of a binary number. Year as a 4-digit number Day of year Hour of day in 24-hour format Minutes of hour Seconds of minute Thousandths of a second (milliseconds) Unit ID number nano, nanoSecond; 10-9 = 0.000000001 micro, microSecond; 10-6 = 0.000001 milli, milliSecond; 10-3 = 0.001 Kilo, KiloHertz; 103 = 1,000 Mega, MegaHertz; 106 = 1,000,000 Giga, GigaHertz; 109 = 1,000,000,000
Kilobit, KiloByte; 210 = 1,024 Megabit, MegaByte; 220 = 1,048,576 Gigabit, GigaByte; 230 = 1,073,741,824
Page iii
5.00
RT_SEIS
3/26/2013
REF TEK
As a valued user of REF TEK equipment we would like to provide the best support possible by keeping you up to date with our product updates. If you would like to be notified of any REF TEK product updates please spend a couple of minutes to register with the REF TEK customer support team. To register, fill out our http://support.reftek.com . online registration form at
Once we register your contact we will only send necessary notifications via email. The same notifications will be shown on our websites http://support.reftek.com notifications page. Thanks, Your REF TEK support team
Page iv
Section 1
5.00
RT_SEIS
3/26/2013
Contents
1 General Description ................................................................................ 1 2 Program usage ....................................................................................... 2
2.1 3.1 3.2 4.1 4.2 RT_SEIS Program Switches ............................................................................ 3 RTU.INI Fields .............................................................................................. 6 Sample RTU.INI file: ..................................................................................... 6 RT_SEIS Files ............................................................................................... 7 RT_SEIS Files ............................................................................................... 8
3 INI Settings............................................................................................ 5
Page v
5.00
RT_SEIS
3/26/2013
Page vi
Section 1
2013.03.27
RT_SEIS
Status
RT_SEIS
1 General Description
The REF TEK RT_SEIS program converts a REF TEK PASSCAL raw data file into SEISAN data files. Note: RT_SEISD.EXE is the DOS version, rt_seis.exe is the Win32 version and rt_seis is the name of the UNIX versions. If present, the RT_SEIS program uses an INI file to set values that it cannot find in the raw data file. The RT_SEIS program first looks at the RTU environment variable. If the file specified by the environment variable is not found, it then looks for RTU.INI in the current directory. If not found, it then it looks for RTU.INI in the directory where the program is located. If not found, the RT_SEIS program uses default values.
Page 1
5.00
RT_SEIS
3/26/2013
Program usage
The input file is a REF TEK PASSCAL raw data file. qualified path. The output path defaults to the current directory. available on the file system.
The table below describes the available switches. The switches are NOT case sensitive and can appear anywhere on the command line.
Page 2
Section 2
5.00
RT_SEIS
3/26/2013
-Lc -Nc
-Ly -Ns
N/0/N/-
-Pn
Path
-P0
-p2
-Qc
Qcc File
-Q+
N/-
Default Sample Rate (only used if rate not known) Limit the number of samples in the output file Trash n samples from each event
200 4,294,967,295 0
1 2
iiii = uid (serial no.) yyyy = year, ddd = day of year, hh = hour, mm = minute, ss = second
Page 3
3/26/2013 Switch command c: Y/+ : output message N/ - : do not output message Ex: -VY Default Y/+
Page 4
Section 2
5.00
RT_SEIS
3/26/2013
INI Settings
The RT_SEIS program uses the first INI file it finds. It searches for the INI file in the following locations: The fully-qualified file specified by the RTU environment variable. RTU.INI in the current working directory. RTU.INI in the directory where the RT_SEIS program is located. If the INI file is not found, the RT_SEIS program uses default values. Each time the RT_SEIS program encounters a new event in the input file, initializes all settings to default values. It then opens the INI file, if one can be found, and overwrites only those settings it finds in the INI file. As it continues processing the input file, it overwrites any settings with the information from the recording packets. The INI file is broken into separate sections for each REF TEK recorder. Each section is named using the 4-hexadecimal digit Unit ID (serial) number of the recorder. Ex: [90A5] Each section is broken into fields. Each field is on a separate line with an equal sign (=) between the field name and the field. Ex: Station=STAP2 All sections and fields must be at the beginning of a line. Only one section marker or field may be on a line. Comments begin with a semicolon (;). Comments may be on a line by themselves or at the end of a line containing a section marker or field. Lines that begin with white space are also treated as comments. Ex: ;This is a comment. Ex: Station=STAP2 ;This is another comment Ex: Yet another comment
Page 5
5.00
RT_SEIS
3/26/2013
CHnSeisComp
Text
Sscx1
FH-3:6 TH-A:6
;Channel 1 CH1SeisComp = S ;Channel 2 CH2SeisComp = S ;Channel 3 CH3SeisComp = S ;Channel 4 CH4SeisComp = B ;Channel 5 CH5SeisComp = B ;Channel 6 CH6SeisComp = B
Page 6
Section 3
5.00
RT_SEIS
3/26/2013
All output file specifications adhere to the ISO-9660 level 2 standard. This limits file names to 32 characters including a three-character extension. Only letters, numbers and the underscore character can be used. The file name and file extension are separated by a period. Only one period is permitted. Path components have the same limitations as file names. The RT_SEISD program is further limited to DOS file names of 8 characters with a three-character extension. By default, files are stored in a subdirectory named IDiiii, where iiii represents the DAS Unit ID.
The RT_SEIS program creates output file names using the first sample time of the trace and either the Station Name or the Unit ID (serial) number of the REF TEK DAS that collected the data.
1 2
iiii = uid (serial no.) Eeee = event number, s = data stream number, c = channel number
Page 7
5.00
RT_SEIS
3/26/2013
1 2
iiii uid (serial no.) Yyyy = year, ddd = Julian day, hh = hour, mm = minute, ss = second, ttt = msecond, iiii = uid (serial no.) or station name, s = stream, c = channel (1-9, A-W)
Page 8
Section 4
5.00
RT_SEIS
3/26/2013
Page 9
5.00
RT_SEIS
3/26/2013
5.1.1
Byte Number 1 2 30
Line 1:
Field Name Network name Number of Stations Century Year DOY Month SEISAN Waveform Standard format Free Network Name, (could E.G. be Western Norway Network) Number of Stations, MAX 999 0 = 1900, 1 = 2000 Year Space DOY Space Month Space Day Space Hour Space Minute Space Second (Format F6.3) Space Total Time Window (Secs) (Format F9.3) Free SUDSEI Description ASCII space Header for REFTEK REF TEK SEISAN Description ASCII space INI:Network or REFTEK NETWORK Total number of Channels in the file 0 if year > 84, 1 otherwise Year (first sample) ASCII space DOY (first sample) ASCII space Month (first sample) ASCII space Day (first sample) ASCII space Hour (first sample) ASCII space Minute (first sample) ASCII space Second + m-second (first sample) ASCII space (last sample time first sample time) (1000/ (sample rate * 0.001)) ASCII space
31 33 34 35 36 37 38 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 59 60 61 69
Total number of Channels ASCII space Year ASCII space DOY ASCII space Month ASCII space Day ASCII space Hour ASCII space Minute ASCII space Second + m-second ASCII space (last sample time first sample time) (1000/ (sample rate * 0.001)) ASCII space
Second
70 80
5.1.2
Byte Number 1 80
Line 2:
Field Name SEISAN Waveform Standard format Free SUDSEI Description ASCII spaces REF TEK SEISAN Description ASCII spaces
Page 10
Section 5
5.00
RT_SEIS
3/26/2013
5.1.3
Byte Number 1 25 69
Line 3:
Field Name Station Code Component SEISAN Waveform Standard format Free Station Code (A4) Component (A4) SUDSEI Description ASCII space Station Name + Stream number + Channel number Character S + two spaces + Channel number ASCII space (channel first sample time) (event first sample time) ASCII space (Sample counter) / Sample rate Same as byte 1 26 REF TEK SEISAN Description ASCII space EH:Station name or INI:Station INI:CHnSeisComp or character S + stream + channel + axis EH:Station name or INI:Station (channel first sample time) (event first sample time) ASCII space (Sample counter) / Sample rate Same as byte 1 26
10 11 17
18 19 26 27 52
53 78
Third Channel
79 80
Station Code 5th character (A1) Start Time Relative to Event File Time (Secs) (F7.2) Space Station Data Interval Length (Secs) (F8.2) Second Channel ( 26 bytes for Channel 2; same format as byte 1 26) Third Channel ( 26 bytes for Channel 3; same format as byte 1 26) Blank
5.1.4
. . .
Line 4:
5.1.5
Line XX:
Note: Lines 4 XX have the same format as line 3; XX depends on the number of channels. However, XX is at least 12 so there might be some blank lines.
Page 11
5.00
RT_SEIS
3/26/2013
10 11 13 14 17 18 20 21 23 24 26 27 29 30
- 12 16 19 22 25 28 35
Space Year Space DOY Space Month Space Day Space Hour Space Minute Space Second (F6.3) Space Sample Rate (F7.2) Space Number of Samples Space Latitude (F8.4) Space Longitude (F9.4) Space Elevation (Meters) Gain factor (blank = no gain, G = gain in bytes 148 159) Sample Size ( 2 or 4 for 2 or 4 byte integer, blank is 2 byte)
36 37 43 44 45 50 51 52 59 60 61 - 69 70 71 75 76
Longitude
Elevation Gain
77
Sample Size
Page 12
Section 5
RT_SEIS SEISAN Waveform standard format Response Information. (space = option 1, P = option 2: Poles and zeros used for response info. See optional structure for details. T = Use the 30 tabulated values irrespective of what is given above.) Table Response Format. (only used if byte 78 is T: C = a combination of table, poles and zeros or instrument constants have been used, for information only; F = force use of header response, e.g. generated by MULPLT, only gain at 1Hz is correct.) Free Comment line describing the system response (A80) SUDSEI Description ASCII space
79
ASCII space
ASCII space
80 81 160
Comments
5.2.1
Response Formats
Page 13
5.00
RT_SEIS
3/26/2013
5.2.2
Byte Number
Option 1:
Field Name SEISAN Waveform standard format REF TEK RT_SEIS(D) Description SEISAN SUDSEI Description
185 192 193 200 201 208 209 216 217 224 225 320 321 1040 Filter 1 Cuttoff Filter 1 Poles Filter 2 - 6 Response Curves
Seismometer Period Fraction of Critical Damping Seismometer Generator Constant (V/m/s) or Seismometer Sensitivity (V/G) Amplifier Gain Recording media gain (i.e. 2048 counts/volt) Gain at 1 Hz, units: counts/meter Filter 1 Cutoff frequency (Hz) Filter 1 # poles (neg for highpass) Additional filters (10G8.3) Response Curves FREQ., AMPL. (REL. 1.0 Hz) and Phase, Written in Groups of 10 Frequencies, 10 Amplitudes and 10 Phases. (9(10G8.3)
ASCII spaces ASCII spaces ASCII spaces ASCII spaces ASCII spaces ASCII spaces ASCII spaces
ASCII spaces ASCII spaces ASCII spaces ASCII spaces ASCII spaces ASCII spaces ASCII spaces
Page 14
Section 5
5.00
RT_SEIS
3/26/2013
5.2.3
Byte Number
Option 2:
Field Name SEISAN Waveform standard format REF TEK RT_SEIS(D) Description SEISAN SUDSEI Description
161 182
Response Definition
Poles Pairs
Number of Poles Number of Zeros Normalization Constant, Counts/ M (1X, 2I5, G11.4) 2 Poles in pairs of real and imaginary parts (5G11.4) Remaining Poles and Zeros. 7 values are written and then 3 spaces are left blank.
ASCII spaces
ASCII spaces
ASCII spaces
ASCII spaces
ASCII spaces
ASCII spaces
5.2.4
In the file header section, the RT_SEIS program breaks the 960 bytes into blocks containing 80 byte. This directly corresponds to the blocks of the SEISAN format specification. In each trace section, the RT_SEIS program breaks the 1040 byte trace header into 8 blocks of 128 bytes and 1 block of 16 bytes. It breaks the data into blocks of 128 bytes, although the last block may be shorter. One byte containing the block length is stored before and after each block.
Page 15
5.00
RT_SEIS
3/26/2013
Trimble Navigation Limited 1600 Tenth Street Suite A Plano, Texas 75074 Tel: 214-440-1265 Fax: 972-578-0045 www.reftek.com