📄 rdseed.l
字号:
.\" @(#)rdseed.l 4.5;.\"===========================================================================*.\" SEED reader | rdseed | manual page |.\"===========================================================================*.\" *=======================================*.\"================| Manual page header definition |===================.\" *=======================================*.TH RDSEED 1.\" *=======================================*.\"================| Command name and description |===================.\" *=======================================*.SH NAMErdseed \- Read an FDSN SEED format volume.\" *=======================================*.\"================| Command synopsis |===================.\" *=======================================*.\" a short synopsis of the command syntax, including its options and arguments.SH SYNOPSIS.B rdseed.B "-{aclsSRtdoxzei} [-f filename] [v (n)] ".br.nf.\" *=======================================*.\"================| Command options |===================.\" *=======================================*.SH OPTIONSThe following options may be selected:.TP.B \-aretrieve the abbreviation dictionaries..TP.B \-bset the seismogram ouput buffer size..TP.B \-cretrieve volume table of contents..TP.B \-llist contents of each record in the volume..TP.B \-qset the rdseed output directory.TP.B \-Qselect the data quality flag.TP.B \-sretrieve all station and channel header information..TP.B \-Sextract a "weed" compatible station information file..TP.B \-Rretrieve all response information in a "evalresp" compatible format..TP.B \-tconstruct a list of all event start/stop times and starting record numbers..TP.B \-ddump the data records.TP.B \-odata output format 1=SAC, 2=AH, 3=CSS, 4=Mini-SEED, 5=SEED, 6=SAC ASCII, 7=SEGY.TP.B \-xread the summary file.TP.B \-zcheck reversals. Argument is btw 1..3 .TP.B \-eextract event data (blockette 71) from seed volume..TP.B \-iignore network codes..TP.B \-vspecify the volume number [1-n] to process (default is 1)..TP.B \-fspecify the input filename (default is /dev/nrst0)..TP.B \-gspecify alternate response file(s), see Alternate Response Files below.This takes precedence over any files indicated with the ALT_RESPONSE_FILEenvironment variable..\" *=======================================*.\"================| Command description |===================.\" *=======================================*.SH DESCRIPTION.B rdseedreads from the input tape (or other input file) in the format defined by the Federation of Digital Seismographic Networks (FDSN),popularly known asthe Standard for Exchange of Earthquake Data (SEED).According to the command line function option specified by the user,.B rdseedwill read the volume and recoverthe volume table of contents (-c option),the set of abbreviation dictionaries (-a option),orstation and channel information and instrument response tables (-s option).The desired volume on tape (or in a file) can be selected with the (-v option).The first volume is "1" , the second "2" and so forth. (Note: this option isonly used when a physical volume contains more than one logical volume.Two additional options allow access to detailed information concerning theactual contents of the volume (rather than reading files purporting to containsuch information from the volume, for which one uses the -c option).The first of these options (-t) writes out a list of data start and stop timesalong with the starting records at which those data may be found.(For the purposes of this discussion, a.B recordis defined as a set of station/channel/time continuous data records.)The other option (-l) is primarily a diagnostic tool; it writes a description of every record on the volume.In order to extract data from the SEED volume for analysis by other packages,the user must run.B rdseedin User Prompt Mode which is discussed below.As data is extracted from the SEED volume,.B rdseedlooks at the orientation and sensitivity of each channel and determines ifchannel polarity is reversed. Refer to the description of blockettes 52 and 58 inthe SEED manual for a description of reversed polarity. A negative sensitivityin blockette 58 is indicative of a reversed polarity. The user can request thatreversed channels be corrected. This correction is a simple multiplication by -1.0 .The output response file information is NOT adjusted for channels which rdseed inverts..B Output Header Corrections.br.B rdseeddoes correct the header information in the SAC, AH and CSS files as follows:.brSAC headers contain both scale factor and Dip/Azimuth information. If a Dip/Azimuthreversal has been corrected, RDSEED will correct the Dip/Azimuth information in the SACheader. If a negative sensitivity is corrected, the header SCALE value is also madepositive. If RDSEED finds both types of reversals, NO corrections to the data orheader are made.CSS headers are handled in the same way as SAC headers. The headerinformation is found in CSS formatted relation files that are seperate from thedata files. These files are named RDSEED.WFDISC, RDSEED.SITE and RDSEED.SITECHAN.The AH format presents a problem. There is no place forDip/Azimuth information. Headers contain only a scale factor. Thereforewhen a Dip/Azimuth reversal occurs, there is no place in the header toindicate that occurrance. Therfore the following rules are followed.If the user has not requested dip/azimuth checking and one is detected,.B rdseedwill invert the sign of the scale factor in the AH header. If the user has askedfor inversion checking, the data will be inverted and NO change in thescale factor will occur. Negative sensitivity is handled the same way as inthe SAC and CSS headers. Again, if.B rdseedfinds both types of reversals, NO corrections will be made.For SAC and AH files, units of response are in Counts/M./The (-z) option is used to select which type of inversion rdseed will correct../An entry of 1 selects dip/azimuth orientation, 2 selects sensitivity and 3 selects./both../The channel response data can be output using the -R option. A file is generated./for each channel of the format "RESP.sss.ccc" where "sss" is the station./and "ccc" is the channel..B User Prompt Mode.brWhen rdseed is run without any options, the user is prompted for allof the options as well as some additional options..TP.B Input Device (/dev/nrst0) : the input device can be changed from the default of /dev/nrst0. Note that whena taoe is being accessed, it is best to use the norewind device. This allowsrdseed to search for multiple volumes on tape accross tape file marks..TP.B Output Device (stdout) : the output device can be changed from the default of stdout..TP.B Volume # [(1)-N] : volume number can be changed from the default value of 1..TP.B Options [acsSrRtde] : one of the options must be selected. All except "d" and "e" have the same meaning as the corresponding command line options..TPthe "e" option will generate a "weed" compatible event file..TPIf the "d", "s" or "S" option is selected, further selection can be made..TP.B Summary File (None) :a rdseed summary file can be selected as input for rdseed. Used in conjunctionwith "weed" to specify station time windows..TP.B Station List (ALL) : a list of selected stations separated by spaces or commas. Wildcardsubstitution of characters "*" , "?" and "." is performed. A station namecan be that of an alias whose name is defined in a file whose filename isspecified by the enviornment variable SEEDALIAS. See details below..TP.B Channel List (ALL) : a list of selected channels separated by spaces or commas. Wildcardsubstitution of characters "*" ,"?" and "." is performed..TP.B Network Code (ALL) :a list of selected networks separated by spaces or commas. Enter ?? to disablenetwork processing. .TP.B Location Code (ALL) :a list of selected location codes separated by spaces or commas. Enter CR to disablelocation code processing.If the "d" option is selected, further selection can be made..TP.B Output Format [(1=SAC),2=AH,3=CSS, 4=miniseed, 5=seed, 6=SAC ascii, 7=SEGY] : select output format as SAC, AH, CSS 3.0 binary, mini seed, seed, SAC ascii or SEGY; default is SAC..TP.B Check Reversal [(0=No), 1=Dip.Azimuth, 2=Gain, 3=Both]: select signal reversal checking; default is No..TP.B Select Data Type [(E=Everything), D=Data of Undetermined State, R=Raw waveform Data, Q=QC'd data] :select data quality to processes..TP.B Start Time(s) (FIRST) : a list of seismogram start times of the form YYYY.DDD.HH:MM:SS.FFFF orYYYY/MM/DD.HH:MM:SS.FFFF separated by spaces. YYYY may be YY i.e. "90"for "1990". Least significant parts may be omitted, in which case theybecome zero i.e. "90.270" is time 00:00:00.000 of the 270th day of 1990..TP.B End Time(s) (LAST) : a list of seismogram end times of the same form as start times. Eachstart time (except the last one) must have a corresponding end time.If the last start time does not have a corresponding end time, the endtime is assumed to be the last time in the volume..TP.B Sample Buffer Length [2000000]: each seismogram is assembled in a sample buffer prior to output. The sizeof the buffer can be changed. This number is the number of samples. If thelength is too small for the any of the requested seismograms an errormessage will inform the user that the waveform is being broken intopieces. The user may increase the size of the buffer to avoid thisproblem..TP.B Extract Responses [Y/(N)] : channel response extraction is selected via this prompt. .SH Alternate Response FilesThe user can specify that station configuration and responses be takenfrom another SEED volume. This will allow for two possible scenariosto be accomplished. First, if station information is found to be inerror, the user can use the headers from another SEED volume that is knownto be correct. Second, if the SEED volume is a "data-only" volume (MINI-SEED),the user can use a "data-less" SEED volume and the "data-only" SEED volumeto extract the desired waveforms. So you say, "how do I do this?". Theenvironment variable ALT_RESPONSE_FILE should be defined with its valuebeing the path name of the SEED volume from which responses should betaken..SH The Alias File An alias file can be defined which contains a list of station alias names.The first word in each line of the file is the alias. The following wordsare station names which will match the corresponding alias. The alias filename must be defined in the SEEDALIAS environment variable. For example,the file rdseed.alias contains the following:CHINA BJI XIAN SHNGAll references to station CHINA will match station BJI, XIAN or SHNG.The source code is written in such a way that it will run, with recompilation,on both big-endian (e.g., Sun) and little-endian machines (e.g., VAX) underUNIX. This program has not yet been tested under VAX VMS..SH Time Tear ToleranceNormally, the tolerance for determining time tears is found in the stationheader information. Some stations may have clocks that wander excessively. This maycause time tears in the data. The drift tolerance can be adjusted by defining anenvironment variable called SEEDTOLERANCE. Its value is multipled by a drift tolerancethat is contained in the SEED volume for each channel.Thus a value of 3.0 will increase the drift tolerance by a factor of three. Driftis defined in units of "seconds per sample" and is typically around .00005 sec/smp..SH Rdseed Alert message fileWhen rdseed determines that data reversal is necessary and the user specifies that rdseed should reverse the data, rdseed creates a file with the data reversal information inside. This information includes the file name where the reversal was applied. When you exit the program, a message is displayed reminding you to look at this file.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -