diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2024-01-03 17:23:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-03 17:23:42 (GMT) |
commit | 72e33ad7727765fd162a1f70ca502cc2437aabde (patch) | |
tree | 84b4cff56687fa7a8d443a529984932dd30a7fa4 /HDF5Examples/C/H5T/tfiles | |
parent | 95827bc79d592ad5aa71ec3199a83ede9b324c20 (diff) | |
download | hdf5-72e33ad7727765fd162a1f70ca502cc2437aabde.zip hdf5-72e33ad7727765fd162a1f70ca502cc2437aabde.tar.gz hdf5-72e33ad7727765fd162a1f70ca502cc2437aabde.tar.bz2 |
Merge examples and workflows from develop (#3918)
Diffstat (limited to 'HDF5Examples/C/H5T/tfiles')
105 files changed, 2044 insertions, 0 deletions
diff --git a/HDF5Examples/C/H5T/tfiles/110/h5ex_t_objref06.ddl b/HDF5Examples/C/H5T/tfiles/110/h5ex_t_objref06.ddl new file mode 100644 index 0000000..6ca96c7 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/110/h5ex_t_objref06.ddl @@ -0,0 +1,19 @@ +HDF5 "h5ex_t_objref.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_REFERENCE { H5T_STD_REF_OBJECT } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): GROUP 1400 /G1 , DATASET 800 /DS2 + } + } + DATASET "DS2" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + } + GROUP "G1" { + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/110/h5ex_t_objrefatt06.ddl b/HDF5Examples/C/H5T/tfiles/110/h5ex_t_objrefatt06.ddl new file mode 100644 index 0000000..7bf57d4 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/110/h5ex_t_objrefatt06.ddl @@ -0,0 +1,25 @@ +HDF5 "h5ex_t_objrefatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + ATTRIBUTE "A1" { + DATATYPE H5T_REFERENCE { H5T_STD_REF_OBJECT } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): GROUP 1400 /G1 , DATASET 800 /DS2 + } + } + } + DATASET "DS2" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + } + GROUP "G1" { + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/110/h5ex_t_regref06.ddl b/HDF5Examples/C/H5T/tfiles/110/h5ex_t_regref06.ddl new file mode 100644 index 0000000..bbfe511 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/110/h5ex_t_regref06.ddl @@ -0,0 +1,24 @@ +HDF5 "h5ex_t_regref.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_REFERENCE { H5T_STD_REF_DSETREG } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + DATASET /DS2 {(0,1), (2,11), (1,0), (2,4)}, + DATASET /DS2 {(0,0)-(0,2), (0,11)-(0,13), (2,0)-(2,2), (2,11)-(2,13)} + } + } + DATASET "DS2" { + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 3, 16 ) / ( 3, 16 ) } + DATA { + (0,0): 84, 104, 101, 32, 113, 117, 105, 99, 107, 32, 98, 114, 111, 119, + (0,14): 110, 0, + (1,0): 102, 111, 120, 32, 106, 117, 109, 112, 115, 32, 111, 118, 101, + (1,13): 114, 32, 0, + (2,0): 116, 104, 101, 32, 53, 32, 108, 97, 122, 121, 32, 100, 111, 103, + (2,14): 115, 0 + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/110/h5ex_t_regrefatt06.ddl b/HDF5Examples/C/H5T/tfiles/110/h5ex_t_regrefatt06.ddl new file mode 100644 index 0000000..24811ae --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/110/h5ex_t_regrefatt06.ddl @@ -0,0 +1,31 @@ +HDF5 "h5ex_t_regrefatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + ATTRIBUTE "A1" { + DATATYPE H5T_REFERENCE { H5T_STD_REF_DSETREG } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): DATASET /DS2 {(0,1), (2,11), (1,0), (2,4)}, + (1): DATASET /DS2 {(0,0)-(0,2), (0,11)-(0,13), (2,0)-(2,2), + (1): (2,11)-(2,13)} + } + } + } + DATASET "DS2" { + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 3, 16 ) / ( 3, 16 ) } + DATA { + (0,0): 84, 104, 101, 32, 113, 117, 105, 99, 107, 32, 98, 114, 111, 119, + (0,14): 110, 0, + (1,0): 102, 111, 120, 32, 106, 117, 109, 112, 115, 32, 111, 118, 101, + (1,13): 114, 32, 0, + (2,0): 116, 104, 101, 32, 53, 32, 108, 97, 122, 121, 32, 100, 111, 103, + (2,14): 115, 0 + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/112/h5ex_t_objref.ddl b/HDF5Examples/C/H5T/tfiles/112/h5ex_t_objref.ddl new file mode 100644 index 0000000..46595b2 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/112/h5ex_t_objref.ddl @@ -0,0 +1,22 @@ +HDF5 "h5ex_t_objref.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_REFERENCE { H5T_STD_REF } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + GROUP "h5ex_t_objref.h5/G1" + DATASET "h5ex_t_objref.h5/DS2" + DATA { + } + } + } + DATASET "DS2" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + } + GROUP "G1" { + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/112/h5ex_t_objrefatt.ddl b/HDF5Examples/C/H5T/tfiles/112/h5ex_t_objrefatt.ddl new file mode 100644 index 0000000..ad5c9c0 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/112/h5ex_t_objrefatt.ddl @@ -0,0 +1,28 @@ +HDF5 "h5ex_t_objrefatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + ATTRIBUTE "A1" { + DATATYPE H5T_REFERENCE { H5T_STD_REF } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + GROUP "h5ex_t_objrefatt.h5/G1" + DATASET "h5ex_t_objrefatt.h5/DS2" + DATA { + } + } + } + } + DATASET "DS2" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + } + GROUP "G1" { + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/112/h5ex_t_regref.ddl b/HDF5Examples/C/H5T/tfiles/112/h5ex_t_regref.ddl new file mode 100644 index 0000000..d4975b1 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/112/h5ex_t_regref.ddl @@ -0,0 +1,33 @@ +HDF5 "h5ex_t_regref.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_REFERENCE { H5T_STD_REF } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + DATASET "h5ex_t_regref.h5/DS2"{ + REGION_TYPE POINT (0,1), (2,11), (1,0), (2,4) + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 3, 16 ) / ( 3, 16 ) } + } + DATASET "h5ex_t_regref.h5/DS2" { + REGION_TYPE BLOCK (0,0)-(0,2), (0,11)-(0,13), (2,0)-(2,2), + (2,11)-(2,13) + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 3, 16 ) / ( 3, 16 ) } + } + } + } + DATASET "DS2" { + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 3, 16 ) / ( 3, 16 ) } + DATA { + (0,0): 84, 104, 101, 32, 113, 117, 105, 99, 107, 32, 98, 114, 111, 119, + (0,14): 110, 0, + (1,0): 102, 111, 120, 32, 106, 117, 109, 112, 115, 32, 111, 118, 101, + (1,13): 114, 32, 0, + (2,0): 116, 104, 101, 32, 53, 32, 108, 97, 122, 121, 32, 100, 111, 103, + (2,14): 115, 0 + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/112/h5ex_t_regrefatt.ddl b/HDF5Examples/C/H5T/tfiles/112/h5ex_t_regrefatt.ddl new file mode 100644 index 0000000..a3bda29 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/112/h5ex_t_regrefatt.ddl @@ -0,0 +1,39 @@ +HDF5 "h5ex_t_regrefatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + ATTRIBUTE "A1" { + DATATYPE H5T_REFERENCE { H5T_STD_REF } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + DATASET "h5ex_t_regrefatt.h5/DS2"{ + REGION_TYPE POINT (0,1), (2,11), (1,0), (2,4) + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 3, 16 ) / ( 3, 16 ) } + } + DATASET "h5ex_t_regrefatt.h5/DS2" { + REGION_TYPE BLOCK (0,0)-(0,2), (0,11)-(0,13), (2,0)-(2,2), + (2,11)-(2,13) + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 3, 16 ) / ( 3, 16 ) } + } + } + } + } + DATASET "DS2" { + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 3, 16 ) / ( 3, 16 ) } + DATA { + (0,0): 84, 104, 101, 32, 113, 117, 105, 99, 107, 32, 98, 114, 111, 119, + (0,14): 110, 0, + (1,0): 102, 111, 120, 32, 106, 117, 109, 112, 115, 32, 111, 118, 101, + (1,13): 114, 32, 0, + (2,0): 116, 104, 101, 32, 53, 32, 108, 97, 122, 121, 32, 100, 111, 103, + (2,14): 115, 0 + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/114/h5ex_t_vlen.ddl b/HDF5Examples/C/H5T/tfiles/114/h5ex_t_vlen.ddl new file mode 100644 index 0000000..95b9c5a --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/114/h5ex_t_vlen.ddl @@ -0,0 +1,11 @@ +HDF5 "h5ex_t_vlen.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_VLEN { H5T_STD_I32LE } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): (3, 2, 1), (1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144) + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/114/h5ex_t_vlenatt.ddl b/HDF5Examples/C/H5T/tfiles/114/h5ex_t_vlenatt.ddl new file mode 100644 index 0000000..80005df --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/114/h5ex_t_vlenatt.ddl @@ -0,0 +1,17 @@ +HDF5 "h5ex_t_vlenatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + ATTRIBUTE "A1" { + DATATYPE H5T_VLEN { H5T_STD_I32LE } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): (3, 2, 1), (1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144) + } + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/16/112/h5ex_t_objref.ddl b/HDF5Examples/C/H5T/tfiles/16/112/h5ex_t_objref.ddl new file mode 100644 index 0000000..1b06c02 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/112/h5ex_t_objref.ddl @@ -0,0 +1,24 @@ +HDF5 "h5ex_t_objref.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_REFERENCE { H5T_STD_REF_OBJECT } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + GROUP "h5ex_t_objref.h5/G1" + DATASET "h5ex_t_objref.h5/DS2" + DATA { + (0): 0 + } + } + } + DATASET "DS2" { + DATATYPE H5T_STD_I32LE + DATASPACE SCALAR + DATA { + (0): 0 + } + } + GROUP "G1" { + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/16/112/h5ex_t_objrefatt.ddl b/HDF5Examples/C/H5T/tfiles/16/112/h5ex_t_objrefatt.ddl new file mode 100644 index 0000000..72ea7d3 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/112/h5ex_t_objrefatt.ddl @@ -0,0 +1,31 @@ +HDF5 "h5ex_t_objrefatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE SCALAR + DATA { + (0): 0 + } + ATTRIBUTE "A1" { + DATATYPE H5T_REFERENCE { H5T_STD_REF_OBJECT } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + GROUP "h5ex_t_objrefatt.h5/G1" + DATASET "h5ex_t_objrefatt.h5/DS2" + DATA { + (0): 0 + } + } + } + } + DATASET "DS2" { + DATATYPE H5T_STD_I32LE + DATASPACE SCALAR + DATA { + (0): 0 + } + } + GROUP "G1" { + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/16/112/h5ex_t_regref.ddl b/HDF5Examples/C/H5T/tfiles/16/112/h5ex_t_regref.ddl new file mode 100644 index 0000000..14e1887 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/112/h5ex_t_regref.ddl @@ -0,0 +1,33 @@ +HDF5 "h5ex_t_regref.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_REFERENCE { H5T_STD_REF_DSETREG } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + DATASET "h5ex_t_regref.h5/DS2"{ + REGION_TYPE POINT (0,1), (2,11), (1,0), (2,4) + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 3, 16 ) / ( 3, 16 ) } + } + DATASET "h5ex_t_regref.h5/DS2" { + REGION_TYPE BLOCK (0,0)-(0,2), (0,11)-(0,13), (2,0)-(2,2), + (2,11)-(2,13) + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 3, 16 ) / ( 3, 16 ) } + } + } + } + DATASET "DS2" { + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 3, 16 ) / ( 3, 16 ) } + DATA { + (0,0): 84, 104, 101, 32, 113, 117, 105, 99, 107, 32, 98, 114, 111, 119, + (0,14): 110, 0, + (1,0): 102, 111, 120, 32, 106, 117, 109, 112, 115, 32, 111, 118, 101, + (1,13): 114, 32, 0, + (2,0): 116, 104, 101, 32, 53, 32, 108, 97, 122, 121, 32, 100, 111, 103, + (2,14): 115, 0 + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/16/112/h5ex_t_regrefatt.ddl b/HDF5Examples/C/H5T/tfiles/16/112/h5ex_t_regrefatt.ddl new file mode 100644 index 0000000..db2d67d --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/112/h5ex_t_regrefatt.ddl @@ -0,0 +1,40 @@ +HDF5 "h5ex_t_regrefatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE SCALAR + DATA { + (0): 0 + } + ATTRIBUTE "A1" { + DATATYPE H5T_REFERENCE { H5T_STD_REF_DSETREG } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + DATASET "h5ex_t_regrefatt.h5/DS2"{ + REGION_TYPE POINT (0,1), (2,11), (1,0), (2,4) + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 3, 16 ) / ( 3, 16 ) } + } + DATASET "h5ex_t_regrefatt.h5/DS2" { + REGION_TYPE BLOCK (0,0)-(0,2), (0,11)-(0,13), (2,0)-(2,2), + (2,11)-(2,13) + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 3, 16 ) / ( 3, 16 ) } + } + } + } + } + DATASET "DS2" { + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 3, 16 ) / ( 3, 16 ) } + DATA { + (0,0): 84, 104, 101, 32, 113, 117, 105, 99, 107, 32, 98, 114, 111, 119, + (0,14): 110, 0, + (1,0): 102, 111, 120, 32, 106, 117, 109, 112, 115, 32, 111, 118, 101, + (1,13): 114, 32, 0, + (2,0): 116, 104, 101, 32, 53, 32, 108, 97, 122, 121, 32, 100, 111, 103, + (2,14): 115, 0 + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/16/114/h5ex_t_vlenatt.ddl b/HDF5Examples/C/H5T/tfiles/16/114/h5ex_t_vlenatt.ddl new file mode 100644 index 0000000..7bd321b --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/114/h5ex_t_vlenatt.ddl @@ -0,0 +1,18 @@ +HDF5 "h5ex_t_vlenatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE SCALAR + DATA { + (0): 0 + } + ATTRIBUTE "A1" { + DATATYPE H5T_VLEN { H5T_STD_I32LE } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): (3, 2, 1), (1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144) + } + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_array.ddl b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_array.ddl new file mode 100644 index 0000000..44d8233 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_array.ddl @@ -0,0 +1,22 @@ +HDF5 "h5ex_t_array.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_ARRAY { [3][5] H5T_STD_I64LE } + DATASPACE SIMPLE { ( 4 ) / ( 4 ) } + DATA { + (0): [ 0, 0, 0, 0, 0, + 0, -1, -2, -3, -4, + 0, -2, -4, -6, -8 ], + (1): [ 0, 1, 2, 3, 4, + 1, 1, 1, 1, 1, + 2, 1, 0, -1, -2 ], + (2): [ 0, 2, 4, 6, 8, + 2, 3, 4, 5, 6, + 4, 4, 4, 4, 4 ], + (3): [ 0, 3, 6, 9, 12, + 3, 5, 7, 9, 11, + 6, 7, 8, 9, 10 ] + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_array.tst b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_array.tst new file mode 100644 index 0000000..339bd16 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_array.tst @@ -0,0 +1,20 @@ +DS1[0]: + [ 0 0 0 0 0] + [ 0 -1 -2 -3 -4] + [ 0 -2 -4 -6 -8] + +DS1[1]: + [ 0 1 2 3 4] + [ 1 1 1 1 1] + [ 2 1 0 -1 -2] + +DS1[2]: + [ 0 2 4 6 8] + [ 2 3 4 5 6] + [ 4 4 4 4 4] + +DS1[3]: + [ 0 3 6 9 12] + [ 3 5 7 9 11] + [ 6 7 8 9 10] + diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_arrayatt.ddl b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_arrayatt.ddl new file mode 100644 index 0000000..9d3950a --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_arrayatt.ddl @@ -0,0 +1,29 @@ +HDF5 "h5ex_t_arrayatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE SCALAR + DATA { + (0): 0 + } + ATTRIBUTE "A1" { + DATATYPE H5T_ARRAY { [3][5] H5T_STD_I64LE } + DATASPACE SIMPLE { ( 4 ) / ( 4 ) } + DATA { + (0): [ 0, 0, 0, 0, 0, + 0, -1, -2, -3, -4, + 0, -2, -4, -6, -8 ], + (1): [ 0, 1, 2, 3, 4, + 1, 1, 1, 1, 1, + 2, 1, 0, -1, -2 ], + (2): [ 0, 2, 4, 6, 8, + 2, 3, 4, 5, 6, + 4, 4, 4, 4, 4 ], + (3): [ 0, 3, 6, 9, 12, + 3, 5, 7, 9, 11, + 6, 7, 8, 9, 10 ] + } + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_arrayatt.tst b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_arrayatt.tst new file mode 100644 index 0000000..a42a358 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_arrayatt.tst @@ -0,0 +1,20 @@ +A1[0]: + [ 0 0 0 0 0] + [ 0 -1 -2 -3 -4] + [ 0 -2 -4 -6 -8] + +A1[1]: + [ 0 1 2 3 4] + [ 1 1 1 1 1] + [ 2 1 0 -1 -2] + +A1[2]: + [ 0 2 4 6 8] + [ 2 3 4 5 6] + [ 4 4 4 4 4] + +A1[3]: + [ 0 3 6 9 12] + [ 3 5 7 9 11] + [ 6 7 8 9 10] + diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_bit.ddl b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_bit.ddl new file mode 100644 index 0000000..0d88583 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_bit.ddl @@ -0,0 +1,14 @@ +HDF5 "h5ex_t_bit.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_B8BE + DATASPACE SIMPLE { ( 4, 7 ) / ( 4, 7 ) } + DATA { + (0,0): 0x00, 0x53, 0xa2, 0xf1, 0x00, 0x53, 0xa2, + (1,0): 0x44, 0x94, 0xe4, 0x34, 0x44, 0x94, 0xe4, + (2,0): 0x88, 0xd9, 0x2a, 0x7b, 0x88, 0xd9, 0x2a, + (3,0): 0xcc, 0x1e, 0x6c, 0xbe, 0xcc, 0x1e, 0x6c + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_bit.tst b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_bit.tst new file mode 100644 index 0000000..4c37071 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_bit.tst @@ -0,0 +1,5 @@ +DS1: + [ {0, 0, 0, 0} {3, 0, 1, 1} {2, 0, 2, 2} {1, 0, 3, 3} {0, 0, 0, 0} {3, 0, 1, 1} {2, 0, 2, 2} ] + [ {0, 1, 0, 1} {0, 1, 1, 2} {0, 1, 2, 3} {0, 1, 3, 0} {0, 1, 0, 1} {0, 1, 1, 2} {0, 1, 2, 3} ] + [ {0, 2, 0, 2} {1, 2, 1, 3} {2, 2, 2, 0} {3, 2, 3, 1} {0, 2, 0, 2} {1, 2, 1, 3} {2, 2, 2, 0} ] + [ {0, 3, 0, 3} {2, 3, 1, 0} {0, 3, 2, 1} {2, 3, 3, 2} {0, 3, 0, 3} {2, 3, 1, 0} {0, 3, 2, 1} ] diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_bitatt.ddl b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_bitatt.ddl new file mode 100644 index 0000000..c85374a --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_bitatt.ddl @@ -0,0 +1,21 @@ +HDF5 "h5ex_t_bitatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE SCALAR + DATA { + (0): 0 + } + ATTRIBUTE "A1" { + DATATYPE H5T_STD_B8BE + DATASPACE SIMPLE { ( 4, 7 ) / ( 4, 7 ) } + DATA { + (0,0): 0x00, 0x53, 0xa2, 0xf1, 0x00, 0x53, 0xa2, + (1,0): 0x44, 0x94, 0xe4, 0x34, 0x44, 0x94, 0xe4, + (2,0): 0x88, 0xd9, 0x2a, 0x7b, 0x88, 0xd9, 0x2a, + (3,0): 0xcc, 0x1e, 0x6c, 0xbe, 0xcc, 0x1e, 0x6c + } + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_bitatt.tst b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_bitatt.tst new file mode 100644 index 0000000..544acda --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_bitatt.tst @@ -0,0 +1,5 @@ +A1: + [ {0, 0, 0, 0} {3, 0, 1, 1} {2, 0, 2, 2} {1, 0, 3, 3} {0, 0, 0, 0} {3, 0, 1, 1} {2, 0, 2, 2} ] + [ {0, 1, 0, 1} {0, 1, 1, 2} {0, 1, 2, 3} {0, 1, 3, 0} {0, 1, 0, 1} {0, 1, 1, 2} {0, 1, 2, 3} ] + [ {0, 2, 0, 2} {1, 2, 1, 3} {2, 2, 2, 0} {3, 2, 3, 1} {0, 2, 0, 2} {1, 2, 1, 3} {2, 2, 2, 0} ] + [ {0, 3, 0, 3} {2, 3, 1, 0} {0, 3, 2, 1} {2, 3, 3, 2} {0, 3, 0, 3} {2, 3, 1, 0} {0, 3, 2, 1} ] diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_cmpd.ddl b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_cmpd.ddl new file mode 100644 index 0000000..7a06ae1 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_cmpd.ddl @@ -0,0 +1,44 @@ +HDF5 "h5ex_t_cmpd.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_COMPOUND { + H5T_STD_I64BE "Serial number"; + H5T_STRING { + STRSIZE H5T_VARIABLE; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } "Location"; + H5T_IEEE_F64BE "Temperature (F)"; + H5T_IEEE_F64BE "Pressure (inHg)"; + } + DATASPACE SIMPLE { ( 4 ) / ( 4 ) } + DATA { + (0): { + 1153, + "Exterior (static)", + 53.23, + 24.57 + }, + (1): { + 1184, + "Intake", + 55.12, + 22.95 + }, + (2): { + 1027, + "Intake manifold", + 103.55, + 31.23 + }, + (3): { + 1313, + "Exhaust manifold", + 1252.89, + 84.11 + } + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_cmpd.tst b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_cmpd.tst new file mode 100644 index 0000000..70dfad5 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_cmpd.tst @@ -0,0 +1,24 @@ +DS1[0]: +Serial number : 1153 +Location : Exterior (static) +Temperature (F) : 53.230000 +Pressure (inHg) : 24.570000 + +DS1[1]: +Serial number : 1184 +Location : Intake +Temperature (F) : 55.120000 +Pressure (inHg) : 22.950000 + +DS1[2]: +Serial number : 1027 +Location : Intake manifold +Temperature (F) : 103.550000 +Pressure (inHg) : 31.230000 + +DS1[3]: +Serial number : 1313 +Location : Exhaust manifold +Temperature (F) : 1252.890000 +Pressure (inHg) : 84.110000 + diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_cmpdatt.ddl b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_cmpdatt.ddl new file mode 100644 index 0000000..f1983b3 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_cmpdatt.ddl @@ -0,0 +1,51 @@ +HDF5 "h5ex_t_cmpdatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE SCALAR + DATA { + (0): 0 + } + ATTRIBUTE "A1" { + DATATYPE H5T_COMPOUND { + H5T_STD_I64BE "Serial number"; + H5T_STRING { + STRSIZE H5T_VARIABLE; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } "Location"; + H5T_IEEE_F64BE "Temperature (F)"; + H5T_IEEE_F64BE "Pressure (inHg)"; + } + DATASPACE SIMPLE { ( 4 ) / ( 4 ) } + DATA { + (0): { + 1153, + "Exterior (static)", + 53.23, + 24.57 + }, + (1): { + 1184, + "Intake", + 55.12, + 22.95 + }, + (2): { + 1027, + "Intake manifold", + 103.55, + 31.23 + }, + (3): { + 1313, + "Exhaust manifold", + 1252.89, + 84.11 + } + } + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_cmpdatt.tst b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_cmpdatt.tst new file mode 100644 index 0000000..424c6f6 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_cmpdatt.tst @@ -0,0 +1,24 @@ +A1[0]: +Serial number : 1153 +Location : Exterior (static) +Temperature (F) : 53.230000 +Pressure (inHg) : 24.570000 + +A1[1]: +Serial number : 1184 +Location : Intake +Temperature (F) : 55.120000 +Pressure (inHg) : 22.950000 + +A1[2]: +Serial number : 1027 +Location : Intake manifold +Temperature (F) : 103.550000 +Pressure (inHg) : 31.230000 + +A1[3]: +Serial number : 1313 +Location : Exhaust manifold +Temperature (F) : 1252.890000 +Pressure (inHg) : 84.110000 + diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_commit.ddl b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_commit.ddl new file mode 100644 index 0000000..fd0495d --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_commit.ddl @@ -0,0 +1,15 @@ +HDF5 "h5ex_t_commit.h5" { +GROUP "/" { + DATATYPE "Sensor_Type" H5T_COMPOUND { + H5T_STD_I64BE "Serial number"; + H5T_STRING { + STRSIZE H5T_VARIABLE; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } "Location"; + H5T_IEEE_F64BE "Temperature (F)"; + H5T_IEEE_F64BE "Pressure (inHg)"; + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_commit.tst b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_commit.tst new file mode 100644 index 0000000..7d65d14 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_commit.tst @@ -0,0 +1,6 @@ +Named datatype: Sensor_Type: + Class: H5T_COMPOUND + Serial number + Location + Temperature (F) + Pressure (inHg) diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_convert.tst b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_convert.tst new file mode 100644 index 0000000..b70906a --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_convert.tst @@ -0,0 +1,24 @@ +sensor[0]: +Serial number : 1153 +Location : Exterior (static) +Temperature (F) : 54.840000 +Pressure (inHg) : 24.760000 + +sensor[1]: +Serial number : 1184 +Location : Intake +Temperature (F) : 56.630000 +Pressure (inHg) : 23.100000 + +sensor[2]: +Serial number : 1027 +Location : Intake manifold +Temperature (F) : 102.690000 +Pressure (inHg) : 30.970000 + +sensor[3]: +Serial number : 1313 +Location : Exhaust manifold +Temperature (F) : 1238.270000 +Pressure (inHg) : 82.150000 + diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_cpxcmpd.ddl b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_cpxcmpd.ddl new file mode 100644 index 0000000..3c5c8c8 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_cpxcmpd.ddl @@ -0,0 +1,9 @@ +HDF5 "h5ex_t_cpxcmpd.h5" { +FILE_CONTENTS { + group / + group /Air_Vehicles + dataset /Ambient_Temperature + dataset /DS1 + group /Land_Vehicles + } +} diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_cpxcmpd.tst b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_cpxcmpd.tst new file mode 100644 index 0000000..1b191d1 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_cpxcmpd.tst @@ -0,0 +1,13 @@ +DS1[0]: + Vehicle name : + Airplane + Sensor locations : + Exterior (static) + Intake + Intake manifold + Exhaust manifold +DS1[1]: + Vehicle name : + Automobile + Sensor locations : + Roof diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_cpxcmpdatt.ddl b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_cpxcmpdatt.ddl new file mode 100644 index 0000000..fcdfcff --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_cpxcmpdatt.ddl @@ -0,0 +1,9 @@ +HDF5 "h5ex_t_cpxcmpdatt.h5" { +FILE_CONTENTS { + group / + group /Air_Vehicles + dataset /Ambient_Temperature + dataset /DS1 + group /Land_Vehicles + } +} diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_cpxcmpdatt.tst b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_cpxcmpdatt.tst new file mode 100644 index 0000000..b22eca9 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_cpxcmpdatt.tst @@ -0,0 +1,13 @@ +A1[0]: + Vehicle name : + Airplane + Sensor locations : + Exterior (static) + Intake + Intake manifold + Exhaust manifold +A1[1]: + Vehicle name : + Automobile + Sensor locations : + Roof diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_enum.ddl b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_enum.ddl new file mode 100644 index 0000000..c7f303d --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_enum.ddl @@ -0,0 +1,20 @@ +HDF5 "h5ex_t_enum.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_ENUM { + H5T_STD_I16BE; + "SOLID" 0; + "LIQUID" 1; + "GAS" 2; + "PLASMA" 3; + } + DATASPACE SIMPLE { ( 4, 7 ) / ( 4, 7 ) } + DATA { + (0,0): SOLID, SOLID, SOLID, SOLID, SOLID, SOLID, SOLID, + (1,0): SOLID, LIQUID, GAS, PLASMA, SOLID, LIQUID, GAS, + (2,0): SOLID, GAS, SOLID, GAS, SOLID, GAS, SOLID, + (3,0): SOLID, PLASMA, GAS, LIQUID, SOLID, PLASMA, GAS + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_enum.tst b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_enum.tst new file mode 100644 index 0000000..ee94ae6 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_enum.tst @@ -0,0 +1,5 @@ +DS1: + [ SOLID SOLID SOLID SOLID SOLID SOLID SOLID ] + [ SOLID LIQUID GAS PLASMA SOLID LIQUID GAS ] + [ SOLID GAS SOLID GAS SOLID GAS SOLID ] + [ SOLID PLASMA GAS LIQUID SOLID PLASMA GAS ] diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_enumatt.ddl b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_enumatt.ddl new file mode 100644 index 0000000..d37d083 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_enumatt.ddl @@ -0,0 +1,27 @@ +HDF5 "h5ex_t_enumatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE SCALAR + DATA { + (0): 0 + } + ATTRIBUTE "A1" { + DATATYPE H5T_ENUM { + H5T_STD_I16BE; + "SOLID" 0; + "LIQUID" 1; + "GAS" 2; + "PLASMA" 3; + } + DATASPACE SIMPLE { ( 4, 7 ) / ( 4, 7 ) } + DATA { + (0,0): SOLID, SOLID, SOLID, SOLID, SOLID, SOLID, SOLID, + (1,0): SOLID, LIQUID, GAS, PLASMA, SOLID, LIQUID, GAS, + (2,0): SOLID, GAS, SOLID, GAS, SOLID, GAS, SOLID, + (3,0): SOLID, PLASMA, GAS, LIQUID, SOLID, PLASMA, GAS + } + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_enumatt.tst b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_enumatt.tst new file mode 100644 index 0000000..73a22f5 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_enumatt.tst @@ -0,0 +1,5 @@ +A1: + [ SOLID SOLID SOLID SOLID SOLID SOLID SOLID ] + [ SOLID LIQUID GAS PLASMA SOLID LIQUID GAS ] + [ SOLID GAS SOLID GAS SOLID GAS SOLID ] + [ SOLID PLASMA GAS LIQUID SOLID PLASMA GAS ] diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_float.ddl b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_float.ddl new file mode 100644 index 0000000..0f9c9da --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_float.ddl @@ -0,0 +1,14 @@ +HDF5 "h5ex_t_float.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_IEEE_F64LE + DATASPACE SIMPLE { ( 4, 7 ) / ( 4, 7 ) } + DATA { + (0,0): 0, 1, 2, 3, 4, 5, 6, + (1,0): 2, 1.66667, 2.4, 3.28571, 4.22222, 5.18182, 6.15385, + (2,0): 4, 2.33333, 2.8, 3.57143, 4.44444, 5.36364, 6.30769, + (3,0): 6, 3, 3.2, 3.85714, 4.66667, 5.54545, 6.46154 + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_float.tst b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_float.tst new file mode 100644 index 0000000..89b963c --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_float.tst @@ -0,0 +1,5 @@ +DS1: + [ 0.0000 1.0000 2.0000 3.0000 4.0000 5.0000 6.0000] + [ 2.0000 1.6667 2.4000 3.2857 4.2222 5.1818 6.1538] + [ 4.0000 2.3333 2.8000 3.5714 4.4444 5.3636 6.3077] + [ 6.0000 3.0000 3.2000 3.8571 4.6667 5.5455 6.4615] diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_floatatt.ddl b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_floatatt.ddl new file mode 100644 index 0000000..b875f44 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_floatatt.ddl @@ -0,0 +1,21 @@ +HDF5 "h5ex_t_floatatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE SCALAR + DATA { + (0): 0 + } + ATTRIBUTE "A1" { + DATATYPE H5T_IEEE_F64LE + DATASPACE SIMPLE { ( 4, 7 ) / ( 4, 7 ) } + DATA { + (0,0): 0, 1, 2, 3, 4, 5, 6, + (1,0): 2, 1.66667, 2.4, 3.28571, 4.22222, 5.18182, 6.15385, + (2,0): 4, 2.33333, 2.8, 3.57143, 4.44444, 5.36364, 6.30769, + (3,0): 6, 3, 3.2, 3.85714, 4.66667, 5.54545, 6.46154 + } + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_floatatt.tst b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_floatatt.tst new file mode 100644 index 0000000..ee96460 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_floatatt.tst @@ -0,0 +1,5 @@ +A1: + [ 0.0000 1.0000 2.0000 3.0000 4.0000 5.0000 6.0000] + [ 2.0000 1.6667 2.4000 3.2857 4.2222 5.1818 6.1538] + [ 4.0000 2.3333 2.8000 3.5714 4.4444 5.3636 6.3077] + [ 6.0000 3.0000 3.2000 3.8571 4.6667 5.5455 6.4615] diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_int.ddl b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_int.ddl new file mode 100644 index 0000000..ad45d9e --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_int.ddl @@ -0,0 +1,14 @@ +HDF5 "h5ex_t_int.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I64BE + DATASPACE SIMPLE { ( 4, 7 ) / ( 4, 7 ) } + DATA { + (0,0): 0, -1, -2, -3, -4, -5, -6, + (1,0): 0, 0, 0, 0, 0, 0, 0, + (2,0): 0, 1, 2, 3, 4, 5, 6, + (3,0): 0, 2, 4, 6, 8, 10, 12 + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_int.tst b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_int.tst new file mode 100644 index 0000000..7d867d5 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_int.tst @@ -0,0 +1,5 @@ +DS1: + [ 0 -1 -2 -3 -4 -5 -6] + [ 0 0 0 0 0 0 0] + [ 0 1 2 3 4 5 6] + [ 0 2 4 6 8 10 12] diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_intatt.ddl b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_intatt.ddl new file mode 100644 index 0000000..1aba9bb --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_intatt.ddl @@ -0,0 +1,21 @@ +HDF5 "h5ex_t_intatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE SCALAR + DATA { + (0): 0 + } + ATTRIBUTE "A1" { + DATATYPE H5T_STD_I64BE + DATASPACE SIMPLE { ( 4, 7 ) / ( 4, 7 ) } + DATA { + (0,0): 0, -1, -2, -3, -4, -5, -6, + (1,0): 0, 0, 0, 0, 0, 0, 0, + (2,0): 0, 1, 2, 3, 4, 5, 6, + (3,0): 0, 2, 4, 6, 8, 10, 12 + } + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_intatt.tst b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_intatt.tst new file mode 100644 index 0000000..8959a48 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_intatt.tst @@ -0,0 +1,5 @@ +A1: + [ 0 -1 -2 -3 -4 -5 -6] + [ 0 0 0 0 0 0 0] + [ 0 1 2 3 4 5 6] + [ 0 2 4 6 8 10 12] diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_objref.ddl b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_objref.ddl new file mode 100644 index 0000000..2b4afb2 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_objref.ddl @@ -0,0 +1,26 @@ +HDF5 "h5ex_t_objref.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_REFERENCE { H5T_STD_REF_OBJECT } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + GROUP 1400 "/G1" + DATA { + } + DATASET 800 "/DS2" + DATA { + (0): 0 + } + } + } + DATASET "DS2" { + DATATYPE H5T_STD_I32LE + DATASPACE SCALAR + DATA { + (0): 0 + } + } + GROUP "G1" { + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_objref.tst b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_objref.tst new file mode 100644 index 0000000..ba11ebb --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_objref.tst @@ -0,0 +1,4 @@ +DS1[0]: + ->Group: /G1 +DS1[1]: + ->Dataset: /DS2 diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_objrefatt.ddl b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_objrefatt.ddl new file mode 100644 index 0000000..1d73a6a --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_objrefatt.ddl @@ -0,0 +1,33 @@ +HDF5 "h5ex_t_objrefatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE SCALAR + DATA { + (0): 0 + } + ATTRIBUTE "A1" { + DATATYPE H5T_REFERENCE { H5T_STD_REF_OBJECT } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + GROUP 1400 "/G1" + DATA { + } + DATASET 800 "/DS2" + DATA { + (0): 0 + } + } + } + } + DATASET "DS2" { + DATATYPE H5T_STD_I32LE + DATASPACE SCALAR + DATA { + (0): 0 + } + } + GROUP "G1" { + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_objrefatt.tst b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_objrefatt.tst new file mode 100644 index 0000000..7ea98e3 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_objrefatt.tst @@ -0,0 +1,4 @@ +A1[0]: + ->Group: /G1 +A1[1]: + ->Dataset: /DS2 diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_opaque.ddl b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_opaque.ddl new file mode 100644 index 0000000..124d1aa --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_opaque.ddl @@ -0,0 +1,14 @@ +HDF5 "h5ex_t_opaque.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_OPAQUE { + OPAQUE_TAG "Character array"; + } + DATASPACE SIMPLE { ( 4 ) / ( 4 ) } + DATA { + (0): 4f:50:41:51:55:45:30, 4f:50:41:51:55:45:31, 4f:50:41:51:55:45:32, + (3): 4f:50:41:51:55:45:33 + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_opaque.tst b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_opaque.tst new file mode 100644 index 0000000..9c3ad12 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_opaque.tst @@ -0,0 +1,5 @@ +Datatype tag for DS1 is: "Character array" +DS1[0]: OPAQUE0 +DS1[1]: OPAQUE1 +DS1[2]: OPAQUE2 +DS1[3]: OPAQUE3 diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_opaqueatt.ddl b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_opaqueatt.ddl new file mode 100644 index 0000000..8f8de10 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_opaqueatt.ddl @@ -0,0 +1,21 @@ +HDF5 "h5ex_t_opaqueatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE SCALAR + DATA { + (0): 0 + } + ATTRIBUTE "A1" { + DATATYPE H5T_OPAQUE { + OPAQUE_TAG "Character array"; + } + DATASPACE SIMPLE { ( 4 ) / ( 4 ) } + DATA { + (0): 4f:50:41:51:55:45:30, 4f:50:41:51:55:45:31, + (2): 4f:50:41:51:55:45:32, 4f:50:41:51:55:45:33 + } + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_opaqueatt.tst b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_opaqueatt.tst new file mode 100644 index 0000000..2acf16a --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_opaqueatt.tst @@ -0,0 +1,5 @@ +Datatype tag for A1 is: "Character array" +A1[0]: OPAQUE0 +A1[1]: OPAQUE1 +A1[2]: OPAQUE2 +A1[3]: OPAQUE3 diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_regref.ddl b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_regref.ddl new file mode 100644 index 0000000..7a69f72 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_regref.ddl @@ -0,0 +1,33 @@ +HDF5 "h5ex_t_regref.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_REFERENCE { H5T_STD_REF_DSETREG } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + DATASET "/DS2"{ + REGION_TYPE POINT (0,1), (2,11), (1,0), (2,4) + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 3, 16 ) / ( 3, 16 ) } + } + DATASET "/DS2" { + REGION_TYPE BLOCK (0,0)-(0,2), (0,11)-(0,13), (2,0)-(2,2), + (2,11)-(2,13) + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 3, 16 ) / ( 3, 16 ) } + } + } + } + DATASET "DS2" { + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 3, 16 ) / ( 3, 16 ) } + DATA { + (0,0): 84, 104, 101, 32, 113, 117, 105, 99, 107, 32, 98, 114, 111, 119, + (0,14): 110, 0, + (1,0): 102, 111, 120, 32, 106, 117, 109, 112, 115, 32, 111, 118, 101, + (1,13): 114, 32, 0, + (2,0): 116, 104, 101, 32, 53, 32, 108, 97, 122, 121, 32, 100, 111, 103, + (2,14): 115, 0 + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_regref.tst b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_regref.tst new file mode 100644 index 0000000..63c1f9e --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_regref.tst @@ -0,0 +1,4 @@ +DS1[0]: + -> /DS2: hdf5 +DS1[1]: + -> /DS2: Therowthedog diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_regrefatt.ddl b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_regrefatt.ddl new file mode 100644 index 0000000..b161fe2 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_regrefatt.ddl @@ -0,0 +1,40 @@ +HDF5 "h5ex_t_regrefatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE SCALAR + DATA { + (0): 0 + } + ATTRIBUTE "A1" { + DATATYPE H5T_REFERENCE { H5T_STD_REF_DSETREG } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + DATASET "/DS2"{ + REGION_TYPE POINT (0,1), (2,11), (1,0), (2,4) + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 3, 16 ) / ( 3, 16 ) } + } + DATASET "/DS2" { + REGION_TYPE BLOCK (0,0)-(0,2), (0,11)-(0,13), (2,0)-(2,2), + (2,11)-(2,13) + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 3, 16 ) / ( 3, 16 ) } + } + } + } + } + DATASET "DS2" { + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 3, 16 ) / ( 3, 16 ) } + DATA { + (0,0): 84, 104, 101, 32, 113, 117, 105, 99, 107, 32, 98, 114, 111, 119, + (0,14): 110, 0, + (1,0): 102, 111, 120, 32, 106, 117, 109, 112, 115, 32, 111, 118, 101, + (1,13): 114, 32, 0, + (2,0): 116, 104, 101, 32, 53, 32, 108, 97, 122, 121, 32, 100, 111, 103, + (2,14): 115, 0 + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_regrefatt.tst b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_regrefatt.tst new file mode 100644 index 0000000..d50fc76 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_regrefatt.tst @@ -0,0 +1,4 @@ +A1[0]: + -> /DS2: hdf5 +A1[1]: + -> /DS2: Therowthedog diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_string.ddl b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_string.ddl new file mode 100644 index 0000000..6a1262a --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_string.ddl @@ -0,0 +1,16 @@ +HDF5 "h5ex_t_string.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STRING { + STRSIZE 7; + STRPAD H5T_STR_SPACEPAD; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SIMPLE { ( 4 ) / ( 4 ) } + DATA { + (0): "Parting", "is such", "sweet ", "sorrow." + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_string.tst b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_string.tst new file mode 100644 index 0000000..9516b1a --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_string.tst @@ -0,0 +1,4 @@ +DS1[0]: Parting +DS1[1]: is such +DS1[2]: sweet +DS1[3]: sorrow. diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_stringatt.ddl b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_stringatt.ddl new file mode 100644 index 0000000..eb651fb --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_stringatt.ddl @@ -0,0 +1,23 @@ +HDF5 "h5ex_t_stringatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE SCALAR + DATA { + (0): 0 + } + ATTRIBUTE "A1" { + DATATYPE H5T_STRING { + STRSIZE 7; + STRPAD H5T_STR_SPACEPAD; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SIMPLE { ( 4 ) / ( 4 ) } + DATA { + (0): "Parting", "is such", "sweet ", "sorrow." + } + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_stringatt.tst b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_stringatt.tst new file mode 100644 index 0000000..1365c6a --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_stringatt.tst @@ -0,0 +1,4 @@ +A1[0]: Parting +A1[1]: is such +A1[2]: sweet +A1[3]: sorrow. diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_vlen.ddl b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_vlen.ddl new file mode 100644 index 0000000..53f4863 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_vlen.ddl @@ -0,0 +1,11 @@ +HDF5 "h5ex_t_vlen.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_VLEN { H5T_STD_I32LE} + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): (3, 2, 1), (1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144) + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_vlen.tst b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_vlen.tst new file mode 100644 index 0000000..f11bf93 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_vlen.tst @@ -0,0 +1,4 @@ +DS1[0]: + { 3, 2, 1 } +DS1[1]: + { 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144 } diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_vlenatt.ddl b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_vlenatt.ddl new file mode 100644 index 0000000..cd6aa69 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_vlenatt.ddl @@ -0,0 +1,18 @@ +HDF5 "h5ex_t_vlenatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE SCALAR + DATA { + (0): 0 + } + ATTRIBUTE "A1" { + DATATYPE H5T_VLEN { H5T_STD_I32LE} + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): (3, 2, 1), (1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144) + } + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_vlenatt.tst b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_vlenatt.tst new file mode 100644 index 0000000..4709eda --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_vlenatt.tst @@ -0,0 +1,4 @@ +A1[0]: + { 3, 2, 1 } +A1[1]: + { 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144 } diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_vlstring.ddl b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_vlstring.ddl new file mode 100644 index 0000000..dc79af1 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_vlstring.ddl @@ -0,0 +1,16 @@ +HDF5 "h5ex_t_vlstring.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STRING { + STRSIZE H5T_VARIABLE; + STRPAD H5T_STR_SPACEPAD; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SIMPLE { ( 4 ) / ( 4 ) } + DATA { + (0): "Parting", "is such", "sweet", "sorrow." + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_vlstring.tst b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_vlstring.tst new file mode 100644 index 0000000..9516b1a --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_vlstring.tst @@ -0,0 +1,4 @@ +DS1[0]: Parting +DS1[1]: is such +DS1[2]: sweet +DS1[3]: sorrow. diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_vlstringatt.ddl b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_vlstringatt.ddl new file mode 100644 index 0000000..5f99d21 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_vlstringatt.ddl @@ -0,0 +1,23 @@ +HDF5 "h5ex_t_vlstringatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE SCALAR + DATA { + (0): 0 + } + ATTRIBUTE "A1" { + DATATYPE H5T_STRING { + STRSIZE H5T_VARIABLE; + STRPAD H5T_STR_SPACEPAD; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SIMPLE { ( 4 ) / ( 4 ) } + DATA { + (0): "Parting", "is such", "sweet", "sorrow." + } + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/16/h5ex_t_vlstringatt.tst b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_vlstringatt.tst new file mode 100644 index 0000000..1365c6a --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/16/h5ex_t_vlstringatt.tst @@ -0,0 +1,4 @@ +A1[0]: Parting +A1[1]: is such +A1[2]: sweet +A1[3]: sorrow. diff --git a/HDF5Examples/C/H5T/tfiles/18/112/h5ex_t_objref.ddl b/HDF5Examples/C/H5T/tfiles/18/112/h5ex_t_objref.ddl new file mode 100644 index 0000000..03d74d8 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/112/h5ex_t_objref.ddl @@ -0,0 +1,22 @@ +HDF5 "h5ex_t_objref.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_REFERENCE { H5T_STD_REF_OBJECT } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + GROUP "h5ex_t_objref.h5/G1" + DATASET "h5ex_t_objref.h5/DS2" + DATA { + } + } + } + DATASET "DS2" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + } + GROUP "G1" { + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/18/112/h5ex_t_objrefatt.ddl b/HDF5Examples/C/H5T/tfiles/18/112/h5ex_t_objrefatt.ddl new file mode 100644 index 0000000..dd9db18 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/112/h5ex_t_objrefatt.ddl @@ -0,0 +1,28 @@ +HDF5 "h5ex_t_objrefatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + ATTRIBUTE "A1" { + DATATYPE H5T_REFERENCE { H5T_STD_REF_OBJECT } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + GROUP "h5ex_t_objrefatt.h5/G1" + DATASET "h5ex_t_objrefatt.h5/DS2" + DATA { + } + } + } + } + DATASET "DS2" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + } + GROUP "G1" { + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/18/112/h5ex_t_regref.ddl b/HDF5Examples/C/H5T/tfiles/18/112/h5ex_t_regref.ddl new file mode 100644 index 0000000..14e1887 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/112/h5ex_t_regref.ddl @@ -0,0 +1,33 @@ +HDF5 "h5ex_t_regref.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_REFERENCE { H5T_STD_REF_DSETREG } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + DATASET "h5ex_t_regref.h5/DS2"{ + REGION_TYPE POINT (0,1), (2,11), (1,0), (2,4) + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 3, 16 ) / ( 3, 16 ) } + } + DATASET "h5ex_t_regref.h5/DS2" { + REGION_TYPE BLOCK (0,0)-(0,2), (0,11)-(0,13), (2,0)-(2,2), + (2,11)-(2,13) + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 3, 16 ) / ( 3, 16 ) } + } + } + } + DATASET "DS2" { + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 3, 16 ) / ( 3, 16 ) } + DATA { + (0,0): 84, 104, 101, 32, 113, 117, 105, 99, 107, 32, 98, 114, 111, 119, + (0,14): 110, 0, + (1,0): 102, 111, 120, 32, 106, 117, 109, 112, 115, 32, 111, 118, 101, + (1,13): 114, 32, 0, + (2,0): 116, 104, 101, 32, 53, 32, 108, 97, 122, 121, 32, 100, 111, 103, + (2,14): 115, 0 + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/18/112/h5ex_t_regrefatt.ddl b/HDF5Examples/C/H5T/tfiles/18/112/h5ex_t_regrefatt.ddl new file mode 100644 index 0000000..1bf51b0 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/112/h5ex_t_regrefatt.ddl @@ -0,0 +1,39 @@ +HDF5 "h5ex_t_regrefatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + ATTRIBUTE "A1" { + DATATYPE H5T_REFERENCE { H5T_STD_REF_DSETREG } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + DATASET "h5ex_t_regrefatt.h5/DS2"{ + REGION_TYPE POINT (0,1), (2,11), (1,0), (2,4) + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 3, 16 ) / ( 3, 16 ) } + } + DATASET "h5ex_t_regrefatt.h5/DS2" { + REGION_TYPE BLOCK (0,0)-(0,2), (0,11)-(0,13), (2,0)-(2,2), + (2,11)-(2,13) + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 3, 16 ) / ( 3, 16 ) } + } + } + } + } + DATASET "DS2" { + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 3, 16 ) / ( 3, 16 ) } + DATA { + (0,0): 84, 104, 101, 32, 113, 117, 105, 99, 107, 32, 98, 114, 111, 119, + (0,14): 110, 0, + (1,0): 102, 111, 120, 32, 106, 117, 109, 112, 115, 32, 111, 118, 101, + (1,13): 114, 32, 0, + (2,0): 116, 104, 101, 32, 53, 32, 108, 97, 122, 121, 32, 100, 111, 103, + (2,14): 115, 0 + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/18/h5ex_t_array.ddl b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_array.ddl new file mode 100644 index 0000000..44d8233 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_array.ddl @@ -0,0 +1,22 @@ +HDF5 "h5ex_t_array.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_ARRAY { [3][5] H5T_STD_I64LE } + DATASPACE SIMPLE { ( 4 ) / ( 4 ) } + DATA { + (0): [ 0, 0, 0, 0, 0, + 0, -1, -2, -3, -4, + 0, -2, -4, -6, -8 ], + (1): [ 0, 1, 2, 3, 4, + 1, 1, 1, 1, 1, + 2, 1, 0, -1, -2 ], + (2): [ 0, 2, 4, 6, 8, + 2, 3, 4, 5, 6, + 4, 4, 4, 4, 4 ], + (3): [ 0, 3, 6, 9, 12, + 3, 5, 7, 9, 11, + 6, 7, 8, 9, 10 ] + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/18/h5ex_t_arrayatt.ddl b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_arrayatt.ddl new file mode 100644 index 0000000..9b6a209 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_arrayatt.ddl @@ -0,0 +1,28 @@ +HDF5 "h5ex_t_arrayatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + ATTRIBUTE "A1" { + DATATYPE H5T_ARRAY { [3][5] H5T_STD_I64LE } + DATASPACE SIMPLE { ( 4 ) / ( 4 ) } + DATA { + (0): [ 0, 0, 0, 0, 0, + 0, -1, -2, -3, -4, + 0, -2, -4, -6, -8 ], + (1): [ 0, 1, 2, 3, 4, + 1, 1, 1, 1, 1, + 2, 1, 0, -1, -2 ], + (2): [ 0, 2, 4, 6, 8, + 2, 3, 4, 5, 6, + 4, 4, 4, 4, 4 ], + (3): [ 0, 3, 6, 9, 12, + 3, 5, 7, 9, 11, + 6, 7, 8, 9, 10 ] + } + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/18/h5ex_t_bit.ddl b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_bit.ddl new file mode 100644 index 0000000..0d88583 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_bit.ddl @@ -0,0 +1,14 @@ +HDF5 "h5ex_t_bit.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_B8BE + DATASPACE SIMPLE { ( 4, 7 ) / ( 4, 7 ) } + DATA { + (0,0): 0x00, 0x53, 0xa2, 0xf1, 0x00, 0x53, 0xa2, + (1,0): 0x44, 0x94, 0xe4, 0x34, 0x44, 0x94, 0xe4, + (2,0): 0x88, 0xd9, 0x2a, 0x7b, 0x88, 0xd9, 0x2a, + (3,0): 0xcc, 0x1e, 0x6c, 0xbe, 0xcc, 0x1e, 0x6c + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/18/h5ex_t_bitatt.ddl b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_bitatt.ddl new file mode 100644 index 0000000..f56e12d --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_bitatt.ddl @@ -0,0 +1,20 @@ +HDF5 "h5ex_t_bitatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + ATTRIBUTE "A1" { + DATATYPE H5T_STD_B8BE + DATASPACE SIMPLE { ( 4, 7 ) / ( 4, 7 ) } + DATA { + (0,0): 0x00, 0x53, 0xa2, 0xf1, 0x00, 0x53, 0xa2, + (1,0): 0x44, 0x94, 0xe4, 0x34, 0x44, 0x94, 0xe4, + (2,0): 0x88, 0xd9, 0x2a, 0x7b, 0x88, 0xd9, 0x2a, + (3,0): 0xcc, 0x1e, 0x6c, 0xbe, 0xcc, 0x1e, 0x6c + } + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/18/h5ex_t_cmpd.ddl b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_cmpd.ddl new file mode 100644 index 0000000..7a06ae1 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_cmpd.ddl @@ -0,0 +1,44 @@ +HDF5 "h5ex_t_cmpd.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_COMPOUND { + H5T_STD_I64BE "Serial number"; + H5T_STRING { + STRSIZE H5T_VARIABLE; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } "Location"; + H5T_IEEE_F64BE "Temperature (F)"; + H5T_IEEE_F64BE "Pressure (inHg)"; + } + DATASPACE SIMPLE { ( 4 ) / ( 4 ) } + DATA { + (0): { + 1153, + "Exterior (static)", + 53.23, + 24.57 + }, + (1): { + 1184, + "Intake", + 55.12, + 22.95 + }, + (2): { + 1027, + "Intake manifold", + 103.55, + 31.23 + }, + (3): { + 1313, + "Exhaust manifold", + 1252.89, + 84.11 + } + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/18/h5ex_t_cmpdatt.ddl b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_cmpdatt.ddl new file mode 100644 index 0000000..2c0ff93 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_cmpdatt.ddl @@ -0,0 +1,50 @@ +HDF5 "h5ex_t_cmpdatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + ATTRIBUTE "A1" { + DATATYPE H5T_COMPOUND { + H5T_STD_I64BE "Serial number"; + H5T_STRING { + STRSIZE H5T_VARIABLE; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } "Location"; + H5T_IEEE_F64BE "Temperature (F)"; + H5T_IEEE_F64BE "Pressure (inHg)"; + } + DATASPACE SIMPLE { ( 4 ) / ( 4 ) } + DATA { + (0): { + 1153, + "Exterior (static)", + 53.23, + 24.57 + }, + (1): { + 1184, + "Intake", + 55.12, + 22.95 + }, + (2): { + 1027, + "Intake manifold", + 103.55, + 31.23 + }, + (3): { + 1313, + "Exhaust manifold", + 1252.89, + 84.11 + } + } + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/18/h5ex_t_commit.ddl b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_commit.ddl new file mode 100644 index 0000000..fd0495d --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_commit.ddl @@ -0,0 +1,15 @@ +HDF5 "h5ex_t_commit.h5" { +GROUP "/" { + DATATYPE "Sensor_Type" H5T_COMPOUND { + H5T_STD_I64BE "Serial number"; + H5T_STRING { + STRSIZE H5T_VARIABLE; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } "Location"; + H5T_IEEE_F64BE "Temperature (F)"; + H5T_IEEE_F64BE "Pressure (inHg)"; + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/18/h5ex_t_cpxcmpd.ddl b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_cpxcmpd.ddl new file mode 100644 index 0000000..3c5c8c8 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_cpxcmpd.ddl @@ -0,0 +1,9 @@ +HDF5 "h5ex_t_cpxcmpd.h5" { +FILE_CONTENTS { + group / + group /Air_Vehicles + dataset /Ambient_Temperature + dataset /DS1 + group /Land_Vehicles + } +} diff --git a/HDF5Examples/C/H5T/tfiles/18/h5ex_t_cpxcmpdatt.ddl b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_cpxcmpdatt.ddl new file mode 100644 index 0000000..fcdfcff --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_cpxcmpdatt.ddl @@ -0,0 +1,9 @@ +HDF5 "h5ex_t_cpxcmpdatt.h5" { +FILE_CONTENTS { + group / + group /Air_Vehicles + dataset /Ambient_Temperature + dataset /DS1 + group /Land_Vehicles + } +} diff --git a/HDF5Examples/C/H5T/tfiles/18/h5ex_t_enum.ddl b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_enum.ddl new file mode 100644 index 0000000..c7f303d --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_enum.ddl @@ -0,0 +1,20 @@ +HDF5 "h5ex_t_enum.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_ENUM { + H5T_STD_I16BE; + "SOLID" 0; + "LIQUID" 1; + "GAS" 2; + "PLASMA" 3; + } + DATASPACE SIMPLE { ( 4, 7 ) / ( 4, 7 ) } + DATA { + (0,0): SOLID, SOLID, SOLID, SOLID, SOLID, SOLID, SOLID, + (1,0): SOLID, LIQUID, GAS, PLASMA, SOLID, LIQUID, GAS, + (2,0): SOLID, GAS, SOLID, GAS, SOLID, GAS, SOLID, + (3,0): SOLID, PLASMA, GAS, LIQUID, SOLID, PLASMA, GAS + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/18/h5ex_t_enumatt.ddl b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_enumatt.ddl new file mode 100644 index 0000000..c463cdf --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_enumatt.ddl @@ -0,0 +1,26 @@ +HDF5 "h5ex_t_enumatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + ATTRIBUTE "A1" { + DATATYPE H5T_ENUM { + H5T_STD_I16BE; + "SOLID" 0; + "LIQUID" 1; + "GAS" 2; + "PLASMA" 3; + } + DATASPACE SIMPLE { ( 4, 7 ) / ( 4, 7 ) } + DATA { + (0,0): SOLID, SOLID, SOLID, SOLID, SOLID, SOLID, SOLID, + (1,0): SOLID, LIQUID, GAS, PLASMA, SOLID, LIQUID, GAS, + (2,0): SOLID, GAS, SOLID, GAS, SOLID, GAS, SOLID, + (3,0): SOLID, PLASMA, GAS, LIQUID, SOLID, PLASMA, GAS + } + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/18/h5ex_t_float.ddl b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_float.ddl new file mode 100644 index 0000000..0f9c9da --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_float.ddl @@ -0,0 +1,14 @@ +HDF5 "h5ex_t_float.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_IEEE_F64LE + DATASPACE SIMPLE { ( 4, 7 ) / ( 4, 7 ) } + DATA { + (0,0): 0, 1, 2, 3, 4, 5, 6, + (1,0): 2, 1.66667, 2.4, 3.28571, 4.22222, 5.18182, 6.15385, + (2,0): 4, 2.33333, 2.8, 3.57143, 4.44444, 5.36364, 6.30769, + (3,0): 6, 3, 3.2, 3.85714, 4.66667, 5.54545, 6.46154 + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/18/h5ex_t_floatatt.ddl b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_floatatt.ddl new file mode 100644 index 0000000..ec110e9 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_floatatt.ddl @@ -0,0 +1,20 @@ +HDF5 "h5ex_t_floatatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + ATTRIBUTE "A1" { + DATATYPE H5T_IEEE_F64LE + DATASPACE SIMPLE { ( 4, 7 ) / ( 4, 7 ) } + DATA { + (0,0): 0, 1, 2, 3, 4, 5, 6, + (1,0): 2, 1.66667, 2.4, 3.28571, 4.22222, 5.18182, 6.15385, + (2,0): 4, 2.33333, 2.8, 3.57143, 4.44444, 5.36364, 6.30769, + (3,0): 6, 3, 3.2, 3.85714, 4.66667, 5.54545, 6.46154 + } + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/18/h5ex_t_int.ddl b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_int.ddl new file mode 100644 index 0000000..ad45d9e --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_int.ddl @@ -0,0 +1,14 @@ +HDF5 "h5ex_t_int.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I64BE + DATASPACE SIMPLE { ( 4, 7 ) / ( 4, 7 ) } + DATA { + (0,0): 0, -1, -2, -3, -4, -5, -6, + (1,0): 0, 0, 0, 0, 0, 0, 0, + (2,0): 0, 1, 2, 3, 4, 5, 6, + (3,0): 0, 2, 4, 6, 8, 10, 12 + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/18/h5ex_t_intatt.ddl b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_intatt.ddl new file mode 100644 index 0000000..42cdd72 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_intatt.ddl @@ -0,0 +1,20 @@ +HDF5 "h5ex_t_intatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + ATTRIBUTE "A1" { + DATATYPE H5T_STD_I64BE + DATASPACE SIMPLE { ( 4, 7 ) / ( 4, 7 ) } + DATA { + (0,0): 0, -1, -2, -3, -4, -5, -6, + (1,0): 0, 0, 0, 0, 0, 0, 0, + (2,0): 0, 1, 2, 3, 4, 5, 6, + (3,0): 0, 2, 4, 6, 8, 10, 12 + } + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/18/h5ex_t_objref.ddl b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_objref.ddl new file mode 100644 index 0000000..6b1e32c --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_objref.ddl @@ -0,0 +1,24 @@ +HDF5 "h5ex_t_objref.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_REFERENCE { H5T_STD_REF_OBJECT } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + GROUP 1400 "/G1" + DATA { + } + DATASET 800 "/DS2" + DATA { + } + } + } + DATASET "DS2" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + } + GROUP "G1" { + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/18/h5ex_t_objref21.ddl b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_objref21.ddl new file mode 100644 index 0000000..6ca96c7 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_objref21.ddl @@ -0,0 +1,19 @@ +HDF5 "h5ex_t_objref.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_REFERENCE { H5T_STD_REF_OBJECT } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): GROUP 1400 /G1 , DATASET 800 /DS2 + } + } + DATASET "DS2" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + } + GROUP "G1" { + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/18/h5ex_t_objrefatt.ddl b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_objrefatt.ddl new file mode 100644 index 0000000..ad9c4bf --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_objrefatt.ddl @@ -0,0 +1,30 @@ +HDF5 "h5ex_t_objrefatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + ATTRIBUTE "A1" { + DATATYPE H5T_REFERENCE { H5T_STD_REF_OBJECT } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + GROUP 1400 "/G1" + DATA { + } + DATASET 800 "/DS2" + DATA { + } + } + } + } + DATASET "DS2" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + } + GROUP "G1" { + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/18/h5ex_t_objrefatt21.ddl b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_objrefatt21.ddl new file mode 100644 index 0000000..7bf57d4 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_objrefatt21.ddl @@ -0,0 +1,25 @@ +HDF5 "h5ex_t_objrefatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + ATTRIBUTE "A1" { + DATATYPE H5T_REFERENCE { H5T_STD_REF_OBJECT } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): GROUP 1400 /G1 , DATASET 800 /DS2 + } + } + } + DATASET "DS2" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + } + GROUP "G1" { + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/18/h5ex_t_opaque.ddl b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_opaque.ddl new file mode 100644 index 0000000..124d1aa --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_opaque.ddl @@ -0,0 +1,14 @@ +HDF5 "h5ex_t_opaque.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_OPAQUE { + OPAQUE_TAG "Character array"; + } + DATASPACE SIMPLE { ( 4 ) / ( 4 ) } + DATA { + (0): 4f:50:41:51:55:45:30, 4f:50:41:51:55:45:31, 4f:50:41:51:55:45:32, + (3): 4f:50:41:51:55:45:33 + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/18/h5ex_t_opaqueatt.ddl b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_opaqueatt.ddl new file mode 100644 index 0000000..97d6f5a --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_opaqueatt.ddl @@ -0,0 +1,20 @@ +HDF5 "h5ex_t_opaqueatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + ATTRIBUTE "A1" { + DATATYPE H5T_OPAQUE { + OPAQUE_TAG "Character array"; + } + DATASPACE SIMPLE { ( 4 ) / ( 4 ) } + DATA { + (0): 4f:50:41:51:55:45:30, 4f:50:41:51:55:45:31, + (2): 4f:50:41:51:55:45:32, 4f:50:41:51:55:45:33 + } + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/18/h5ex_t_regref.ddl b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_regref.ddl new file mode 100644 index 0000000..7a69f72 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_regref.ddl @@ -0,0 +1,33 @@ +HDF5 "h5ex_t_regref.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_REFERENCE { H5T_STD_REF_DSETREG } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + DATASET "/DS2"{ + REGION_TYPE POINT (0,1), (2,11), (1,0), (2,4) + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 3, 16 ) / ( 3, 16 ) } + } + DATASET "/DS2" { + REGION_TYPE BLOCK (0,0)-(0,2), (0,11)-(0,13), (2,0)-(2,2), + (2,11)-(2,13) + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 3, 16 ) / ( 3, 16 ) } + } + } + } + DATASET "DS2" { + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 3, 16 ) / ( 3, 16 ) } + DATA { + (0,0): 84, 104, 101, 32, 113, 117, 105, 99, 107, 32, 98, 114, 111, 119, + (0,14): 110, 0, + (1,0): 102, 111, 120, 32, 106, 117, 109, 112, 115, 32, 111, 118, 101, + (1,13): 114, 32, 0, + (2,0): 116, 104, 101, 32, 53, 32, 108, 97, 122, 121, 32, 100, 111, 103, + (2,14): 115, 0 + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/18/h5ex_t_regref21.ddl b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_regref21.ddl new file mode 100644 index 0000000..bbfe511 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_regref21.ddl @@ -0,0 +1,24 @@ +HDF5 "h5ex_t_regref.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_REFERENCE { H5T_STD_REF_DSETREG } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + DATASET /DS2 {(0,1), (2,11), (1,0), (2,4)}, + DATASET /DS2 {(0,0)-(0,2), (0,11)-(0,13), (2,0)-(2,2), (2,11)-(2,13)} + } + } + DATASET "DS2" { + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 3, 16 ) / ( 3, 16 ) } + DATA { + (0,0): 84, 104, 101, 32, 113, 117, 105, 99, 107, 32, 98, 114, 111, 119, + (0,14): 110, 0, + (1,0): 102, 111, 120, 32, 106, 117, 109, 112, 115, 32, 111, 118, 101, + (1,13): 114, 32, 0, + (2,0): 116, 104, 101, 32, 53, 32, 108, 97, 122, 121, 32, 100, 111, 103, + (2,14): 115, 0 + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/18/h5ex_t_regrefatt.ddl b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_regrefatt.ddl new file mode 100644 index 0000000..d12a164 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_regrefatt.ddl @@ -0,0 +1,39 @@ +HDF5 "h5ex_t_regrefatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + ATTRIBUTE "A1" { + DATATYPE H5T_REFERENCE { H5T_STD_REF_DSETREG } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + DATASET "/DS2"{ + REGION_TYPE POINT (0,1), (2,11), (1,0), (2,4) + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 3, 16 ) / ( 3, 16 ) } + } + DATASET "/DS2" { + REGION_TYPE BLOCK (0,0)-(0,2), (0,11)-(0,13), (2,0)-(2,2), + (2,11)-(2,13) + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 3, 16 ) / ( 3, 16 ) } + } + } + } + } + DATASET "DS2" { + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 3, 16 ) / ( 3, 16 ) } + DATA { + (0,0): 84, 104, 101, 32, 113, 117, 105, 99, 107, 32, 98, 114, 111, 119, + (0,14): 110, 0, + (1,0): 102, 111, 120, 32, 106, 117, 109, 112, 115, 32, 111, 118, 101, + (1,13): 114, 32, 0, + (2,0): 116, 104, 101, 32, 53, 32, 108, 97, 122, 121, 32, 100, 111, 103, + (2,14): 115, 0 + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/18/h5ex_t_regrefatt21.ddl b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_regrefatt21.ddl new file mode 100644 index 0000000..24811ae --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_regrefatt21.ddl @@ -0,0 +1,31 @@ +HDF5 "h5ex_t_regrefatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + ATTRIBUTE "A1" { + DATATYPE H5T_REFERENCE { H5T_STD_REF_DSETREG } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): DATASET /DS2 {(0,1), (2,11), (1,0), (2,4)}, + (1): DATASET /DS2 {(0,0)-(0,2), (0,11)-(0,13), (2,0)-(2,2), + (1): (2,11)-(2,13)} + } + } + } + DATASET "DS2" { + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 3, 16 ) / ( 3, 16 ) } + DATA { + (0,0): 84, 104, 101, 32, 113, 117, 105, 99, 107, 32, 98, 114, 111, 119, + (0,14): 110, 0, + (1,0): 102, 111, 120, 32, 106, 117, 109, 112, 115, 32, 111, 118, 101, + (1,13): 114, 32, 0, + (2,0): 116, 104, 101, 32, 53, 32, 108, 97, 122, 121, 32, 100, 111, 103, + (2,14): 115, 0 + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/18/h5ex_t_string.ddl b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_string.ddl new file mode 100644 index 0000000..6a1262a --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_string.ddl @@ -0,0 +1,16 @@ +HDF5 "h5ex_t_string.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STRING { + STRSIZE 7; + STRPAD H5T_STR_SPACEPAD; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SIMPLE { ( 4 ) / ( 4 ) } + DATA { + (0): "Parting", "is such", "sweet ", "sorrow." + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/18/h5ex_t_stringatt.ddl b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_stringatt.ddl new file mode 100644 index 0000000..0e0c7f4 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_stringatt.ddl @@ -0,0 +1,22 @@ +HDF5 "h5ex_t_stringatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + ATTRIBUTE "A1" { + DATATYPE H5T_STRING { + STRSIZE 7; + STRPAD H5T_STR_SPACEPAD; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SIMPLE { ( 4 ) / ( 4 ) } + DATA { + (0): "Parting", "is such", "sweet ", "sorrow." + } + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/18/h5ex_t_vlen.ddl b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_vlen.ddl new file mode 100644 index 0000000..53f4863 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_vlen.ddl @@ -0,0 +1,11 @@ +HDF5 "h5ex_t_vlen.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_VLEN { H5T_STD_I32LE} + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): (3, 2, 1), (1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144) + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/18/h5ex_t_vlenatt.ddl b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_vlenatt.ddl new file mode 100644 index 0000000..a2b32e8 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_vlenatt.ddl @@ -0,0 +1,17 @@ +HDF5 "h5ex_t_vlenatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + ATTRIBUTE "A1" { + DATATYPE H5T_VLEN { H5T_STD_I32LE} + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): (3, 2, 1), (1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144) + } + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/18/h5ex_t_vlstring.ddl b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_vlstring.ddl new file mode 100644 index 0000000..dc79af1 --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_vlstring.ddl @@ -0,0 +1,16 @@ +HDF5 "h5ex_t_vlstring.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STRING { + STRSIZE H5T_VARIABLE; + STRPAD H5T_STR_SPACEPAD; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SIMPLE { ( 4 ) / ( 4 ) } + DATA { + (0): "Parting", "is such", "sweet", "sorrow." + } + } +} +} diff --git a/HDF5Examples/C/H5T/tfiles/18/h5ex_t_vlstringatt.ddl b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_vlstringatt.ddl new file mode 100644 index 0000000..08e298b --- /dev/null +++ b/HDF5Examples/C/H5T/tfiles/18/h5ex_t_vlstringatt.ddl @@ -0,0 +1,22 @@ +HDF5 "h5ex_t_vlstringatt.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + ATTRIBUTE "A1" { + DATATYPE H5T_STRING { + STRSIZE H5T_VARIABLE; + STRPAD H5T_STR_SPACEPAD; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SIMPLE { ( 4 ) / ( 4 ) } + DATA { + (0): "Parting", "is such", "sweet", "sorrow." + } + } + } +} +} |