umsd, msdnxt, msdrec - uncompress miniseed records
#include "tr.h"
int msdnxt ( Msd *msd );
int msdrec ( Msd *msd, int rec );
int umsd ( Msd *msd, int **data, int *npts );
The routines
msdnxt and msdrec read the header of the next record or the specified
record (only when the records are of fixed size). msdnxt generally advances
the record pointer to the next record, except at its first call, or following
a call to msdput to set MSD_OFFSET.
umsd unpacks the data record described by the input msd,
returning a pointer to the integer data and the
number of data points. (The data buffer is part of
the Msd structure, and is managed by umsd and freed by
msdfree()).
The msd pointer must be properly filled out with the
miniseed header information for umsd to work.
msdnxt returns 1 when another record was found, 0 when there are no more
records.
msdrec returns 0 when the specified record is found and its headers unpacked,
non-zero if some error occurs.
umsd returns 0 for success, a non-zero bit flag if some error occurs. Possible
errors include
MSD_NO_1000_BLOCKETTE for no 1000 blockette, or
MSD_UNSUPPORTED_DATATYPE for unsupported or unrecognized datatype,
or a variety of possible errors in steim compressed miniseed, described in
ustc(3).
$(TRLIBS)
MT-Safe
cmsd(3)
msd(3)
Daniel Quinlan
Table of Contents
Antelope Release 4.9 Linux SuSE 9.3 (i586) 2.6.11.4 2007-10-19
Boulder Real Time Technologies, Inc
For more information, contact support@brtt.com