MS_SRCNAME - Online Linux Manual PageSection : 3
Updated : 2006/11/27
Source : Libmseed API

NAMEms_srcname - Determine source names using the SEED naming nomenclature.

SYNOPSIS#include <libmseed.h> char *ms_recsrcname ( char *record, char *srcname, flag quality ); char *msr_srcname ( MSRecord *msr, char *srcname, flag quality ); char *mst_srcname ( MSTrace *mst, char *srcname, flag quality );

DESCRIPTIONThese routines generate a source name using the SEED naming nomenclature in the format: 'NET_STA_LOC_CHAN' and stores it in the buffer provided at srcname. If the quality flag is true the data quality character will be appended to the source name resulting in a format of: 'NET_STA_LOC_CHAN_QUAL'. The memory pointed to by srcname must have enough room for the resulting string. As of SEED 2.4 this is a maximum of 18 characters including the terminating NULL. The MSRecord and MSTrace structs are capable of producing a source name of 42 characters (including the terminating NULL) and libmseed commonly allocates 50 characters for the srcname buffer. ms_recsrcname generates a source name string for the SEED data record at record. If the quality flag is true the quality character will be appended. msr_srcname generates a source name string for the specified MSRecord struct. If the quality flag is true the quality character will be appended. mst_srcname generates a source name string in for the specified MSTrace struct. If the quality flag is true *and* mst->dataquality is not zero the quality character will be appended.

LOCATION IDS AND SPACESThe source name produced by these routines never include spaces. The fixed format nature of SEED data records leads to blank or unused location IDs represented by spaces. Such blank location IDs will be collapsed to nothing in the resulting sources names.

RETURN VALUESThe routines return a pointer to the resulting string or NULL on error.

AUTHORChad Trabant IRIS Data Management Center
0
Johanes Gumabo
Data Size   :   5,961 byte
man-msr_srcname.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 203,877
Visitor ID   :     :  
Visitor IP   :   3.145.92.213   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.