📄 mst_printtracelist.3
字号:
.TH MST_PRINT 3 2007/03/24 "Libmseed API".SH DESCRIPTIONPrinting of MSTrace information..SH SYNOPSIS.nf.B #include <libmseed.h>.BI "void \fBmst_printtracelist\fP ( MSTraceGroup *" mstg ", flag " timeformat ",.BI " flag " details ", flag " gaps " );.BI "void \fBmst_printgaplist\fP ( MSTraceGroup *" msgt ", flag " timeformat ",.BI " double *" mingap ", double *" maxgap " );.fi.SH DESCRIPTION\fBmst_printtracelist\fP prints a formatted list of the MSTracesegments in the given MSTraceGroup. If the \fIdetails\fP flag isgreater than 0 the sample rate and sample count are printed for eachtrace. If the \fIgaps\fP flag is greater than zero the time gap fromthe previous MSTrace (if the source name matches) is printed. Alloutput is printed using \fBms_log(3)\fP at level 0.\fBmst_printgaplist\fP prints a formatted list of the gaps betweenMSTrace segments in the given MSTraceGroup to stdout. If \fImingap\fP or\fImaxgap\fP is not NULL their values will be enforced and onlygaps/overlaps matching their implied criteria will be printed.The \fItimeformat\fP argument for both \fBmst_printtracelist\fP and\fBmst_printgaplist\fP controls the format of the resulting timestrings. Possible formats are:.nf0 : SEED time format (2005,146,00:00:00.000000)1 : ISO time format (2005-05-26T00:00:00.000000)2 : Epoch time, seconds since the epoch (1117065600.00000000).fiBoth \fBmst_printtracelist\fP and \fBmst_printgaplist\fP representtime overlaps as negative gaps. For a single sample overlap the valueof the gap is calculated as zero, this will be printed as "-0" ornegative zero to indicate an overlap..SH GAP/OVERLAP RULESThe existence of gaps and overlaps is implicit in the structure of theMSTraceGroup, no special processing is done to detect gaps and overlapsin these routines.The value of a gap is calculated as the difference between the time ofthe last sample before the gap and the time of the first sample afterthe gap. No sample 'coverage' time is included.The value of an overlap is calculated as the time between two sampleswhich represent the maximum amount of timeseries overlap.When the MSTraces in the MSTraceGroup include a small segment that iscompletely overlapped by another larger segment the gap/overlap valuewill not be correct for either the smaller segment or the segmentfollowing it..SH SEE ALSO\fBms_intro(3)\fP.SH AUTHOR.nfChad TrabantIRIS Data Management Center.fi
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -