[svn-r1060] Updated the example in ddl.html and supported features in Tools.html.

This commit is contained in:
Ruey-Hsia Li 1999-02-09 13:07:59 -05:00
parent a2f63c9424
commit 12d679104c
2 changed files with 93 additions and 30 deletions

View File

@ -152,34 +152,41 @@ These tools enable the user to examine HDF5 files interactively.
<ul>
<li>Group
<ul>
<li>group attributes
<li>group attribute (see Attribute)
<li>group member
</ul>
<li>Dataset
<ul>
<li>dataset attributes
<li>data type
<li>data space
<li>data
<li>dataset attribute (see Attribute)
<li>dataset type (see Data type)
<li>dataset space (see Data space)
<li>dataset data
</ul>
<li>Attribute
<ul>
<li>attribute type (see Data type)
<li>attribute space (see Data space)
<li>attribute data
</ul>
<li>Data type
<ul>
<li>atomic type
<li>compound type
<li>integer type
<dt>- H5T_STD_I8BE, H5T_STD_I8LE, H5T_STD_I16BE, ...
<li>floating point type
<dt>- H5T_IEEE_F32BE, H5T_IEEE_F32LE, H5T_IEEE_F64BE, ...
<li>string type
<li>compound type
<dt>- named, unamed and transient compound type
<dt>- integer, floating or string type member
</ul>
<li>Data space
<ul>
<li>scalar and simple space
</ul>
<li>Simple data space
<li>Soft link
<li>Hard link
<li>Loop detection
</ul>
<dd>The to do list includes:
<ul>
<li>Display data correctly
<li>Make h5dump output consistent with DDL
<li>Support storage layout
<li>Define file boot block
</ul>
<dt><strong>See Also:</strong>
<dd>HDF5 Data Description Language syntax

View File

@ -116,7 +116,7 @@ This section contains a brief explanation of the symbols used in the DDL.
&lt;atomic_type&gt; ::= &lt;integer&gt; | &lt;float&gt; | &lt;time&gt; | &lt;string&gt; | &lt;bitfield&gt; | &lt;opaque&gt;
&lt;integer&gt; ::= H5T_STD_I8LE | H5T_STD_I16BE | H5T_STD_I16LE | H5T_STD_I32BE |
&lt;integer&gt; ::= H5T_STD_I8BE | H5T_STD_I8LE | H5T_STD_I16BE | H5T_STD_I16LE | H5T_STD_I32BE |
H5T_STD_I32LE | H5T_STD_I64BE | H5T_STD_I64LE | H5T_STD_U8BE |
H5T_STD_U8LE | H5T_STD_U16BE | H5T_STD_U16LE | H5T_STD_U32BE |
H5T_STD_U32LE | H5T_STD_U64BE | H5T_STD_U64LE | H5T_NATIVE_CHAR |
@ -188,6 +188,7 @@ This section contains a brief explanation of the symbols used in the DDL.
&lt;atomic_scalar_data&gt; :: = the value of data
// A string is enclosed in double quotes.
// If a string is displayed on more than one line, string concatenate operator '//' is used.
&lt;compound_scalar_data&gt; ::= { [ &lt;member_data&gt; ], [ &lt;member_data&gt; ], ... }
@ -287,7 +288,7 @@ GROUP "/" {
}
DATASPACE { SCALAR }
DATA {
"string attribute\000"
"string attribute"
}
}
DATASET "dset1" {
@ -314,11 +315,31 @@ GROUP "/" {
}
DATASPACE { SIMPLE ( 5 ) / ( 5 ) }
DATA {
{[1], [0.1], [0.001]},
{[2], [0.2], [0.002]},
{[3], [0.3], [0.003]},
{[4], [0.4], [0.004]},
{[5], [0.5], [0.005]}
{
[ 1 ],
[ 0.1 ],
[ 0.01 ]
},
{
[ 2 ],
[ 0.2 ],
[ 0.02 ]
},
{
[ 3 ],
[ 0.3 ],
[ 0.03 ]
},
{
[ 4 ],
[ 0.4 ],
[ 0.04 ]
},
{
[ 5 ],
[ 0.5 ],
[ 0.05 ]
}
}
}
GROUP "group1" {
@ -328,11 +349,46 @@ GROUP "/" {
}
DATASPACE { SIMPLE ( 5 ) / ( 5 ) }
DATA {
{[100, 100], [0.1]},
{[200, 200], [0.2]},
{[300, 300], [0.3]},
{[400, 400], [0.4]},
{[500, 500], [0.5]}
{
[ 0, 1, 2, 3 ],
[ 0.1, 0.1, 0.1, 0.1, 0.1, 0.1,
0.2, 0.2, 0.2, 0.2, 0.2, 0.2,
0.3, 0.3, 0.3, 0.3, 0.3, 0.3,
0.4, 0.4, 0.4, 0.4, 0.4, 0.4,
0.5, 0.5, 0.5, 0.5, 0.5, 0.5 ]
},
{
[ 0, 1, 2, 3 ],
[ 0.1, 0.1, 0.1, 0.1, 0.1, 0.1,
0.2, 0.2, 0.2, 0.2, 0.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