1NXDIR(1) General Commands Manual NXDIR(1)
2
3
4
6 nxdir - inspect a NeXus file non interactively
7
9 nxdir filename [options]
10
12 nxdir allows to retrieve the structure and/or data of a NeXus file.
13
15 About NXdir
16
17 -h|--help
18 Print help information and exit.
19
20 --version
21 Print version information and exit.
22
23 Node Selection
24
25 -p path
26 Path inside the file to look in. This can be absolute or rela‐
27 tive and can be class or name of a given field. To anchor the
28 path at the beginning or end place a "/" there. To specify that
29 a level must exist, but the name or class can be anything, use a
30 dot ".". To specify that any number of levels can exist, use a
31 star "*".
32
33 Output Control
34
35 -o/+o Print (or not) the value of selected nodes, if possible.
36 Defaults to false (+o).
37
38 -l|--max-array
39 Change the number of elements that are printed for arrays.
40 Forces "-o". (default: 10)
41
42 -t|--tree-mode value
43 Sets the formatting of the tree. Allowed values are: script,
44 multi, tree. Default is script.
45
46 --path-mode value
47 Select whether paths are written with names or classes. Allowed
48 values are: name, class, both. Default is name.
49
50 --data-mode value
51 How data is printed. Allowed value is script
52
53 --printline value
54 How data is printed with respect to tree. Allowed values is sin‐
55 gle
56
57 --write-data filename
58 Select a file to write out selected NXdata to.
59
60 --dump filename
61 Generate a binary dump of the selected node.
62
64 nxbrowse(1) http://www.nexusformat.org
65
67 nxdir was originally written by P. F. Peterson <petersonpf@ornl.gov>
68
69 This manual page was written by Tobias Richter
70 <Tobias.Richter@diamond.ac.uk> and may be used by others.
71
72
73
74 June 2010 NXDIR(1)