MSR_PARSE(3)
π MSR_PARSE(3) β the libmseed era π
ok bestie, welcome to MSR_PARSE(3), a page from the Library Functions Manual π. It's a Library Functions situation, so grab a strawberry drink π and let's get into it.
β¨ NAME β¨
msr_parse β parse, validate, and print details of a SEED data record π
πΈ SYNOPSIS πΈ
#include <libmseed.h>
int ms_parse_raw ( char *record, int maxreclen,
flag details, flag swapflag );
π¦ DESCRIPTION π¦
so ms_parse_raw is literally a simple validating SEED data record header parser. That's the whole vibe. π
The data in record is assumed to contain a SEED data record, and it can be at most maxreclen long. Not only does it validate header fields where possible, it can also print the raw header fields for you. Its main character energy is: identifying invalid data record headers and printing record header contents. That's the job. π«Ά
The details flag is read like this:
0= only print error messages for invalid header fields π1= print basic fields, in addition to invalid field errors β¨2= print all fields, in addition to invalid field errors π₯
The swapflag flag is read like this:
1= swap multibyte quantities π0= do no swapping π«-1= autodetect byte order using year test, swap if needed π
π RETURN VALUES π
ms_parse_raw returns 0 when no errors were detected, or a positive count of errors detected. slay, now you know what you're looking at. π―
π SEE ALSO π
msr_parse(3) and ms_detect(3) β go read those too, iykyk π
π AUTHOR π
Chad Trabant IRIS Data Management Center
and that's the whole page, bestie π§ β this was Libmseed API, dated 2010/12/30, and you ate it fr fr πβ¨
π¦ where this page comes from
- debian bookworm: libmseed-doc 2.19.8-1 Β· LGPL-3.0-or-later
- debian trixie: libmseed-doc 2.19.8-1 Β· LGPL-3.0-or-later
- fedora 43: libmseed-devel 2.19.5-21.fc43 Β· LGPL-3.0-or-later
- fedora 43: libmseed-devel 2.19.5-21.fc43 Β· LGPL-3.0-or-later
- fedora 44: libmseed-devel 2.19.5-22.fc44 Β· LGPL-3.0-or-later
- fedora 44: libmseed-devel 2.19.5-22.fc44 Β· LGPL-3.0-or-later
- ubuntu jammy: libmseed-doc 2.19.6-3 Β· LGPL-3.0-or-later
- ubuntu noble: libmseed-doc 2.19.8-1ubuntu2 Β· LGPL-3.0-or-later
- ubuntu questing: libmseed-doc 2.19.8-1ubuntu2
- ubuntu resolute: libmseed-doc 2.19.8-1ubuntu3 Β· LGPL-3.0-or-later
- ubuntu stonking: libmseed-doc 2.19.8-1ubuntu3 Β· LGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms