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

📄 ms_srcname.3

📁 C编写的格式转换程序
💻 3
字号:
.TH MS_SRCNAME 3 2006/11/27 "Libmseed API".SH DESCRIPTIONDetermine source names using the SEED naming nomenclature..SH SYNOPSIS.nf.B #include <libmseed.h>.BI "char  *\fBms_recsrcname\fP ( char *" record ", char *" srcname ", flag " quality " );".BI "char  *\fBmsr_srcname\fP ( MSRecord *" msr ", char *" srcname ", flag " quality " );".BI "char  *\fBmst_srcname\fP ( MSTrace *" mst ", char *" srcname ", flag " quality " );".fi.SH DESCRIPTIONThese routines generate a source name using the SEED namingnomenclature in the format: 'NET_STA_LOC_CHAN' and stores it in thebuffer provided at \fIsrcname\fP.  If the \fIquality\fP flag is truethe data quality character will be appended to the source nameresulting in a format of: 'NET_STA_LOC_CHAN_QUAL'.The memory pointed to by \fIsrcname\fP must have enough room for theresulting string.  As of SEED 2.4 this is a maximum of 18 charactersincluding the terminating NULL.  The MSRecord and MSTrace structs arecapable of producing a source name of 42 characters (including theterminating NULL) and libmseed commonly allocates 50 characters forthe \fIsrcname\fP buffer.\fBms_recsrcname\fP generates a source name string for the SEED datarecord at \fIrecord\fP.  If the \fIquality\fP flag is true the qualitycharacter will be appended.\fBmsr_srcname\fP generates a source name string for the specifiedMSRecord struct.  If the \fIquality\fP flag is true the qualitycharacter will be appended.\fBmst_srcname\fP generates a source name string in for the specifiedMSTrace struct.  If the \fIquality\fP flag is true *and*mst->dataquality is not zero the quality character will be appended..SH LOCATION IDS AND SPACESThe source name produced by these routines never include spaces.  Thefixed format nature of SEED data records leads to blank or unusedlocation IDs represented by spaces.  Such blank location IDs will becollapsed to nothing in the resulting sources names..SH RETURN VALUESThe routines return a pointer to the resulting string or NULL onerror..SH AUTHOR.nfChad TrabantIRIS Data Management Center.fi

⌨️ 快捷键说明

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