diff options
author | Robert E. McGrath <mcgrath@ncsa.uiuc.edu> | 2001-02-14 20:48:22 (GMT) |
---|---|---|
committer | Robert E. McGrath <mcgrath@ncsa.uiuc.edu> | 2001-02-14 20:48:22 (GMT) |
commit | d12fa9b5c5ff0eb1919eb4233845867dcc6c63c0 (patch) | |
tree | e3e3ee06aec1b37f1f6ade374a1bc8292cb7ce1d /tools/testfiles | |
parent | a66186cc0dd49a1800c56688e5347fc39abb8c3a (diff) | |
download | hdf5-d12fa9b5c5ff0eb1919eb4233845867dcc6c63c0.zip hdf5-d12fa9b5c5ff0eb1919eb4233845867dcc6c63c0.tar.gz hdf5-d12fa9b5c5ff0eb1919eb4233845867dcc6c63c0.tar.bz2 |
[svn-r3408] Purpose:
Adding new feature.
Description:
XML output option to h5dump
Platforms tested:
SPARC Solaris 2.7, Irix6.5 (32bit), Linux, Win98
Diffstat (limited to 'tools/testfiles')
55 files changed, 6511 insertions, 0 deletions
diff --git a/tools/testfiles/tall.h5.xml b/tools/testfiles/tall.h5.xml new file mode 100644 index 0000000..6886916 --- /dev/null +++ b/tools/testfiles/tall.h5.xml @@ -0,0 +1,173 @@ +############################# +Expected output for 'h5dump --xml tall.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"> + <Attribute Name="attr1"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="10" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="1" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 97 98 99 100 101 102 103 104 105 0 + </DataFromFile> + </Data> + </Attribute> + <Attribute Name="attr2"> + <Dataspace> + <SimpleDataspace Ndims="2"> + <Dimension DimSize="2" MaxDimSize="2"/> + <Dimension DimSize="2" MaxDimSize="2"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 1 + 2 3 + </DataFromFile> + </Data> + </Attribute> + <Group Name="g1" OBJ-XID="/g1" Parents="/" > + <Group Name="g1.1" OBJ-XID="/g1/g1.1" Parents="/g1" > + <Dataset Name="dset1.1.1" OBJ-XID="/g1/g1.1/dset1.1.1" Parents="/g1/g1.1"> + <Dataspace> + <SimpleDataspace Ndims="2"> + <Dimension DimSize="10" MaxDimSize="10"/> + <Dimension DimSize="10" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Attribute Name="attr1"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="27" MaxDimSize="27"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="1" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 49 115 116 32 97 116 116 114 105 98 117 116 101 32 111 102 32 + 100 115 101 116 49 46 49 46 49 0 + </DataFromFile> + </Data> + </Attribute> + <Attribute Name="attr2"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="27" MaxDimSize="27"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="1" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 50 110 100 32 97 116 116 114 105 98 117 116 101 32 111 102 32 + 100 115 101 116 49 46 49 46 49 0 + </DataFromFile> + </Data> + </Attribute> + <Data> + <DataFromFile> + 0 0 0 0 0 0 0 0 0 0 + 0 1 2 3 4 5 6 7 8 9 + 0 2 4 6 8 10 12 14 16 18 + 0 3 6 9 12 15 18 21 24 27 + 0 4 8 12 16 20 24 28 32 36 + 0 5 10 15 20 25 30 35 40 45 + 0 6 12 18 24 30 36 42 48 54 + 0 7 14 21 28 35 42 49 56 63 + 0 8 16 24 32 40 48 56 64 72 + 0 9 18 27 36 45 54 63 72 81 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="dset1.1.2" OBJ-XID="/g1/g1.1/dset1.1.2" Parents="/g1/g1.1"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="20" MaxDimSize="20"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 + </DataFromFile> + </Data> + </Dataset> + </Group> + <Group Name="g1.2" OBJ-XID="/g1/g1.2" Parents="/g1" > + <Group Name="g1.2.1" OBJ-XID="/g1/g1.2/g1.2.1" Parents="/g1/g1.2" > + <SoftLink LinkName="slink" Target="somevalue" TargetObj="somevalue" OBJ-XID="slink" Source="/g1/g1.2/g1.2.1"/> + </Group> + </Group> + </Group> + <Group Name="g2" OBJ-XID="/g2" Parents="/" > + <Dataset Name="dset2.1" OBJ-XID="/g2/dset2.1" Parents="/g2"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="10" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <FloatType ByteOrder="BE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="dset2.2" OBJ-XID="/g2/dset2.2" Parents="/g2"> + <Dataspace> + <SimpleDataspace Ndims="2"> + <Dimension DimSize="3" MaxDimSize="3"/> + <Dimension DimSize="5" MaxDimSize="5"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <FloatType ByteOrder="BE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 0.1 0.2 0.3 0.4 + 0 0.2 0.4 0.6 0.8 + 0 0.3 0.6 0.9 1.2 + </DataFromFile> + </Data> + </Dataset> + </Group> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tarray1.h5.xml b/tools/testfiles/tarray1.h5.xml new file mode 100644 index 0000000..ea654cd --- /dev/null +++ b/tools/testfiles/tarray1.h5.xml @@ -0,0 +1,31 @@ +############################# +Expected output for 'h5dump --xml tarray1.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" OBJ-XID="/Dataset1" 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 1 2 3 10 11 12 13 20 21 22 23 30 31 32 33 + </DataFromFile> + </Data> + </Dataset> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tarray2.h5.xml b/tools/testfiles/tarray2.h5.xml new file mode 100644 index 0000000..5772b98 --- /dev/null +++ b/tools/testfiles/tarray2.h5.xml @@ -0,0 +1,80 @@ +############################# +Expected output for 'h5dump --xml tarray2.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" OBJ-XID="/Dataset1" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="4" MaxDimSize="4"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <ArrayType Ndims="3"> + <ArrayDimension DimSize="3" DimPerm="0"/> + <ArrayDimension DimSize="4" DimPerm="1"/> + <ArrayDimension DimSize="5" DimPerm="2"/> + <DataType> + <AtomicType> + <IntegerType ByteOrder="LE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </ArrayType> + </DataType> + <Data> + <DataFromFile> + 0 1 2 3 4 + 10 11 12 13 14 + 20 21 22 23 24 + 30 31 32 33 34 + 100 101 102 103 104 + 110 111 112 113 114 + 120 121 122 123 124 + 130 131 132 133 134 + 200 201 202 203 204 + 210 211 212 213 214 + 220 221 222 223 224 + 230 231 232 233 234 + 1000 1001 1002 1003 1004 + 1010 1011 1012 1013 1014 + 1020 1021 1022 1023 1024 + 1030 1031 1032 1033 1034 + 1100 1101 1102 1103 1104 + 1110 1111 1112 1113 1114 + 1120 1121 1122 1123 1124 + 1130 1131 1132 1133 1134 + 1200 1201 1202 1203 1204 + 1210 1211 1212 1213 1214 + 1220 1221 1222 1223 1224 + 1230 1231 1232 1233 1234 + 2000 2001 2002 2003 2004 + 2010 2011 2012 2013 2014 + 2020 2021 2022 2023 2024 + 2030 2031 2032 2033 2034 + 2100 2101 2102 2103 2104 + 2110 2111 2112 2113 2114 + 2120 2121 2122 2123 2124 + 2130 2131 2132 2133 2134 + 2200 2201 2202 2203 2204 + 2210 2211 2212 2213 2214 + 2220 2221 2222 2223 2224 + 2230 2231 2232 2233 2234 + 3000 3001 3002 3003 3004 + 3010 3011 3012 3013 3014 + 3020 3021 3022 3023 3024 + 3030 3031 3032 3033 3034 + 3100 3101 3102 3103 3104 + 3110 3111 3112 3113 3114 + 3120 3121 3122 3123 3124 + 3130 3131 3132 3133 3134 + 3200 3201 3202 3203 3204 + 3210 3211 3212 3213 3214 + 3220 3221 3222 3223 3224 + 3230 3231 3232 3233 3234 + </DataFromFile> + </Data> + </Dataset> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tarray3.h5.xml b/tools/testfiles/tarray3.h5.xml new file mode 100644 index 0000000..5af5d85 --- /dev/null +++ b/tools/testfiles/tarray3.h5.xml @@ -0,0 +1,120 @@ +############################# +Expected output for 'h5dump --xml tarray3.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" OBJ-XID="/Dataset1" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="4" MaxDimSize="4"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <ArrayType Ndims="1"> + <ArrayDimension DimSize="4" DimPerm="0"/> + <DataType> + <ArrayType Ndims="2"> + <ArrayDimension DimSize="6" DimPerm="0"/> + <ArrayDimension DimSize="3" DimPerm="1"/> + <DataType> + <AtomicType> + <IntegerType ByteOrder="LE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </ArrayType> + </DataType> + </ArrayType> + </DataType> + <Data> + <DataFromFile> + 0 1 2 + 10 11 12 + 20 21 22 + 30 31 32 + 40 41 42 + 50 51 52 100 101 102 + 110 111 112 + 120 121 122 + 130 131 132 + 140 141 142 + 150 151 152 200 201 202 + 210 211 212 + 220 221 222 + 230 231 232 + 240 241 242 + 250 251 252 300 301 302 + 310 311 312 + 320 321 322 + 330 331 332 + 340 341 342 + 350 351 352 + 1000 1001 1002 + 1010 1011 1012 + 1020 1021 1022 + 1030 1031 1032 + 1040 1041 1042 + 1050 1051 1052 1100 1101 1102 + 1110 1111 1112 + 1120 1121 1122 + 1130 1131 1132 + 1140 1141 1142 + 1150 1151 1152 1200 1201 1202 + 1210 1211 1212 + 1220 1221 1222 + 1230 1231 1232 + 1240 1241 1242 + 1250 1251 1252 1300 1301 1302 + 1310 1311 1312 + 1320 1321 1322 + 1330 1331 1332 + 1340 1341 1342 + 1350 1351 1352 + 2000 2001 2002 + 2010 2011 2012 + 2020 2021 2022 + 2030 2031 2032 + 2040 2041 2042 + 2050 2051 2052 2100 2101 2102 + 2110 2111 2112 + 2120 2121 2122 + 2130 2131 2132 + 2140 2141 2142 + 2150 2151 2152 2200 2201 2202 + 2210 2211 2212 + 2220 2221 2222 + 2230 2231 2232 + 2240 2241 2242 + 2250 2251 2252 2300 2301 2302 + 2310 2311 2312 + 2320 2321 2322 + 2330 2331 2332 + 2340 2341 2342 + 2350 2351 2352 + 3000 3001 3002 + 3010 3011 3012 + 3020 3021 3022 + 3030 3031 3032 + 3040 3041 3042 + 3050 3051 3052 3100 3101 3102 + 3110 3111 3112 + 3120 3121 3122 + 3130 3131 3132 + 3140 3141 3142 + 3150 3151 3152 3200 3201 3202 + 3210 3211 3212 + 3220 3221 3222 + 3230 3231 3232 + 3240 3241 3242 + 3250 3251 3252 3300 3301 3302 + 3310 3311 3312 + 3320 3321 3322 + 3330 3331 3332 + 3340 3341 3342 + 3350 3351 3352 + </DataFromFile> + </Data> + </Dataset> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tarray6.h5.xml b/tools/testfiles/tarray6.h5.xml new file mode 100644 index 0000000..35e50ca --- /dev/null +++ b/tools/testfiles/tarray6.h5.xml @@ -0,0 +1,38 @@ +############################# +Expected output for 'h5dump --xml tarray6.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" OBJ-XID="/Dataset1" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="4" MaxDimSize="4"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <ArrayType Ndims="1"> + <ArrayDimension DimSize="4" DimPerm="0"/> + <DataType> + <VLType> + <DataType> + <AtomicType> + <IntegerType ByteOrder="LE" Sign="false" Size="4" /> + </AtomicType> + </DataType> + </VLType> + </DataType> + </ArrayType> + </DataType> + <Data> + <DataFromFile> + 0 10 11 20 21 22 30 31 32 33 + 100 101 110 111 112 120 121 122 123 130 131 132 133 134 + 200 201 202 210 211 212 213 220 221 222 223 224 230 231 232 233 234 235 + 300 301 302 303 310 311 312 313 314 320 321 322 323 324 325 330 331 332 333 334 335 336 + </DataFromFile> + </Data> + </Dataset> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tarray7.h5.xml b/tools/testfiles/tarray7.h5.xml new file mode 100644 index 0000000..a9fd541 --- /dev/null +++ b/tools/testfiles/tarray7.h5.xml @@ -0,0 +1,43 @@ +############################# +Expected output for 'h5dump --xml tarray7.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" OBJ-XID="/Dataset1" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="4" MaxDimSize="4"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <ArrayType Ndims="1"> + <ArrayDimension DimSize="4" DimPerm="0"/> + <DataType> + <VLType> + <DataType> + <ArrayType Ndims="1"> + <ArrayDimension DimSize="4" DimPerm="0"/> + <DataType> + <AtomicType> + <IntegerType ByteOrder="LE" Sign="false" Size="4" /> + </AtomicType> + </DataType> + </ArrayType> + </DataType> + </VLType> + </DataType> + </ArrayType> + </DataType> + <Data> + <DataFromFile> + 0 1 2 3 100 101 102 103 110 111 112 113 200 201 202 203 210 211 212 213 220 221 222 223 300 301 302 303 310 311 312 313 320 321 322 323 330 331 332 333 + 1000 1001 1002 1003 1010 1011 1012 1013 1100 1101 1102 1103 1110 1111 1112 1113 1120 1121 1122 1123 1200 1201 1202 1203 1210 1211 1212 1213 1220 1221 1222 1223 1230 1231 1232 1233 1300 1301 1302 1303 1310 1311 1312 1313 1320 1321 1322 1323 1330 1331 1332 1333 1340 1341 1342 1343 + 2000 2001 2002 2003 2010 2011 2012 2013 2020 2021 2022 2023 2100 2101 2102 2103 2110 2111 2112 2113 2120 2121 2122 2123 2130 2131 2132 2133 2200 2201 2202 2203 2210 2211 2212 2213 2220 2221 2222 2223 2230 2231 2232 2233 2240 2241 2242 2243 2300 2301 2302 2303 2310 2311 2312 2313 2320 2321 2322 2323 2330 2331 2332 2333 2340 2341 2342 2343 2350 2351 2352 2353 + 3000 3001 3002 3003 3010 3011 3012 3013 3020 3021 3022 3023 3030 3031 3032 3033 3100 3101 3102 3103 3110 3111 3112 3113 3120 3121 3122 3123 3130 3131 3132 3133 3140 3141 3142 3143 3200 3201 3202 3203 3210 3211 3212 3213 3220 3221 3222 3223 3230 3231 3232 3233 3240 3241 3242 3243 3250 3251 3252 3253 3300 3301 3302 3303 3310 3311 3312 3313 3320 3321 3322 3323 3330 3331 3332 3333 3340 3341 3342 3343 3350 3351 3352 3353 3360 3361 3362 3363 + </DataFromFile> + </Data> + </Dataset> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tattr.h5.xml b/tools/testfiles/tattr.h5.xml new file mode 100644 index 0000000..757b297 --- /dev/null +++ b/tools/testfiles/tattr.h5.xml @@ -0,0 +1,91 @@ +############################# +Expected output for 'h5dump --xml tattr.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"> + <Attribute Name="attr1"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="24" MaxDimSize="24"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="1" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 97 116 116 114 105 98 117 116 101 32 111 102 32 114 111 111 116 32 103 + 114 111 117 112 0 + </DataFromFile> + </Data> + </Attribute> + <Attribute Name="attr2"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="10" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 1 2 3 4 5 6 7 8 9 10 + </DataFromFile> + </Data> + </Attribute> + <Attribute Name="attr3"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="10" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <FloatType ByteOrder="BE" Size="8" SignBitLocation="63" ExponentBits="11" ExponentLocation="52" MantissaBits="52" MantissaLocation="0" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 + </DataFromFile> + </Data> + </Attribute> + <Attribute Name="attr4"> + <Dataspace> + <ScalarDataspace /> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 100 + </DataFromFile> + </Data> + </Attribute> + <Attribute Name="attr5"> + <Dataspace> + <ScalarDataspace /> + </Dataspace> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="17" StrPad="H5T_STR_NULLTERM"/> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + "string attribute" + </DataFromFile> + </Data> + </Attribute> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tbitfields.h5.xml b/tools/testfiles/tbitfields.h5.xml new file mode 100644 index 0000000..f249fa7 --- /dev/null +++ b/tools/testfiles/tbitfields.h5.xml @@ -0,0 +1,48 @@ +############################# +Expected output for 'h5dump --xml tbitfields.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"> + <Group Name="typetests" OBJ-XID="/typetests" Parents="/" > + <Dataset Name="bitfield_1" OBJ-XID="/typetests/bitfield_1" Parents="/typetests"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="32" MaxDimSize="32"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <BitfieldType ByteOrder="LE" Size="1"/> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0xff 0xfe 0xfd 0xfc 0xfb 0xfa 0xf9 0xf8 0xf7 0xf6 0xf5 0xf4 0xf3 + 0xf2 0xf1 0xf0 0xef 0xee 0xed 0xec 0xeb 0xea 0xe9 0xe8 0xe7 0xe6 + 0xe5 0xe4 0xe3 0xe2 0xe1 0xe0 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="bitfield_2" OBJ-XID="/typetests/bitfield_2" Parents="/typetests"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="16" MaxDimSize="16"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <BitfieldType ByteOrder="LE" Size="2"/> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0xfffe 0xfdfc 0xfbfa 0xf9f8 0xf7f6 0xf5f4 0xf3f2 0xf1f0 0xefee + 0xedec 0xebea 0xe9e8 0xe7e6 0xe5e4 0xe3e2 0xe1e0 + </DataFromFile> + </Data> + </Dataset> + </Group> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tcompound.h5.xml b/tools/testfiles/tcompound.h5.xml new file mode 100644 index 0000000..cc2db90 --- /dev/null +++ b/tools/testfiles/tcompound.h5.xml @@ -0,0 +1,280 @@ +############################# +Expected output for 'h5dump --xml tcompound.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"> + <NamedDataType Name="#6632:0" OBJ-XID="/#6632:0" Parents="#6632:0"> + <CompoundType> + <Field FieldName="int"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="float"> + <DataType> + <AtomicType> + <FloatType ByteOrder="BE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" /> + </AtomicType> + </DataType> + </Field> + </CompoundType> + </NamedDataType> + <NamedDataType Name="type1" OBJ-XID="/type1" Parents="root"> + <CompoundType> + <Field FieldName="int_name"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="float_name"> + <DataType> + <AtomicType> + <FloatType ByteOrder="BE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" /> + </AtomicType> + </DataType> + </Field> + </CompoundType> + </NamedDataType> + <NamedDataType Name="type2" OBJ-XID="/type2" Parents="root"> + <CompoundType> + <Field FieldName="int_array"> + <DataType> + <ArrayType Ndims="1"> + <ArrayDimension DimSize="4" DimPerm="0"/> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </ArrayType> + </DataType> + </Field> + <Field FieldName="float_array"> + <DataType> + <ArrayType Ndims="2"> + <ArrayDimension DimSize="5" DimPerm="0"/> + <ArrayDimension DimSize="6" DimPerm="1"/> + <DataType> + <AtomicType> + <FloatType ByteOrder="BE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" /> + </AtomicType> + </DataType> + </ArrayType> + </DataType> + </Field> + </CompoundType> + </NamedDataType> + <Dataset Name="dset1" OBJ-XID="/dset1" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="5" MaxDimSize="5"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <CompoundType> + <Field FieldName="a_name"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="b_name"> + <DataType> + <AtomicType> + <FloatType ByteOrder="BE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="c_name"> + <DataType> + <AtomicType> + <FloatType ByteOrder="BE" Size="8" SignBitLocation="63" ExponentBits="11" ExponentLocation="52" MantissaBits="52" MantissaLocation="0" /> + </AtomicType> + </DataType> + </Field> + </CompoundType> + </DataType> + <!-- Note: format of compound data not specified --> + <Data> + <DataFromFile> + 0 0 1 1 1 0.5 2 4 0.333333 3 9 0.25 4 16 0.2 + </DataFromFile> + </Data> + </Dataset> + <Group Name="group1" OBJ-XID="/group1" Parents="/" > + <NamedDataType Name="type3" OBJ-XID="/group1/type3" Parents="type3"> + <CompoundType> + <Field FieldName="int"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="float"> + <DataType> + <AtomicType> + <FloatType ByteOrder="BE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" /> + </AtomicType> + </DataType> + </Field> + </CompoundType> + </NamedDataType> + <Dataset Name="dset2" OBJ-XID="/group1/dset2" Parents="/group1"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="5" MaxDimSize="5"/> + </SimpleDataspace> + </Dataspace> + <NamedDataTypePtr OBJ-XID="/type1"/> + <!-- Note: format of compound data not specified --> + <Data> + <DataFromFile> + 0 0 1 1.1 2 2.2 3 3.3 4 4.4 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="dset3" OBJ-XID="/group1/dset3" Parents="/group1"> + <Dataspace> + <SimpleDataspace Ndims="2"> + <Dimension DimSize="3" MaxDimSize="3"/> + <Dimension DimSize="6" MaxDimSize="6"/> + </SimpleDataspace> + </Dataspace> + <NamedDataTypePtr OBJ-XID="/type2"/> + <!-- Note: format of compound data not specified --> + <Data> + <DataFromFile> + 0 1 2 3 1 2 3 4 5 6 + 2 3 4 5 6 7 + 3 4 5 6 7 8 + 4 5 6 7 8 9 + 5 6 7 8 9 10 + 1 2 3 4 2 3 4 5 6 7 + 3 4 5 6 7 8 + 4 5 6 7 8 9 + 5 6 7 8 9 10 + 6 7 8 9 10 11 + 2 3 4 5 3 4 5 6 7 8 + 4 5 6 7 8 9 + 5 6 7 8 9 10 + 6 7 8 9 10 11 + 7 8 9 10 11 12 + 3 4 5 6 4 5 6 7 8 9 + 5 6 7 8 9 10 + 6 7 8 9 10 11 + 7 8 9 10 11 12 + 8 9 10 11 12 13 + 4 5 6 7 5 6 7 8 9 10 + 6 7 8 9 10 11 + 7 8 9 10 11 12 + 8 9 10 11 12 13 + 9 10 11 12 13 14 + 5 6 7 8 6 7 8 9 10 11 + 7 8 9 10 11 12 + 8 9 10 11 12 13 + 9 10 11 12 13 14 + 10 11 12 13 14 15 + 1 2 3 4 2 3 4 5 6 7 + 3 4 5 6 7 8 + 4 5 6 7 8 9 + 5 6 7 8 9 10 + 6 7 8 9 10 11 + 2 3 4 5 3 4 5 6 7 8 + 4 5 6 7 8 9 + 5 6 7 8 9 10 + 6 7 8 9 10 11 + 7 8 9 10 11 12 + 3 4 5 6 4 5 6 7 8 9 + 5 6 7 8 9 10 + 6 7 8 9 10 11 + 7 8 9 10 11 12 + 8 9 10 11 12 13 + 4 5 6 7 5 6 7 8 9 10 + 6 7 8 9 10 11 + 7 8 9 10 11 12 + 8 9 10 11 12 13 + 9 10 11 12 13 14 + 5 6 7 8 6 7 8 9 10 11 + 7 8 9 10 11 12 + 8 9 10 11 12 13 + 9 10 11 12 13 14 + 10 11 12 13 14 15 + 6 7 8 9 7 8 9 10 11 12 + 8 9 10 11 12 13 + 9 10 11 12 13 14 + 10 11 12 13 14 15 + 11 12 13 14 15 16 + 2 3 4 5 3 4 5 6 7 8 + 4 5 6 7 8 9 + 5 6 7 8 9 10 + 6 7 8 9 10 11 + 7 8 9 10 11 12 + 3 4 5 6 4 5 6 7 8 9 + 5 6 7 8 9 10 + 6 7 8 9 10 11 + 7 8 9 10 11 12 + 8 9 10 11 12 13 + 4 5 6 7 5 6 7 8 9 10 + 6 7 8 9 10 11 + 7 8 9 10 11 12 + 8 9 10 11 12 13 + 9 10 11 12 13 14 + 5 6 7 8 6 7 8 9 10 11 + 7 8 9 10 11 12 + 8 9 10 11 12 13 + 9 10 11 12 13 14 + 10 11 12 13 14 15 + 6 7 8 9 7 8 9 10 11 12 + 8 9 10 11 12 13 + 9 10 11 12 13 14 + 10 11 12 13 14 15 + 11 12 13 14 15 16 + 7 8 9 10 8 9 10 11 12 13 + 9 10 11 12 13 14 + 10 11 12 13 14 15 + 11 12 13 14 15 16 + 12 13 14 15 16 17 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="dset4" OBJ-XID="/group1/dset4" Parents="/group1"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="5" MaxDimSize="5"/> + </SimpleDataspace> + </Dataspace> + <NamedDataTypePtr OBJ-XID="/group1/type3"/> + <!-- Note: format of compound data not specified --> + <Data> + <DataFromFile> + 0 3 1 4 2 5 3 6 4 7 + </DataFromFile> + </Data> + </Dataset> + </Group> + <Group Name="group2" OBJ-XID="/group2" Parents="/" > + <Dataset Name="dset5" OBJ-XID="/group2/dset5" Parents="/group2"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="5" MaxDimSize="5"/> + </SimpleDataspace> + </Dataspace> + <NamedDataTypePtr OBJ-XID="/#6632:0"/> + <!-- Note: format of compound data not specified --> + <Data> + <DataFromFile> + 0 0 1 0.1 2 0.2 3 0.3 4 0.4 + </DataFromFile> + </Data> + </Dataset> + </Group> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tcompound2.h5.xml b/tools/testfiles/tcompound2.h5.xml new file mode 100644 index 0000000..95fe67a --- /dev/null +++ b/tools/testfiles/tcompound2.h5.xml @@ -0,0 +1,196 @@ +############################# +Expected output for 'h5dump --xml tcompound2.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"> + <NamedDataType Name="#9560:0" OBJ-XID="/#9560:0" Parents="#9560:0"> + <CompoundType> + <Field FieldName="int"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="float"> + <DataType> + <AtomicType> + <FloatType ByteOrder="BE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" /> + </AtomicType> + </DataType> + </Field> + </CompoundType> + </NamedDataType> + <NamedDataType Name="type1" OBJ-XID="/type1" Parents="root"> + <CompoundType> + <Field FieldName="int_name"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="float_name"> + <DataType> + <AtomicType> + <FloatType ByteOrder="BE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" /> + </AtomicType> + </DataType> + </Field> + </CompoundType> + </NamedDataType> + <NamedDataType Name="type2" OBJ-XID="/type2" Parents="root"> + <CompoundType> + <Field FieldName="int_array"> + <DataType> + <ArrayType Ndims="1"> + <ArrayDimension DimSize="4" DimPerm="0"/> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </ArrayType> + </DataType> + </Field> + <Field FieldName="float_array"> + <DataType> + <ArrayType Ndims="2"> + <ArrayDimension DimSize="5" DimPerm="0"/> + <ArrayDimension DimSize="6" DimPerm="1"/> + <DataType> + <AtomicType> + <FloatType ByteOrder="BE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" /> + </AtomicType> + </DataType> + </ArrayType> + </DataType> + </Field> + </CompoundType> + </NamedDataType> + <Dataset Name="dset1" OBJ-XID="/dset1" Parents="root"> + <StorageLayout> + <ChunkedLayout Ndims="1"> + <ChunkDimension DimSize="2" /> + </ChunkedLayout> + </StorageLayout> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="6" MaxDimSize="UNLIMITED"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <CompoundType> + <Field FieldName="a_name"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="b_name"> + <DataType> + <AtomicType> + <FloatType ByteOrder="BE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="c_name"> + <DataType> + <AtomicType> + <FloatType ByteOrder="BE" Size="8" SignBitLocation="63" ExponentBits="11" ExponentLocation="52" MantissaBits="52" MantissaLocation="0" /> + </AtomicType> + </DataType> + </Field> + </CompoundType> + </DataType> + <!-- Note: format of compound data not specified --> + <Data> + <DataFromFile> + 0 0 1 1 1 0.5 2 4 0.333333 3 9 0.25 4 16 0.2 5 25 0.166667 + </DataFromFile> + </Data> + </Dataset> + <Group Name="group1" OBJ-XID="/group1" Parents="/" > + <NamedDataType Name="type3" OBJ-XID="/group1/type3" Parents="type3"> + <CompoundType> + <Field FieldName="int"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="float"> + <DataType> + <AtomicType> + <FloatType ByteOrder="BE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" /> + </AtomicType> + </DataType> + </Field> + </CompoundType> + </NamedDataType> + <Dataset Name="dset2" OBJ-XID="/group1/dset2" Parents="/group1"> + <StorageLayout> + <ChunkedLayout Ndims="1"> + <ChunkDimension DimSize="2" /> + </ChunkedLayout> + </StorageLayout> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="6" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <NamedDataTypePtr OBJ-XID="/type1"/> + <!-- Note: format of compound data not specified --> + <Data> + <DataFromFile> + 0 0 1 1.1 2 2.2 3 3.3 4 4.4 5 5.5 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="dset4" OBJ-XID="/group1/dset4" Parents="/group1"> + <StorageLayout> + <ChunkedLayout Ndims="1"> + <ChunkDimension DimSize="2" /> + </ChunkedLayout> + </StorageLayout> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="6" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <NamedDataTypePtr OBJ-XID="/group1/type3"/> + <!-- Note: format of compound data not specified --> + <Data> + <DataFromFile> + 0 0 1 1 2 2 3 3 4 4 5 5 + </DataFromFile> + </Data> + </Dataset> + </Group> + <Group Name="group2" OBJ-XID="/group2" Parents="/" > + <Dataset Name="dset5" OBJ-XID="/group2/dset5" Parents="/group2"> + <StorageLayout> + <ChunkedLayout Ndims="1"> + <ChunkDimension DimSize="2" /> + </ChunkedLayout> + </StorageLayout> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="6" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <NamedDataTypePtr OBJ-XID="/#9560:0"/> + <!-- Note: format of compound data not specified --> + <Data> + <DataFromFile> + 0 0 1 1 2 2 3 3 4 4 5 5 + </DataFromFile> + </Data> + </Dataset> + </Group> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tdatareg.h5.xml b/tools/testfiles/tdatareg.h5.xml new file mode 100644 index 0000000..ac6a691 --- /dev/null +++ b/tools/testfiles/tdatareg.h5.xml @@ -0,0 +1,54 @@ +############################# +Expected output for 'h5dump --xml tdatareg.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" OBJ-XID="/Dataset1" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="4" MaxDimSize="4"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <ReferenceType> + <ObjectReferenceType /> + </ReferenceType> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="Dataset2" OBJ-XID="/Dataset2" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="2"> + <Dimension DimSize="10" MaxDimSize="10"/> + <Dimension DimSize="10" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="false" Size="1" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 3 6 9 12 15 18 21 24 27 + 30 33 36 39 42 45 48 51 54 57 + 60 63 66 69 72 75 78 81 84 87 + 90 93 96 99 102 105 108 111 114 117 + 120 123 126 129 132 135 138 141 144 147 + 150 153 156 159 162 165 168 171 174 177 + 180 183 186 189 192 195 198 201 204 207 + 210 213 216 219 222 225 228 231 234 237 + 240 243 246 249 252 255 2 5 8 11 + 14 17 20 23 26 29 32 35 38 41 + </DataFromFile> + </Data> + </Dataset> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tdset.h5.xml b/tools/testfiles/tdset.h5.xml new file mode 100644 index 0000000..ea7bdb8 --- /dev/null +++ b/tools/testfiles/tdset.h5.xml @@ -0,0 +1,133 @@ +############################# +Expected output for 'h5dump --xml tdset.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="dset1" OBJ-XID="/dset1" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="2"> + <Dimension DimSize="10" MaxDimSize="10"/> + <Dimension DimSize="20" MaxDimSize="20"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 + 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 + 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 + 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 + 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 + 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 + 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 + 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 + 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 + 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="dset2" OBJ-XID="/dset2" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="2"> + <Dimension DimSize="30" MaxDimSize="30"/> + <Dimension DimSize="20" MaxDimSize="20"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <FloatType ByteOrder="BE" Size="8" SignBitLocation="63" ExponentBits="11" ExponentLocation="52" MantissaBits="52" MantissaLocation="0" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 0.0001 0.0002 0.0003 0.0004 0.0005 0.0006 0.0007 0.0008 0.0009 0.001 + 0.0011 0.0012 0.0013 0.0014 0.0015 0.0016 0.0017 0.0018 0.0019 + 1 1.0001 1.0002 1.0003 1.0004 1.0005 1.0006 1.0007 1.0008 1.0009 1.001 + 1.0011 1.0012 1.0013 1.0014 1.0015 1.0016 1.0017 1.0018 1.0019 + 2 2.0001 2.0002 2.0003 2.0004 2.0005 2.0006 2.0007 2.0008 2.0009 2.001 + 2.0011 2.0012 2.0013 2.0014 2.0015 2.0016 2.0017 2.0018 2.0019 + 3 3.0001 3.0002 3.0003 3.0004 3.0005 3.0006 3.0007 3.0008 3.0009 3.001 + 3.0011 3.0012 3.0013 3.0014 3.0015 3.0016 3.0017 3.0018 3.0019 + 4 4.0001 4.0002 4.0003 4.0004 4.0005 4.0006 4.0007 4.0008 4.0009 4.001 + 4.0011 4.0012 4.0013 4.0014 4.0015 4.0016 4.0017 4.0018 4.0019 + 5 5.0001 5.0002 5.0003 5.0004 5.0005 5.0006 5.0007 5.0008 5.0009 5.001 + 5.0011 5.0012 5.0013 5.0014 5.0015 5.0016 5.0017 5.0018 5.0019 + 6 6.0001 6.0002 6.0003 6.0004 6.0005 6.0006 6.0007 6.0008 6.0009 6.001 + 6.0011 6.0012 6.0013 6.0014 6.0015 6.0016 6.0017 6.0018 6.0019 + 7 7.0001 7.0002 7.0003 7.0004 7.0005 7.0006 7.0007 7.0008 7.0009 7.001 + 7.0011 7.0012 7.0013 7.0014 7.0015 7.0016 7.0017 7.0018 7.0019 + 8 8.0001 8.0002 8.0003 8.0004 8.0005 8.0006 8.0007 8.0008 8.0009 8.001 + 8.0011 8.0012 8.0013 8.0014 8.0015 8.0016 8.0017 8.0018 8.0019 + 9 9.0001 9.0002 9.0003 9.0004 9.0005 9.0006 9.0007 9.0008 9.0009 9.001 + 9.0011 9.0012 9.0013 9.0014 9.0015 9.0016 9.0017 9.0018 9.0019 + 10 10.0001 10.0002 10.0003 10.0004 10.0005 10.0006 10.0007 10.0008 + 10.0009 10.001 10.0011 10.0012 10.0013 10.0014 10.0015 10.0016 10.0017 + 10.0018 10.0019 + 11 11.0001 11.0002 11.0003 11.0004 11.0005 11.0006 11.0007 11.0008 + 11.0009 11.001 11.0011 11.0012 11.0013 11.0014 11.0015 11.0016 11.0017 + 11.0018 11.0019 + 12 12.0001 12.0002 12.0003 12.0004 12.0005 12.0006 12.0007 12.0008 + 12.0009 12.001 12.0011 12.0012 12.0013 12.0014 12.0015 12.0016 12.0017 + 12.0018 12.0019 + 13 13.0001 13.0002 13.0003 13.0004 13.0005 13.0006 13.0007 13.0008 + 13.0009 13.001 13.0011 13.0012 13.0013 13.0014 13.0015 13.0016 13.0017 + 13.0018 13.0019 + 14 14.0001 14.0002 14.0003 14.0004 14.0005 14.0006 14.0007 14.0008 + 14.0009 14.001 14.0011 14.0012 14.0013 14.0014 14.0015 14.0016 14.0017 + 14.0018 14.0019 + 15 15.0001 15.0002 15.0003 15.0004 15.0005 15.0006 15.0007 15.0008 + 15.0009 15.001 15.0011 15.0012 15.0013 15.0014 15.0015 15.0016 15.0017 + 15.0018 15.0019 + 16 16.0001 16.0002 16.0003 16.0004 16.0005 16.0006 16.0007 16.0008 + 16.0009 16.001 16.0011 16.0012 16.0013 16.0014 16.0015 16.0016 16.0017 + 16.0018 16.0019 + 17 17.0001 17.0002 17.0003 17.0004 17.0005 17.0006 17.0007 17.0008 + 17.0009 17.001 17.0011 17.0012 17.0013 17.0014 17.0015 17.0016 17.0017 + 17.0018 17.0019 + 18 18.0001 18.0002 18.0003 18.0004 18.0005 18.0006 18.0007 18.0008 + 18.0009 18.001 18.0011 18.0012 18.0013 18.0014 18.0015 18.0016 18.0017 + 18.0018 18.0019 + 19 19.0001 19.0002 19.0003 19.0004 19.0005 19.0006 19.0007 19.0008 + 19.0009 19.001 19.0011 19.0012 19.0013 19.0014 19.0015 19.0016 19.0017 + 19.0018 19.0019 + 20 20.0001 20.0002 20.0003 20.0004 20.0005 20.0006 20.0007 20.0008 + 20.0009 20.001 20.0011 20.0012 20.0013 20.0014 20.0015 20.0016 20.0017 + 20.0018 20.0019 + 21 21.0001 21.0002 21.0003 21.0004 21.0005 21.0006 21.0007 21.0008 + 21.0009 21.001 21.0011 21.0012 21.0013 21.0014 21.0015 21.0016 21.0017 + 21.0018 21.0019 + 22 22.0001 22.0002 22.0003 22.0004 22.0005 22.0006 22.0007 22.0008 + 22.0009 22.001 22.0011 22.0012 22.0013 22.0014 22.0015 22.0016 22.0017 + 22.0018 22.0019 + 23 23.0001 23.0002 23.0003 23.0004 23.0005 23.0006 23.0007 23.0008 + 23.0009 23.001 23.0011 23.0012 23.0013 23.0014 23.0015 23.0016 23.0017 + 23.0018 23.0019 + 24 24.0001 24.0002 24.0003 24.0004 24.0005 24.0006 24.0007 24.0008 + 24.0009 24.001 24.0011 24.0012 24.0013 24.0014 24.0015 24.0016 24.0017 + 24.0018 24.0019 + 25 25.0001 25.0002 25.0003 25.0004 25.0005 25.0006 25.0007 25.0008 + 25.0009 25.001 25.0011 25.0012 25.0013 25.0014 25.0015 25.0016 25.0017 + 25.0018 25.0019 + 26 26.0001 26.0002 26.0003 26.0004 26.0005 26.0006 26.0007 26.0008 + 26.0009 26.001 26.0011 26.0012 26.0013 26.0014 26.0015 26.0016 26.0017 + 26.0018 26.0019 + 27 27.0001 27.0002 27.0003 27.0004 27.0005 27.0006 27.0007 27.0008 + 27.0009 27.001 27.0011 27.0012 27.0013 27.0014 27.0015 27.0016 27.0017 + 27.0018 27.0019 + 28 28.0001 28.0002 28.0003 28.0004 28.0005 28.0006 28.0007 28.0008 + 28.0009 28.001 28.0011 28.0012 28.0013 28.0014 28.0015 28.0016 28.0017 + 28.0018 28.0019 + 29 29.0001 29.0002 29.0003 29.0004 29.0005 29.0006 29.0007 29.0008 + 29.0009 29.001 29.0011 29.0012 29.0013 29.0014 29.0015 29.0016 29.0017 + 29.0018 29.0019 + </DataFromFile> + </Data> + </Dataset> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tdset2.h5.xml b/tools/testfiles/tdset2.h5.xml new file mode 100644 index 0000000..fa7ebd3 --- /dev/null +++ b/tools/testfiles/tdset2.h5.xml @@ -0,0 +1,95 @@ +############################# +Expected output for 'h5dump --xml tdset2.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="dset1" OBJ-XID="/dset1" Parents="root"> + <StorageLayout> + <ChunkedLayout Ndims="2"> + <ChunkDimension DimSize="5" /> + <ChunkDimension DimSize="5" /> + </ChunkedLayout> + </StorageLayout> + <Dataspace> + <SimpleDataspace Ndims="2"> + <Dimension DimSize="10" MaxDimSize="UNLIMITED"/> + <Dimension DimSize="20" MaxDimSize="20"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 + 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 + 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 + 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 + 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 + 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 + 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 + 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 + 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 + 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="dset2" OBJ-XID="/dset2" Parents="root"> + <StorageLayout> + <ChunkedLayout Ndims="2"> + <ChunkDimension DimSize="5" /> + <ChunkDimension DimSize="5" /> + </ChunkedLayout> + </StorageLayout> + <Dataspace> + <SimpleDataspace Ndims="2"> + <Dimension DimSize="30" MaxDimSize="30"/> + <Dimension DimSize="10" MaxDimSize="UNLIMITED"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <FloatType ByteOrder="BE" Size="8" SignBitLocation="63" ExponentBits="11" ExponentLocation="52" MantissaBits="52" MantissaLocation="0" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + </DataFromFile> + </Data> + </Dataset> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tempty.h5.xml b/tools/testfiles/tempty.h5.xml new file mode 100644 index 0000000..43f4d6b --- /dev/null +++ b/tools/testfiles/tempty.h5.xml @@ -0,0 +1,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> diff --git a/tools/testfiles/tenum.h5.xml b/tools/testfiles/tenum.h5.xml new file mode 100644 index 0000000..8fc64a2 --- /dev/null +++ b/tools/testfiles/tenum.h5.xml @@ -0,0 +1,59 @@ +############################# +Expected output for 'h5dump --xml tenum.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"> + <NamedDataType Name="enum normal" OBJ-XID="/enum normal" Parents="root"> + <AtomicType> + <EnumType Nelems="5"> + <EnumElement> + RED + </EnumElement> + <EnumValue> + 0 + </EnumValue> + <EnumElement> + GREEN + </EnumElement> + <EnumValue> + 1 + </EnumValue> + <EnumElement> + BLUE + </EnumElement> + <EnumValue> + 2 + </EnumValue> + <EnumElement> + WHITE + </EnumElement> + <EnumValue> + 3 + </EnumValue> + <EnumElement> + BLACK + </EnumElement> + <EnumValue> + 4 + </EnumValue> + </EnumType> + </AtomicType> + </NamedDataType> + <Dataset Name="table" OBJ-XID="/table" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="20" MaxDimSize="20"/> + </SimpleDataspace> + </Dataspace> + <NamedDataTypePtr OBJ-XID="/enum normal"/> + <Data> + <DataFromFile> + RED GREEN BLUE GREEN WHITE WHITE BLACK GREEN BLUE RED RED BLUE GREEN + BLACK WHITE RED WHITE GREEN GREEN BLUE + </DataFromFile> + </Data> + </Dataset> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tgroup.h5.xml b/tools/testfiles/tgroup.h5.xml new file mode 100644 index 0000000..c8e936a --- /dev/null +++ b/tools/testfiles/tgroup.h5.xml @@ -0,0 +1,35 @@ +############################# +Expected output for 'h5dump --xml tgroup.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"> + <Group Name="g1" OBJ-XID="/g1" Parents="/" > + <Group Name="g1.1" OBJ-XID="/g1/g1.1" Parents="/g1" > + </Group> + <Group Name="g1.2" OBJ-XID="/g1/g1.2" Parents="/g1" > + </Group> + </Group> + <Group Name="g2" OBJ-XID="/g2" Parents="/" > + <Group Name="g2.1" OBJ-XID="/g2/g2.1" Parents="/g2" > + <Group Name="g2.1.1" OBJ-XID="/g2/g2.1/g2.1.1" Parents="/g2/g2.1" > + </Group> + <Group Name="g2.1.2" OBJ-XID="/g2/g2.1/g2.1.2" Parents="/g2/g2.1" > + </Group> + <Group Name="g2.1.3" OBJ-XID="/g2/g2.1/g2.1.3" Parents="/g2/g2.1" > + </Group> + </Group> + </Group> + <Group Name="g3" OBJ-XID="/g3" Parents="/" > + <Group Name="g3.1" OBJ-XID="/g3/g3.1" Parents="/g3" > + </Group> + <Group Name="g3.2" OBJ-XID="/g3/g3.2" Parents="/g3" > + </Group> + <Group Name="g3.3" OBJ-XID="/g3/g3.3" Parents="/g3" > + </Group> + <Group Name="g3.4" OBJ-XID="/g3/g3.4" Parents="/g3" > + </Group> + </Group> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/thlink.h5.xml b/tools/testfiles/thlink.h5.xml new file mode 100644 index 0000000..306f4eb --- /dev/null +++ b/tools/testfiles/thlink.h5.xml @@ -0,0 +1,39 @@ +############################# +Expected output for 'h5dump --xml thlink.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="dset1" OBJ-XID="/dset1" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="5" MaxDimSize="5"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 1 2 3 4 + </DataFromFile> + </Data> + </Dataset> + <Group Name="g1" OBJ-XID="/g1" Parents="/" > + <Dataset Name="dset2" OBJ-XID="/g1" Parents="/g1"> + <DatasetPtr OBJ-XID="/dset1"/> + </Dataset> + <Group Name="g1.1" OBJ-XID="/g1/g1.1" Parents="/g1" > + <Dataset Name="dset3" OBJ-XID="/g1/g1.1" Parents="/g1/g1.1"> + <DatasetPtr OBJ-XID="/dset1"/> + </Dataset> + </Group> + </Group> + <Group Name="g2" OBJ-XID="/g2" Parents="/" > + <GroupPtr OBJ-XID="/g1/g1.1"/> + </Group> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tloop.h5.xml b/tools/testfiles/tloop.h5.xml new file mode 100644 index 0000000..2e36c89 --- /dev/null +++ b/tools/testfiles/tloop.h5.xml @@ -0,0 +1,19 @@ +############################# +Expected output for 'h5dump --xml tloop.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"> + <Group Name="g1" OBJ-XID="/g1" Parents="/" > + <Group Name="g1.1" OBJ-XID="/g1/g1.1" Parents="/g1" > + <Group Name="g2.1" OBJ-XID="/g1/g1.1/g2.1" Parents="/g1/g1.1" > + <GroupPtr OBJ-XID="/g1"/> + </Group> + </Group> + </Group> + <Group Name="g2" OBJ-XID="/g2" Parents="/" > + <GroupPtr OBJ-XID="/g1/g1.1"/> + </Group> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tloop2.h5.xml b/tools/testfiles/tloop2.h5.xml new file mode 100644 index 0000000..2af291a --- /dev/null +++ b/tools/testfiles/tloop2.h5.xml @@ -0,0 +1,17 @@ +############################# +Expected output for 'h5dump --xml tloop2.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"> + <Group Name="g1" OBJ-XID="/g1" Parents="/" > + <Group Name="g1.1" OBJ-XID="/g1/g1.1" Parents="/g1" > + <SoftLink LinkName="g2.1" Target="/g1" TargetObj="/g1" OBJ-XID="g2.1" Source="/g1/g1.1"/> + </Group> + </Group> + <Group Name="g2" OBJ-XID="/g2" Parents="/" > + <GroupPtr OBJ-XID="/g1/g1.1"/> + </Group> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tmany.h5.xml b/tools/testfiles/tmany.h5.xml new file mode 100644 index 0000000..ab1b81a --- /dev/null +++ b/tools/testfiles/tmany.h5.xml @@ -0,0 +1,338 @@ +############################# +Expected output for 'h5dump --xml tmany.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"> + <Group Name="g1" OBJ-XID="/g1" Parents="/" > + <Group Name="g1.1" OBJ-XID="/g1/g1.1" Parents="/g1" > + <Dataset Name="dset1" OBJ-XID="/g1/g1.1/dset1" Parents="/g1/g1.1"> + <StorageLayout> + <ChunkedLayout Ndims="1"> + <ChunkDimension DimSize="2" /> + </ChunkedLayout> + </StorageLayout> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="6" MaxDimSize="UNLIMITED"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <CompoundType> + <Field FieldName="a_array"> + <DataType> + <ArrayType Ndims="4"> + <ArrayDimension DimSize="2" DimPerm="0"/> + <ArrayDimension DimSize="2" DimPerm="1"/> + <ArrayDimension DimSize="2" DimPerm="2"/> + <ArrayDimension DimSize="2" DimPerm="3"/> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </ArrayType> + </DataType> + </Field> + <Field FieldName="b_array"> + <DataType> + <ArrayType Ndims="4"> + <ArrayDimension DimSize="2" DimPerm="0"/> + <ArrayDimension DimSize="2" DimPerm="1"/> + <ArrayDimension DimSize="2" DimPerm="2"/> + <ArrayDimension DimSize="2" DimPerm="3"/> + <DataType> + <AtomicType> + <FloatType ByteOrder="BE" Size="8" SignBitLocation="63" ExponentBits="11" ExponentLocation="52" MantissaBits="52" MantissaLocation="0" /> + </AtomicType> + </DataType> + </ArrayType> + </DataType> + </Field> + <Field FieldName="c_array"> + <DataType> + <ArrayType Ndims="4"> + <ArrayDimension DimSize="2" DimPerm="0"/> + <ArrayDimension DimSize="2" DimPerm="1"/> + <ArrayDimension DimSize="2" DimPerm="2"/> + <ArrayDimension DimSize="2" DimPerm="3"/> + <DataType> + <AtomicType> + <FloatType ByteOrder="BE" Size="8" SignBitLocation="63" ExponentBits="11" ExponentLocation="52" MantissaBits="52" MantissaLocation="0" /> + </AtomicType> + </DataType> + </ArrayType> + </DataType> + </Field> + </CompoundType> + </DataType> + <Attribute Name="attr1"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="10" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="1" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 97 98 99 100 101 102 103 104 105 0 + </DataFromFile> + </Data> + </Attribute> + <Attribute Name="attr2"> + <Dataspace> + <SimpleDataspace Ndims="2"> + <Dimension DimSize="2" MaxDimSize="2"/> + <Dimension DimSize="2" MaxDimSize="2"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 1 + 2 3 + </DataFromFile> + </Data> + </Attribute> + <Attribute Name="attr3"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="10" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <FloatType ByteOrder="BE" Size="8" SignBitLocation="63" ExponentBits="11" ExponentLocation="52" MantissaBits="52" MantissaLocation="0" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 + </DataFromFile> + </Data> + </Attribute> + <!-- Note: format of compound data not specified --> + <Data> + <DataFromFile> + 0 1 + 0 1 + 0 1 + 0 1 + 0 1 + 0 1 + 0 1 + 0 1 0 1 + 0 1 + 0 1 + 0 1 + 0 1 + 0 1 + 0 1 + 0 1 6 7 + 6 7 + 6 7 + 6 7 + 6 7 + 6 7 + 6 7 + 6 7 + 1 2 + 1 2 + 1 2 + 1 2 + 1 2 + 1 2 + 1 2 + 1 2 1 2 + 1 2 + 1 2 + 1 2 + 1 2 + 1 2 + 1 2 + 1 2 7 8 + 7 8 + 7 8 + 7 8 + 7 8 + 7 8 + 7 8 + 7 8 + 2 3 + 2 3 + 2 3 + 2 3 + 2 3 + 2 3 + 2 3 + 2 3 2 3 + 2 3 + 2 3 + 2 3 + 2 3 + 2 3 + 2 3 + 2 3 8 9 + 8 9 + 8 9 + 8 9 + 8 9 + 8 9 + 8 9 + 8 9 + 3 4 + 3 4 + 3 4 + 3 4 + 3 4 + 3 4 + 3 4 + 3 4 3 4 + 3 4 + 3 4 + 3 4 + 3 4 + 3 4 + 3 4 + 3 4 9 10 + 9 10 + 9 10 + 9 10 + 9 10 + 9 10 + 9 10 + 9 10 + 4 5 + 4 5 + 4 5 + 4 5 + 4 5 + 4 5 + 4 5 + 4 5 4 5 + 4 5 + 4 5 + 4 5 + 4 5 + 4 5 + 4 5 + 4 5 10 11 + 10 11 + 10 11 + 10 11 + 10 11 + 10 11 + 10 11 + 10 11 + 5 6 + 5 6 + 5 6 + 5 6 + 5 6 + 5 6 + 5 6 + 5 6 5 6 + 5 6 + 5 6 + 5 6 + 5 6 + 5 6 + 5 6 + 5 6 11 12 + 11 12 + 11 12 + 11 12 + 11 12 + 11 12 + 11 12 + 11 12 + </DataFromFile> + </Data> + </Dataset> + </Group> + <Group Name="g1.2" OBJ-XID="/g1/g1.2" Parents="/g1" > + <Dataset Name="link1" OBJ-XID="/g1/g1.2" Parents="/g1/g1.2"> + <DatasetPtr OBJ-XID="/g1/g1.1/dset1"/> + </Dataset> + </Group> + </Group> + <Group Name="g2" OBJ-XID="/g2" Parents="/" > + <SoftLink LinkName="slink2" Target="/g1" TargetObj="/g1" OBJ-XID="slink2" Source="/g2"/> + </Group> + <Group Name="g3" OBJ-XID="/g3" Parents="/" > + <Dataset Name="link3" OBJ-XID="/g3/link3" Parents="/g3"> + <Dataspace> + <SimpleDataspace Ndims="2"> + <Dimension DimSize="10" MaxDimSize="10"/> + <Dimension DimSize="10" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + 0 1 2 3 4 5 6 7 8 9 + </DataFromFile> + </Data> + </Dataset> + </Group> + <Group Name="g4" OBJ-XID="/g4" Parents="/" > + <Dataset Name="dset2" OBJ-XID="/g4" Parents="/g4"> + <DatasetPtr OBJ-XID="/g3/link3"/> + </Dataset> + </Group> + <Group Name="g5" OBJ-XID="/g5" Parents="/" > + <SoftLink LinkName="slink4" Target="/g6/dset3" TargetObj="/g6/dset3" OBJ-XID="slink4" Source="/g5"/> + </Group> + <Group Name="g6" OBJ-XID="/g6" Parents="/" > + <Dataset Name="dset3" OBJ-XID="/g6/dset3" Parents="/g6"> + <Dataspace> + <SimpleDataspace Ndims="2"> + <Dimension DimSize="10" MaxDimSize="10"/> + <Dimension DimSize="10" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 0 0 0 0 0 0 0 0 0 + 1 1 1 1 1 1 1 1 1 1 + 2 2 2 2 2 2 2 2 2 2 + 3 3 3 3 3 3 3 3 3 3 + 4 4 4 4 4 4 4 4 4 4 + 5 5 5 5 5 5 5 5 5 5 + 6 6 6 6 6 6 6 6 6 6 + 7 7 7 7 7 7 7 7 7 7 + 8 8 8 8 8 8 8 8 8 8 + 9 9 9 9 9 9 9 9 9 9 + </DataFromFile> + </Data> + </Dataset> + </Group> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tname-amp.h5 b/tools/testfiles/tname-amp.h5 Binary files differnew file mode 100644 index 0000000..eeaeb67 --- /dev/null +++ b/tools/testfiles/tname-amp.h5 diff --git a/tools/testfiles/tname-amp.h5.xml b/tools/testfiles/tname-amp.h5.xml new file mode 100644 index 0000000..e7e882b --- /dev/null +++ b/tools/testfiles/tname-amp.h5.xml @@ -0,0 +1,55 @@ +############################# +Expected output for 'h5dump --xml tname-amp.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"> + <Attribute Name="attr1&withamp"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="10" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="1" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 97 98 99 100 101 102 103 104 105 0 + </DataFromFile> + </Data> + </Attribute> + <Group Name="g1.1&withamp" OBJ-XID="/g1.1&withamp" Parents="/" > + <Dataset Name="dset1.1.1&withamp" OBJ-XID="/g1.1&withamp/dset1.1.1&withamp" Parents="/g1.1&withamp"> + <Dataspace> + <SimpleDataspace Ndims="2"> + <Dimension DimSize="10" MaxDimSize="10"/> + <Dimension DimSize="10" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 0 0 0 0 0 0 0 0 0 + 0 1 2 3 4 5 6 7 8 9 + 0 2 4 6 8 10 12 14 16 18 + 0 3 6 9 12 15 18 21 24 27 + 0 4 8 12 16 20 24 28 32 36 + 0 5 10 15 20 25 30 35 40 45 + 0 6 12 18 24 30 36 42 48 54 + 0 7 14 21 28 35 42 49 56 63 + 0 8 16 24 32 40 48 56 64 72 + 0 9 18 27 36 45 54 63 72 81 + </DataFromFile> + </Data> + </Dataset> + </Group> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tname-apos.h5 b/tools/testfiles/tname-apos.h5 Binary files differnew file mode 100644 index 0000000..c86d2dd --- /dev/null +++ b/tools/testfiles/tname-apos.h5 diff --git a/tools/testfiles/tname-apos.h5.xml b/tools/testfiles/tname-apos.h5.xml new file mode 100644 index 0000000..5133ad7 --- /dev/null +++ b/tools/testfiles/tname-apos.h5.xml @@ -0,0 +1,55 @@ +############################# +Expected output for 'h5dump --xml tname-apos.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"> + <Attribute Name="attr1'withapos"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="10" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="1" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 97 98 99 100 101 102 103 104 105 0 + </DataFromFile> + </Data> + </Attribute> + <Group Name="g1.1'withapos" OBJ-XID="/g1.1'withapos" Parents="/" > + <Dataset Name="dset1.1.1'withapos" OBJ-XID="/g1.1'withapos/dset1.1.1'withapos" Parents="/g1.1'withapos"> + <Dataspace> + <SimpleDataspace Ndims="2"> + <Dimension DimSize="10" MaxDimSize="10"/> + <Dimension DimSize="10" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 0 0 0 0 0 0 0 0 0 + 0 1 2 3 4 5 6 7 8 9 + 0 2 4 6 8 10 12 14 16 18 + 0 3 6 9 12 15 18 21 24 27 + 0 4 8 12 16 20 24 28 32 36 + 0 5 10 15 20 25 30 35 40 45 + 0 6 12 18 24 30 36 42 48 54 + 0 7 14 21 28 35 42 49 56 63 + 0 8 16 24 32 40 48 56 64 72 + 0 9 18 27 36 45 54 63 72 81 + </DataFromFile> + </Data> + </Dataset> + </Group> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tname-gt.h5 b/tools/testfiles/tname-gt.h5 Binary files differnew file mode 100644 index 0000000..b852be8 --- /dev/null +++ b/tools/testfiles/tname-gt.h5 diff --git a/tools/testfiles/tname-gt.h5.xml b/tools/testfiles/tname-gt.h5.xml new file mode 100644 index 0000000..383e31f --- /dev/null +++ b/tools/testfiles/tname-gt.h5.xml @@ -0,0 +1,55 @@ +############################# +Expected output for 'h5dump --xml tname-gt.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"> + <Attribute Name="attr1>withgt"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="10" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="1" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 97 98 99 100 101 102 103 104 105 0 + </DataFromFile> + </Data> + </Attribute> + <Group Name="g1.1>withgt" OBJ-XID="/g1.1>withgt" Parents="/" > + <Dataset Name="dset1.1.1>withgt" OBJ-XID="/g1.1>withgt/dset1.1.1>withgt" Parents="/g1.1>withgt"> + <Dataspace> + <SimpleDataspace Ndims="2"> + <Dimension DimSize="10" MaxDimSize="10"/> + <Dimension DimSize="10" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 0 0 0 0 0 0 0 0 0 + 0 1 2 3 4 5 6 7 8 9 + 0 2 4 6 8 10 12 14 16 18 + 0 3 6 9 12 15 18 21 24 27 + 0 4 8 12 16 20 24 28 32 36 + 0 5 10 15 20 25 30 35 40 45 + 0 6 12 18 24 30 36 42 48 54 + 0 7 14 21 28 35 42 49 56 63 + 0 8 16 24 32 40 48 56 64 72 + 0 9 18 27 36 45 54 63 72 81 + </DataFromFile> + </Data> + </Dataset> + </Group> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tname-lt.h5 b/tools/testfiles/tname-lt.h5 Binary files differnew file mode 100644 index 0000000..698cf82 --- /dev/null +++ b/tools/testfiles/tname-lt.h5 diff --git a/tools/testfiles/tname-lt.h5.xml b/tools/testfiles/tname-lt.h5.xml new file mode 100644 index 0000000..abbe46b --- /dev/null +++ b/tools/testfiles/tname-lt.h5.xml @@ -0,0 +1,55 @@ +############################# +Expected output for 'h5dump --xml tname-lt.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"> + <Attribute Name="attr1<withlt"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="10" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="1" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 97 98 99 100 101 102 103 104 105 0 + </DataFromFile> + </Data> + </Attribute> + <Group Name="g1.1<withlt" OBJ-XID="/g1.1<withlt" Parents="/" > + <Dataset Name="dset1.1.1<withlt" OBJ-XID="/g1.1<withlt/dset1.1.1<withlt" Parents="/g1.1<withlt"> + <Dataspace> + <SimpleDataspace Ndims="2"> + <Dimension DimSize="10" MaxDimSize="10"/> + <Dimension DimSize="10" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 0 0 0 0 0 0 0 0 0 + 0 1 2 3 4 5 6 7 8 9 + 0 2 4 6 8 10 12 14 16 18 + 0 3 6 9 12 15 18 21 24 27 + 0 4 8 12 16 20 24 28 32 36 + 0 5 10 15 20 25 30 35 40 45 + 0 6 12 18 24 30 36 42 48 54 + 0 7 14 21 28 35 42 49 56 63 + 0 8 16 24 32 40 48 56 64 72 + 0 9 18 27 36 45 54 63 72 81 + </DataFromFile> + </Data> + </Dataset> + </Group> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tname-quot.h5 b/tools/testfiles/tname-quot.h5 Binary files differnew file mode 100644 index 0000000..be7f448 --- /dev/null +++ b/tools/testfiles/tname-quot.h5 diff --git a/tools/testfiles/tname-quot.h5.xml b/tools/testfiles/tname-quot.h5.xml new file mode 100644 index 0000000..d1b2949 --- /dev/null +++ b/tools/testfiles/tname-quot.h5.xml @@ -0,0 +1,55 @@ +############################# +Expected output for 'h5dump --xml tname-quot.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"> + <Attribute Name="attr1"withquot"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="10" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="1" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 97 98 99 100 101 102 103 104 105 0 + </DataFromFile> + </Data> + </Attribute> + <Group Name="g1.1"withquot" OBJ-XID="/g1.1"withquot" Parents="/" > + <Dataset Name="dset1.1.1"withquot" OBJ-XID="/g1.1"withquot/dset1.1.1"withquot" Parents="/g1.1"withquot"> + <Dataspace> + <SimpleDataspace Ndims="2"> + <Dimension DimSize="10" MaxDimSize="10"/> + <Dimension DimSize="10" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 0 0 0 0 0 0 0 0 0 + 0 1 2 3 4 5 6 7 8 9 + 0 2 4 6 8 10 12 14 16 18 + 0 3 6 9 12 15 18 21 24 27 + 0 4 8 12 16 20 24 28 32 36 + 0 5 10 15 20 25 30 35 40 45 + 0 6 12 18 24 30 36 42 48 54 + 0 7 14 21 28 35 42 49 56 63 + 0 8 16 24 32 40 48 56 64 72 + 0 9 18 27 36 45 54 63 72 81 + </DataFromFile> + </Data> + </Dataset> + </Group> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tname-sp.h5 b/tools/testfiles/tname-sp.h5 Binary files differnew file mode 100644 index 0000000..f21d79f --- /dev/null +++ b/tools/testfiles/tname-sp.h5 diff --git a/tools/testfiles/tname-sp.h5.xml b/tools/testfiles/tname-sp.h5.xml new file mode 100644 index 0000000..8eb4ae9 --- /dev/null +++ b/tools/testfiles/tname-sp.h5.xml @@ -0,0 +1,55 @@ +############################# +Expected output for 'h5dump --xml tname-sp.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"> + <Attribute Name="attr1 withspace"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="10" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="1" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 97 98 99 100 101 102 103 104 105 0 + </DataFromFile> + </Data> + </Attribute> + <Group Name="g1.1 withspace" OBJ-XID="/g1.1 withspace" Parents="/" > + <Dataset Name="dset1.1.1 withspace" OBJ-XID="/g1.1 withspace/dset1.1.1 withspace" Parents="/g1.1 withspace"> + <Dataspace> + <SimpleDataspace Ndims="2"> + <Dimension DimSize="10" MaxDimSize="10"/> + <Dimension DimSize="10" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 0 0 0 0 0 0 0 0 0 + 0 1 2 3 4 5 6 7 8 9 + 0 2 4 6 8 10 12 14 16 18 + 0 3 6 9 12 15 18 21 24 27 + 0 4 8 12 16 20 24 28 32 36 + 0 5 10 15 20 25 30 35 40 45 + 0 6 12 18 24 30 36 42 48 54 + 0 7 14 21 28 35 42 49 56 63 + 0 8 16 24 32 40 48 56 64 72 + 0 9 18 27 36 45 54 63 72 81 + </DataFromFile> + </Data> + </Dataset> + </Group> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tnestedcomp.h5.xml b/tools/testfiles/tnestedcomp.h5.xml new file mode 100644 index 0000000..b6c92d4 --- /dev/null +++ b/tools/testfiles/tnestedcomp.h5.xml @@ -0,0 +1,76 @@ +############################# +Expected output for 'h5dump --xml tnestedcomp.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="ArrayOfStructures" OBJ-XID="/ArrayOfStructures" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="10" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <CompoundType> + <Field FieldName="a_name"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="LE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="b_name"> + <DataType> + <AtomicType> + <FloatType ByteOrder="LE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="c_name"> + <DataType> + <AtomicType> + <FloatType ByteOrder="LE" Size="8" SignBitLocation="63" ExponentBits="11" ExponentLocation="52" MantissaBits="52" MantissaLocation="0" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="d_name"> + <DataType> + <CompoundType> + <Field FieldName="char_name"> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="1" StrPad="H5T_STR_NULLTERM"/> + </AtomicType> + </DataType> + </Field> + <Field FieldName="array_name"> + <DataType> + <ArrayType Ndims="1"> + <ArrayDimension DimSize="2" DimPerm="0"/> + <DataType> + <AtomicType> + <FloatType ByteOrder="LE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" /> + </AtomicType> + </DataType> + </ArrayType> + </DataType> + </Field> + </CompoundType> + </DataType> + </Field> + </CompoundType> + </DataType> + <!-- Note: format of compound data not specified --> + <Data> + <DataFromFile> + 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 + </DataFromFile> + </Data> + </Dataset> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tnodata.h5 b/tools/testfiles/tnodata.h5 Binary files differnew file mode 100644 index 0000000..baaa3fb --- /dev/null +++ b/tools/testfiles/tnodata.h5 diff --git a/tools/testfiles/tnodata.h5.xml b/tools/testfiles/tnodata.h5.xml new file mode 100644 index 0000000..5e8321a --- /dev/null +++ b/tools/testfiles/tnodata.h5.xml @@ -0,0 +1,26 @@ +############################# +Expected output for 'h5dump --xml tnodata.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="dset1" OBJ-XID="/dset1" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="5" MaxDimSize="5"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 0 0 0 0 + </DataFromFile> + </Data> + </Dataset> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tobjref.h5.xml b/tools/testfiles/tobjref.h5.xml new file mode 100644 index 0000000..f0b856e --- /dev/null +++ b/tools/testfiles/tobjref.h5.xml @@ -0,0 +1,92 @@ +############################# +Expected output for 'h5dump --xml tobjref.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="Dataset3" OBJ-XID="/Dataset3" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="4" MaxDimSize="4"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <ReferenceType> + <ObjectReferenceType /> + </ReferenceType> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + "/Group1/Dataset1" + "/Group1/Dataset2" + "/Group1" + "/Group1/Datatype1" + </DataFromFile> + </Data> + </Dataset> + <Group Name="Group1" OBJ-XID="/Group1" Parents="/" > + <NamedDataType Name="Datatype1" OBJ-XID="/Group1/Datatype1" Parents="Datatype1"> + <CompoundType> + <Field FieldName="a"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="b"> + <DataType> + <AtomicType> + <FloatType ByteOrder="BE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="c"> + <DataType> + <AtomicType> + <FloatType ByteOrder="BE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" /> + </AtomicType> + </DataType> + </Field> + </CompoundType> + </NamedDataType> + <Dataset Name="Dataset1" OBJ-XID="/Group1/Dataset1" Parents="/Group1"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="4" MaxDimSize="4"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="false" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 3 6 9 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="Dataset2" OBJ-XID="/Group1/Dataset2" Parents="/Group1"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="4" MaxDimSize="4"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="false" Size="1" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 0 0 0 + </DataFromFile> + </Data> + </Dataset> + </Group> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/topaque.h5.xml b/tools/testfiles/topaque.h5.xml new file mode 100644 index 0000000..688f2b8 --- /dev/null +++ b/tools/testfiles/topaque.h5.xml @@ -0,0 +1,27 @@ +############################# +Expected output for 'h5dump --xml topaque.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="opaque test" OBJ-XID="/opaque test" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="2" MaxDimSize="2"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <OpaqueType Tag="test opaque type" Size="200"/> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0x0063016202610360045f055e065d075c085b095a0a590b580c570d560e550f541053115212511350144f154e164d174c184b194a1a491b481c471d461e451f442043214222412340243f253e263d273c283b293a2a392b382c372d362e352f343033313232313330342f352e362d372c382b392a3a293b283c273d263e253f244023412242214320441f451e461d471c481b491a4a194b184c174d164e154f145013511252115310540f550e560d570c580b590a5a095b085c075d065e055f046003610262016300 + 0x3800002c3c000027340001ea04000012000000000008a4640000000000000000000000000000000000000000ef7ec9c000000001effffa84effffa8c0003fc000000000000000000effffa2000012e84effffa2000012e5800000003effffa8400000004effffa8c00000005effffaf0000000000000000000000001effffa84effffa8c0003fc0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 + </DataFromFile> + </Data> + </Dataset> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tref-escapes-at.h5 b/tools/testfiles/tref-escapes-at.h5 Binary files differnew file mode 100644 index 0000000..c03c201 --- /dev/null +++ b/tools/testfiles/tref-escapes-at.h5 diff --git a/tools/testfiles/tref-escapes-at.h5.xml b/tools/testfiles/tref-escapes-at.h5.xml new file mode 100644 index 0000000..03184f3 --- /dev/null +++ b/tools/testfiles/tref-escapes-at.h5.xml @@ -0,0 +1,282 @@ +############################# +Expected output for 'h5dump --xml tref-escapes-at.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"> + <Group Name="Group1" OBJ-XID="/Group1" Parents="/" > + <Dataset Name="Dataset space" OBJ-XID="/Group1/Dataset space" Parents="/Group1"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="4" MaxDimSize="4"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="false" Size="1" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 0 0 0 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="Dataset"quote" OBJ-XID="/Group1/Dataset"quote" Parents="/Group1"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="4" MaxDimSize="4"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="false" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 3 6 9 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="Dataset&amp" OBJ-XID="/Group1/Dataset&amp" Parents="/Group1"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="4" MaxDimSize="4"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="false" Size="1" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 0 0 0 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="Dataset'apos" OBJ-XID="/Group1/Dataset'apos" Parents="/Group1"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="4" MaxDimSize="4"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="false" Size="1" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 0 0 0 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="Dataset<lt" OBJ-XID="/Group1/Dataset<lt" Parents="/Group1"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="4" MaxDimSize="4"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="false" Size="1" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 0 0 0 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="Dataset>gt" OBJ-XID="/Group1/Dataset>gt" Parents="/Group1"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="4" MaxDimSize="4"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="false" Size="1" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 0 0 0 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="Dataset\slash" OBJ-XID="/Group1/Dataset\slash" Parents="/Group1"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="4" MaxDimSize="4"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="false" Size="1" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 0 0 0 + </DataFromFile> + </Data> + </Dataset> + <Group Name="Group1.1" OBJ-XID="/Group1/Group1.1" Parents="/Group1" > + <Dataset Name="Datasetrefs" OBJ-XID="/Group1/Group1.1/Datasetrefs" Parents="/Group1/Group1.1"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="1" MaxDimSize="1"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="false" Size="1" /> + </AtomicType> + </DataType> + <Attribute Name="reftoquote"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="1" MaxDimSize="1"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <ReferenceType> + <ObjectReferenceType /> + </ReferenceType> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + "/Group1/Dataset\"quote" + </DataFromFile> + </Data> + </Attribute> + <Attribute Name="reftoslash"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="1" MaxDimSize="1"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <ReferenceType> + <ObjectReferenceType /> + </ReferenceType> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + "/Group1/Dataset\\slash" + </DataFromFile> + </Data> + </Attribute> + <Attribute Name="reftoamp"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="1" MaxDimSize="1"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <ReferenceType> + <ObjectReferenceType /> + </ReferenceType> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + "/Group1/Dataset&amp" + </DataFromFile> + </Data> + </Attribute> + <Attribute Name="reftolt"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="1" MaxDimSize="1"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <ReferenceType> + <ObjectReferenceType /> + </ReferenceType> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + "/Group1/Dataset<lt" + </DataFromFile> + </Data> + </Attribute> + <Attribute Name="reftogt"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="1" MaxDimSize="1"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <ReferenceType> + <ObjectReferenceType /> + </ReferenceType> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + "/Group1/Dataset>gt" + </DataFromFile> + </Data> + </Attribute> + <Attribute Name="reftoapos"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="1" MaxDimSize="1"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <ReferenceType> + <ObjectReferenceType /> + </ReferenceType> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + "/Group1/Dataset'apos" + </DataFromFile> + </Data> + </Attribute> + <Attribute Name="reftospace"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="1" MaxDimSize="1"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <ReferenceType> + <ObjectReferenceType /> + </ReferenceType> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + "/Group1/Dataset space" + </DataFromFile> + </Data> + </Attribute> + <Data> + <DataFromFile> + 0 + </DataFromFile> + </Data> + </Dataset> + </Group> + </Group> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tref-escapes.h5 b/tools/testfiles/tref-escapes.h5 Binary files differnew file mode 100644 index 0000000..b9bff90 --- /dev/null +++ b/tools/testfiles/tref-escapes.h5 diff --git a/tools/testfiles/tref-escapes.h5.xml b/tools/testfiles/tref-escapes.h5.xml new file mode 100644 index 0000000..4f47144 --- /dev/null +++ b/tools/testfiles/tref-escapes.h5.xml @@ -0,0 +1,157 @@ +############################# +Expected output for 'h5dump --xml tref-escapes.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"> + <Group Name="Group1" OBJ-XID="/Group1" Parents="/" > + <Dataset Name="Dataset space" OBJ-XID="/Group1/Dataset space" Parents="/Group1"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="4" MaxDimSize="4"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="false" Size="1" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 0 0 0 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="Dataset"quote" OBJ-XID="/Group1/Dataset"quote" Parents="/Group1"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="4" MaxDimSize="4"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="false" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 3 6 9 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="Dataset&amp" OBJ-XID="/Group1/Dataset&amp" Parents="/Group1"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="4" MaxDimSize="4"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="false" Size="1" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 0 0 0 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="Dataset'apos" OBJ-XID="/Group1/Dataset'apos" Parents="/Group1"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="4" MaxDimSize="4"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="false" Size="1" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 0 0 0 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="Dataset<lt" OBJ-XID="/Group1/Dataset<lt" Parents="/Group1"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="4" MaxDimSize="4"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="false" Size="1" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 0 0 0 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="Dataset>gt" OBJ-XID="/Group1/Dataset>gt" Parents="/Group1"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="4" MaxDimSize="4"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="false" Size="1" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 0 0 0 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="Dataset\slash" OBJ-XID="/Group1/Dataset\slash" Parents="/Group1"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="4" MaxDimSize="4"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="false" Size="1" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 0 0 0 + </DataFromFile> + </Data> + </Dataset> + <Group Name="Group1.1" OBJ-XID="/Group1/Group1.1" Parents="/Group1" > + <Dataset Name="Datasetrefs" OBJ-XID="/Group1/Group1.1/Datasetrefs" Parents="/Group1/Group1.1"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="7" MaxDimSize="7"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <ReferenceType> + <ObjectReferenceType /> + </ReferenceType> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + "/Group1/Dataset\"quote" + "/Group1/Dataset\\slash" + "/Group1/Dataset&amp" + "/Group1/Dataset<lt" + "/Group1/Dataset space" + "/Group1/Dataset'apos" + "/Group1/Dataset>gt" + </DataFromFile> + </Data> + </Dataset> + </Group> + </Group> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tref.h5 b/tools/testfiles/tref.h5 Binary files differnew file mode 100644 index 0000000..12453be --- /dev/null +++ b/tools/testfiles/tref.h5 diff --git a/tools/testfiles/tref.h5.xml b/tools/testfiles/tref.h5.xml new file mode 100644 index 0000000..2637347 --- /dev/null +++ b/tools/testfiles/tref.h5.xml @@ -0,0 +1,66 @@ +############################# +Expected output for 'h5dump --xml tref.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="ZZZDataset3" OBJ-XID="/ZZZDataset3" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="3" MaxDimSize="3"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <ReferenceType> + <ObjectReferenceType /> + </ReferenceType> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + "/Group1/Dataset1" + "/Group1/Dataset2" + "/Group1" + </DataFromFile> + </Data> + </Dataset> + <Group Name="Group1" OBJ-XID="/Group1" Parents="/" > + <Dataset Name="Dataset1" OBJ-XID="/Group1/Dataset1" Parents="/Group1"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="4" MaxDimSize="4"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="false" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 3 6 9 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="Dataset2" OBJ-XID="/Group1/Dataset2" Parents="/Group1"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="4" MaxDimSize="4"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="false" Size="1" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 0 0 0 + </DataFromFile> + </Data> + </Dataset> + </Group> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tsaf.h5.xml b/tools/testfiles/tsaf.h5.xml new file mode 100644 index 0000000..9b3feef --- /dev/null +++ b/tools/testfiles/tsaf.h5.xml @@ -0,0 +1,2602 @@ +############################# +Expected output for 'h5dump --xml tsaf.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=".DSL_METADATA" OBJ-XID="/.DSL_METADATA" Parents="root"> + <StorageLayout> + <ChunkedLayout Ndims="1"> + <ChunkDimension DimSize="1024" /> + </ChunkedLayout> + </StorageLayout> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="5919" MaxDimSize="UNLIMITED"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="LE" Sign="false" Size="1" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 47 32 67 79 78 84 65 73 78 69 82 10 47 46 97 116 116 114 105 98 117 + 116 101 115 32 67 79 78 84 65 73 78 69 82 10 47 46 97 116 116 114 105 + 98 117 116 101 115 47 100 97 116 97 98 97 115 101 32 67 79 78 84 65 73 + 78 69 82 10 47 46 97 116 116 114 105 98 117 116 101 115 47 100 97 116 + 97 98 97 115 101 47 46 83 65 70 95 68 98 80 114 111 112 115 32 68 65 + 84 65 83 69 84 32 115 116 114 117 99 116 32 83 65 70 95 68 98 80 114 + 111 112 115 123 105 110 116 32 109 97 103 105 99 59 99 104 97 114 32 + 83 70 105 108 101 68 105 114 91 49 48 50 52 93 59 99 104 97 114 32 73 + 109 112 111 114 116 70 105 108 101 91 49 48 50 52 93 59 105 110 116 32 + 112 97 114 97 108 108 101 108 59 115 116 114 117 99 116 32 83 65 70 95 + 86 101 114 115 105 111 110 73 110 102 111 123 105 110 116 32 118 109 + 97 106 111 114 59 105 110 116 32 118 109 105 110 111 114 59 105 110 + 116 32 114 101 108 59 99 104 97 114 32 97 110 110 111 116 91 49 48 93 + 59 125 115 97 102 97 112 105 59 115 116 114 117 99 116 32 83 65 70 95 + 86 101 114 115 105 111 110 73 110 102 111 123 105 110 116 32 118 109 + 97 106 111 114 59 105 110 116 32 118 109 105 110 111 114 59 105 110 + 116 32 114 101 108 59 99 104 97 114 32 97 110 110 111 116 91 49 48 93 + 59 125 115 97 102 108 105 98 59 115 116 114 117 99 116 32 83 65 70 95 + 86 101 114 115 105 111 110 73 110 102 111 123 105 110 116 32 118 109 + 97 106 111 114 59 105 110 116 32 118 109 105 110 111 114 59 105 110 + 116 32 114 101 108 59 99 104 97 114 32 97 110 110 111 116 91 49 48 93 + 59 125 118 98 116 59 115 116 114 117 99 116 32 83 65 70 95 86 101 114 + 115 105 111 110 73 110 102 111 123 105 110 116 32 118 109 97 106 111 + 114 59 105 110 116 32 118 109 105 110 111 114 59 105 110 116 32 114 + 101 108 59 99 104 97 114 32 97 110 110 111 116 91 49 48 93 59 125 100 + 115 108 59 115 116 114 117 99 116 32 83 65 70 95 86 101 114 115 105 + 111 110 73 110 102 111 123 105 110 116 32 118 109 97 106 111 114 59 + 105 110 116 32 118 109 105 110 111 114 59 105 110 116 32 114 101 108 + 59 99 104 97 114 32 97 110 110 111 116 91 49 48 93 59 125 104 100 102 + 53 59 115 116 114 117 99 116 32 83 65 70 95 86 101 114 115 105 111 110 + 73 110 102 111 123 105 110 116 32 118 109 97 106 111 114 59 105 110 + 116 32 118 109 105 110 111 114 59 105 110 116 32 114 101 108 59 99 104 + 97 114 32 97 110 110 111 116 91 49 48 93 59 125 109 112 105 59 105 110 + 116 32 68 111 84 111 99 59 105 110 116 32 82 101 97 100 79 110 108 121 + 59 105 110 116 32 67 108 111 98 98 101 114 59 105 110 116 32 79 83 77 + 111 100 101 115 59 125 59 10 47 115 115 114 101 108 45 95 48 48 48 48 + 32 68 65 84 65 83 69 84 32 105 110 116 59 10 47 115 115 114 101 108 45 + 95 48 48 48 49 32 68 65 84 65 83 69 84 32 105 110 116 59 10 47 115 115 + 114 101 108 45 95 48 48 48 50 32 68 65 84 65 83 69 84 32 105 110 116 + 59 10 47 115 115 114 101 108 45 95 48 48 48 51 32 68 65 84 65 83 69 84 + 32 105 110 116 59 10 47 115 115 114 101 108 45 95 48 48 48 52 32 68 65 + 84 65 83 69 84 32 105 110 116 59 10 47 115 115 114 101 108 45 95 48 48 + 48 53 32 68 65 84 65 83 69 84 32 105 110 116 59 10 47 115 115 114 101 + 108 45 95 48 48 48 54 32 68 65 84 65 83 69 84 32 105 110 116 59 10 47 + 115 115 114 101 108 45 95 48 48 48 55 32 68 65 84 65 83 69 84 32 105 + 110 116 59 10 47 115 115 114 101 108 45 95 48 48 48 56 32 68 65 84 65 + 83 69 84 32 105 110 116 59 10 47 115 115 114 101 108 45 95 48 48 48 57 + 32 68 65 84 65 83 69 84 32 105 110 116 59 10 47 115 115 114 101 108 45 + 95 48 48 49 48 32 68 65 84 65 83 69 84 32 105 110 116 59 10 47 115 115 + 114 101 108 45 95 48 48 49 49 32 68 65 84 65 83 69 84 32 105 110 116 + 59 10 47 115 115 114 101 108 45 95 48 48 49 50 32 68 65 84 65 83 69 84 + 32 105 110 116 59 10 47 116 111 112 111 114 101 108 45 95 48 48 49 55 + 32 68 65 84 65 83 69 84 32 105 110 116 59 10 47 116 111 112 111 114 + 101 108 45 95 48 48 49 56 32 68 65 84 65 83 69 84 32 105 110 116 59 10 + 47 116 111 112 111 114 101 108 45 95 48 48 49 57 32 68 65 84 65 83 69 + 84 32 105 110 116 59 10 47 116 111 112 111 114 101 108 45 95 48 48 50 + 48 32 68 65 84 65 83 69 84 32 105 110 116 59 10 47 102 105 101 108 100 + 45 99 111 111 114 100 115 95 48 48 48 50 32 68 65 84 65 83 69 84 32 + 102 108 111 97 116 59 10 47 102 105 101 108 100 45 100 105 115 116 114 + 105 98 117 116 105 111 110 95 102 97 99 116 111 114 115 95 48 48 48 51 + 32 68 65 84 65 83 69 84 32 102 108 111 97 116 59 10 47 102 105 101 108 + 100 45 116 101 109 112 101 114 97 116 117 114 101 95 48 48 48 52 32 68 + 65 84 65 83 69 84 32 102 108 111 97 116 59 10 47 102 105 101 108 100 + 45 100 105 115 112 108 97 99 101 109 101 110 116 115 95 48 48 48 55 32 + 68 65 84 65 83 69 84 32 102 108 111 97 116 59 10 47 102 105 101 108 + 100 45 115 116 114 101 115 115 95 48 48 49 49 32 68 65 84 65 83 69 84 + 32 102 108 111 97 116 59 10 47 102 105 101 108 100 45 116 101 109 112 + 101 114 97 116 117 114 101 95 48 48 49 50 32 68 65 84 65 83 69 84 32 + 102 108 111 97 116 59 10 47 102 105 101 108 100 45 112 114 101 115 115 + 117 114 101 95 48 48 49 51 32 68 65 84 65 83 69 84 32 102 108 111 97 + 116 59 10 47 66 108 111 98 32 68 65 84 65 83 69 84 32 115 116 114 117 + 99 116 32 66 108 111 98 123 68 83 76 95 79 102 102 115 101 116 32 102 + 105 108 101 95 105 100 59 68 83 76 95 79 102 102 115 101 116 32 100 97 + 116 97 115 101 116 95 105 100 59 68 83 76 95 79 102 102 115 101 116 32 + 111 102 102 115 101 116 59 68 83 76 95 79 102 102 115 101 116 32 115 + 116 114 105 100 101 59 68 83 76 95 79 102 102 115 101 116 32 99 111 + 117 110 116 59 68 83 76 95 79 102 102 115 101 116 32 98 97 115 101 95 + 105 100 59 68 83 76 95 79 102 102 115 101 116 32 110 117 109 95 114 + 101 99 115 59 125 59 10 47 73 110 100 101 120 83 112 101 99 32 68 65 + 84 65 83 69 84 32 115 116 114 117 99 116 32 73 110 100 101 120 83 112 + 101 99 123 105 110 116 32 110 100 105 109 115 59 105 110 116 32 111 + 114 105 103 105 110 115 91 56 93 59 105 110 116 32 115 105 122 101 115 + 91 56 93 59 105 110 116 32 111 114 100 101 114 91 56 93 59 101 110 117 + 109 32 73 110 100 101 120 84 121 112 101 123 86 66 84 95 73 78 68 69 + 88 95 84 89 80 69 95 67 95 79 82 68 69 82 61 48 44 86 66 84 95 73 78 + 68 69 88 95 84 89 80 69 95 70 95 79 82 68 69 82 61 49 44 86 66 84 95 + 73 78 68 69 88 95 84 89 80 69 95 65 78 89 61 45 49 44 86 66 84 95 73 + 78 68 69 88 95 84 89 80 69 95 73 78 86 65 76 73 68 61 45 50 44 86 66 + 84 95 73 78 68 69 88 95 84 89 80 69 95 78 65 61 45 51 44 86 66 84 95 + 73 78 68 69 88 95 84 89 80 69 95 85 78 75 78 79 87 78 61 45 52 125 105 + 110 100 101 120 95 116 121 112 101 59 68 83 76 95 79 102 102 115 101 + 116 32 98 97 115 101 95 105 100 59 68 83 76 95 79 102 102 115 101 116 + 32 110 117 109 95 114 101 99 115 59 125 59 10 47 67 97 116 32 68 65 84 + 65 83 69 84 32 115 116 114 117 99 116 32 67 97 116 123 99 104 97 114 + 32 110 97 109 101 91 54 52 93 59 101 110 117 109 32 82 111 108 101 123 + 86 66 84 95 82 79 76 69 95 84 79 80 79 61 48 44 86 66 84 95 82 79 76 + 69 95 66 78 68 61 49 44 86 66 84 95 82 79 76 69 95 80 82 79 67 61 50 + 44 86 66 84 95 82 79 76 69 95 68 79 77 78 61 51 44 86 66 84 95 82 79 + 76 69 95 66 76 79 67 75 61 52 44 86 66 84 95 82 79 76 69 95 65 83 83 + 89 61 53 44 86 66 84 95 82 79 76 69 95 77 65 84 61 54 44 86 66 84 95 + 82 79 76 69 95 88 80 82 79 68 61 55 44 86 66 84 95 82 79 76 69 95 85 + 83 69 82 68 61 56 44 86 66 84 95 82 79 76 69 95 65 78 89 61 45 49 44 + 86 66 84 95 82 79 76 69 95 73 78 86 65 76 73 68 61 45 50 44 86 66 84 + 95 82 79 76 69 95 78 65 61 45 51 44 86 66 84 95 82 79 76 69 95 85 78 + 75 78 79 87 78 61 45 52 125 114 111 108 101 59 105 110 116 32 116 100 + 105 109 59 68 83 76 95 79 102 102 115 101 116 32 98 97 115 101 95 105 + 100 59 68 83 76 95 79 102 102 115 101 116 32 110 117 109 95 114 101 99 + 115 59 125 59 10 47 83 101 116 32 68 65 84 65 83 69 84 32 115 116 114 + 117 99 116 32 83 101 116 123 105 110 116 32 117 115 101 114 95 105 100 + 59 99 104 97 114 32 110 97 109 101 91 54 52 93 59 105 110 116 32 116 + 100 105 109 59 101 110 117 109 32 83 105 108 82 111 108 101 123 86 66 + 84 95 83 82 79 76 69 95 84 73 77 69 61 48 44 86 66 84 95 83 82 79 76 + 69 95 83 80 65 67 69 61 49 44 86 66 84 95 83 82 79 76 69 95 83 84 65 + 84 69 61 50 44 86 66 84 95 83 82 79 76 69 95 80 65 82 65 77 61 51 44 + 86 66 84 95 83 82 79 76 69 95 67 84 89 80 69 61 52 44 86 66 84 95 83 + 82 79 76 69 95 65 84 89 80 69 61 53 44 86 66 84 95 83 82 79 76 69 95 + 85 83 69 82 68 61 54 44 86 66 84 95 83 82 79 76 69 95 65 78 89 61 45 + 49 44 86 66 84 95 83 82 79 76 69 95 73 78 86 65 76 73 68 61 45 50 44 + 86 66 84 95 83 82 79 76 69 95 78 65 61 45 51 44 86 66 84 95 83 82 79 + 76 69 95 85 78 75 78 79 87 78 61 45 52 125 115 114 111 108 101 59 68 + 83 76 95 79 102 102 115 101 116 32 99 111 108 108 95 105 100 115 91 49 + 54 93 59 105 110 116 32 105 115 95 116 111 112 59 105 110 116 32 105 + 115 95 101 120 116 101 110 100 105 98 108 101 59 68 83 76 95 79 102 + 102 115 101 116 32 100 102 108 116 95 99 111 111 114 100 102 108 100 + 95 105 100 59 68 83 76 95 79 102 102 115 101 116 32 98 110 100 95 115 + 101 116 95 105 100 59 68 83 76 95 79 102 102 115 101 116 32 98 97 115 + 101 95 105 100 59 68 83 76 95 79 102 102 115 101 116 32 110 117 109 95 + 114 101 99 115 59 125 59 10 47 67 111 108 108 101 99 116 105 111 110 + 32 68 65 84 65 83 69 84 32 115 116 114 117 99 116 32 67 111 108 108 + 101 99 116 105 111 110 123 68 83 76 95 79 102 102 115 101 116 32 99 + 111 110 116 97 105 110 105 110 103 95 115 101 116 95 105 100 59 68 83 + 76 95 79 102 102 115 101 116 32 99 97 116 95 105 100 59 101 110 117 + 109 32 67 101 108 108 84 121 112 101 123 86 66 84 95 67 69 76 76 95 84 + 89 80 69 95 78 79 78 69 61 48 44 86 66 84 95 67 69 76 76 95 84 89 80 + 69 95 80 79 73 78 84 61 49 44 86 66 84 95 67 69 76 76 95 84 89 80 69 + 95 76 73 78 69 61 50 44 86 66 84 95 67 69 76 76 95 84 89 80 69 95 84 + 82 73 61 51 44 86 66 84 95 67 69 76 76 95 84 89 80 69 95 81 85 65 68 + 61 52 44 86 66 84 95 67 69 76 76 95 84 89 80 69 95 84 69 84 61 53 44 + 86 66 84 95 67 69 76 76 95 84 89 80 69 95 80 89 82 65 77 73 68 61 54 + 44 86 66 84 95 67 69 76 76 95 84 89 80 69 95 80 82 73 83 77 61 55 44 + 86 66 84 95 67 69 76 76 95 84 89 80 69 95 72 69 88 61 56 44 86 66 84 + 95 67 69 76 76 95 84 89 80 69 95 77 73 88 69 68 61 57 44 86 66 84 95 + 67 69 76 76 95 84 89 80 69 95 65 82 66 61 49 48 44 86 66 84 95 67 69 + 76 76 95 84 89 80 69 95 49 66 65 76 76 61 49 49 44 86 66 84 95 67 69 + 76 76 95 84 89 80 69 95 50 66 65 76 76 61 49 50 44 86 66 84 95 67 69 + 76 76 95 84 89 80 69 95 51 66 65 76 76 61 49 51 44 86 66 84 95 67 69 + 76 76 95 84 89 80 69 95 49 83 72 69 76 76 61 49 52 44 86 66 84 95 67 + 69 76 76 95 84 89 80 69 95 50 83 72 69 76 76 61 49 53 44 86 66 84 95 + 67 69 76 76 95 84 89 80 69 95 65 78 89 61 45 49 44 86 66 84 95 67 69 + 76 76 95 84 89 80 69 95 73 78 86 65 76 73 68 61 45 50 44 86 66 84 95 + 67 69 76 76 95 84 89 80 69 95 78 65 61 45 51 44 86 66 84 95 67 69 76 + 76 95 84 89 80 69 95 85 78 75 78 79 87 78 61 45 52 125 99 101 108 108 + 95 116 121 112 101 59 105 110 116 32 99 111 117 110 116 59 68 83 76 95 + 79 102 102 115 101 116 32 105 110 100 101 120 105 110 103 95 105 100 + 59 105 110 116 32 105 115 95 100 101 99 111 109 112 59 68 83 76 95 79 + 102 102 115 101 116 32 109 101 109 98 101 114 115 95 98 108 111 98 95 + 105 100 59 68 83 76 95 79 102 102 115 101 116 32 98 97 115 101 95 105 + 100 59 68 83 76 95 79 102 102 115 101 116 32 110 117 109 95 114 101 99 + 115 59 125 59 10 47 82 101 108 97 116 105 111 110 32 68 65 84 65 83 69 + 84 32 115 116 114 117 99 116 32 82 101 108 97 116 105 111 110 123 68 + 83 76 95 79 102 102 115 101 116 32 115 117 98 95 105 100 59 68 83 76 + 95 79 102 102 115 101 116 32 115 117 98 95 99 97 116 95 105 100 59 68 + 83 76 95 79 102 102 115 101 116 32 115 117 98 95 100 101 99 111 109 + 112 95 99 97 116 95 105 100 59 68 83 76 95 79 102 102 115 101 116 32 + 115 117 112 95 105 100 59 68 83 76 95 79 102 102 115 101 116 32 115 + 117 112 95 99 97 116 95 105 100 59 68 83 76 95 79 102 102 115 101 116 + 32 115 117 112 95 100 101 99 111 109 112 95 99 97 116 95 105 100 59 + 101 110 117 109 32 82 101 108 75 105 110 100 123 86 66 84 95 82 69 76 + 75 73 78 68 95 83 85 66 83 69 84 61 48 44 86 66 84 95 82 69 76 75 73 + 78 68 95 83 85 80 83 69 84 61 49 44 86 66 84 95 82 69 76 75 73 78 68 + 95 66 79 85 78 68 61 50 44 86 66 84 95 82 69 76 75 73 78 68 95 80 69 + 82 77 85 84 69 61 51 44 86 66 84 95 82 69 76 75 73 78 68 95 78 69 73 + 71 72 66 79 82 61 52 44 86 66 84 95 82 69 76 75 73 78 68 95 67 79 80 + 89 61 53 44 86 66 84 95 82 69 76 75 73 78 68 95 69 81 85 65 76 61 54 + 44 86 66 84 95 82 69 76 75 73 78 68 95 65 78 89 61 45 49 44 86 66 84 + 95 82 69 76 75 73 78 68 95 73 78 86 65 76 73 68 61 45 50 44 86 66 84 + 95 82 69 76 75 73 78 68 95 78 65 61 45 51 44 86 66 84 95 82 69 76 75 + 73 78 68 95 85 78 75 78 79 87 78 61 45 52 125 107 105 110 100 59 101 + 110 117 109 32 82 101 108 82 101 112 123 86 66 84 95 82 69 76 82 69 80 + 95 73 68 69 78 84 73 84 89 61 48 44 86 66 84 95 82 69 76 82 69 80 95 + 72 76 73 83 84 61 49 44 86 66 84 95 82 69 76 82 69 80 95 84 76 73 83 + 84 61 50 44 86 66 84 95 82 69 76 82 69 80 95 84 76 73 83 84 95 49 61 + 51 44 86 66 84 95 82 69 76 82 69 80 95 69 76 73 83 84 61 52 44 86 66 + 84 95 82 69 76 82 69 80 95 83 84 82 85 67 84 85 82 69 68 61 53 44 86 + 66 84 95 82 69 76 82 69 80 95 85 78 83 84 82 85 67 84 85 82 69 68 61 + 54 44 86 66 84 95 82 69 76 82 69 80 95 65 82 66 73 84 82 65 82 89 95 + 82 61 55 44 86 66 84 95 82 69 76 82 69 80 95 65 82 66 73 84 82 65 82 + 89 95 68 82 61 56 44 86 66 84 95 82 69 76 82 69 80 95 65 78 89 61 45 + 49 44 86 66 84 95 82 69 76 82 69 80 95 73 78 86 65 76 73 68 61 45 50 + 44 86 66 84 95 82 69 76 82 69 80 95 78 65 61 45 51 44 86 66 84 95 82 + 69 76 82 69 80 95 85 78 75 78 79 87 78 61 45 52 125 114 101 112 95 116 + 121 112 101 59 68 83 76 95 79 102 102 115 101 116 32 100 95 98 108 111 + 98 95 105 100 59 68 83 76 95 79 102 102 115 101 116 32 114 95 98 108 + 111 98 95 105 100 59 68 83 76 95 79 102 102 115 101 116 32 98 97 115 + 101 95 105 100 59 68 83 76 95 79 102 102 115 101 116 32 110 117 109 95 + 114 101 99 115 59 125 59 10 47 70 105 101 108 100 84 109 112 108 32 68 + 65 84 65 83 69 84 32 115 116 114 117 99 116 32 70 105 101 108 100 84 + 109 112 108 123 99 104 97 114 32 110 97 109 101 91 54 52 93 59 68 83 + 76 95 79 102 102 115 101 116 32 98 97 115 101 95 115 112 97 99 101 95 + 105 100 59 101 110 117 109 32 65 108 103 101 98 114 97 105 99 84 121 + 112 101 123 86 66 84 95 65 76 71 69 66 82 65 73 67 95 84 89 80 69 95 + 67 79 78 83 84 65 78 84 61 48 44 86 66 84 95 65 76 71 69 66 82 65 73 + 67 95 84 89 80 69 95 67 79 77 80 79 78 69 78 84 61 49 44 86 66 84 95 + 65 76 71 69 66 82 65 73 67 95 84 89 80 69 95 83 67 65 76 65 82 61 50 + 44 86 66 84 95 65 76 71 69 66 82 65 73 67 95 84 89 80 69 95 86 69 67 + 84 79 82 61 51 44 86 66 84 95 65 76 71 69 66 82 65 73 67 95 84 89 80 + 69 95 84 69 78 83 79 82 61 52 44 86 66 84 95 65 76 71 69 66 82 65 73 + 67 95 84 89 80 69 95 83 89 77 95 84 69 78 83 79 82 61 53 44 86 66 84 + 95 65 76 71 69 66 82 65 73 67 95 84 89 80 69 95 70 73 69 76 68 61 54 + 44 86 66 84 95 65 76 71 69 66 82 65 73 67 95 84 89 80 69 95 83 84 65 + 84 69 61 55 44 86 66 84 95 65 76 71 69 66 82 65 73 67 95 84 89 80 69 + 95 84 85 80 76 69 61 56 44 86 66 84 95 65 76 71 69 66 82 65 73 67 95 + 84 89 80 69 95 65 78 89 61 45 49 44 86 66 84 95 65 76 71 69 66 82 65 + 73 67 95 84 89 80 69 95 73 78 86 65 76 73 68 61 45 50 44 86 66 84 95 + 65 76 71 69 66 82 65 73 67 95 84 89 80 69 95 78 65 61 45 51 44 86 66 + 84 95 65 76 71 69 66 82 65 73 67 95 84 89 80 69 95 85 78 75 78 79 87 + 78 61 45 52 125 97 108 103 95 116 121 112 101 59 101 110 117 109 32 66 + 97 115 105 115 84 121 112 101 123 86 66 84 95 66 65 83 73 83 95 84 89 + 80 69 95 85 78 73 84 89 61 48 44 86 66 84 95 66 65 83 73 83 95 84 89 + 80 69 95 67 65 82 84 69 83 73 65 78 61 49 44 86 66 84 95 66 65 83 73 + 83 95 84 89 80 69 95 83 80 72 69 82 73 67 65 76 61 50 44 86 66 84 95 + 66 65 83 73 83 95 84 89 80 69 95 67 89 76 73 78 68 82 73 67 65 76 61 + 51 44 86 66 84 95 66 65 83 73 83 95 84 89 80 69 95 85 80 80 69 82 95 + 84 82 73 61 52 44 86 66 84 95 66 65 83 73 83 95 84 89 80 69 95 70 79 + 85 82 73 69 82 61 53 44 86 66 84 95 66 65 83 73 83 95 84 89 80 69 95 + 86 65 82 73 65 66 76 69 61 54 44 86 66 84 95 66 65 83 73 83 95 84 89 + 80 69 95 65 78 89 61 45 49 44 86 66 84 95 66 65 83 73 83 95 84 89 80 + 69 95 73 78 86 65 76 73 68 61 45 50 44 86 66 84 95 66 65 83 73 83 95 + 84 89 80 69 95 78 65 61 45 51 44 86 66 84 95 66 65 83 73 83 95 84 89 + 80 69 95 85 78 75 78 79 87 78 61 45 52 125 98 97 115 105 115 59 68 83 + 76 95 79 102 102 115 101 116 32 113 117 97 110 116 105 116 121 95 105 + 100 59 105 110 116 32 110 117 109 95 99 111 109 112 115 59 68 83 76 95 + 79 102 102 115 101 116 32 102 116 109 112 108 95 105 100 115 95 98 108 + 111 98 95 105 100 59 68 83 76 95 79 102 102 115 101 116 32 98 97 115 + 101 95 105 100 59 68 83 76 95 79 102 102 115 101 116 32 110 117 109 95 + 114 101 99 115 59 125 59 10 47 70 105 101 108 100 32 68 65 84 65 83 69 + 84 32 115 116 114 117 99 116 32 70 105 101 108 100 123 68 83 76 95 79 + 102 102 115 101 116 32 102 116 109 112 108 95 105 100 59 99 104 97 114 + 32 110 97 109 101 91 54 52 93 59 68 83 76 95 79 102 102 115 101 116 32 + 117 110 105 116 115 95 105 100 59 68 83 76 95 79 102 102 115 101 116 + 32 115 116 111 114 97 103 101 95 100 101 99 111 109 112 95 99 97 116 + 95 105 100 59 101 110 117 109 32 73 110 116 101 114 108 101 97 118 101 + 123 86 66 84 95 73 78 84 69 82 76 69 65 86 69 95 67 79 77 80 79 78 69 + 78 84 61 48 44 86 66 84 95 73 78 84 69 82 76 69 65 86 69 95 86 69 67 + 84 79 82 61 49 44 86 66 84 95 73 78 84 69 82 76 69 65 86 69 95 73 78 + 68 69 80 69 78 68 69 78 84 61 50 44 86 66 84 95 73 78 84 69 82 76 69 + 65 86 69 95 78 79 78 69 61 51 44 86 66 84 95 73 78 84 69 82 76 69 65 + 86 69 95 65 78 89 61 45 49 44 86 66 84 95 73 78 84 69 82 76 69 65 86 + 69 95 73 78 86 65 76 73 68 61 45 50 44 86 66 84 95 73 78 84 69 82 76 + 69 65 86 69 95 78 65 61 45 51 44 86 66 84 95 73 78 84 69 82 76 69 65 + 86 69 95 85 78 75 78 79 87 78 61 45 52 125 99 111 109 112 95 105 110 + 116 108 118 59 68 83 76 95 79 102 102 115 101 116 32 105 110 100 101 + 120 105 110 103 95 105 100 59 68 83 76 95 79 102 102 115 101 116 32 + 100 111 102 95 97 115 115 111 99 95 99 97 116 95 105 100 59 105 110 + 116 32 97 115 115 111 99 95 114 97 116 105 111 59 68 83 76 95 79 102 + 102 115 101 116 32 101 118 97 108 95 100 101 99 111 109 112 95 99 97 + 116 95 105 100 59 101 110 117 109 32 69 118 97 108 70 117 110 99 123 + 86 66 84 95 69 86 65 76 95 70 85 78 67 95 67 79 78 83 84 65 78 84 61 + 48 44 86 66 84 95 69 86 65 76 95 70 85 78 67 95 85 78 73 70 79 82 77 + 61 49 44 86 66 84 95 69 86 65 76 95 70 85 78 67 95 80 87 67 79 78 83 + 84 61 50 44 86 66 84 95 69 86 65 76 95 70 85 78 67 95 80 87 76 73 78 + 69 65 82 61 51 44 86 66 84 95 69 86 65 76 95 70 85 78 67 95 65 78 89 + 61 45 49 44 86 66 84 95 69 86 65 76 95 70 85 78 67 95 73 78 86 65 76 + 73 68 61 45 50 44 86 66 84 95 69 86 65 76 95 70 85 78 67 95 78 65 61 + 45 51 44 86 66 84 95 69 86 65 76 95 70 85 78 67 95 85 78 75 78 79 87 + 78 61 45 52 125 101 118 97 108 95 102 117 110 99 59 105 110 116 32 105 + 115 95 104 111 109 111 103 101 110 101 111 117 115 59 105 110 116 32 + 105 115 95 99 111 111 114 100 95 102 105 101 108 100 59 68 83 76 95 79 + 102 102 115 101 116 32 99 111 109 112 95 105 100 115 95 98 108 111 98 + 95 105 100 59 68 83 76 95 79 102 102 115 101 116 32 99 111 109 112 95 + 111 114 100 101 114 95 98 108 111 98 95 105 100 59 68 83 76 95 79 102 + 102 115 101 116 32 118 98 97 115 105 115 95 98 108 111 98 95 105 100 + 59 68 83 76 95 79 102 102 115 101 116 32 100 111 102 95 98 108 111 98 + 95 105 100 59 68 83 76 95 79 102 102 115 101 116 32 98 97 115 101 95 + 105 100 59 68 83 76 95 79 102 102 115 101 116 32 110 117 109 95 114 + 101 99 115 59 125 59 10 47 109 101 116 97 98 108 111 98 48 48 48 48 48 + 46 105 110 100 101 120 32 68 65 84 65 83 69 84 32 115 116 114 117 99 + 116 32 73 110 100 101 120 80 97 105 114 123 68 83 76 95 79 102 102 115 + 101 116 32 105 110 100 101 120 59 105 110 116 32 108 101 110 103 116 + 104 59 125 59 10 47 109 101 116 97 98 108 111 98 48 48 48 48 48 46 98 + 108 111 98 32 68 65 84 65 83 69 84 32 68 83 76 95 79 102 102 115 101 + 116 59 10 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="Blob" OBJ-XID="/Blob" Parents="root"> + <StorageLayout> + <ChunkedLayout Ndims="1"> + <ChunkDimension DimSize="1024" /> + </ChunkedLayout> + </StorageLayout> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="24" MaxDimSize="UNLIMITED"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <CompoundType> + <Field FieldName="file_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="dataset_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="offset"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="stride"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="count"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="base_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="num_recs"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + </CompoundType> + </DataType> + <!-- Note: format of compound data not specified --> + <Data> + <DataFromFile> + -1 1 0 1 9 0 1 -1 2 0 1 4 1 1 -1 3 0 1 7 2 1 -1 4 0 1 4 3 1 + -1 5 0 1 5 4 1 -1 6 0 1 3 5 1 -1 7 0 1 4 6 1 -1 8 0 1 1 7 1 + -1 9 0 1 10 8 1 -1 10 0 1 4 9 1 -1 11 0 1 3 10 1 -1 12 0 1 5 11 1 + -1 13 0 1 5 12 1 -1 14 0 1 16 13 1 -1 15 0 1 9 14 1 -1 16 0 1 4 15 1 + -1 17 0 1 16 16 1 -1 18 0 1 36 17 1 -1 19 0 1 5 18 1 -1 20 0 1 5 19 1 + -1 21 0 1 36 20 1 -1 22 0 1 12 21 1 -1 23 0 1 7 22 1 -1 24 0 1 2 23 1 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="Cat" OBJ-XID="/Cat" Parents="root"> + <StorageLayout> + <ChunkedLayout Ndims="1"> + <ChunkDimension DimSize="1024" /> + </ChunkedLayout> + </StorageLayout> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="5" MaxDimSize="UNLIMITED"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <CompoundType> + <Field FieldName="name"> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="64" StrPad="H5T_STR_NULLTERM"/> + </AtomicType> + </DataType> + </Field> + <Field FieldName="role"> + <DataType> + <AtomicType> + <EnumType Nelems="13"> + <EnumElement> + TOPO + </EnumElement> + <EnumValue> + 0 + </EnumValue> + <EnumElement> + BND + </EnumElement> + <EnumValue> + 1 + </EnumValue> + <EnumElement> + PROC + </EnumElement> + <EnumValue> + 2 + </EnumValue> + <EnumElement> + DOMN + </EnumElement> + <EnumValue> + 3 + </EnumValue> + <EnumElement> + BLOCK + </EnumElement> + <EnumValue> + 4 + </EnumValue> + <EnumElement> + ASSY + </EnumElement> + <EnumValue> + 5 + </EnumValue> + <EnumElement> + MAT + </EnumElement> + <EnumValue> + 6 + </EnumValue> + <EnumElement> + XPROD + </EnumElement> + <EnumValue> + 7 + </EnumValue> + <EnumElement> + USERD + </EnumElement> + <EnumValue> + 8 + </EnumValue> + <EnumElement> + ANY + </EnumElement> + <EnumValue> + -1 + </EnumValue> + <EnumElement> + INVALID + </EnumElement> + <EnumValue> + -2 + </EnumValue> + <EnumElement> + NA + </EnumElement> + <EnumValue> + -3 + </EnumValue> + <EnumElement> + UNKNOWN + </EnumElement> + <EnumValue> + -4 + </EnumValue> + </EnumType> + </AtomicType> + </DataType> + </Field> + <Field FieldName="tdim"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="base_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="num_recs"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + </CompoundType> + </DataType> + <!-- Note: format of compound data not specified --> + <Data> + <DataFromFile> + "nodes" TOPO 0 0 1 "elems" TOPO 2 1 1 "edges" USERD 1 2 1 + "blocks" BLOCK 2 3 1 "side_sets" USERD 1 4 1 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="Collection" OBJ-XID="/Collection" Parents="root"> + <StorageLayout> + <ChunkedLayout Ndims="1"> + <ChunkDimension DimSize="1024" /> + </ChunkedLayout> + </StorageLayout> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="24" MaxDimSize="UNLIMITED"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <CompoundType> + <Field FieldName="containing_set_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="cat_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="cell_type"> + <DataType> + <AtomicType> + <EnumType Nelems="20"> + <EnumElement> + NONE + </EnumElement> + <EnumValue> + 0 + </EnumValue> + <EnumElement> + POINT + </EnumElement> + <EnumValue> + 1 + </EnumValue> + <EnumElement> + LINE + </EnumElement> + <EnumValue> + 2 + </EnumValue> + <EnumElement> + TRI + </EnumElement> + <EnumValue> + 3 + </EnumValue> + <EnumElement> + QUAD + </EnumElement> + <EnumValue> + 4 + </EnumValue> + <EnumElement> + TET + </EnumElement> + <EnumValue> + 5 + </EnumValue> + <EnumElement> + PYRAMID + </EnumElement> + <EnumValue> + 6 + </EnumValue> + <EnumElement> + PRISM + </EnumElement> + <EnumValue> + 7 + </EnumValue> + <EnumElement> + HEX + </EnumElement> + <EnumValue> + 8 + </EnumValue> + <EnumElement> + MIXED + </EnumElement> + <EnumValue> + 9 + </EnumValue> + <EnumElement> + ARB + </EnumElement> + <EnumValue> + 10 + </EnumValue> + <EnumElement> + 1BALL + </EnumElement> + <EnumValue> + 11 + </EnumValue> + <EnumElement> + 2BALL + </EnumElement> + <EnumValue> + 12 + </EnumValue> + <EnumElement> + 3BALL + </EnumElement> + <EnumValue> + 13 + </EnumValue> + <EnumElement> + 1SHELL + </EnumElement> + <EnumValue> + 14 + </EnumValue> + <EnumElement> + 2SHELL + </EnumElement> + <EnumValue> + 15 + </EnumValue> + <EnumElement> + ANY + </EnumElement> + <EnumValue> + -1 + </EnumValue> + <EnumElement> + INVALID + </EnumElement> + <EnumValue> + -2 + </EnumValue> + <EnumElement> + NA + </EnumElement> + <EnumValue> + -3 + </EnumValue> + <EnumElement> + UNKNOWN + </EnumElement> + <EnumValue> + -4 + </EnumValue> + </EnumType> + </AtomicType> + </DataType> + </Field> + <Field FieldName="count"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="indexing_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="is_decomp"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="members_blob_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="base_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="num_recs"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + </CompoundType> + </DataType> + <!-- Note: format of compound data not specified --> + <Data> + <DataFromFile> + 0 0 POINT 18 0 0 -2 0 1 0 1 MIXED 12 1 1 -2 1 1 0 3 NONE 4 2 1 0 2 1 + 0 4 NONE 2 3 0 1 3 1 1 0 POINT 9 4 0 -2 4 1 1 1 QUAD 4 5 1 -2 5 1 + 1 3 NONE 1 6 1 2 6 1 2 0 POINT 7 7 0 -2 7 1 2 1 MIXED 4 8 1 -2 8 1 + 2 3 NONE 2 9 1 3 9 1 3 0 POINT 10 10 0 -2 10 1 3 1 QUAD 4 11 1 -2 11 1 + 3 3 NONE 1 12 1 4 12 1 4 0 POINT 3 13 0 -2 13 1 + 4 2 LINE 2 14 1 -2 14 1 5 0 POINT 5 15 0 -2 15 1 + 5 2 LINE 4 16 1 -2 16 1 6 0 POINT 5 17 1 -2 17 1 + 7 0 POINT 5 18 0 -2 18 1 7 1 TRI 3 19 1 -2 19 1 7 3 NONE 1 20 1 5 20 1 + 8 0 POINT 4 21 0 -2 21 1 8 1 QUAD 1 22 1 -2 22 1 8 3 NONE 1 23 1 6 23 1 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="Field" OBJ-XID="/Field" Parents="root"> + <StorageLayout> + <ChunkedLayout Ndims="1"> + <ChunkDimension DimSize="1024" /> + </ChunkedLayout> + </StorageLayout> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="14" MaxDimSize="UNLIMITED"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <CompoundType> + <Field FieldName="ftmpl_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="name"> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="64" StrPad="H5T_STR_NULLTERM"/> + </AtomicType> + </DataType> + </Field> + <Field FieldName="units_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="storage_decomp_cat_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="comp_intlv"> + <DataType> + <AtomicType> + <EnumType Nelems="8"> + <EnumElement> + COMPONENT + </EnumElement> + <EnumValue> + 0 + </EnumValue> + <EnumElement> + VECTOR + </EnumElement> + <EnumValue> + 1 + </EnumValue> + <EnumElement> + INDEPENDENT + </EnumElement> + <EnumValue> + 2 + </EnumValue> + <EnumElement> + NONE + </EnumElement> + <EnumValue> + 3 + </EnumValue> + <EnumElement> + ANY + </EnumElement> + <EnumValue> + -1 + </EnumValue> + <EnumElement> + INVALID + </EnumElement> + <EnumValue> + -2 + </EnumValue> + <EnumElement> + NA + </EnumElement> + <EnumValue> + -3 + </EnumValue> + <EnumElement> + UNKNOWN + </EnumElement> + <EnumValue> + -4 + </EnumValue> + </EnumType> + </AtomicType> + </DataType> + </Field> + <Field FieldName="indexing_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="dof_assoc_cat_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="assoc_ratio"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="eval_decomp_cat_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="eval_func"> + <DataType> + <AtomicType> + <EnumType Nelems="8"> + <EnumElement> + CONSTANT + </EnumElement> + <EnumValue> + 0 + </EnumValue> + <EnumElement> + UNIFORM + </EnumElement> + <EnumValue> + 1 + </EnumValue> + <EnumElement> + PWCONST + </EnumElement> + <EnumValue> + 2 + </EnumValue> + <EnumElement> + PWLINEAR + </EnumElement> + <EnumValue> + 3 + </EnumValue> + <EnumElement> + ANY + </EnumElement> + <EnumValue> + -1 + </EnumValue> + <EnumElement> + INVALID + </EnumElement> + <EnumValue> + -2 + </EnumValue> + <EnumElement> + NA + </EnumElement> + <EnumValue> + -3 + </EnumValue> + <EnumElement> + UNKNOWN + </EnumElement> + <EnumValue> + -4 + </EnumValue> + </EnumType> + </AtomicType> + </DataType> + </Field> + <Field FieldName="is_homogeneous"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="is_coord_field"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="comp_ids_blob_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="comp_order_blob_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="vbasis_blob_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="dof_blob_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="base_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="num_recs"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + </CompoundType> + </DataType> + <!-- Note: format of compound data not specified --> + <Data> + <DataFromFile> + 1 "X" -7 -2 NONE -2 0 1 0 PWLINEAR 1 0 -2 -2 -2 -2 0 1 + 1 "Y" -7 -2 NONE -2 0 1 0 PWLINEAR 1 0 -2 -2 -2 -2 1 1 + 0 "coords" -7 -2 VECTOR -2 0 1 0 PWLINEAR 1 1 7 -2 -2 17 2 1 + 2 "distribution factors" -5 -2 NONE -2 0 1 0 PWLINEAR 1 0 -2 -2 -2 18 3 1 + 3 "temperature" -7 -2 NONE -2 0 1 0 PWLINEAR 1 0 -2 -2 -2 19 4 1 + 1 "dX" -7 -2 NONE -2 0 1 0 PWLINEAR 1 0 -2 -2 -2 -2 5 1 + 1 "dY" -7 -2 NONE -2 0 1 0 PWLINEAR 1 0 -2 -2 -2 -2 6 1 + 0 "displacements" -7 -2 VECTOR -2 0 1 0 PWLINEAR 1 0 8 -2 -2 20 7 1 + 5 "Sx" -7 -2 NONE -2 1 1 1 PWCONST 1 0 -2 -2 -2 -2 8 1 + 5 "Sy" -7 -2 NONE -2 1 1 1 PWCONST 1 0 -2 -2 -2 -2 9 1 + 5 "Sxy" -7 -2 NONE -2 1 1 1 PWCONST 1 0 -2 -2 -2 -2 10 1 + 4 "stress" -7 -2 VECTOR -2 1 1 1 PWCONST 1 0 9 -2 -2 21 11 1 + 6 "temperature" -7 -2 NONE -2 0 1 0 PWLINEAR 1 0 -2 -2 -2 22 12 1 + 7 "pressure" -7 -2 NONE -2 2 1 2 PWCONST 1 0 -2 -2 -2 23 13 1 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="FieldTmpl" OBJ-XID="/FieldTmpl" Parents="root"> + <StorageLayout> + <ChunkedLayout Ndims="1"> + <ChunkDimension DimSize="1024" /> + </ChunkedLayout> + </StorageLayout> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="8" MaxDimSize="UNLIMITED"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <CompoundType> + <Field FieldName="name"> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="64" StrPad="H5T_STR_NULLTERM"/> + </AtomicType> + </DataType> + </Field> + <Field FieldName="base_space_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="alg_type"> + <DataType> + <AtomicType> + <EnumType Nelems="13"> + <EnumElement> + CONSTANT + </EnumElement> + <EnumValue> + 0 + </EnumValue> + <EnumElement> + COMPONENT + </EnumElement> + <EnumValue> + 1 + </EnumValue> + <EnumElement> + SCALAR + </EnumElement> + <EnumValue> + 2 + </EnumValue> + <EnumElement> + VECTOR + </EnumElement> + <EnumValue> + 3 + </EnumValue> + <EnumElement> + TENSOR + </EnumElement> + <EnumValue> + 4 + </EnumValue> + <EnumElement> + SYM_TENSOR + </EnumElement> + <EnumValue> + 5 + </EnumValue> + <EnumElement> + FIELD + </EnumElement> + <EnumValue> + 6 + </EnumValue> + <EnumElement> + STATE + </EnumElement> + <EnumValue> + 7 + </EnumValue> + <EnumElement> + TUPLE + </EnumElement> + <EnumValue> + 8 + </EnumValue> + <EnumElement> + ANY + </EnumElement> + <EnumValue> + -1 + </EnumValue> + <EnumElement> + INVALID + </EnumElement> + <EnumValue> + -2 + </EnumValue> + <EnumElement> + NA + </EnumElement> + <EnumValue> + -3 + </EnumValue> + <EnumElement> + UNKNOWN + </EnumElement> + <EnumValue> + -4 + </EnumValue> + </EnumType> + </AtomicType> + </DataType> + </Field> + <Field FieldName="basis"> + <DataType> + <AtomicType> + <EnumType Nelems="11"> + <EnumElement> + UNITY + </EnumElement> + <EnumValue> + 0 + </EnumValue> + <EnumElement> + CARTESIAN + </EnumElement> + <EnumValue> + 1 + </EnumValue> + <EnumElement> + SPHERICAL + </EnumElement> + <EnumValue> + 2 + </EnumValue> + <EnumElement> + CYLINDRICAL + </EnumElement> + <EnumValue> + 3 + </EnumValue> + <EnumElement> + UPPER_TRI + </EnumElement> + <EnumValue> + 4 + </EnumValue> + <EnumElement> + FOURIER + </EnumElement> + <EnumValue> + 5 + </EnumValue> + <EnumElement> + VARIABLE + </EnumElement> + <EnumValue> + 6 + </EnumValue> + <EnumElement> + ANY + </EnumElement> + <EnumValue> + -1 + </EnumValue> + <EnumElement> + INVALID + </EnumElement> + <EnumValue> + -2 + </EnumValue> + <EnumElement> + NA + </EnumElement> + <EnumValue> + -3 + </EnumValue> + <EnumElement> + UNKNOWN + </EnumElement> + <EnumValue> + -4 + </EnumValue> + </EnumType> + </AtomicType> + </DataType> + </Field> + <Field FieldName="quantity_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="num_comps"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="ftmpl_ids_blob_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="base_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="num_recs"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + </CompoundType> + </DataType> + <!-- Note: format of compound data not specified --> + <Data> + <DataFromFile> + "coordinate_tmpl" 0 VECTOR CARTESIAN 2 2 0 0 1 + "coordinate_tmpl_component" 0 SCALAR CARTESIAN 2 1 0 1 1 + "distrib_factors_tmpl" 5 SCALAR UNITY -5 1 0 2 1 + "temp_on_ns1_tmpl" 6 SCALAR UNITY 0 1 0 3 1 + "stress_on_cell_1_tmpl" 1 SYM_TENSOR UPPER_TRI 0 3 0 4 1 + "stress_on_cell_1_tmpl_component" 1 SCALAR UPPER_TRI 0 1 0 5 1 + "temp_on_cell_2_tmpl" 2 SCALAR UNITY 1 1 0 6 1 + "pressure_on_ss1" 4 SCALAR UNITY 0 1 0 7 1 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="IndexSpec" OBJ-XID="/IndexSpec" Parents="root"> + <StorageLayout> + <ChunkedLayout Ndims="1"> + <ChunkDimension DimSize="1024" /> + </ChunkedLayout> + </StorageLayout> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="24" MaxDimSize="UNLIMITED"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <CompoundType> + <Field FieldName="ndims"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="origins"> + <DataType> + <CompoundType> + <Field FieldName="_"> + <DataType> + <ArrayType Ndims="1"> + <ArrayDimension DimSize="8" DimPerm="0"/> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </ArrayType> + </DataType> + </Field> + </CompoundType> + </DataType> + </Field> + <Field FieldName="sizes"> + <DataType> + <CompoundType> + <Field FieldName="_"> + <DataType> + <ArrayType Ndims="1"> + <ArrayDimension DimSize="8" DimPerm="0"/> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </ArrayType> + </DataType> + </Field> + </CompoundType> + </DataType> + </Field> + <Field FieldName="order"> + <DataType> + <CompoundType> + <Field FieldName="_"> + <DataType> + <ArrayType Ndims="1"> + <ArrayDimension DimSize="8" DimPerm="0"/> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </ArrayType> + </DataType> + </Field> + </CompoundType> + </DataType> + </Field> + <Field FieldName="index_type"> + <DataType> + <AtomicType> + <EnumType Nelems="6"> + <EnumElement> + C_ORDER + </EnumElement> + <EnumValue> + 0 + </EnumValue> + <EnumElement> + F_ORDER + </EnumElement> + <EnumValue> + 1 + </EnumValue> + <EnumElement> + ANY + </EnumElement> + <EnumValue> + -1 + </EnumValue> + <EnumElement> + INVALID + </EnumElement> + <EnumValue> + -2 + </EnumValue> + <EnumElement> + NA + </EnumElement> + <EnumValue> + -3 + </EnumValue> + <EnumElement> + UNKNOWN + </EnumElement> + <EnumValue> + -4 + </EnumValue> + </EnumType> + </AtomicType> + </DataType> + </Field> + <Field FieldName="base_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="num_recs"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + </CompoundType> + </DataType> + <!-- Note: format of compound data not specified --> + <Data> + <DataFromFile> + 1 0 0 0 0 0 0 0 0 18 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 C_ORDER 0 1 + 1 0 0 0 0 0 0 0 0 12 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 C_ORDER 1 1 + 1 0 0 0 0 0 0 0 0 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 C_ORDER 2 1 + 1 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 C_ORDER 3 1 + 1 0 0 0 0 0 0 0 0 9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 C_ORDER 4 1 + 1 0 0 0 0 0 0 0 0 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 C_ORDER 5 1 + 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 C_ORDER 6 1 + 1 0 0 0 0 0 0 0 0 7 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 C_ORDER 7 1 + 1 0 0 0 0 0 0 0 0 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 C_ORDER 8 1 + 1 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 C_ORDER 9 1 + 1 0 0 0 0 0 0 0 0 10 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 C_ORDER 10 1 + 1 0 0 0 0 0 0 0 0 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 C_ORDER 11 1 + 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 C_ORDER 12 1 + 1 0 0 0 0 0 0 0 0 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 C_ORDER 13 1 + 1 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 C_ORDER 14 1 + 1 0 0 0 0 0 0 0 0 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 C_ORDER 15 1 + 1 0 0 0 0 0 0 0 0 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 C_ORDER 16 1 + 1 0 0 0 0 0 0 0 0 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 C_ORDER 17 1 + 1 0 0 0 0 0 0 0 0 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 C_ORDER 18 1 + 1 0 0 0 0 0 0 0 0 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 C_ORDER 19 1 + 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 C_ORDER 20 1 + 1 0 0 0 0 0 0 0 0 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 C_ORDER 21 1 + 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 C_ORDER 22 1 + 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 C_ORDER 23 1 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="Relation" OBJ-XID="/Relation" Parents="root"> + <StorageLayout> + <ChunkedLayout Ndims="1"> + <ChunkDimension DimSize="1024" /> + </ChunkedLayout> + </StorageLayout> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="21" MaxDimSize="UNLIMITED"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <CompoundType> + <Field FieldName="sub_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="sub_cat_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="sub_decomp_cat_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="sup_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="sup_cat_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="sup_decomp_cat_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="kind"> + <DataType> + <AtomicType> + <EnumType Nelems="11"> + <EnumElement> + SUBSET + </EnumElement> + <EnumValue> + 0 + </EnumValue> + <EnumElement> + SUPSET + </EnumElement> + <EnumValue> + 1 + </EnumValue> + <EnumElement> + BOUND + </EnumElement> + <EnumValue> + 2 + </EnumValue> + <EnumElement> + PERMUTE + </EnumElement> + <EnumValue> + 3 + </EnumValue> + <EnumElement> + NEIGHBOR + </EnumElement> + <EnumValue> + 4 + </EnumValue> + <EnumElement> + COPY + </EnumElement> + <EnumValue> + 5 + </EnumValue> + <EnumElement> + EQUAL + </EnumElement> + <EnumValue> + 6 + </EnumValue> + <EnumElement> + ANY + </EnumElement> + <EnumValue> + -1 + </EnumValue> + <EnumElement> + INVALID + </EnumElement> + <EnumValue> + -2 + </EnumValue> + <EnumElement> + NA + </EnumElement> + <EnumValue> + -3 + </EnumValue> + <EnumElement> + UNKNOWN + </EnumElement> + <EnumValue> + -4 + </EnumValue> + </EnumType> + </AtomicType> + </DataType> + </Field> + <Field FieldName="rep_type"> + <DataType> + <AtomicType> + <EnumType Nelems="13"> + <EnumElement> + IDENTITY + </EnumElement> + <EnumValue> + 0 + </EnumValue> + <EnumElement> + HLIST + </EnumElement> + <EnumValue> + 1 + </EnumValue> + <EnumElement> + TLIST + </EnumElement> + <EnumValue> + 2 + </EnumValue> + <EnumElement> + TLIST_1 + </EnumElement> + <EnumValue> + 3 + </EnumValue> + <EnumElement> + ELIST + </EnumElement> + <EnumValue> + 4 + </EnumValue> + <EnumElement> + STRUCTURED + </EnumElement> + <EnumValue> + 5 + </EnumValue> + <EnumElement> + UNSTRUCTURED + </EnumElement> + <EnumValue> + 6 + </EnumValue> + <EnumElement> + ARBITRARY_R + </EnumElement> + <EnumValue> + 7 + </EnumValue> + <EnumElement> + ARBITRARY_DR + </EnumElement> + <EnumValue> + 8 + </EnumValue> + <EnumElement> + ANY + </EnumElement> + <EnumValue> + -1 + </EnumValue> + <EnumElement> + INVALID + </EnumElement> + <EnumValue> + -2 + </EnumValue> + <EnumElement> + NA + </EnumElement> + <EnumValue> + -3 + </EnumValue> + <EnumElement> + UNKNOWN + </EnumElement> + <EnumValue> + -4 + </EnumValue> + </EnumType> + </AtomicType> + </DataType> + </Field> + <Field FieldName="d_blob_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="r_blob_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="base_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="num_recs"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + </CompoundType> + </DataType> + <!-- Note: format of compound data not specified --> + <Data> + <DataFromFile> + 1 0 -2 0 0 -2 EQUAL TLIST -2 0 0 1 1 1 -2 0 1 -2 EQUAL TLIST -2 1 1 1 + 2 0 -2 0 0 -2 EQUAL TLIST -2 2 2 1 2 1 -2 0 1 -2 EQUAL TLIST -2 3 3 1 + 7 0 -2 0 0 -2 EQUAL TLIST -2 4 4 1 7 1 -2 0 1 -2 EQUAL TLIST -2 5 5 1 + 8 0 -2 0 0 -2 EQUAL TLIST -2 6 6 1 8 1 -2 0 1 -2 EQUAL TLIST -2 7 7 1 + 3 0 -2 0 0 -2 EQUAL TLIST -2 8 8 1 3 1 -2 0 1 -2 EQUAL TLIST -2 9 9 1 + 4 0 -2 0 0 -2 EQUAL TLIST -2 10 10 1 + 5 0 -2 0 0 -2 EQUAL TLIST -2 11 11 1 + 6 0 -2 0 0 -2 EQUAL TLIST -2 12 12 1 + 1 3 -2 0 3 -2 EQUAL TLIST -2 -2 13 1 + 7 3 -2 0 3 -2 EQUAL TLIST -2 -2 14 1 + 8 3 -2 0 3 -2 EQUAL TLIST -2 -2 15 1 + 3 3 -2 0 3 -2 EQUAL TLIST -2 -2 16 1 + 1 1 -2 0 0 -2 SUBSET UNSTRUCTURED -2 13 17 1 + 7 1 -2 0 0 -2 SUBSET UNSTRUCTURED -2 14 18 1 + 8 1 -2 0 0 -2 SUBSET UNSTRUCTURED -2 15 19 1 + 3 1 -2 0 0 -2 SUBSET UNSTRUCTURED -2 16 20 1 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="Set" OBJ-XID="/Set" Parents="root"> + <StorageLayout> + <ChunkedLayout Ndims="1"> + <ChunkDimension DimSize="1024" /> + </ChunkedLayout> + </StorageLayout> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="9" MaxDimSize="UNLIMITED"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <CompoundType> + <Field FieldName="user_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="name"> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="64" StrPad="H5T_STR_NULLTERM"/> + </AtomicType> + </DataType> + </Field> + <Field FieldName="tdim"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="srole"> + <DataType> + <AtomicType> + <EnumType Nelems="11"> + <EnumElement> + TIME + </EnumElement> + <EnumValue> + 0 + </EnumValue> + <EnumElement> + SPACE + </EnumElement> + <EnumValue> + 1 + </EnumValue> + <EnumElement> + STATE + </EnumElement> + <EnumValue> + 2 + </EnumValue> + <EnumElement> + PARAM + </EnumElement> + <EnumValue> + 3 + </EnumValue> + <EnumElement> + CTYPE + </EnumElement> + <EnumValue> + 4 + </EnumValue> + <EnumElement> + ATYPE + </EnumElement> + <EnumValue> + 5 + </EnumValue> + <EnumElement> + USERD + </EnumElement> + <EnumValue> + 6 + </EnumValue> + <EnumElement> + ANY + </EnumElement> + <EnumValue> + -1 + </EnumValue> + <EnumElement> + INVALID + </EnumElement> + <EnumValue> + -2 + </EnumValue> + <EnumElement> + NA + </EnumElement> + <EnumValue> + -3 + </EnumValue> + <EnumElement> + UNKNOWN + </EnumElement> + <EnumValue> + -4 + </EnumValue> + </EnumType> + </AtomicType> + </DataType> + </Field> + <Field FieldName="coll_ids"> + <DataType> + <CompoundType> + <Field FieldName="_"> + <DataType> + <ArrayType Ndims="1"> + <ArrayDimension DimSize="16" DimPerm="0"/> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </ArrayType> + </DataType> + </Field> + </CompoundType> + </DataType> + </Field> + <Field FieldName="is_top"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="is_extendible"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="dflt_coordfld_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="bnd_set_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="base_id"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="num_recs"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + </CompoundType> + </DataType> + <!-- Note: format of compound data not specified --> + <Data> + <DataFromFile> + 0 "TOP_CELL" 2 SPACE 0 1 -2 2 3 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 1 0 -2 -2 0 1 + 0 "CELL_1" 2 SPACE 4 5 -2 6 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 0 0 -2 -2 1 1 + 0 "CELL_2" 2 SPACE 7 8 -2 9 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 0 0 -2 -2 2 1 + 0 "CELL_3" 2 SPACE 10 11 -2 12 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 0 0 -2 -2 3 1 + 0 "SIDE_SET_1" 1 SPACE 13 -2 14 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 0 0 -2 -2 4 1 + 0 "SIDE_SET_2" 1 SPACE 15 -2 16 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 0 0 -2 -2 5 1 + 0 "NODE_SET_1" 0 SPACE 17 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 0 0 -2 -2 6 1 + 0 "CELL_2_TRIS" 2 SPACE 18 19 -2 20 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 0 0 -2 -2 7 1 + 0 "CELL_2_QUADS" 2 SPACE 21 22 -2 23 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 0 0 -2 -2 8 1 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="field-coords_0002" OBJ-XID="/field-coords_0002" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="36" MaxDimSize="36"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <FloatType ByteOrder="BE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 4 1 4 2 4 2.5 4 0 3 1 3 2 3 2.5 3 0 2 1 2 2 2 2.5 2 0 1 2 1 2.5 1 0 + 0 2 0 2.5 0 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="field-displacements_0007" OBJ-XID="/field-displacements_0007" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="36" MaxDimSize="36"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <FloatType ByteOrder="BE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0.25 0.25 0.25 0.25 0.25 0.25 0.25 0.25 0.25 0.25 0.25 0.25 0.25 0.25 + 0.25 0.25 0.25 0.25 0.25 0.25 0.25 0.25 0.25 0.25 0.25 0.25 0.25 0.25 + 0.25 0.25 0.25 0.25 0.25 0.25 0.25 0.25 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="field-distribution_factors_0003" OBJ-XID="/field-distribution_factors_0003" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="5" MaxDimSize="5"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <FloatType ByteOrder="BE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 4 3 2 1 0 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="field-pressure_0013" OBJ-XID="/field-pressure_0013" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="2" MaxDimSize="2"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <FloatType ByteOrder="BE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 45 55 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="field-stress_0011" OBJ-XID="/field-stress_0011" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="12" MaxDimSize="12"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <FloatType ByteOrder="BE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0.5 0.25 0.5 0.5 0.25 0.5 0.5 0.25 0.5 0.5 0.25 0.5 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="field-temperature_0004" OBJ-XID="/field-temperature_0004" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="5" MaxDimSize="5"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <FloatType ByteOrder="BE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 100 150 150 100 75 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="field-temperature_0012" OBJ-XID="/field-temperature_0012" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="7" MaxDimSize="7"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <FloatType ByteOrder="BE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 75 95 120 80 115 85 110 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="metablob00000.blob" OBJ-XID="/metablob00000.blob" Parents="root"> + <StorageLayout> + <ChunkedLayout Ndims="1"> + <ChunkDimension DimSize="32" /> + </ChunkedLayout> + </StorageLayout> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="19" MaxDimSize="UNLIMITED"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 1 7 8 3 -2 -2 -2 -2 -2 -2 -2 -2 0 1 5 6 8 9 10 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="metablob00000.index" OBJ-XID="/metablob00000.index" Parents="root"> + <StorageLayout> + <ChunkedLayout Ndims="1"> + <ChunkDimension DimSize="32" /> + </ChunkedLayout> + </StorageLayout> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="10" MaxDimSize="UNLIMITED"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <CompoundType> + <Field FieldName="index"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="length"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + </CompoundType> + </DataType> + <!-- Note: format of compound data not specified --> + <Data> + <DataFromFile> + 0 4 4 2 6 1 7 2 9 1 10 1 11 1 12 2 14 2 16 3 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="ssrel-_0000" OBJ-XID="/ssrel-_0000" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="9" MaxDimSize="9"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 1 2 3 5 6 7 9 10 11 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="ssrel-_0001" OBJ-XID="/ssrel-_0001" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="4" MaxDimSize="4"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 1 2 4 5 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="ssrel-_0002" OBJ-XID="/ssrel-_0002" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="7" MaxDimSize="7"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 9 10 11 13 14 16 17 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="ssrel-_0003" OBJ-XID="/ssrel-_0003" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="4" MaxDimSize="4"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 7 8 9 11 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="ssrel-_0004" OBJ-XID="/ssrel-_0004" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="5" MaxDimSize="5"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 9 10 11 13 14 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="ssrel-_0005" OBJ-XID="/ssrel-_0005" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="3" MaxDimSize="3"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 7 8 9 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="ssrel-_0006" OBJ-XID="/ssrel-_0006" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="4" MaxDimSize="4"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 13 14 16 17 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="ssrel-_0007" OBJ-XID="/ssrel-_0007" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="1" MaxDimSize="1"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 11 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="ssrel-_0008" OBJ-XID="/ssrel-_0008" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="10" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 3 4 7 8 11 12 14 15 17 18 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="ssrel-_0009" OBJ-XID="/ssrel-_0009" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="4" MaxDimSize="4"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 3 6 10 12 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="ssrel-_0010" OBJ-XID="/ssrel-_0010" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="3" MaxDimSize="3"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 9 10 11 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="ssrel-_0011" OBJ-XID="/ssrel-_0011" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="5" MaxDimSize="5"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 1 5 9 13 16 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="ssrel-_0012" OBJ-XID="/ssrel-_0012" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="5" MaxDimSize="5"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 4 8 12 15 18 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="toporel-_0017" OBJ-XID="/toporel-_0017" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="16" MaxDimSize="16"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 1 2 6 5 2 3 7 6 5 6 10 9 6 7 11 10 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="toporel-_0018" OBJ-XID="/toporel-_0018" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="9" MaxDimSize="9"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 9 10 13 10 14 13 10 11 14 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="toporel-_0019" OBJ-XID="/toporel-_0019" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="4" MaxDimSize="4"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 13 14 17 16 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="toporel-_0020" OBJ-XID="/toporel-_0020" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="16" MaxDimSize="16"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 3 4 8 7 7 8 12 11 11 12 15 14 14 15 18 17 + </DataFromFile> + </Data> + </Dataset> + <Group Name=".attributes" OBJ-XID="/.attributes" Parents="/" > + <Group Name="database" OBJ-XID="/.attributes/database" Parents="/.attributes" > + <Dataset Name=".SAF_DbProps" OBJ-XID="/.attributes/database/.SAF_DbProps" Parents="/.attributes/database"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="1" MaxDimSize="1"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <CompoundType> + <Field FieldName="magic"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="SFileDir"> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="1024" StrPad="H5T_STR_NULLTERM"/> + </AtomicType> + </DataType> + </Field> + <Field FieldName="ImportFile"> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="1024" StrPad="H5T_STR_NULLTERM"/> + </AtomicType> + </DataType> + </Field> + <Field FieldName="parallel"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="safapi"> + <DataType> + <CompoundType> + <Field FieldName="vmajor"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="vminor"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="rel"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="annot"> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="10" StrPad="H5T_STR_NULLTERM"/> + </AtomicType> + </DataType> + </Field> + </CompoundType> + </DataType> + </Field> + <Field FieldName="saflib"> + <DataType> + <CompoundType> + <Field FieldName="vmajor"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="vminor"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="rel"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="annot"> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="10" StrPad="H5T_STR_NULLTERM"/> + </AtomicType> + </DataType> + </Field> + </CompoundType> + </DataType> + </Field> + <Field FieldName="vbt"> + <DataType> + <CompoundType> + <Field FieldName="vmajor"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="vminor"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="rel"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="annot"> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="10" StrPad="H5T_STR_NULLTERM"/> + </AtomicType> + </DataType> + </Field> + </CompoundType> + </DataType> + </Field> + <Field FieldName="dsl"> + <DataType> + <CompoundType> + <Field FieldName="vmajor"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="vminor"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="rel"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="annot"> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="10" StrPad="H5T_STR_NULLTERM"/> + </AtomicType> + </DataType> + </Field> + </CompoundType> + </DataType> + </Field> + <Field FieldName="hdf5"> + <DataType> + <CompoundType> + <Field FieldName="vmajor"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="vminor"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="rel"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="annot"> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="10" StrPad="H5T_STR_NULLTERM"/> + </AtomicType> + </DataType> + </Field> + </CompoundType> + </DataType> + </Field> + <Field FieldName="mpi"> + <DataType> + <CompoundType> + <Field FieldName="vmajor"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="vminor"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="rel"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="annot"> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="10" StrPad="H5T_STR_NULLTERM"/> + </AtomicType> + </DataType> + </Field> + </CompoundType> + </DataType> + </Field> + <Field FieldName="DoToc"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="ReadOnly"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="Clobber"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="OSModes"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + </CompoundType> + </DataType> + <!-- Note: format of compound data not specified --> + <Data> + <DataFromFile> + -604320037 "." "don't import" 1 0 0 0 "none" 0 1 0 "devel" 1 3 0 "" 0 0 0 "none" 1 2 1 "" 1 2 0 "" 1 0 1 0 + </DataFromFile> + </Data> + </Dataset> + </Group> + </Group> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tslink.h5.xml b/tools/testfiles/tslink.h5.xml new file mode 100644 index 0000000..5b2d4a5 --- /dev/null +++ b/tools/testfiles/tslink.h5.xml @@ -0,0 +1,11 @@ +############################# +Expected output for 'h5dump --xml tslink.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"> + <SoftLink LinkName="slink1" Target="somevalue" TargetObj="somevalue" OBJ-XID="slink1" Source="root"/> + <SoftLink LinkName="slink2" Target="linkvalue" TargetObj="linkvalue" OBJ-XID="slink2" Source="root"/> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tstr.h5.xml b/tools/testfiles/tstr.h5.xml new file mode 100644 index 0000000..b31aacc --- /dev/null +++ b/tools/testfiles/tstr.h5.xml @@ -0,0 +1,359 @@ +############################# +Expected output for 'h5dump --xml tstr.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="comp1" OBJ-XID="/comp1" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="2"> + <Dimension DimSize="3" MaxDimSize="3"/> + <Dimension DimSize="6" MaxDimSize="6"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <CompoundType> + <Field FieldName="int_array"> + <DataType> + <ArrayType Ndims="2"> + <ArrayDimension DimSize="8" DimPerm="0"/> + <ArrayDimension DimSize="10" DimPerm="1"/> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </ArrayType> + </DataType> + </Field> + <Field FieldName="string"> + <DataType> + <ArrayType Ndims="2"> + <ArrayDimension DimSize="3" DimPerm="0"/> + <ArrayDimension DimSize="4" DimPerm="1"/> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="32" StrPad="H5T_STR_SPACEPAD"/> + </AtomicType> + </DataType> + </ArrayType> + </DataType> + </Field> + </CompoundType> + </DataType> + <!-- Note: format of compound data not specified --> + <Data> + <DataFromFile> + 0 1 4 9 16 25 36 49 64 81 + 1 4 9 16 25 36 49 64 81 100 + 4 9 16 25 36 49 64 81 100 121 + 9 16 25 36 49 64 81 100 121 144 + 16 25 36 49 64 81 100 121 144 169 + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + 1 4 9 16 25 36 49 64 81 100 + 4 9 16 25 36 49 64 81 100 121 + 9 16 25 36 49 64 81 100 121 144 + 16 25 36 49 64 81 100 121 144 169 + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 + 64 81 100 121 144 169 196 225 256 289 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + 4 9 16 25 36 49 64 81 100 121 + 9 16 25 36 49 64 81 100 121 144 + 16 25 36 49 64 81 100 121 144 169 + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 + 64 81 100 121 144 169 196 225 256 289 + 81 100 121 144 169 196 225 256 289 324 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + 9 16 25 36 49 64 81 100 121 144 + 16 25 36 49 64 81 100 121 144 169 + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 + 64 81 100 121 144 169 196 225 256 289 + 81 100 121 144 169 196 225 256 289 324 + 100 121 144 169 196 225 256 289 324 361 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + 16 25 36 49 64 81 100 121 144 169 + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 + 64 81 100 121 144 169 196 225 256 289 + 81 100 121 144 169 196 225 256 289 324 + 100 121 144 169 196 225 256 289 324 361 + 121 144 169 196 225 256 289 324 361 400 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 + 64 81 100 121 144 169 196 225 256 289 + 81 100 121 144 169 196 225 256 289 324 + 100 121 144 169 196 225 256 289 324 361 + 121 144 169 196 225 256 289 324 361 400 + 144 169 196 225 256 289 324 361 400 441 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + 0 1 4 9 16 25 36 49 64 81 + 1 4 9 16 25 36 49 64 81 100 + 4 9 16 25 36 49 64 81 100 121 + 9 16 25 36 49 64 81 100 121 144 + 16 25 36 49 64 81 100 121 144 169 + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + 1 4 9 16 25 36 49 64 81 100 + 4 9 16 25 36 49 64 81 100 121 + 9 16 25 36 49 64 81 100 121 144 + 16 25 36 49 64 81 100 121 144 169 + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 + 64 81 100 121 144 169 196 225 256 289 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + 4 9 16 25 36 49 64 81 100 121 + 9 16 25 36 49 64 81 100 121 144 + 16 25 36 49 64 81 100 121 144 169 + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 + 64 81 100 121 144 169 196 225 256 289 + 81 100 121 144 169 196 225 256 289 324 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + 9 16 25 36 49 64 81 100 121 144 + 16 25 36 49 64 81 100 121 144 169 + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 + 64 81 100 121 144 169 196 225 256 289 + 81 100 121 144 169 196 225 256 289 324 + 100 121 144 169 196 225 256 289 324 361 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + 16 25 36 49 64 81 100 121 144 169 + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 + 64 81 100 121 144 169 196 225 256 289 + 81 100 121 144 169 196 225 256 289 324 + 100 121 144 169 196 225 256 289 324 361 + 121 144 169 196 225 256 289 324 361 400 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 + 64 81 100 121 144 169 196 225 256 289 + 81 100 121 144 169 196 225 256 289 324 + 100 121 144 169 196 225 256 289 324 361 + 121 144 169 196 225 256 289 324 361 400 + 144 169 196 225 256 289 324 361 400 441 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + 0 1 4 9 16 25 36 49 64 81 + 1 4 9 16 25 36 49 64 81 100 + 4 9 16 25 36 49 64 81 100 121 + 9 16 25 36 49 64 81 100 121 144 + 16 25 36 49 64 81 100 121 144 169 + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + 1 4 9 16 25 36 49 64 81 100 + 4 9 16 25 36 49 64 81 100 121 + 9 16 25 36 49 64 81 100 121 144 + 16 25 36 49 64 81 100 121 144 169 + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 + 64 81 100 121 144 169 196 225 256 289 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + 4 9 16 25 36 49 64 81 100 121 + 9 16 25 36 49 64 81 100 121 144 + 16 25 36 49 64 81 100 121 144 169 + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 + 64 81 100 121 144 169 196 225 256 289 + 81 100 121 144 169 196 225 256 289 324 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + 9 16 25 36 49 64 81 100 121 144 + 16 25 36 49 64 81 100 121 144 169 + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 + 64 81 100 121 144 169 196 225 256 289 + 81 100 121 144 169 196 225 256 289 324 + 100 121 144 169 196 225 256 289 324 361 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + 16 25 36 49 64 81 100 121 144 169 + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 + 64 81 100 121 144 169 196 225 256 289 + 81 100 121 144 169 196 225 256 289 324 + 100 121 144 169 196 225 256 289 324 361 + 121 144 169 196 225 256 289 324 361 400 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 + 64 81 100 121 144 169 196 225 256 289 + 81 100 121 144 169 196 225 256 289 324 + 100 121 144 169 196 225 256 289 324 361 + 121 144 169 196 225 256 289 324 361 400 + 144 169 196 225 256 289 324 361 400 441 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="string1" OBJ-XID="/string1" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="2"> + <Dimension DimSize="3" MaxDimSize="3"/> + <Dimension DimSize="4" MaxDimSize="4"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="5" StrPad="H5T_STR_NULLTERM"/> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + "s1" + "s2" + "s3" + "s4" + "s5" + "s6" + "s7" + "s8" + "s9" + "s0" + "s1" + "s2" + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="string2" OBJ-XID="/string2" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="20" MaxDimSize="20"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="11" StrPad="H5T_STR_SPACEPAD"/> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + "ab cd ef1 " + "ab cd ef2 " + "ab cd ef3 " + "ab cd ef4 " + "ab cd ef5 " + "ab cd ef6 " + "ab cd ef7 " + "ab cd ef8 " + "ab cd ef9 " + "ab cd ef0 " + "ab cd ef1 " + "ab cd ef2 " + "ab cd ef3 " + "ab cd ef4 " + "ab cd ef5 " + "ab cd ef6 " + "ab cd ef7 " + "ab cd ef8 " + "ab cd ef9 " + "ab cd ef0 " + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="string3" OBJ-XID="/string3" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="27" MaxDimSize="27"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="8" StrPad="H5T_STR_NULLPAD"/> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + "abcd0" + "abcd1" + "abcd2" + "abcd3" + "abcd4" + "abcd5" + "abcd6" + "abcd7" + "abcd8" + "abcd9" + "abcd0" + "abcd1" + "abcd2" + "abcd3" + "abcd4" + "abcd5" + "abcd6" + "abcd7" + "abcd8" + "abcd9" + "abcd0" + "abcd1" + "abcd2" + "abcd3" + "abcd4" + "abcd5" + "abcd6" + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="string4" OBJ-XID="/string4" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="3" MaxDimSize="3"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="168" StrPad="H5T_STR_SPACEPAD"/> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + "s1234567890123456789 " + "s1234567890123456789 " + "s1234567890123456789 " + </DataFromFile> + </Data> + </Dataset> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tstr2.h5.xml b/tools/testfiles/tstr2.h5.xml new file mode 100644 index 0000000..046cfba --- /dev/null +++ b/tools/testfiles/tstr2.h5.xml @@ -0,0 +1,196 @@ +############################# +Expected output for 'h5dump --xml tstr2.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"> + <Group Name="g1" OBJ-XID="/g1" Parents="/" > + <Dataset Name="dset1" OBJ-XID="/g1/dset1" Parents="/g1"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="10" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="50" StrPad="H5T_STR_NULLTERM"/> + </AtomicType> + </DataType> + <Attribute Name="attr1"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="3" MaxDimSize="3"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="11" StrPad="H5T_STR_NULLTERM"/> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + "0123456789" + "abcdefghij" + "ABCDEFGHIJ" + </DataFromFile> + </Data> + </Attribute> + <Data> + <DataFromFile> + "This is row 0 of type H5T_STR_NULLTERM of" + "This is row 1 of type H5T_STR_NULLTERM of" + "This is row 2 of type H5T_STR_NULLTERM of" + "This is row 3 of type H5T_STR_NULLTERM of" + "This is row 4 of type H5T_STR_NULLTERM of" + "This is row 5 of type H5T_STR_NULLTERM of" + "This is row 6 of type H5T_STR_NULLTERM of" + "This is row 7 of type H5T_STR_NULLTERM of" + "This is row 8 of type H5T_STR_NULLTERM of" + "This is row 9 of type H5T_STR_NULLTERM of" + </DataFromFile> + </Data> + </Dataset> + </Group> + <Group Name="g2" OBJ-XID="/g2" Parents="/" > + <Dataset Name="dset2" OBJ-XID="/g2/dset2" Parents="/g2"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="10" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="50" StrPad="H5T_STR_NULLTERM"/> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + "This is row 0 of type H5T_STR_NULLTERM of string " + "This is row 1 of type H5T_STR_NULLTERM of string " + "This is row 2 of type H5T_STR_NULLTERM of string " + "This is row 3 of type H5T_STR_NULLTERM of string " + "This is row 4 of type H5T_STR_NULLTERM of string " + "This is row 5 of type H5T_STR_NULLTERM of string " + "This is row 6 of type H5T_STR_NULLTERM of string " + "This is row 7 of type H5T_STR_NULLTERM of string " + "This is row 8 of type H5T_STR_NULLTERM of string " + "This is row 9 of type H5T_STR_NULLTERM of string " + </DataFromFile> + </Data> + </Dataset> + </Group> + <Group Name="g3" OBJ-XID="/g3" Parents="/" > + <Dataset Name="dset3" OBJ-XID="/g3/dset3" Parents="/g3"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="10" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="50" StrPad="H5T_STR_NULLPAD"/> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + "This is row 0 of type H5T_STR_NULLPAD of" + "This is row 1 of type H5T_STR_NULLPAD of" + "This is row 2 of type H5T_STR_NULLPAD of" + "This is row 3 of type H5T_STR_NULLPAD of" + "This is row 4 of type H5T_STR_NULLPAD of" + "This is row 5 of type H5T_STR_NULLPAD of" + "This is row 6 of type H5T_STR_NULLPAD of" + "This is row 7 of type H5T_STR_NULLPAD of" + "This is row 8 of type H5T_STR_NULLPAD of" + "This is row 9 of type H5T_STR_NULLPAD of" + </DataFromFile> + </Data> + </Dataset> + </Group> + <Group Name="g4" OBJ-XID="/g4" Parents="/" > + <Dataset Name="dset4" OBJ-XID="/g4/dset4" Parents="/g4"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="10" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="50" StrPad="H5T_STR_NULLPAD"/> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + "This is row 0 of type H5T_STR_NULLPAD of string ar" + "This is row 1 of type H5T_STR_NULLPAD of string ar" + "This is row 2 of type H5T_STR_NULLPAD of string ar" + "This is row 3 of type H5T_STR_NULLPAD of string ar" + "This is row 4 of type H5T_STR_NULLPAD of string ar" + "This is row 5 of type H5T_STR_NULLPAD of string ar" + "This is row 6 of type H5T_STR_NULLPAD of string ar" + "This is row 7 of type H5T_STR_NULLPAD of string ar" + "This is row 8 of type H5T_STR_NULLPAD of string ar" + "This is row 9 of type H5T_STR_NULLPAD of string ar" + </DataFromFile> + </Data> + </Dataset> + </Group> + <Group Name="g5" OBJ-XID="/g5" Parents="/" > + <Dataset Name="dset5" OBJ-XID="/g5/dset5" Parents="/g5"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="10" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="50" StrPad="H5T_STR_SPACEPAD"/> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + "This is row 0 of type H5T_STR_SPACEPAD of " + "This is row 1 of type H5T_STR_SPACEPAD of " + "This is row 2 of type H5T_STR_SPACEPAD of " + "This is row 3 of type H5T_STR_SPACEPAD of " + "This is row 4 of type H5T_STR_SPACEPAD of " + "This is row 5 of type H5T_STR_SPACEPAD of " + "This is row 6 of type H5T_STR_SPACEPAD of " + "This is row 7 of type H5T_STR_SPACEPAD of " + "This is row 8 of type H5T_STR_SPACEPAD of " + "This is row 9 of type H5T_STR_SPACEPAD of " + </DataFromFile> + </Data> + </Dataset> + </Group> + <Group Name="g6" OBJ-XID="/g6" Parents="/" > + <Dataset Name="dset6" OBJ-XID="/g6/dset6" Parents="/g6"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="10" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="50" StrPad="H5T_STR_SPACEPAD"/> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + "This is row 0 of type H5T_STR_SPACEPAD of string a" + "This is row 1 of type H5T_STR_SPACEPAD of string a" + "This is row 2 of type H5T_STR_SPACEPAD of string a" + "This is row 3 of type H5T_STR_SPACEPAD of string a" + "This is row 4 of type H5T_STR_SPACEPAD of string a" + "This is row 5 of type H5T_STR_SPACEPAD of string a" + "This is row 6 of type H5T_STR_SPACEPAD of string a" + "This is row 7 of type H5T_STR_SPACEPAD of string a" + "This is row 8 of type H5T_STR_SPACEPAD of string a" + "This is row 9 of type H5T_STR_SPACEPAD of string a" + </DataFromFile> + </Data> + </Dataset> + </Group> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tstring-at.h5 b/tools/testfiles/tstring-at.h5 Binary files differnew file mode 100644 index 0000000..c166dea --- /dev/null +++ b/tools/testfiles/tstring-at.h5 diff --git a/tools/testfiles/tstring-at.h5.xml b/tools/testfiles/tstring-at.h5.xml new file mode 100644 index 0000000..18e4809 --- /dev/null +++ b/tools/testfiles/tstring-at.h5.xml @@ -0,0 +1,55 @@ +############################# +Expected output for 'h5dump --xml tstring-at.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="dset1" OBJ-XID="/dset1" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="7" MaxDimSize="7"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="16" StrPad="H5T_STR_SPACEPAD"/> + </AtomicType> + </DataType> + <Attribute Name="attr1"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="7" MaxDimSize="7"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="16" StrPad="H5T_STR_SPACEPAD"/> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + "String withsp " + "String\\withsl " + "String&withamp " + "String<withlt " + "String>withgt " + "String'withapos " + "String\"withquot " + </DataFromFile> + </Data> + </Attribute> + <Data> + <DataFromFile> + "" + "" + "" + "" + "" + "" + "" + </DataFromFile> + </Data> + </Dataset> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tstring.h5 b/tools/testfiles/tstring.h5 Binary files differnew file mode 100644 index 0000000..41fb96d --- /dev/null +++ b/tools/testfiles/tstring.h5 diff --git a/tools/testfiles/tstring.h5.xml b/tools/testfiles/tstring.h5.xml new file mode 100644 index 0000000..3617aaf --- /dev/null +++ b/tools/testfiles/tstring.h5.xml @@ -0,0 +1,55 @@ +############################# +Expected output for 'h5dump --xml tstring.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="dset1" OBJ-XID="/dset1" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="7" MaxDimSize="7"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="16" StrPad="H5T_STR_SPACEPAD"/> + </AtomicType> + </DataType> + <Attribute Name="attr1"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="7" MaxDimSize="7"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="16" StrPad="H5T_STR_SPACEPAD"/> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + " " + " " + " " + " " + " " + " " + " " + </DataFromFile> + </Data> + </Attribute> + <Data> + <DataFromFile> + "String withsp " + "String\\withsl " + "String&withamp " + "String<withlt " + "String>withgt " + "String'withapos " + "String\"withquot " + </DataFromFile> + </Data> + </Dataset> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tvldtypes.h5.xml b/tools/testfiles/tvldtypes.h5.xml new file mode 100644 index 0000000..132e7b1 --- /dev/null +++ b/tools/testfiles/tvldtypes.h5.xml @@ -0,0 +1,3 @@ +############################# +Expected output for 'h5dump -xml tvldtypes.h5' +############################# diff --git a/tools/testfiles/tvldtypes1.h5.xml b/tools/testfiles/tvldtypes1.h5.xml new file mode 100644 index 0000000..303e25d --- /dev/null +++ b/tools/testfiles/tvldtypes1.h5.xml @@ -0,0 +1,73 @@ +############################# +Expected output for 'h5dump --xml tvldtypes1.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> + 0 10 11 20 21 22 30 31 32 33 + </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> + <VLType> + <DataType> + <AtomicType> + <FloatType ByteOrder="LE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" /> + </AtomicType> + </DataType> + </VLType> + </DataType> +<!-- Note: format of VL data not specified --> + <Data> + <DataFromFile> + 0 10 10.1 20 20.1 20.2 30 30.1 30.2 30.3 + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="Dataset3.0" OBJ-XID="/Dataset3.0" Parents="root"> + <Dataspace> + <ScalarDataspace /> + </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> + 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 + </DataFromFile> + </Data> + </Dataset> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tvldtypes2.h5.xml b/tools/testfiles/tvldtypes2.h5.xml new file mode 100644 index 0000000..a8802ec --- /dev/null +++ b/tools/testfiles/tvldtypes2.h5.xml @@ -0,0 +1,36 @@ +############################# +Expected output for 'h5dump --xml tvldtypes2.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" OBJ-XID="/Dataset1" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="4" MaxDimSize="4"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <VLType> + <DataType> + <VLType> + <DataType> + <AtomicType> + <IntegerType ByteOrder="LE" Sign="false" Size="4" /> + </AtomicType> + </DataType> + </VLType> + </DataType> + </VLType> + </DataType> +<!-- Note: format of VL data not specified --> + <Data> + <DataFromFile> + 0 100 110 111 200 210 211 220 221 222 + 300 310 311 320 321 322 330 331 332 333 + </DataFromFile> + </Data> + </Dataset> +</RootGroup> +</HDF5-File> diff --git a/tools/testfiles/tvldtypes3.h5.xml b/tools/testfiles/tvldtypes3.h5.xml new file mode 100644 index 0000000..dc6f717 --- /dev/null +++ b/tools/testfiles/tvldtypes3.h5.xml @@ -0,0 +1,51 @@ +############################# +Expected output for 'h5dump --xml tvldtypes3.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" OBJ-XID="/Dataset1" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="4" MaxDimSize="4"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <CompoundType> + <Field FieldName="i"> + <DataType> + <AtomicType> + <IntegerType ByteOrder="LE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="f"> + <DataType> + <AtomicType> + <FloatType ByteOrder="LE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" /> + </AtomicType> + </DataType> + </Field> + <Field FieldName="v"> + <DataType> + <VLType> + <DataType> + <AtomicType> + <IntegerType ByteOrder="LE" Sign="false" Size="4" /> + </AtomicType> + </DataType> + </VLType> + </DataType> + </Field> + </CompoundType> + </DataType> + <!-- Note: format of compound data not specified --> + <Data> + <DataFromFile> + 0 0 0 10 6.66667 10 11 20 13.3333 20 21 22 30 20 30 31 32 33 + </DataFromFile> + </Data> + </Dataset> +</RootGroup> +</HDF5-File> |