Man page - mstl_addmsr(3)
Packages contains this manual
- ms_writemseed(3)
- ms_strncpopen(3)
- msr_free(3)
- ms_readtracelist(3)
- ms_btime2isotimestr(3)
- ms_hptime2isotimestr(3)
- ms_addselect(3)
- ms_readleapsecondfile(3)
- mst_writemseed(3)
- ms_selection(3)
- ms_ratapprox(3)
- mst_printtracelist(3)
- ms_matchselect(3)
- ms_hptime2seedtimestr(3)
- mst_srcname(3)
- msr_starttime_uc(3)
- ms_readtraces(3)
- ms_gswap3(3)
- ms_btime3hptime(3)
- ms_intro(3)
- ms_readleapseconds(3)
- ms_loginit(3)
- mst_printgaplist(3)
- mst_writemseedgroup(3)
- mstl_convertsamples(3)
- mst_addspan(3)
- ms_samplesize(3)
- msr_parse_selection(3)
- mst_groupheal(3)
- ms_loginit_l(3)
- ms_printselections(3)
- msr_pack(3)
- ms_gswap2(3)
- ms_blktdesc(3)
- ms_parse_raw(3)
- mst_printsynclist(3)
- ms_gswap8(3)
- msr_host_latency(3)
- ms_time2hptime(3)
- ms_readtracelist_selection(3)
- mstl_printgaplist(3)
- mst_addtracetogroup(3)
- mst_convertsamples(3)
- mstl_init(3)
- mst_pack(3)
- ms_gswap(3)
- ms_seedtimestr2hptime(3)
- mstl_printsynclist(3)
- msr_endtime(3)
- mst_init(3)
- ms_encodingstr(3)
- ms_genfactmult(3)
- mstl_printtracelist(3)
- mst_initgroup(3)
- ms_hptime2btime(3)
- msr_unpack(3)
- msr_pack_header(3)
- mst_freegroup(3)
- ms_readselectionsfile(3)
- mst_addmsr(3)
- ms_log(3)
- ms_gswap4a(3)
- ms_recsrcname(3)
- mst_packgroup(3)
- mstl_free(3)
- ms_gswap4(3)
- ms_btime2mdtimestr(3)
- ms_readtraces_timewin(3)
- msr_init(3)
- ms_splitsrcname(3)
- ms_detect(3)
- msr_print(3)
- msr_nomsamprate(3)
- mst_groupsort(3)
- mst_findadjacent(3)
- ms_timestr2hptime(3)
- ms_lookup(3)
- msr_addblockette(3)
- ms_blktlen(3)
- ms_gswap2a(3)
- ms_bigendianhost(3)
- msr_duplicate(3)
- ms_readmsr(3)
- msr_free_blktchain(3)
- mstl_addmsr(3)
- mst_free(3)
- ms_md2doy(3)
- msr_srcname(3)
- ms_freeselections(3)
- ms_errorstr(3)
- ms_find_reclen(3)
- mst_addmsrtogroup(3)
- ms_srcname(3)
- mst_findmatch(3)
- ms_readtracelist_timewin(3)
- ms_strncpclean(3)
- ms_doy2md(3)
- msr_normalize_header(3)
- msr_samprate(3)
- ms_btime2seedtimestr(3)
- msr_writemseed(3)
- msr_parse(3)
- ms_gswap8a(3)
- ms_log_l(3)
- ms_readmsr_r(3)
- ms_readtraces_selection(3)
- ms_addselect_comp(3)
- ms_hptime2mdtimestr(3)
- ms_time(3)
- msr_starttime(3)
apt-get install libmseed-doc
Manual
MSTL_INIT
NAMESYNOPSIS
DESCRIPTION
RETURN VALUES
SEE ALSO
AUTHOR
NAME
mstl_init - Adding MSRecord data coverage to and MSTraceList structure
SYNOPSIS
#include <libmseed.h>
MSTraceSeg
*mstl_addmsr ( MSTraceList *
mstl
, MSRecord
*
msr
,
flag
dataquality
, flag
autoheal
,
double
timetol
, double
sampratetol
);
DESCRIPTION
mstl_addmsr adds the data coverage in a MSRecord structure to the specified MSTraceList structure. If data samples are associated with the MSRecord they will also be added to the MSTraceList. New MSTraceID and MSTraceSeg sub-structures will be created and added to the MSTraceList as needed.
Each MSTraceList contains a list of trace IDs as MSTraceID structures each of which contain a list of time segments as MSTraceSeg structures. This routine will maintain the list of trace IDs in alphanumeric sort order and the subsequent time segments in time order.
If the dataquality flag is true traces will be grouped by quality in addition to the source name identifiers, in short differentiate using quality or not.
If the autoheal flag is true any two trace segments which would fit together due to the addition of the new MSRecord coverage will be merged. The only reason to set this option to false (0) is if the prvtptr pointer member of the MSTraceSeg structures is being used since libmseed has no knowledge how such data should be merged.
RETURN VALUES
mstl_addmsr returns NULL on error and a pointer to the MSTraceSeg structure to which the data coverage was added on success.
SEE ALSO
mstl_init(3) and mstl_free(3) .
AUTHOR
Chad Trabant
IRIS Data Management Center