⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 msr_starttime.3

📁 C编写的格式转换程序
💻 3
字号:
.TH MSR_STARTTIME 3 2006/02/27 "Libmseed API".SH DESCRIPTIONStart and end time determination for MSRecord structures.SH SYNOPSIS.nf.B #include <libmseed.h>.BI "hptime_t  \fBmsr_starttime\fP ( MSRecord *" msr " );".BI "hptime_t  \fBmsr_starttime_uc\fP ( MSRecord *" msr " );".BI "hptime_t  \fBmsr_endtime\fP ( MSRecord *" msr " );".fi.SH DESCRIPTION\fBmsr_starttime\fP returns the start time of the record as a highprecision epoch time (see \fBms_time(3)\fP).  Any time correctiongiven in the fixed section data header is applied if it has notalready been applied.  If Blockette 1001 is included and parsed themicroseconds indicated (field 4) are also applied.NOTE: The record start time for a MSRecord structure is availabledirectly at MSRecord.starttime.  Libmseed based programs should usethat start time whenever possible (\fBmsr_unpack\fP uses\fBmsr_starttime\fP to set MSRecord.starttime).\fBmsr_starttime_uc\fP is a version of \fBmsr_starttime\fP thatapplies no time corrections, just a basic conversion of the start timevalues in the fixed section data header.\fBmsr_endtime\fP returns the time of the last sample in the record asa high precision epoch time (seed \fBms_time(3)\fP).  This is *not*the time "covered" by the last sample, but the actual sample time.This function calculates the record start time with\fBmsr_starttime\fP and then adds the time covered by the samples inthe record which is calculated from the number of samples and samplerate..SH RETURN VALUES\fBmsr_starttime\fP, \fBmsr_starttime_uc\fP and \fBmsr_endtime\fPreturn a high precision epoch time on success and HPTERROR on error..SH SEE ALSO\fBms_intro(3)\fP, \fBms_time(3)\fP and \fBmsr_unpack(3)\fP.SH AUTHOR.nfChad TrabantIRIS Data Management Center.fi

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -