diff options
author | Paul Harten <pharten@ncsa.uiuc.edu> | 1998-12-01 21:56:14 (GMT) |
---|---|---|
committer | Paul Harten <pharten@ncsa.uiuc.edu> | 1998-12-01 21:56:14 (GMT) |
commit | bdc304d6128607b6ee00e822be850416959d0732 (patch) | |
tree | cb76db86afb10f7b90ec3855c36abba50e867bc9 /tools/testfiles | |
parent | 5bbc648241695fc07e0c65ce7de5f30e70efb3c4 (diff) | |
download | hdf5-bdc304d6128607b6ee00e822be850416959d0732.zip hdf5-bdc304d6128607b6ee00e822be850416959d0732.tar.gz hdf5-bdc304d6128607b6ee00e822be850416959d0732.tar.bz2 |
[svn-r958] Purpose:
New feature
Solution:
Testing of Extendable Dataset support in h5toh4 converter when
extendable dimension is first dimension.
Platform tested:
Solaris2.5
Diffstat (limited to 'tools/testfiles')
-rw-r--r-- | tools/testfiles/h5dumptst.c | 198 | ||||
-rw-r--r-- | tools/testfiles/tall.h5 | bin | 7836 -> 7836 bytes | |||
-rw-r--r-- | tools/testfiles/tcompound.h5 | bin | 5184 -> 5184 bytes | |||
-rw-r--r-- | tools/testfiles/tcompound2.dmp | 118 | ||||
-rw-r--r-- | tools/testfiles/tcompound2.h5 | bin | 0 -> 13632 bytes | |||
-rw-r--r-- | tools/testfiles/tdset.h5 | bin | 4672 -> 4672 bytes | |||
-rw-r--r-- | tools/testfiles/tdset2.dmp | 373 | ||||
-rw-r--r-- | tools/testfiles/tdset2.h5 | bin | 0 -> 9936 bytes | |||
-rw-r--r-- | tools/testfiles/thlink.h5 | bin | 3332 -> 3332 bytes |
9 files changed, 689 insertions, 0 deletions
diff --git a/tools/testfiles/h5dumptst.c b/tools/testfiles/h5dumptst.c index 43be347..36bd35c 100644 --- a/tools/testfiles/h5dumptst.c +++ b/tools/testfiles/h5dumptst.c @@ -1,6 +1,7 @@ /* * Generate the binary hdf5 files for the h5dump tests. */ +#include <limits.h> #include "hdf5.h" #define FILE1 "tgroup.h5" @@ -10,6 +11,8 @@ #define FILE5 "thlink.h5" #define FILE6 "tcompound.h5" #define FILE7 "tall.h5" +#define FILE8 "tdset2.h5" +#define FILE9 "tcompound2.h5" static void test_group(void) { hid_t fid, group; @@ -90,6 +93,49 @@ int i, j; H5Fclose(fid); } +static void test_dataset2(void) { +hid_t fid, dataset, space, create_plist; +hsize_t dims[2]; +hsize_t maxdims[2]; +int dset1[10][20]; +double dset2[30][10]; +int i, j; + + + fid = H5Fcreate(FILE8, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT); + + create_plist = H5Pcreate(H5P_DATASET_CREATE); + + dims[0] = 5; dims[1] = 5; + H5Pset_chunk(create_plist, 2, dims); + + /* dset1 */ + dims[0] = 10; dims[1] = 20; + maxdims[0] = H5S_UNLIMITED; maxdims[1] = 20; + space = H5Screate_simple(2, dims, maxdims); + dataset = H5Dcreate(fid, "/dset1", H5T_STD_I32BE, space, create_plist); + for (i = 0; i < 10; i++) + for (j = 0; j < 20; j++) + dset1[i][j] = j; + H5Dwrite(dataset, H5T_STD_I32BE, H5S_ALL, H5S_ALL, H5P_DEFAULT, dset1); + H5Sclose(space); + H5Dclose(dataset); + + /* dset2 */ + dims[0] = 30; dims[1] = 10; + maxdims[0] = 30; maxdims[1] = H5S_UNLIMITED; + space = H5Screate_simple(2, dims, maxdims); + dataset = H5Dcreate(fid, "/dset2", H5T_IEEE_F64BE, space, create_plist); + for (i = 0; i < 30; i++) + for (j = 0; j < 10; j++) + dset2[i][j] = j; + H5Dwrite(dataset, H5T_IEEE_F64BE, H5S_ALL, H5S_ALL, H5P_DEFAULT, dset2); + H5Sclose(space); + H5Dclose(dataset); + + + H5Fclose(fid); +} static void test_attribute(void) { hid_t fid, root, space, attr; @@ -329,6 +375,156 @@ hsize_t sdim = 5; } +/* + / + / | \ \ + dset1 group1 type1 type2 + | + dset2 + +*/ +static void test_compound_dt2(void) { /* test compound data type */ +hid_t fid, group, dataset, space, type, create_plist; +typedef struct { + int a; + float b; + double c; +} dset1_t; +dset1_t dset1[10]; + +typedef struct { + int a; + float b; +} dset2_t; +dset2_t dset2[10]; + +typedef struct { + int a[4]; + float b[5][6]; +} dset3_t; + +typedef struct { + int a; + float b; +} dset4_t; +dset4_t dset4[10]; + +typedef struct { + int a; + float b; +} dset5_t; +dset5_t dset5[10]; + +int i, ndims; +const int perm[2]; +size_t dim[2]; + +hsize_t sdim, maxdim; + + sdim = 10; + for (i = 0; i < (int)sdim; i++) { + dset1[i].a = i; + dset1[i].b = i*i; + dset1[i].c = 1./(i+1); + + dset2[i].a = i; + dset2[i].b = i+ i*0.1; + + dset4[i].a = i; + dset4[i].b = i*1.0; + + dset5[i].a = i; + dset5[i].b = i*1.0; + } + + fid = H5Fcreate(FILE9, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT); + + create_plist = H5Pcreate(H5P_DATASET_CREATE); + + sdim = 2; + H5Pset_chunk(create_plist, 1, &sdim); + + sdim = 6; + maxdim = H5S_UNLIMITED; + + space = H5Screate_simple(1, &sdim, &maxdim); + + type = H5Tcreate (H5T_COMPOUND, sizeof(dset1[0])); + + H5Tinsert(type, "a_name", HOFFSET(dset1_t, a), H5T_STD_I32BE); + H5Tinsert(type, "b_name", HOFFSET(dset1_t, b), H5T_IEEE_F32BE); + H5Tinsert(type, "c_name", HOFFSET(dset1_t, c), H5T_IEEE_F64BE); + + dataset = H5Dcreate(fid, "/dset1", type, space, create_plist); + H5Dwrite(dataset, type, H5S_ALL, H5S_ALL, H5P_DEFAULT, dset1); + + H5Tclose(type); + H5Sclose(space); + H5Dclose(dataset); + + sdim = 6; + maxdim = 10; + + space = H5Screate_simple(1, &sdim, &maxdim); + + /* shared data type 1 */ + type = H5Tcreate (H5T_COMPOUND, sizeof(dset2_t)); + H5Tinsert(type, "int_name", HOFFSET(dset2_t, a), H5T_STD_I32BE); + H5Tinsert(type, "float_name", HOFFSET(dset2_t, b), H5T_IEEE_F32BE); + H5Tcommit(fid, "type1", type); + + group = H5Gcreate (fid, "/group1", 0); + + dataset = H5Dcreate(group, "dset2", type, space, create_plist); + H5Dwrite(dataset, type, H5S_ALL, H5S_ALL, H5P_DEFAULT, dset2); + + H5Tclose(type); + H5Dclose(dataset); + + + /* shared data type 2 */ + type = H5Tcreate (H5T_COMPOUND, sizeof(dset3_t)); + ndims = 1; dim[0] = 4; + H5Tinsert_array(type, "int_array", HOFFSET(dset3_t, a), ndims, dim, perm, H5T_STD_I32BE); + ndims = 2; dim[0] = 5; dim[1] = 6; + H5Tinsert_array(type, "float_array", HOFFSET(dset3_t, b), ndims, dim, perm, H5T_STD_I32BE); + H5Tcommit(fid, "type2", type); + H5Tclose(type); + + /* shared data type 3 */ + type = H5Tcreate (H5T_COMPOUND, sizeof(dset4_t)); + H5Tinsert(type, "int", HOFFSET(dset4_t, a), H5T_STD_I32BE); + H5Tinsert(type, "float", HOFFSET(dset4_t, b), H5T_IEEE_F32BE); + H5Tcommit(group, "type3", type); + + dataset = H5Dcreate(group, "dset4", type, space, create_plist); + H5Dwrite(dataset, type, H5S_ALL, H5S_ALL, H5P_DEFAULT, dset4); + + H5Tclose(type); + H5Dclose(dataset); + H5Gclose(group); + + + /* unamed data type */ + group = H5Gcreate (fid, "/group2", 0); + + type = H5Tcreate (H5T_COMPOUND, sizeof(dset5_t)); + H5Tinsert(type, "int", HOFFSET(dset5_t, a), H5T_STD_I32BE); + H5Tinsert(type, "float", HOFFSET(dset5_t, b), H5T_IEEE_F32BE); + H5Tcommit(group, "type4", type); + dataset = H5Dcreate(group, "dset5", type, space, create_plist); + H5Dwrite(dataset, type, H5S_ALL, H5S_ALL, H5P_DEFAULT, dset5); + + H5Gunlink(group,"type4"); + + H5Tclose(type); + H5Dclose(dataset); + H5Sclose(space); + H5Gclose(group); + + H5Fclose(fid); + +} /* @@ -472,8 +668,10 @@ test_group(); test_attribute(); test_softlink(); test_dataset(); +test_dataset2(); test_hardlink(); test_compound_dt(); +test_compound_dt2(); test_all(); return 0; diff --git a/tools/testfiles/tall.h5 b/tools/testfiles/tall.h5 Binary files differindex 81a8493..8ccc0e0 100644 --- a/tools/testfiles/tall.h5 +++ b/tools/testfiles/tall.h5 diff --git a/tools/testfiles/tcompound.h5 b/tools/testfiles/tcompound.h5 Binary files differindex 19e4b8c..8c8eb69 100644 --- a/tools/testfiles/tcompound.h5 +++ b/tools/testfiles/tcompound.h5 diff --git a/tools/testfiles/tcompound2.dmp b/tools/testfiles/tcompound2.dmp new file mode 100644 index 0000000..4a16d87 --- /dev/null +++ b/tools/testfiles/tcompound2.dmp @@ -0,0 +1,118 @@ +File name: testfiles/tcompound2.hdf + + +Vgroup:0 + tag = 1965; reference = 2; + name = /; class = HDF5; + number of entries = 2; + number of attributes = 0 +Entries:- + #0 (Vgroup) + tag = 1965;reference = 4; + number of entries = 0; + name = group1; class = HDF5 + number of attributes = 0 + #1 (Vgroup) + tag = 1965;reference = 10; + number of entries = 0; + name = group2; class = HDF5 + number of attributes = 0 + + +Vgroup:1 + tag = 1965; reference = 4; + name = group1; class = HDF5; + number of entries = 0; + number of attributes = 0 +Entries:- + None. + + +Vgroup:2 + tag = 1965; reference = 10; + name = group2; class = HDF5; + number of entries = 0; + number of attributes = 0 +Entries:- + None. + + +Graphical representation of the file:- +(vg#: vgroup; vd: vdata) + + vg0 -- vg1 + -- vg2 + + vg1 + + vg2 + +File name: testfiles/tcompound2.hdf + +Vdata: 0 + tag = 1962; reference = 3; + number of records = 6; interlace = 0; + fields = [a_name, b_name, c_name]; + record size (in bytes) = 16; + name = dset1; class = HDF5; + number of attributes = 0 +- field index 0: [a_name], type=24, order=1 + number of attributes = 0 +- field index 1: [b_name], type=5, order=1 + number of attributes = 0 +- field index 2: [c_name], type=6, order=1 + number of attributes = 0 +Loc. Data +0 0 0.000000 1.000000 ; 1 1.000000 0.500000 ; 2 4.000000 0.333333 ; +3 3 9.000000 0.250000 ; 4 16.000000 0.200000 ; 5 25.000000 0.166667 ; + + +Vdata: 1 + tag = 1962; reference = 5; + number of records = 6; interlace = 0; + fields = [int_name, float_name]; + record size (in bytes) = 8; + name = dset2; class = HDF5; + number of attributes = 0 +- field index 0: [int_name], type=24, order=1 + number of attributes = 0 +- field index 1: [float_name], type=5, order=1 + number of attributes = 0 +Loc. Data +0 0 0.000000 ; 1 1.100000 ; 2 2.200000 ; +3 3 3.300000 ; 4 4.400000 ; 5 5.500000 ; + + +Vdata: 2 + tag = 1962; reference = 7; + number of records = 6; interlace = 0; + fields = [int, float]; + record size (in bytes) = 8; + name = dset4; class = HDF5; + number of attributes = 0 +- field index 0: [int], type=24, order=1 + number of attributes = 0 +- field index 1: [float], type=5, order=1 + number of attributes = 0 +Loc. Data +0 0 0.000000 ; 1 1.000000 ; 2 2.000000 ; +3 3 3.000000 ; 4 4.000000 ; 5 5.000000 ; + + +Vdata: 3 + tag = 1962; reference = 11; + number of records = 6; interlace = 0; + fields = [int, float]; + record size (in bytes) = 8; + name = dset5; class = HDF5; + number of attributes = 0 +- field index 0: [int], type=24, order=1 + number of attributes = 0 +- field index 1: [float], type=5, order=1 + number of attributes = 0 +Loc. Data +0 0 0.000000 ; 1 1.000000 ; 2 2.000000 ; +3 3 3.000000 ; 4 4.000000 ; 5 5.000000 ; + + +File name: testfiles/tcompound2.hdf diff --git a/tools/testfiles/tcompound2.h5 b/tools/testfiles/tcompound2.h5 Binary files differnew file mode 100644 index 0000000..6df3bf5 --- /dev/null +++ b/tools/testfiles/tcompound2.h5 diff --git a/tools/testfiles/tdset.h5 b/tools/testfiles/tdset.h5 Binary files differindex 16c17f2..a35040c 100644 --- a/tools/testfiles/tdset.h5 +++ b/tools/testfiles/tdset.h5 diff --git a/tools/testfiles/tdset2.dmp b/tools/testfiles/tdset2.dmp new file mode 100644 index 0000000..58c1601 --- /dev/null +++ b/tools/testfiles/tdset2.dmp @@ -0,0 +1,373 @@ +File name: testfiles/tdset2.hdf + + +Vgroup:0 + tag = 1965; reference = 2; + name = /; class = HDF5; + number of entries = 0; + number of attributes = 0 +Entries:- + None. + + +Vgroup:1 + tag = 1965; reference = 8; + name = fakeDim0; class = UDim0.0; + number of entries = 1; + number of attributes = 0 +Entries:- + #0 (Vdata) + tag = 1962; reference = 7; + number of records = 1; interlace = 0; + fields = [Values]; + record size (in bytes) = 4; + name = fakeDim0; class = DimVal0.1; + total number of attributes = 0. + + +Vgroup:2 + tag = 1965; reference = 10; + name = fakeDim1; class = Dim0.0; + number of entries = 1; + number of attributes = 0 +Entries:- + #0 (Vdata) + tag = 1962; reference = 9; + number of records = 1; interlace = 0; + fields = [Values]; + record size (in bytes) = 4; + name = fakeDim1; class = DimVal0.1; + total number of attributes = 0. + + +Vgroup:3 + tag = 1965; reference = 12; + name = fakeDim2; class = Dim0.0; + number of entries = 1; + number of attributes = 0 +Entries:- + #0 (Vdata) + tag = 1962; reference = 11; + number of records = 1; interlace = 0; + fields = [Values]; + record size (in bytes) = 4; + name = fakeDim2; class = DimVal0.1; + total number of attributes = 0. + + +Vgroup:4 + tag = 1965; reference = 14; + name = fakeDim3; class = Dim0.0; + number of entries = 1; + number of attributes = 0 +Entries:- + #0 (Vdata) + tag = 1962; reference = 13; + number of records = 1; interlace = 0; + fields = [Values]; + record size (in bytes) = 4; + name = fakeDim3; class = DimVal0.1; + total number of attributes = 0. + + +Vgroup:5 + tag = 1965; reference = 16; + name = dset1; class = Var0.0; + number of entries = 6; + number of attributes = 0 +Entries:- + #0 (Vgroup) + tag = 1965;reference = 8; + number of entries = 1; + name = fakeDim0; class = UDim0.0 + number of attributes = 0 + #1 (Vgroup) + tag = 1965;reference = 10; + number of entries = 1; + name = fakeDim1; class = Dim0.0 + number of attributes = 0 + #2 (Scientific Data) + tag = 702; reference = 4; + #3 (Number type) + tag = 106; reference = 15; + #4 (SciData dimension record) + tag = 701; reference = 15; + #5 (Numeric Data Group) + tag = 720; reference = 3; + + +Vgroup:6 + tag = 1965; reference = 18; + name = dset2; class = Var0.0; + number of entries = 6; + number of attributes = 0 +Entries:- + #0 (Vgroup) + tag = 1965;reference = 12; + number of entries = 1; + name = fakeDim2; class = Dim0.0 + number of attributes = 0 + #1 (Vgroup) + tag = 1965;reference = 14; + number of entries = 1; + name = fakeDim3; class = Dim0.0 + number of attributes = 0 + #2 (Scientific Data) + tag = 702; reference = 6; + #3 (Number type) + tag = 106; reference = 17; + #4 (SciData dimension record) + tag = 701; reference = 17; + #5 (Numeric Data Group) + tag = 720; reference = 5; + + +Vgroup:7 + tag = 1965; reference = 19; + name = tdset2.hdf; class = CDF0.0; + number of entries = 6; + number of attributes = 0 +Entries:- + #0 (Vgroup) + tag = 1965;reference = 8; + number of entries = 1; + name = fakeDim0; class = UDim0.0 + number of attributes = 0 + #1 (Vgroup) + tag = 1965;reference = 10; + number of entries = 1; + name = fakeDim1; class = Dim0.0 + number of attributes = 0 + #2 (Vgroup) + tag = 1965;reference = 12; + number of entries = 1; + name = fakeDim2; class = Dim0.0 + number of attributes = 0 + #3 (Vgroup) + tag = 1965;reference = 14; + number of entries = 1; + name = fakeDim3; class = Dim0.0 + number of attributes = 0 + #4 (Vgroup) + tag = 1965;reference = 16; + number of entries = 6; + name = dset1; class = Var0.0 + number of attributes = 0 + #5 (Vgroup) + tag = 1965;reference = 18; + number of entries = 6; + name = dset2; class = Var0.0 + number of attributes = 0 + + +Graphical representation of the file:- +(vg#: vgroup; vd: vdata) + + vg0 + + vg1 -- vd + + vg2 -- vd + + vg3 -- vd + + vg4 -- vd + + vg5 -- vg1 -- vd + -- vg2 -- vd + -- Scientific Data + -- Number type + -- SciData dimension record + -- Numeric Data Group + + vg6 -- vg3 -- vd + -- vg4 -- vd + -- Scientific Data + -- Number type + -- SciData dimension record + -- Numeric Data Group + + vg7 -- vg1 -- vd + -- vg2 -- vd + -- vg3 -- vd + -- vg4 -- vd + -- vg5 -- vg1 -- vd + -- vg2 -- vd + -- Scientific Data + -- Number type + -- SciData dimension record + -- Numeric Data Group + -- vg6 -- vg3 -- vd + -- vg4 -- vd + -- Scientific Data + -- Number type + -- SciData dimension record + -- Numeric Data Group + +File name: testfiles/tdset2.hdf + +Vdata: 0 + tag = 1962; reference = 7; + number of records = 1; interlace = 0; + fields = [Values]; + record size (in bytes) = 4; + name = fakeDim0; class = DimVal0.1; + number of attributes = 0 +- field index 0: [Values], type=24, order=1 + number of attributes = 0 +Loc. Data +0 1 ; + +Vdata: 1 + tag = 1962; reference = 9; + number of records = 1; interlace = 0; + fields = [Values]; + record size (in bytes) = 4; + name = fakeDim1; class = DimVal0.1; + number of attributes = 0 +- field index 0: [Values], type=24, order=1 + number of attributes = 0 +Loc. Data +0 20 ; + +Vdata: 2 + tag = 1962; reference = 11; + number of records = 1; interlace = 0; + fields = [Values]; + record size (in bytes) = 4; + name = fakeDim2; class = DimVal0.1; + number of attributes = 0 +- field index 0: [Values], type=24, order=1 + number of attributes = 0 +Loc. Data +0 30 ; + +Vdata: 3 + tag = 1962; reference = 13; + number of records = 1; interlace = 0; + fields = [Values]; + record size (in bytes) = 4; + name = fakeDim3; class = DimVal0.1; + number of attributes = 0 +- field index 0: [Values], type=24, order=1 + number of attributes = 0 +Loc. Data +0 10 ; + +File name: testfiles/tdset2.hdf + +Variable Name = dset1 + Index = 0 + Type= 32-bit signed integer + Ref. = 3 + Rank = 2 + Number of attributes = 0 + Dim0: Name=fakeDim0 + Size = UNLIMITED (currently 10) + Scale Type = number-type not set + Number of attributes = 0 + Dim1: Name=fakeDim1 + Size = 20 + Scale Type = number-type not set + Number of attributes = 0 + Data : + 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 + + + + +Variable Name = dset2 + Index = 1 + Type= 64-bit floating point + Ref. = 5 + Rank = 2 + Number of attributes = 0 + Dim0: Name=fakeDim2 + Size = 30 + Scale Type = number-type not set + Number of attributes = 0 + Dim1: Name=fakeDim3 + Size = 10 + Scale Type = number-type not set + Number of attributes = 0 + Data : + 0.000000 1.000000 2.000000 3.000000 4.000000 5.000000 + 6.000000 7.000000 8.000000 9.000000 + 0.000000 1.000000 2.000000 3.000000 4.000000 5.000000 + 6.000000 7.000000 8.000000 9.000000 + 0.000000 1.000000 2.000000 3.000000 4.000000 5.000000 + 6.000000 7.000000 8.000000 9.000000 + 0.000000 1.000000 2.000000 3.000000 4.000000 5.000000 + 6.000000 7.000000 8.000000 9.000000 + 0.000000 1.000000 2.000000 3.000000 4.000000 5.000000 + 6.000000 7.000000 8.000000 9.000000 + 0.000000 1.000000 2.000000 3.000000 4.000000 5.000000 + 6.000000 7.000000 8.000000 9.000000 + 0.000000 1.000000 2.000000 3.000000 4.000000 5.000000 + 6.000000 7.000000 8.000000 9.000000 + 0.000000 1.000000 2.000000 3.000000 4.000000 5.000000 + 6.000000 7.000000 8.000000 9.000000 + 0.000000 1.000000 2.000000 3.000000 4.000000 5.000000 + 6.000000 7.000000 8.000000 9.000000 + 0.000000 1.000000 2.000000 3.000000 4.000000 5.000000 + 6.000000 7.000000 8.000000 9.000000 + 0.000000 1.000000 2.000000 3.000000 4.000000 5.000000 + 6.000000 7.000000 8.000000 9.000000 + 0.000000 1.000000 2.000000 3.000000 4.000000 5.000000 + 6.000000 7.000000 8.000000 9.000000 + 0.000000 1.000000 2.000000 3.000000 4.000000 5.000000 + 6.000000 7.000000 8.000000 9.000000 + 0.000000 1.000000 2.000000 3.000000 4.000000 5.000000 + 6.000000 7.000000 8.000000 9.000000 + 0.000000 1.000000 2.000000 3.000000 4.000000 5.000000 + 6.000000 7.000000 8.000000 9.000000 + 0.000000 1.000000 2.000000 3.000000 4.000000 5.000000 + 6.000000 7.000000 8.000000 9.000000 + 0.000000 1.000000 2.000000 3.000000 4.000000 5.000000 + 6.000000 7.000000 8.000000 9.000000 + 0.000000 1.000000 2.000000 3.000000 4.000000 5.000000 + 6.000000 7.000000 8.000000 9.000000 + 0.000000 1.000000 2.000000 3.000000 4.000000 5.000000 + 6.000000 7.000000 8.000000 9.000000 + 0.000000 1.000000 2.000000 3.000000 4.000000 5.000000 + 6.000000 7.000000 8.000000 9.000000 + 0.000000 1.000000 2.000000 3.000000 4.000000 5.000000 + 6.000000 7.000000 8.000000 9.000000 + 0.000000 1.000000 2.000000 3.000000 4.000000 5.000000 + 6.000000 7.000000 8.000000 9.000000 + 0.000000 1.000000 2.000000 3.000000 4.000000 5.000000 + 6.000000 7.000000 8.000000 9.000000 + 0.000000 1.000000 2.000000 3.000000 4.000000 5.000000 + 6.000000 7.000000 8.000000 9.000000 + 0.000000 1.000000 2.000000 3.000000 4.000000 5.000000 + 6.000000 7.000000 8.000000 9.000000 + 0.000000 1.000000 2.000000 3.000000 4.000000 5.000000 + 6.000000 7.000000 8.000000 9.000000 + 0.000000 1.000000 2.000000 3.000000 4.000000 5.000000 + 6.000000 7.000000 8.000000 9.000000 + 0.000000 1.000000 2.000000 3.000000 4.000000 5.000000 + 6.000000 7.000000 8.000000 9.000000 + 0.000000 1.000000 2.000000 3.000000 4.000000 5.000000 + 6.000000 7.000000 8.000000 9.000000 + 0.000000 1.000000 2.000000 3.000000 4.000000 5.000000 + 6.000000 7.000000 8.000000 9.000000 + + diff --git a/tools/testfiles/tdset2.h5 b/tools/testfiles/tdset2.h5 Binary files differnew file mode 100644 index 0000000..fc1bcaa --- /dev/null +++ b/tools/testfiles/tdset2.h5 diff --git a/tools/testfiles/thlink.h5 b/tools/testfiles/thlink.h5 Binary files differindex 8419785..49ebeb5 100644 --- a/tools/testfiles/thlink.h5 +++ b/tools/testfiles/thlink.h5 |