MSR_PRINT(3)

πŸ’– MSR_PRINT πŸ’–

okay bestie, gather round, because we're talking about msr_print(3) from the libmseed library β€” a whole Library Functions Manual moment, and yes she ate πŸ’…


✨ NAME ✨

msr_print β€” the girl who prints out your Mini-SEED record header values for you πŸŽ€


🌸 SYNOPSIS 🌸

#include <libmseed.h>

void   msr_print ( MSRecord *msr, flag details );

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically, msr_print prints formatted details from the MSRecord struct you hand her β€” that's the parsed record header, meaning the fixed section and the blockettes. no cap, that's the whole vibe πŸ’–

all of the output goes through ms_log(3) at level 0. that's just how she rolls ✨

and the details flag? she's the main character here, because she decides how much tea gets spilled:

  • 0 β€” a single line summarizing the record. lowkey minimal, highkey iconic πŸ™ˆ
  • 1 β€” most commonly desired header details. the crowd favorite fr fr πŸ’…
  • 2+ β€” all header details. she's giving everything, no crumbs πŸ“

and one more thing bestie, listen: if there's no fixed section header information available at MSRecord.fsdh, then she just prints a single line from the other information in the MSRecord structure instead. she improvises, she adapts, she slays πŸ‘‘


🌈 SEE ALSO 🌈

go read those too, iykyk 🫢


πŸ‘‘ AUTHOR πŸ‘‘

  • Chad Trabant
  • IRIS Data Management Center

and that's the whole page, bestie!! πŸ’œ this one's from the Libmseed API, dated 2006/11/27 β€” an absolute vintage icon, we stan a timeless classic 🌸✨ mwah, go print some records πŸ’