MST_FINDMATCH - Online Linux Manual PageSection : 3
Updated : 2006/02/27
Source : Libmseed API

NAMEmst_findmatch - Searching a MSTraceGroup for specific MSTrace structures.

SYNOPSIS#include <libmseed.h> MSTrace *mst_findmatch ( MSTrace *startmst, char dataquality", char *network, char *station", char *location, char *channel"); MSTrace *mst_findadjacent ( MSTraceGroup *mstg", flag *whence, char dataquality", char *network, char *station", char *location, char *channel", double samprate, double sampleratetol", hptime_t starttime, hptime_t endtime", double timetol);

DESCRIPTION mst_findmatch traverses a MSTrace chain starting at startmst and returns the first entry that matches the source name identifiers. If dataquality is not zero it must also match the found entry. A calling program commonly calls this routine in a loop in order to find all matching MSTraces in a MSTraceGroup. mst_findadjacent finds the first entry in the MSTraceGroup pointed to by mstg that matches the given source name identifiers and is time adjacent to the time coverage described by the samprate, starttime and endtime. If dataquality is not zero it must also match the found entry. See ms_time(3) for a description of the high precision epoch time format needed for starttime and endtime. The tolerance for sample rate and time matching can also be specified. If sampratetol is -1.0 the default tolerance of abs(1-sr1/sr2) < 0.0001 is used. If timetol is -1.0 the default time tolerance of 1/2 the sample period will be used. If sampratetol or timetol is -2.0 the respective tolerance check will not be performed. If time tolerance is not checked whence will be set to whichever end fits best. The time tolerance is specified in seconds. When an adjacent MSTrace is found the whence flag will be set to indicate where the indicated time span is adjacent in the following way: 1: time span fits at the end of the MSTrace 2: time span fits at the beginning of the MSTrace

RETURN VALUESmst_findmatch returns a pointer to the matching MSTrace structure or 0 if no match found or error. mst_findadjacent returns a pointer to the adjacent MSTrace structure and the whence flag is set when an adjacent MSTrace is found or 0 when no adjacent MSTrace is found.

SEE ALSOms_intro(3), mst_init(3) and ms_time(3).

AUTHORChad Trabant IRIS Data Management Center
0
Johanes Gumabo
Data Size   :   8,284 byte
man-mst_findmatch.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 184,539
Visitor ID   :     :  
Visitor IP   :   18.222.91.173   :  
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.