mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
[svn-r1060] Updated the example in ddl.html and supported features in Tools.html.
This commit is contained in:
parent
a2f63c9424
commit
12d679104c
@ -152,34 +152,41 @@ These tools enable the user to examine HDF5 files interactively.
|
|||||||
<ul>
|
<ul>
|
||||||
<li>Group
|
<li>Group
|
||||||
<ul>
|
<ul>
|
||||||
<li>group attributes
|
<li>group attribute (see Attribute)
|
||||||
<li>group member
|
<li>group member
|
||||||
</ul>
|
</ul>
|
||||||
<li>Dataset
|
<li>Dataset
|
||||||
<ul>
|
<ul>
|
||||||
<li>dataset attributes
|
<li>dataset attribute (see Attribute)
|
||||||
<li>data type
|
<li>dataset type (see Data type)
|
||||||
<li>data space
|
<li>dataset space (see Data space)
|
||||||
<li>data
|
<li>dataset data
|
||||||
|
</ul>
|
||||||
|
<li>Attribute
|
||||||
|
<ul>
|
||||||
|
<li>attribute type (see Data type)
|
||||||
|
<li>attribute space (see Data space)
|
||||||
|
<li>attribute data
|
||||||
</ul>
|
</ul>
|
||||||
<li>Data type
|
<li>Data type
|
||||||
<ul>
|
<ul>
|
||||||
<li>atomic type
|
<li>integer type
|
||||||
<li>compound 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>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>
|
</ul>
|
||||||
<li>Simple data space
|
|
||||||
<li>Soft link
|
<li>Soft link
|
||||||
<li>Hard link
|
<li>Hard link
|
||||||
<li>Loop detection
|
<li>Loop detection
|
||||||
</ul>
|
</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>
|
<dt><strong>See Also:</strong>
|
||||||
<dd>HDF5 Data Description Language syntax
|
<dd>HDF5 Data Description Language syntax
|
||||||
|
@ -116,7 +116,7 @@ This section contains a brief explanation of the symbols used in the DDL.
|
|||||||
|
|
||||||
<atomic_type> ::= <integer> | <float> | <time> | <string> | <bitfield> | <opaque>
|
<atomic_type> ::= <integer> | <float> | <time> | <string> | <bitfield> | <opaque>
|
||||||
|
|
||||||
<integer> ::= H5T_STD_I8LE | H5T_STD_I16BE | H5T_STD_I16LE | H5T_STD_I32BE |
|
<integer> ::= 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_I32LE | H5T_STD_I64BE | H5T_STD_I64LE | H5T_STD_U8BE |
|
||||||
H5T_STD_U8LE | H5T_STD_U16BE | H5T_STD_U16LE | H5T_STD_U32BE |
|
H5T_STD_U8LE | H5T_STD_U16BE | H5T_STD_U16LE | H5T_STD_U32BE |
|
||||||
H5T_STD_U32LE | H5T_STD_U64BE | H5T_STD_U64LE | H5T_NATIVE_CHAR |
|
H5T_STD_U32LE | H5T_STD_U64BE | H5T_STD_U64LE | H5T_NATIVE_CHAR |
|
||||||
@ -187,7 +187,8 @@ This section contains a brief explanation of the symbols used in the DDL.
|
|||||||
<scalar_space_data> ::= <atomic_scalar_data> | <compound_scalar_data>
|
<scalar_space_data> ::= <atomic_scalar_data> | <compound_scalar_data>
|
||||||
|
|
||||||
<atomic_scalar_data> :: = the value of data
|
<atomic_scalar_data> :: = the value of data
|
||||||
// A string is enclosed in double quotes.
|
// A string is enclosed in double quotes.
|
||||||
|
// If a string is displayed on more than one line, string concatenate operator '//' is used.
|
||||||
|
|
||||||
<compound_scalar_data> ::= { [ <member_data> ], [ <member_data> ], ... }
|
<compound_scalar_data> ::= { [ <member_data> ], [ <member_data> ], ... }
|
||||||
|
|
||||||
@ -287,7 +288,7 @@ GROUP "/" {
|
|||||||
}
|
}
|
||||||
DATASPACE { SCALAR }
|
DATASPACE { SCALAR }
|
||||||
DATA {
|
DATA {
|
||||||
"string attribute\000"
|
"string attribute"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
DATASET "dset1" {
|
DATASET "dset1" {
|
||||||
@ -314,11 +315,31 @@ GROUP "/" {
|
|||||||
}
|
}
|
||||||
DATASPACE { SIMPLE ( 5 ) / ( 5 ) }
|
DATASPACE { SIMPLE ( 5 ) / ( 5 ) }
|
||||||
DATA {
|
DATA {
|
||||||
{[1], [0.1], [0.001]},
|
{
|
||||||
{[2], [0.2], [0.002]},
|
[ 1 ],
|
||||||
{[3], [0.3], [0.003]},
|
[ 0.1 ],
|
||||||
{[4], [0.4], [0.004]},
|
[ 0.01 ]
|
||||||
{[5], [0.5], [0.005]}
|
},
|
||||||
|
{
|
||||||
|
[ 2 ],
|
||||||
|
[ 0.2 ],
|
||||||
|
[ 0.02 ]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
[ 3 ],
|
||||||
|
[ 0.3 ],
|
||||||
|
[ 0.03 ]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
[ 4 ],
|
||||||
|
[ 0.4 ],
|
||||||
|
[ 0.04 ]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
[ 5 ],
|
||||||
|
[ 0.5 ],
|
||||||
|
[ 0.05 ]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
GROUP "group1" {
|
GROUP "group1" {
|
||||||
@ -328,11 +349,46 @@ GROUP "/" {
|
|||||||
}
|
}
|
||||||
DATASPACE { SIMPLE ( 5 ) / ( 5 ) }
|
DATASPACE { SIMPLE ( 5 ) / ( 5 ) }
|
||||||
DATA {
|
DATA {
|
||||||
{[100, 100], [0.1]},
|
{
|
||||||
{[200, 200], [0.2]},
|
[ 0, 1, 2, 3 ],
|
||||||
{[300, 300], [0.3]},
|
[ 0.1, 0.1, 0.1, 0.1, 0.1, 0.1,
|
||||||
{[400, 400], [0.4]},
|
0.2, 0.2, 0.2, 0.2, 0.2, 0.2,
|
||||||
{[500, 500], [0.5]}
|
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.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.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.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.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 ]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -343,8 +399,8 @@ GROUP "/" {
|
|||||||
LINKTARGET "somevalue"
|
LINKTARGET "somevalue"
|
||||||
}
|
}
|
||||||
DATATYPE "type1" {
|
DATATYPE "type1" {
|
||||||
H5T_STD_I32BE "a"[2];
|
H5T_STD_I32BE "a"[4];
|
||||||
H5T_IEEE_F32BE "b";
|
H5T_IEEE_F32BE "b"[5][6];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user