2001-02-15 04:48:22 +08:00
|
|
|
#############################
|
|
|
|
Expected output for 'h5dump --xml tnestedcomp.h5'
|
|
|
|
#############################
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2007-01-23 23:39:24 +08:00
|
|
|
<hdf5:HDF5-File xmlns:hdf5="http://hdfgroup.org/DTDs/HDF5-File" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hdfgroup.org/DTDs/HDF5File http://hdfgroup.org/DTDs/HDF5-File.xsd">
|
2003-08-09 03:47:39 +08:00
|
|
|
<hdf5:RootGroup OBJ-XID="xid_696" H5Path="/">
|
|
|
|
<hdf5:Dataset Name="ArrayOfStructures" OBJ-XID="xid_744" H5Path= "/ArrayOfStructures" Parents="xid_696" H5ParentPaths="/">
|
2003-07-30 05:24:21 +08:00
|
|
|
<hdf5:StorageLayout>
|
|
|
|
<hdf5:ContiguousLayout/>
|
|
|
|
</hdf5:StorageLayout>
|
|
|
|
<hdf5:FillValueInfo FillTime="FillIfSet" AllocationTime="Late">
|
|
|
|
<hdf5:FillValue>
|
|
|
|
<hdf5:NoFill/>
|
|
|
|
</hdf5:FillValue>
|
|
|
|
</hdf5:FillValueInfo>
|
|
|
|
<hdf5:Dataspace>
|
|
|
|
<hdf5:SimpleDataspace Ndims="1">
|
|
|
|
<hdf5:Dimension DimSize="10" MaxDimSize="10"/>
|
|
|
|
</hdf5:SimpleDataspace>
|
|
|
|
</hdf5:Dataspace>
|
|
|
|
<hdf5:DataType>
|
|
|
|
<hdf5:CompoundType>
|
|
|
|
<hdf5:Field FieldName="a_name">
|
|
|
|
<hdf5:DataType>
|
|
|
|
<hdf5:AtomicType>
|
|
|
|
<hdf5:IntegerType ByteOrder="LE" Sign="true" Size="4" />
|
|
|
|
</hdf5:AtomicType>
|
|
|
|
</hdf5:DataType>
|
|
|
|
</hdf5:Field>
|
|
|
|
<hdf5:Field FieldName="b_name">
|
|
|
|
<hdf5:DataType>
|
|
|
|
<hdf5:AtomicType>
|
|
|
|
<hdf5:FloatType ByteOrder="LE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" />
|
|
|
|
</hdf5:AtomicType>
|
|
|
|
</hdf5:DataType>
|
|
|
|
</hdf5:Field>
|
|
|
|
<hdf5:Field FieldName="c_name">
|
|
|
|
<hdf5:DataType>
|
|
|
|
<hdf5:AtomicType>
|
|
|
|
<hdf5:FloatType ByteOrder="LE" Size="8" SignBitLocation="63" ExponentBits="11" ExponentLocation="52" MantissaBits="52" MantissaLocation="0" />
|
|
|
|
</hdf5:AtomicType>
|
|
|
|
</hdf5:DataType>
|
|
|
|
</hdf5:Field>
|
|
|
|
<hdf5:Field FieldName="d_name">
|
|
|
|
<hdf5:DataType>
|
|
|
|
<hdf5:CompoundType>
|
|
|
|
<hdf5:Field FieldName="char_name">
|
|
|
|
<hdf5:DataType>
|
|
|
|
<hdf5:AtomicType>
|
|
|
|
<hdf5:StringType Cset="H5T_CSET_ASCII" StrSize="1" StrPad="H5T_STR_NULLTERM"/>
|
|
|
|
</hdf5:AtomicType>
|
|
|
|
</hdf5:DataType>
|
|
|
|
</hdf5:Field>
|
|
|
|
<hdf5:Field FieldName="array_name">
|
|
|
|
<hdf5:DataType>
|
|
|
|
<hdf5:ArrayType Ndims="1">
|
2006-10-09 12:18:18 +08:00
|
|
|
<hdf5:ArrayDimension DimSize="2"/>
|
2003-07-30 05:24:21 +08:00
|
|
|
<hdf5:DataType>
|
|
|
|
<hdf5:AtomicType>
|
|
|
|
<hdf5:FloatType ByteOrder="LE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" />
|
|
|
|
</hdf5:AtomicType>
|
|
|
|
</hdf5:DataType>
|
|
|
|
</hdf5:ArrayType>
|
|
|
|
</hdf5:DataType>
|
|
|
|
</hdf5:Field>
|
|
|
|
</hdf5:CompoundType>
|
|
|
|
</hdf5:DataType>
|
|
|
|
</hdf5:Field>
|
|
|
|
</hdf5:CompoundType>
|
|
|
|
</hdf5:DataType>
|
2001-02-15 04:48:22 +08:00
|
|
|
<!-- Note: format of compound data not specified -->
|
2003-07-30 05:24:21 +08:00
|
|
|
<hdf5:Data>
|
|
|
|
<hdf5:DataFromFile>
|
2003-10-06 05:23:57 +08:00
|
|
|
0 0 1 "A" -100 100 1 1 0.5 "B" -100 100 2 4 0.333333 "C" -100 100
|
|
|
|
3 9 0.25 "D" -100 100 4 16 0.2 "E" -100 100
|
|
|
|
5 25 0.166667 "F" -100 100 6 36 0.142857 "G" -100 100
|
|
|
|
7 49 0.125 "H" -100 100 8 64 0.111111 "I" -100 100
|
|
|
|
9 81 0.1 "J" -100 100
|
2003-07-30 05:24:21 +08:00
|
|
|
</hdf5:DataFromFile>
|
|
|
|
</hdf5:Data>
|
|
|
|
</hdf5:Dataset>
|
|
|
|
</hdf5:RootGroup>
|
|
|
|
</hdf5:HDF5-File>
|