summaryrefslogtreecommitdiffstats
path: root/doc/html/Tutor/util.html
blob: 79dbf287d3d6829abfdaf05098d20d52f0f3ac53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<HTML><HEAD>
<TITLE>HDF5 Tutorial - Utilities (h5dump, h5ls)
</TITLE> 
</HEAD>

<body bgcolor="#ffffff">

<!-- BEGIN MAIN BODY -->

<A HREF="http://www.ncsa.uiuc.edu/"><img border=0 
src="http://www.ncsa.uiuc.edu/Images/NCSAhome/footerlogo.gif"
width=78 height=27 alt="NCSA"><P></A>

 [ <A HREF="title.html"><I>HDF5 Tutorial Top</I></A> ]
<H1>
<BIG><BIG><BIG><FONT COLOR="#c101cd">Utilities (h5dump, h5ls)</FONT>
</BIG></BIG></BIG></H1>

<hr noshade size=1>

The h5dump and h5ls utilities can be used to examine the contents of an
hdf5 file. 
<P>
<A NAME="dmp">
<H2>h5dump</H2>
<PRE>
h5dump [-h] [-bb] [-header] [-a <names>] [-d &lt;names&gt;] [-g &lt;names&gt;]
       [-l &lt;names&gt;] [-t &lt;names&gt;] &lt;file&gt;

  -h            Print information on this command.
  -bb           Display the content of the boot block. The default is not to display.
  -header       Display header only; no data is displayed.
  -a &lt;names&gt    Display the specified attribute(s).
  -d &lt;names&gt    Display the specified dataset(s).
  -g &lt;names&gt    Display the specified group(s) and all the members.
  -l &lt;names&gt    Displays the value(s) of the specified soft link(s).
  -t &lt;names&gt    Display the specified named data type(s).
  
  &lt;names&gt; is one or more appropriate object names.
</PRE>
<A NAME="ls">
<H2>h5ls</H2>
<PRE>
h5ls [OPTIONS] FILE [OBJECTS...]

   OPTIONS
      -h, -?, --help   Print a usage message and exit
      -d, --dump       Print the values of datasets
      -f, --full       Print full path names instead of base names
      -l, --label      Label members of compound datasets
      -r, --recursive  List all groups recursively, avoiding cycles
      -s, --string     Print 1-byte integer datasets as ASCII
      -wN, --width=N   Set the number of columns of output
      -v, --verbose    Generate more verbose output
      -V, --version    Print version number and exit
   FILE
      The file name may include a printf(3C) integer format such as
      "%05d" to open a file family.
   OBJECTS
      The names of zero or more objects about which information should be
      displayed.  If a group is mentioned then information about each of its
      members is displayed.  If no object names are specified then
      information about all of the objects in the root group is displayed.
</PRE>
<!-- BEGIN FOOTER INFO -->

<P><hr noshade size=1>
<font face="arial,helvetica" size="-1">
  <a href="http://www.ncsa.uiuc.edu/"><img border=0
     src="http://www.ncsa.uiuc.edu/Images/NCSAhome/footerlogo.gif"
     width=78 height=27 alt="NCSA"><br>
  The National Center for Supercomputing Applications</A><br>
  <a href="http://www.uiuc.edu/">University of Illinois
    at Urbana-Champaign</a><br>
  <br>
<!-- <A HREF="helpdesk.mail.html"> -->
<A HREF="mailto:hdfhelp@ncsa.uiuc.edu">
hdfhelp@ncsa.uiuc.edu</A>
<BR> <H6>Last Modified: July 30, 1999</H6><BR>
<!-- modified by Barbara Jones - bljones@ncsa.uiuc.edu -->
</FONT>
<BR>
<!-- <A HREF="mailto:hdfhelp@ncsa.uiuc.edu"> -->

</BODY>
</HTML>