diff options
Diffstat (limited to 'HDF5Examples/FORTRAN/H5T/tfiles/18')
54 files changed, 871 insertions, 0 deletions
diff --git a/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_Cstring_F03.ddl b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_Cstring_F03.ddl new file mode 100644 index 0000000..57ecf00 --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_Cstring_F03.ddl @@ -0,0 +1,16 @@ +HDF5 "h5ex_t_Cstring_F03.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STRING { + STRSIZE 8; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SIMPLE { ( 4 ) / ( 4 ) } + DATA { + (0): "Parting", "is such", "sweet", "sorrow." + } + } +} +} diff --git a/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_Cstring_F03.tst b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_Cstring_F03.tst new file mode 100644 index 0000000..d199647 --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_Cstring_F03.tst @@ -0,0 +1,4 @@ +DS1(1): Parting +DS1(2): is such +DS1(3): sweet +DS1(4): sorrow. diff --git a/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_array_F03.ddl b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_array_F03.ddl new file mode 100644 index 0000000..3cbe305 --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_array_F03.ddl @@ -0,0 +1,30 @@ +HDF5 "h5ex_t_array_F03.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_ARRAY { [5][3] H5T_STD_I64LE } + DATASPACE SIMPLE { ( 4 ) / ( 4 ) } + DATA { + (0): [ 0, 0, 0, + 0, 0, 1, + 2, 3, 0, + 2, 4, 6, + 0, 1, 2 ], + (1): [ 3, -1, 1, + 3, 5, -2, + 1, 4, 7, + 0, 2, 4, + 6, -2, 1 ], + (2): [ 4, 7, -4, + 0, 4, 8, + 0, 3, 6, + 9, -3, 1, + 5, 9, -6 ], + (3): [ -1, 4, 9, + 0, 4, 8, + 12, -4, 1, + 6, 11, -8, + -2, 4, 10 ] + } + } +} +} diff --git a/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_array_F03.tst b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_array_F03.tst new file mode 100644 index 0000000..e6b874b --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_array_F03.tst @@ -0,0 +1,16 @@ +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/FORTRAN/H5T/tfiles/18/h5ex_t_arrayatt_F03.ddl b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_arrayatt_F03.ddl new file mode 100644 index 0000000..da09c03 --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_arrayatt_F03.ddl @@ -0,0 +1,36 @@ +HDF5 "h5ex_t_arrayatt_F03.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + ATTRIBUTE "A1" { + DATATYPE H5T_ARRAY { [5][3] H5T_STD_I64LE } + DATASPACE SIMPLE { ( 4 ) / ( 4 ) } + DATA { + (0): [ 0, 0, 0, + 0, 0, 1, + 2, 3, 0, + 2, 4, 6, + 0, 1, 2 ], + (1): [ 3, -1, 1, + 3, 5, -2, + 1, 4, 7, + 0, 2, 4, + 6, -2, 1 ], + (2): [ 4, 7, -4, + 0, 4, 8, + 0, 3, 6, + 9, -3, 1, + 5, 9, -6 ], + (3): [ -1, 4, 9, + 0, 4, 8, + 12, -4, 1, + 6, 11, -8, + -2, 4, 10 ] + } + } + } +} +} diff --git a/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_arrayatt_F03.tst b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_arrayatt_F03.tst new file mode 100644 index 0000000..54dbd6e --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_arrayatt_F03.tst @@ -0,0 +1,16 @@ +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/FORTRAN/H5T/tfiles/18/h5ex_t_bit_F03.ddl b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_bit_F03.ddl new file mode 100644 index 0000000..f8040a0 --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_bit_F03.ddl @@ -0,0 +1,17 @@ +HDF5 "h5ex_t_bit_F03.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_B8BE + DATASPACE SIMPLE { ( 7, 4 ) / ( 7, 4 ) } + DATA { + (0,0): 0x00, 0x44, 0x88, 0xcc, + (1,0): 0x53, 0x94, 0xd9, 0x1e, + (2,0): 0xa2, 0xe4, 0x2a, 0x6c, + (3,0): 0xf1, 0x34, 0x7b, 0xbe, + (4,0): 0x00, 0x44, 0x88, 0xcc, + (5,0): 0x53, 0x94, 0xd9, 0x1e, + (6,0): 0xa2, 0xe4, 0x2a, 0x6c + } + } +} +} diff --git a/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_bit_F03.tst b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_bit_F03.tst new file mode 100644 index 0000000..398dbce --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_bit_F03.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/FORTRAN/H5T/tfiles/18/h5ex_t_bitatt_F03.ddl b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_bitatt_F03.ddl new file mode 100644 index 0000000..727f9a8 --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_bitatt_F03.ddl @@ -0,0 +1,23 @@ +HDF5 "h5ex_t_bitatt_F03.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + ATTRIBUTE "A1" { + DATATYPE H5T_STD_B8BE + DATASPACE SIMPLE { ( 7, 4 ) / ( 7, 4 ) } + DATA { + (0,0): 0x00, 0x44, 0x88, 0xcc, + (1,0): 0x53, 0x94, 0xd9, 0x1e, + (2,0): 0xa2, 0xe4, 0x2a, 0x6c, + (3,0): 0xf1, 0x34, 0x7b, 0xbe, + (4,0): 0x00, 0x44, 0x88, 0xcc, + (5,0): 0x53, 0x94, 0xd9, 0x1e, + (6,0): 0xa2, 0xe4, 0x2a, 0x6c + } + } + } +} +} diff --git a/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_bitatt_F03.tst b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_bitatt_F03.tst new file mode 100644 index 0000000..adac7ce --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_bitatt_F03.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/FORTRAN/H5T/tfiles/18/h5ex_t_cmpd_F03.ddl b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_cmpd_F03.ddl new file mode 100644 index 0000000..cd3918c --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_cmpd_F03.ddl @@ -0,0 +1,44 @@ +HDF5 "h5ex_t_cmpd_F03.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_COMPOUND { + H5T_STD_I64BE "Serial number"; + H5T_STRING { + STRSIZE 80; + STRPAD H5T_STR_SPACEPAD; + 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/FORTRAN/H5T/tfiles/18/h5ex_t_cmpd_F03.tst b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_cmpd_F03.tst new file mode 100644 index 0000000..b0707c1 --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_cmpd_F03.tst @@ -0,0 +1,20 @@ +DS11: +Serial number : 1153 +Location : Exterior (static) +Temperature (F) : 53.23 +Pressure (inHg) : 24.57 +DS12: +Serial number : 1184 +Location : Intake +Temperature (F) : 55.12 +Pressure (inHg) : 22.95 +DS13: +Serial number : 1027 +Location : Intake manifold +Temperature (F) : 103.55 +Pressure (inHg) : 31.23 +DS14: +Serial number : 1313 +Location : Exhaust manifold +Temperature (F) : 1252.89 +Pressure (inHg) : 84.11 diff --git a/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_cmpdatt_F03.ddl b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_cmpdatt_F03.ddl new file mode 100644 index 0000000..1098deb --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_cmpdatt_F03.ddl @@ -0,0 +1,50 @@ +HDF5 "h5ex_t_cmpdatt_F03.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + ATTRIBUTE "A1" { + DATATYPE H5T_COMPOUND { + H5T_STD_I64BE "Serial number"; + H5T_STRING { + STRSIZE 80; + STRPAD H5T_STR_SPACEPAD; + 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/FORTRAN/H5T/tfiles/18/h5ex_t_cmpdatt_F03.tst b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_cmpdatt_F03.tst new file mode 100644 index 0000000..748b974 --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_cmpdatt_F03.tst @@ -0,0 +1,20 @@ +A11: +Serial number : 1153 +Location : Exterior (static) +Temperature (F) : 53.23 +Pressure (inHg) : 24.57 +A12: +Serial number : 1184 +Location : Intake +Temperature (F) : 55.12 +Pressure (inHg) : 22.95 +A13: +Serial number : 1027 +Location : Intake manifold +Temperature (F) : 103.55 +Pressure (inHg) : 31.23 +A14: +Serial number : 1313 +Location : Exhaust manifold +Temperature (F) : 1252.89 +Pressure (inHg) : 84.11 diff --git a/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_enum_F03.ddl b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_enum_F03.ddl new file mode 100644 index 0000000..8703172 --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_enum_F03.ddl @@ -0,0 +1,23 @@ +HDF5 "h5ex_t_enum_F03.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_ENUM { + H5T_STD_I16BE; + "SOLID" 0; + "LIQUID" 1; + "GAS" 2; + "PLASMA" 3; + } + DATASPACE SIMPLE { ( 7, 4 ) / ( 7, 4 ) } + DATA { + (0,0): SOLID, SOLID, SOLID, SOLID, + (1,0): SOLID, LIQUID, GAS, PLASMA, + (2,0): SOLID, GAS, SOLID, GAS, + (3,0): SOLID, PLASMA, GAS, LIQUID, + (4,0): SOLID, SOLID, SOLID, SOLID, + (5,0): SOLID, LIQUID, GAS, PLASMA, + (6,0): SOLID, GAS, SOLID, GAS + } + } +} +} diff --git a/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_enum_F03.tst b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_enum_F03.tst new file mode 100644 index 0000000..9bccf91 --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_enum_F03.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/FORTRAN/H5T/tfiles/18/h5ex_t_enumatt_F03.ddl b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_enumatt_F03.ddl new file mode 100644 index 0000000..0911e02 --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_enumatt_F03.ddl @@ -0,0 +1,29 @@ +HDF5 "h5ex_t_enumatt_F03.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 { ( 7, 4 ) / ( 7, 4 ) } + DATA { + (0,0): SOLID, SOLID, SOLID, SOLID, + (1,0): SOLID, LIQUID, GAS, PLASMA, + (2,0): SOLID, GAS, SOLID, GAS, + (3,0): SOLID, PLASMA, GAS, LIQUID, + (4,0): SOLID, SOLID, SOLID, SOLID, + (5,0): SOLID, LIQUID, GAS, PLASMA, + (6,0): SOLID, GAS, SOLID, GAS + } + } + } +} +} diff --git a/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_enumatt_F03.tst b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_enumatt_F03.tst new file mode 100644 index 0000000..94cb9d3 --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_enumatt_F03.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/FORTRAN/H5T/tfiles/18/h5ex_t_float_F03.ddl b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_float_F03.ddl new file mode 100644 index 0000000..d99abd5 --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_float_F03.ddl @@ -0,0 +1,17 @@ +HDF5 "h5ex_t_float_F03.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_IEEE_F64LE + DATASPACE SIMPLE { ( 7, 4 ) / ( 7, 4 ) } + DATA { + (0,0): 0, 2, 4, 6, + (1,0): 1, 1.66667, 2.33333, 3, + (2,0): 2, 2.4, 2.8, 3.2, + (3,0): 3, 3.28571, 3.57143, 3.85714, + (4,0): 4, 4.22222, 4.44444, 4.66667, + (5,0): 5, 5.18182, 5.36364, 5.54545, + (6,0): 6, 6.15385, 6.30769, 6.46154 + } + } +} +} diff --git a/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_float_F03.tst b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_float_F03.tst new file mode 100644 index 0000000..dc7299a --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_float_F03.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/FORTRAN/H5T/tfiles/18/h5ex_t_floatatt_F03.ddl b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_floatatt_F03.ddl new file mode 100644 index 0000000..cdac679 --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_floatatt_F03.ddl @@ -0,0 +1,23 @@ +HDF5 "h5ex_t_floatatt_F03.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + ATTRIBUTE "A1" { + DATATYPE H5T_IEEE_F64LE + DATASPACE SIMPLE { ( 7, 4 ) / ( 7, 4 ) } + DATA { + (0,0): 0, 2, 4, 6, + (1,0): 1, 1.66667, 2.33333, 3, + (2,0): 2, 2.4, 2.8, 3.2, + (3,0): 3, 3.28571, 3.57143, 3.85714, + (4,0): 4, 4.22222, 4.44444, 4.66667, + (5,0): 5, 5.18182, 5.36364, 5.54545, + (6,0): 6, 6.15385, 6.30769, 6.46154 + } + } + } +} +} diff --git a/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_floatatt_F03.tst b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_floatatt_F03.tst new file mode 100644 index 0000000..9f535ec --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_floatatt_F03.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/FORTRAN/H5T/tfiles/18/h5ex_t_int_F03.ddl b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_int_F03.ddl new file mode 100644 index 0000000..00f8713 --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_int_F03.ddl @@ -0,0 +1,17 @@ +HDF5 "h5ex_t_int_F03.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I64BE + DATASPACE SIMPLE { ( 7, 4 ) / ( 7, 4 ) } + DATA { + (0,0): 0, 0, 0, 0, + (1,0): -1, 0, 1, 2, + (2,0): -2, 0, 2, 4, + (3,0): -3, 0, 3, 6, + (4,0): -4, 0, 4, 8, + (5,0): -5, 0, 5, 10, + (6,0): -6, 0, 6, 12 + } + } +} +} diff --git a/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_int_F03.tst b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_int_F03.tst new file mode 100644 index 0000000..18c3501 --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_int_F03.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/FORTRAN/H5T/tfiles/18/h5ex_t_intatt_F03.ddl b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_intatt_F03.ddl new file mode 100644 index 0000000..a00ab4d --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_intatt_F03.ddl @@ -0,0 +1,23 @@ +HDF5 "h5ex_t_intatt_F03.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + ATTRIBUTE "A1" { + DATATYPE H5T_STD_I64BE + DATASPACE SIMPLE { ( 7, 4 ) / ( 7, 4 ) } + DATA { + (0,0): 0, 0, 0, 0, + (1,0): -1, 0, 1, 2, + (2,0): -2, 0, 2, 4, + (3,0): -3, 0, 3, 6, + (4,0): -4, 0, 4, 8, + (5,0): -5, 0, 5, 10, + (6,0): -6, 0, 6, 12 + } + } + } +} +} diff --git a/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_intatt_F03.tst b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_intatt_F03.tst new file mode 100644 index 0000000..ddf1cc9 --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_intatt_F03.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/FORTRAN/H5T/tfiles/18/h5ex_t_objref_F03.ddl b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_objref_F03.ddl new file mode 100644 index 0000000..2bc3d5d --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_objref_F03.ddl @@ -0,0 +1,24 @@ +HDF5 "h5ex_t_objref_F03.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/FORTRAN/H5T/tfiles/18/h5ex_t_objref_F03.tst b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_objref_F03.tst new file mode 100644 index 0000000..ba11ebb --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_objref_F03.tst @@ -0,0 +1,4 @@ +DS1[0]: + ->Group: /G1 +DS1[1]: + ->Dataset: /DS2 diff --git a/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_objref_F0321.ddl b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_objref_F0321.ddl new file mode 100644 index 0000000..7d3dc2a --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_objref_F0321.ddl @@ -0,0 +1,19 @@ +HDF5 "h5ex_t_objref_F03.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/FORTRAN/H5T/tfiles/18/h5ex_t_objrefatt_F03.ddl b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_objrefatt_F03.ddl new file mode 100644 index 0000000..312dfe1 --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_objrefatt_F03.ddl @@ -0,0 +1,30 @@ +HDF5 "h5ex_t_objrefatt_F03.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/FORTRAN/H5T/tfiles/18/h5ex_t_objrefatt_F03.tst b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_objrefatt_F03.tst new file mode 100644 index 0000000..7ea98e3 --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_objrefatt_F03.tst @@ -0,0 +1,4 @@ +A1[0]: + ->Group: /G1 +A1[1]: + ->Dataset: /DS2 diff --git a/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_objrefatt_F0321.ddl b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_objrefatt_F0321.ddl new file mode 100644 index 0000000..84daad1 --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_objrefatt_F0321.ddl @@ -0,0 +1,25 @@ +HDF5 "h5ex_t_objrefatt_F03.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/FORTRAN/H5T/tfiles/18/h5ex_t_opaque_F03.ddl b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_opaque_F03.ddl new file mode 100644 index 0000000..072a631 --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_opaque_F03.ddl @@ -0,0 +1,14 @@ +HDF5 "h5ex_t_opaque_F03.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/FORTRAN/H5T/tfiles/18/h5ex_t_opaque_F03.tst b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_opaque_F03.tst new file mode 100644 index 0000000..9c3ad12 --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_opaque_F03.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/FORTRAN/H5T/tfiles/18/h5ex_t_opaqueatt_F03.ddl b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_opaqueatt_F03.ddl new file mode 100644 index 0000000..b458256 --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_opaqueatt_F03.ddl @@ -0,0 +1,20 @@ +HDF5 "h5ex_t_opaqueatt_F03.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/FORTRAN/H5T/tfiles/18/h5ex_t_opaqueatt_F03.tst b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_opaqueatt_F03.tst new file mode 100644 index 0000000..2acf16a --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_opaqueatt_F03.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/FORTRAN/H5T/tfiles/18/h5ex_t_regref_F03.ddl b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_regref_F03.ddl new file mode 100644 index 0000000..7673b1b --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_regref_F03.ddl @@ -0,0 +1,33 @@ +HDF5 "h5ex_t_regref_F03.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, 32, + (1,0): 102, 111, 120, 32, 106, 117, 109, 112, 115, 32, 111, 118, 101, + (1,13): 114, 32, 32, + (2,0): 116, 104, 101, 32, 53, 32, 108, 97, 122, 121, 32, 100, 111, 103, + (2,14): 115, 32 + } + } +} +} diff --git a/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_regref_F03.tst b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_regref_F03.tst new file mode 100644 index 0000000..5bd6a14 --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_regref_F03.tst @@ -0,0 +1,4 @@ +DS1[0]: + ->/DS2: hdf5 +DS1[1]: + ->/DS2: Therowthedog diff --git a/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_regref_F0321.ddl b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_regref_F0321.ddl new file mode 100644 index 0000000..fc71b89 --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_regref_F0321.ddl @@ -0,0 +1,24 @@ +HDF5 "h5ex_t_regref_F03.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, 32, + (1,0): 102, 111, 120, 32, 106, 117, 109, 112, 115, 32, 111, 118, 101, + (1,13): 114, 32, 32, + (2,0): 116, 104, 101, 32, 53, 32, 108, 97, 122, 121, 32, 100, 111, 103, + (2,14): 115, 32 + } + } +} +} diff --git a/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_regrefatt_F03.ddl b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_regrefatt_F03.ddl new file mode 100644 index 0000000..f4f2e9b --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_regrefatt_F03.ddl @@ -0,0 +1,39 @@ +HDF5 "h5ex_t_regrefatt_F03.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, 32, + (1,0): 102, 111, 120, 32, 106, 117, 109, 112, 115, 32, 111, 118, 101, + (1,13): 114, 32, 32, + (2,0): 116, 104, 101, 32, 53, 32, 108, 97, 122, 121, 32, 100, 111, 103, + (2,14): 115, 32 + } + } +} +} diff --git a/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_regrefatt_F03.tst b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_regrefatt_F03.tst new file mode 100644 index 0000000..b073e11 --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_regrefatt_F03.tst @@ -0,0 +1,4 @@ +A1 [0]: + ->/DS2: hdf5 +A1 [1]: + ->/DS2: Therowthedog diff --git a/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_regrefatt_F0321.ddl b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_regrefatt_F0321.ddl new file mode 100644 index 0000000..f81c633 --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_regrefatt_F0321.ddl @@ -0,0 +1,31 @@ +HDF5 "h5ex_t_regrefatt_F03.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, 32, + (1,0): 102, 111, 120, 32, 106, 117, 109, 112, 115, 32, 111, 118, 101, + (1,13): 114, 32, 32, + (2,0): 116, 104, 101, 32, 53, 32, 108, 97, 122, 121, 32, 100, 111, 103, + (2,14): 115, 32 + } + } +} +} diff --git a/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_stringC_F03.ddl b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_stringC_F03.ddl new file mode 100644 index 0000000..509ab5a --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_stringC_F03.ddl @@ -0,0 +1,16 @@ +HDF5 "h5ex_t_stringC_F03.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STRING { + STRSIZE 8; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SIMPLE { ( 4 ) / ( 4 ) } + DATA { + (0): "Parting", "is such", "sweet", "sorrow." + } + } +} +} diff --git a/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_stringC_F03.tst b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_stringC_F03.tst new file mode 100644 index 0000000..d199647 --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_stringC_F03.tst @@ -0,0 +1,4 @@ +DS1(1): Parting +DS1(2): is such +DS1(3): sweet +DS1(4): sorrow. diff --git a/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_stringCatt_F03.ddl b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_stringCatt_F03.ddl new file mode 100644 index 0000000..110e51f --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_stringCatt_F03.ddl @@ -0,0 +1,22 @@ +HDF5 "h5ex_t_stringCatt_F03.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STD_I32LE + DATASPACE NULL + DATA { + } + ATTRIBUTE "A1" { + DATATYPE H5T_STRING { + STRSIZE 8; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SIMPLE { ( 4 ) / ( 4 ) } + DATA { + (0): "Parting", "is such", "sweet", "sorrow." + } + } + } +} +} diff --git a/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_stringCatt_F03.tst b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_stringCatt_F03.tst new file mode 100644 index 0000000..d647f85 --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_stringCatt_F03.tst @@ -0,0 +1,4 @@ +A1(1): Parting +A1(2): is such +A1(3): sweet +A1(4): sorrow. diff --git a/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_string_F03.ddl b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_string_F03.ddl new file mode 100644 index 0000000..7ce1fb7 --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_string_F03.ddl @@ -0,0 +1,16 @@ +HDF5 "h5ex_t_string_F03.h5" { +GROUP "/" { + DATASET "DS1" { + DATATYPE H5T_STRING { + STRSIZE 8; + 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/FORTRAN/H5T/tfiles/18/h5ex_t_string_F03.tst b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_string_F03.tst new file mode 100644 index 0000000..5b58caf --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_string_F03.tst @@ -0,0 +1,4 @@ +DS1(1): Parting +DS1(2): is such +DS1(3): sweet +DS1(4): sorrow. diff --git a/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_vlen_F03.ddl b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_vlen_F03.ddl new file mode 100644 index 0000000..572530a --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_vlen_F03.ddl @@ -0,0 +1,11 @@ +HDF5 "h5ex_t_vlen_F03.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/FORTRAN/H5T/tfiles/18/h5ex_t_vlen_F03.tst b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_vlen_F03.tst new file mode 100644 index 0000000..e10c132 --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_vlen_F03.tst @@ -0,0 +1,4 @@ +DS1(1): +{ 3, 2, 1 } +DS1(2): +{ 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144 } diff --git a/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_vlenatt_F03.ddl b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_vlenatt_F03.ddl new file mode 100644 index 0000000..54cfecd --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_vlenatt_F03.ddl @@ -0,0 +1,17 @@ +HDF5 "h5ex_t_vlenatt_F03.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/FORTRAN/H5T/tfiles/18/h5ex_t_vlenatt_F03.tst b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_vlenatt_F03.tst new file mode 100644 index 0000000..ffa969d --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_vlenatt_F03.tst @@ -0,0 +1,4 @@ +A1(1): +{ 3, 2, 1 } +A1(2): +{ 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144 } diff --git a/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_vlstring.ddl b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_vlstring.ddl new file mode 100644 index 0000000..a1e4820 --- /dev/null +++ b/HDF5Examples/FORTRAN/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_NULLPAD; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SIMPLE { ( 4 ) / ( 4 ) } + DATA { + (0): "Parting", "is such", "sweet", "sorrow." + } + } +} +} diff --git a/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_vlstring.tst b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_vlstring.tst new file mode 100644 index 0000000..d199647 --- /dev/null +++ b/HDF5Examples/FORTRAN/H5T/tfiles/18/h5ex_t_vlstring.tst @@ -0,0 +1,4 @@ +DS1(1): Parting +DS1(2): is such +DS1(3): sweet +DS1(4): sorrow. |