📄 sac2mseed.1
字号:
.TH SAC2MSEED 1 2006/05/17.SH NAMESAC to Mini-SEED converter.SH SYNOPSIS.nfsac2mseed [options] file1 [file2 file3 ...].fi.SH DESCRIPTION\fBsac2mseed\fP converts SAC waveform data to Mini-SEED format. Bydefault the format of the input files is automatically detected: alphaor binary (byte order autodetected). The format can also be forcedwith the \fI-f\fP option. If an input file name is prefixed with an '@'character the file is assumed to contain a list of input data files,see \fILIST FILES\fP below.If the input file name ends in ".sac" (not case sensitive) the defaultoutput file name will be the same with the extension replace with".mseed". The output data may be re-directed to a single file orstdout using the -o option..SH OPTIONS.IP "-V "Print program version and exit..IP "-h "Print program usage and exit..IP "-v "Be more verbose. This flag can be used multiple times ("-v -v" or"-vv") for more verbosity..IP "-S "Include SEED blockette 100 in each output record with the sample ratein floating point format. The basic format for storing sample ratesin SEED data records is a rational approximation(numerator/denominator). Precision will be lost if a given samplerate cannot be well approximated. This option should be used in thosecases..IP "-n \fInetcode\fP"Specify the SEED network code to use, if not specified the networkcode will be blank. It is highly recommended to specify a networkcode if no network is defined in the SAC file..IP "-l \fIloccode\fP"Specify the SEED location code to use, if not specified either on thecommand line or as the KHOLE SAC header variable the location codewill be blank..IP "-r \fIbytes\fP"Specify the Mini-SEED record length in \fIbytes\fP, default is 4096..IP "-e \fIencoding\fP"Specify the Mini-SEED data encoding format, default is 11 (Steim-2compression). Other supported encoding formats include 10 (Steim-1compression), 1 (16-bit integers) and 3 (32-bit integers). The 16-bitintegers encoding should only be used if all data samples can berepresented in 16 bits..IP "-b \fIbyteorder\fP"Specify the Mini-SEED byte order, default is 1 (big-endian or mostsignificant byte first). The other option is 0 (little-endian orleast significant byte first). It is highly recommended to alwayscreate big-endian SEED..IP "-o \fIoutfile\fP"Write all Mini-SEED records to \fIoutfile\fP, if \fIoutfile\fP is asingle dash (-) then all Mini-SEED output will go to stdout. Alldiagnostic output from the program is written to stderr and shouldnever get mixed with data going to stdout..IP "-m \fImetafile\fP"For each input SAC file write a one-line summary of channel metadata\fImetafile\fP. The one-line summary is a comma-separated listcontaining: network, station, location, channel, scale factor,latitude, longitude, elevation, depth, azimuth, incidence andinstrument name. In SAC the component azimuth is in degrees clockwisefrom north, the component incident angle is in degrees from verticaland the elevation and depth are both in meters..IP "-s \fIfactor\fP"When writing data to an integer (Mini-SEED) encoding format apply thisscaling \fIfactor\fP to each input floating point data sample beforetruncating to an integer. By default autoscaling is used and ascaling factor is determined that will scale the maximum sample valueto a minimum of 6 digits. If none of the input sample values includefractional components the scaling factor will be 1 and the floatingpoint data will simply be truncated to their integer components..IP "-f \fIformat\fP"By default the format of each input file is autodetected, either alphaor binary (little or big endian byte order autodetected as well).This option forces the format for every input file:.nf0 : Autodetect SAC format (default)1 : Alphanumeric SAC format2 : Binary SAC format, autodetect byte order3 : Binary SAC format, little-endian4 : Binary SAC format, big-endian.fi.SH SEED LOCATION CODESThe contents of the SAC header variable KHOLE is used as the SEEDlocation code if it is set. While the definition of KHOLE and SEEDlocation code are not officially the same, this is the knownconvention when converting between these two formats..SH LIST FILESIf an input file is prefixed with an '@' character the file is assumedto contain a list of file for input. Multiple list files can becombined with multiple input files on the command line. The last,space separated field on each line is assumed to be the file name tobe read.An example of a simple text list:.nfTA.ELFS..LHE.SACTA.ELFS..LHN.SACTA.ELFS..LHZ.SAC.fi.SH ABOUT SACSeismic Analysis Code (SAC) is a general purpose interactive programdesigned for the study of sequential signals, especially timeseriesdata. Originally developed at the Lawrence Livermore NationalLaboratory the SAC software package is also available from IRIS..SH AUTHOR.nfChad TrabantIRIS Data Management Center.fi
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -