NXDIR(1)

πŸ’– NAME πŸ’–

nxdir β€” bestie, it inspects a NeXus file non interactively. No GUI, no clicking, just vibes and output. ✨


🌸 SYNOPSIS 🌸

nxdir filename [options]

πŸ¦‹ DESCRIPTION πŸ¦‹

So nxdir lets you retrieve the structure and/or data of a NeXus file. That's it, that's the whole assignment. Point it at a file, it shows you what's inside. Lowkey iconic. πŸ‘‘


✨ OPTIONS ✨

πŸŽ€ About NXdir

  • -h, --help β€” prints help info and dips out. Bye! πŸ’…
  • --version β€” prints version info and dips out. Also bye. 🫢

🌈 Node Selection

  • -p path β€” the path inside the file you wanna look in. Fr fr it can be absolute or relative, and it can be the class or the name of a given field. Wanna anchor that path at the beginning or the end? Slap a / there. Wanna say "this level has to exist but the name or class can be literally anything"? Use a dot .. Wanna say "any number of levels can exist here"? That's a star *, bestie. ⭐

πŸ’œ Output Control

  • -o / +o β€” print (or don't print) the value of the selected nodes, if possible. Defaults to false (+o). She's shy by default. πŸ™ˆ
  • -l, --max-array β€” changes how many elements get printed for arrays. Heads up: this forces -o. Default is 10. πŸ”₯
  • -t, --tree-mode value β€” sets the formatting of the tree. Allowed values are: script, multi, tree. Default is script. ✨
  • --path-mode value β€” picks whether paths get written with names or classes. Allowed values are: name, class, both. Default is name.
  • --data-mode value β€” how the data is printed. Allowed value is script.
  • --printline value β€” how data is printed with respect to the tree. Allowed values is single. (yes bestie, "values is", I'm quoting the source, don't come for me 😭)
  • --write-data filename β€” pick a file to write out selected NXdata to. πŸ“
  • --dump filename β€” generate a binary dump of the selected node. Binary. Dump. No notes. πŸ’€

πŸ‘€ SEE ALSO πŸ‘€

nxbrowse(1) and http://www.nexusformat.org β€” go check them out, iykyk 🧚


🫢 AUTHOR 🫢

nxdir was originally written by P. F. Peterson <petersonpf@ornl.gov> πŸ’–

This manual page was written by Tobias Richter <Tobias.Richter@diamond.ac.uk> and may be used by others.


okay that's the whole page, we ate and left no crumbs ✨ this was the nxdir(1) page from the General Commands Manual, dated June 2010, and yeah it's versioned NXDIR(1) β€” periodt. πŸ’…πŸŒˆ

πŸ“¦ where this page comes from