summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/tempty.h5.xml
blob: 43f4d6baca4e2b48b2397e0887503acf54138487 (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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
#############################
Expected output for 'h5dump --xml tempty.h5'
#############################
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HDF5-File PUBLIC "HDF5-File.dtd" "http://hdf.ncsa.uiuc.edu/DTDs/HDF5-File.dtd">
<HDF5-File>
<RootGroup OBJ-XID="root">
   <Dataset Name="Dataset1.0" OBJ-XID="/Dataset1.0" Parents="root">
      <Dataspace>
         <SimpleDataspace Ndims="1">
            <Dimension  DimSize="4" MaxDimSize="4"/>
         </SimpleDataspace>
      </Dataspace>
      <DataType> 
         <VLType>
            <DataType>
               <AtomicType>
                  <IntegerType ByteOrder="LE" Sign="true" Size="4" />
               </AtomicType>
            </DataType>
         </VLType>
      </DataType>
<!-- Note: format of VL data not specified -->
      <Data>
         <DataFromFile>
                    
         </DataFromFile>
      </Data>
   </Dataset>
   <Dataset Name="Dataset2.0" OBJ-XID="/Dataset2.0" Parents="root">
      <Dataspace>
         <SimpleDataspace Ndims="1">
            <Dimension  DimSize="4" MaxDimSize="4"/>
         </SimpleDataspace>
      </Dataspace>
      <DataType> 
         <AtomicType>
            <IntegerType ByteOrder="LE" Sign="true" Size="4" />
         </AtomicType>
      </DataType>
      <Data>
         <DataFromFile>
         0 0 0 0
         </DataFromFile>
      </Data>
   </Dataset>
   <Dataset Name="Dataset3.0" OBJ-XID="/Dataset3.0" Parents="root">
      <Dataspace>
         <SimpleDataspace Ndims="1">
            <Dimension  DimSize="4" MaxDimSize="4"/>
         </SimpleDataspace>
      </Dataspace>
      <DataType> 
         <AtomicType>
            <FloatType ByteOrder="LE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" />
         </AtomicType>
      </DataType>
      <Data>
         <DataFromFile>
         0 0 0 0
         </DataFromFile>
      </Data>
   </Dataset>
   <Dataset Name="Dataset4.0" OBJ-XID="/Dataset4.0" Parents="root">
      <Dataspace>
         <SimpleDataspace Ndims="1">
            <Dimension  DimSize="4" MaxDimSize="4"/>
         </SimpleDataspace>
      </Dataspace>
      <DataType> 
         <ArrayType Ndims="1">
            <ArrayDimension DimSize="4" DimPerm="0"/>
            <DataType>
               <AtomicType>
                  <IntegerType ByteOrder="LE" Sign="true" Size="4" />
               </AtomicType>
            </DataType>
         </ArrayType>
      </DataType>
      <Data>
         <DataFromFile>
          0 0 0 0   0 0 0 0   0 0 0 0   0 0 0 0 
         </DataFromFile>
      </Data>
   </Dataset>
   <Dataset Name="Dataset5.0" OBJ-XID="/Dataset5.0" Parents="root">
      <Dataspace>
         <SimpleDataspace Ndims="1">
            <Dimension  DimSize="4" MaxDimSize="4"/>
         </SimpleDataspace>
      </Dataspace>
      <DataType> 
         <CompoundType>
            <Field FieldName="a">
               <DataType>
                  <AtomicType>
                     <IntegerType ByteOrder="LE" Sign="true" Size="4" />
                  </AtomicType>
               </DataType>
            </Field>
            <Field FieldName="b">
               <DataType>
                  <AtomicType>
                     <FloatType ByteOrder="LE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" />
                  </AtomicType>
               </DataType>
            </Field>
            <Field FieldName="c">
               <DataType>
                  <AtomicType>
                     <IntegerType ByteOrder="LE" Sign="true" Size="1" />
                  </AtomicType>
               </DataType>
            </Field>
         </CompoundType>
      </DataType>
   <!-- Note: format of compound data not specified -->
      <Data>
         <DataFromFile>
         0 0 0 0 0 0 0 0 0 0 0 0
         </DataFromFile>
      </Data>
   </Dataset>
</RootGroup>
</HDF5-File>