NRRDSANITY(1)

πŸ“¦ version 1.11.0, in fedora 43, fedora 44

✨ NRRDSANITY ✨

okay bestie, so this is the nrrdSanity page from the User Commands section of the manual πŸ’… she's a little diagnostic gremlin and she's here to tell you if your build is, like, okay 🫢


🌸 NAME 🌸

nrrdSanity β€” the nrrd sanity check, no cap πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

nrrdSanity

literally it's just that. no flags, no args, no drama. she takes zero input and gives you the whole vibe check back πŸ”₯


πŸ¦‹ DESCRIPTION πŸ¦‹

so nrrdSanity(1) calls the nrrdSanity() check, and the way that it does this is to verify the correctness of all the information about the architecture β€” and the key detail here is that this info was set at compile-time, so we're not poking your machine live, we're checking what got baked in 🧚

what kind of info? the good stuff:

  • endianness 🌈
  • 32/64-bit
  • the size of various types

and that's not even all of it, because she also runs sanity checks on the global default variables (the nrrdDefault* ones) and the state variables (the nrrdState* ones). like, she's checking that your defaults and your state are behaving, not just your types. main character energy fr fr πŸ‘‘

and as a little convenience treat πŸ“ β€” because she's generous like that β€” nrrdSanity(1) also lists the availability of the different formats and data encodings (for Nrrd files) supported by this build. so you get the receipts on what this particular build can actually do ✨

not me running a sanity check on my own sanity check 😭 no but seriously, if you're debugging weird nrrd behaviour, this is the first place to look. it's giving "is my build normal" and honestly sometimes the answer is no πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

the whole bestie lineup, go say hi:


and that's the page!! this lil icon is from April 2021, it's the NRRDSANITY(1) page, and it lives in the User Commands section of the manual πŸ’œ bye bestie, go check your sanity (the build's, not yours β€” though, mood) 🌟

πŸ“¦ where this page comes from