Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move hl example into HDF5Examples #5057

Merged
merged 11 commits into from
Nov 4, 2024
Prev Previous commit
Next Next commit
Add reference files and fix configure.ac
byrnHDF committed Oct 31, 2024
commit aa90d3a0620ec9748b1367ed51fe5697884e2cf0
34 changes: 18 additions & 16 deletions HDF5Examples/C/HL/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -21,14 +21,14 @@ foreach (example_name ${common_examples})
target_include_directories (${EXAMPLE_VARNAME}_${example_name} PUBLIC ${MPI_C_INCLUDE_DIRS})
endif ()
target_link_libraries (${EXAMPLE_VARNAME}_${example_name} ${H5EX_HDF5_LINK_LIBS})
# if (H5EX_BUILD_TESTING)
# add_custom_command (
# TARGET ${EXAMPLE_VARNAME}_${example_name}
# POST_BUILD
# COMMAND ${CMAKE_COMMAND}
# ARGS -E copy_if_different ${PROJECT_SOURCE_DIR}/tfiles/${example_name}.tst ${PROJECT_BINARY_DIR}/${example_name}.tst
# )
# endif ()
if (H5EX_BUILD_TESTING)
add_custom_command (
TARGET ${EXAMPLE_VARNAME}_${example_name}
POST_BUILD
COMMAND ${CMAKE_COMMAND}
ARGS -E copy_if_different ${PROJECT_SOURCE_DIR}/tfiles/${example_name}.tst ${PROJECT_BINARY_DIR}/${example_name}.tst
)
endif ()
endforeach ()

#if (HDF5_VERSION_MAJOR VERSION_GREATER_EQUAL "1.8")
@@ -119,14 +119,16 @@ if (HDF5_BUILD_TOOLS)
COMMAND ${CMAKE_COMMAND}
ARGS -E copy_if_different ${PROJECT_SOURCE_DIR}/tfiles/image24pixel.txt ${PROJECT_BINARY_DIR}/image24pixel.txt
)
# foreach (example_name ${common_examples})
# add_custom_command (
# TARGET ${EXAMPLE_VARNAME}_${example_name}
# POST_BUILD
# COMMAND ${CMAKE_COMMAND}
# ARGS -E copy_if_different ${PROJECT_SOURCE_DIR}/tfiles/${example_name}.ddl ${PROJECT_BINARY_DIR}/${example_name}.ddl
# )
# endforeach ()
foreach (example_name ${common_examples})
if (NOT ${example_name} STREQUAL "h5ex_lite1" AND NOT ${example_name} STREQUAL "h5ex_lite2")
add_custom_command (
TARGET ${EXAMPLE_VARNAME}_${example_name}
POST_BUILD
COMMAND ${CMAKE_COMMAND}
ARGS -E copy_if_different ${PROJECT_SOURCE_DIR}/tfiles/${example_name}.ddl ${PROJECT_BINARY_DIR}/${example_name}.ddl
)
endif ()
endforeach ()

# foreach (example_name ${1_8_examples})
#if (HDF5_VERSION_MAJOR VERSION_GREATER_EQUAL "1.8")
84 changes: 84 additions & 0 deletions HDF5Examples/C/HL/tfiles/h5ex_ds1.ddl
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
HDF5 "h5ex_ds1.h5" {
GROUP "/" {
DATASET "Mydata" {
DATATYPE H5T_STD_I32LE
DATASPACE SIMPLE { ( 3, 4 ) / ( 3, 4 ) }
DATA {
(0,0): 1, 2, 3, 4,
(1,0): 5, 6, 7, 8,
(2,0): 9, 10, 11, 12
}
ATTRIBUTE "DIMENSION_LIST" {
DATATYPE H5T_VLEN { H5T_REFERENCE { H5T_STD_REF_OBJECT } }
DATASPACE SIMPLE { ( 2 ) / ( 2 ) }
DATA {
(0): (DATASET 1060606800 "/Yaxis"), (DATASET 1060602240 "/Xaxis")
}
}
}
DATASET "Xaxis" {
DATATYPE H5T_STD_I32LE
DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
DATA {
(0): 10, 20, 50, 100
}
ATTRIBUTE "CLASS" {
DATATYPE H5T_STRING {
STRSIZE 16;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "DIMENSION_SCALE"
}
}
ATTRIBUTE "REFERENCE_LIST" {
DATATYPE H5T_COMPOUND {
H5T_REFERENCE { H5T_STD_REF_OBJECT } "dataset";
H5T_STD_U32LE "dimension";
}
DATASPACE SIMPLE { ( 1 ) / ( 1 ) }
DATA {
(0): {
DATASET 1060617408 "/Mydata",
1
}
}
}
}
DATASET "Yaxis" {
DATATYPE H5T_IEEE_F32LE
DATASPACE SIMPLE { ( 3 ) / ( 3 ) }
DATA {
(0): 10, 20, 30
}
ATTRIBUTE "CLASS" {
DATATYPE H5T_STRING {
STRSIZE 16;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "DIMENSION_SCALE"
}
}
ATTRIBUTE "REFERENCE_LIST" {
DATATYPE H5T_COMPOUND {
H5T_REFERENCE { H5T_STD_REF_OBJECT } "dataset";
H5T_STD_U32LE "dimension";
}
DATASPACE SIMPLE { ( 1 ) / ( 1 ) }
DATA {
(0): {
DATASET 1060603856 "/Mydata",
0
}
}
}
}
}
}
Empty file.
4,103 changes: 4,103 additions & 0 deletions HDF5Examples/C/HL/tfiles/h5ex_image1.ddl

Large diffs are not rendered by default.

Empty file.
41,686 changes: 41,686 additions & 0 deletions HDF5Examples/C/HL/tfiles/h5ex_image2.ddl

Large diffs are not rendered by default.

Empty file.
Empty file.
1 change: 1 addition & 0 deletions HDF5Examples/C/HL/tfiles/h5ex_lite2.tst

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions HDF5Examples/C/HL/tfiles/h5ex_lite3.ddl
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
HDF5 "h5ex_lite3.h5" {
GROUP "/" {
DATASET "dset" {
DATATYPE H5T_STD_I32LE
DATASPACE SIMPLE { ( 5 ) / ( 5 ) }
DATA {
(0): 0, 0, 0, 0, 0
}
ATTRIBUTE "attr1" {
DATATYPE H5T_STD_I32LE
DATASPACE SIMPLE { ( 5 ) / ( 5 ) }
DATA {
(0): 1, 2, 3, 4, 5
}
}
}
}
}
1 change: 1 addition & 0 deletions HDF5Examples/C/HL/tfiles/h5ex_lite3.tst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1 2 3 4 5
11 changes: 11 additions & 0 deletions HDF5Examples/C/HL/tfiles/h5ex_packet_table_FL.ddl
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
HDF5 "h5ex_packet_table_FL.h5" {
GROUP "/" {
DATASET "Packet Test Dataset" {
DATATYPE H5T_STD_I32LE
DATASPACE SIMPLE { ( 5 ) / ( H5S_UNLIMITED ) }
DATA {
(0): 0, 1, 2, 3, 4
}
}
}
}
6 changes: 6 additions & 0 deletions HDF5Examples/C/HL/tfiles/h5ex_packet_table_FL.tst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Number of packets in packet table after five appends: 5
Packet 0's value is 0
Packet 1's value is 1
Packet 2's value is 2
Packet 3's value is 3
Packet 4's value is 4
173 changes: 173 additions & 0 deletions HDF5Examples/C/HL/tfiles/h5ex_table_01.ddl
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
HDF5 "h5ex_table_01.h5" {
GROUP "/" {
DATASET "table" {
DATATYPE H5T_COMPOUND {
H5T_STRING {
STRSIZE 16;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
} "Name";
H5T_STD_I32LE "Latitude";
H5T_STD_I32LE "Longitude";
H5T_IEEE_F32LE "Pressure";
H5T_IEEE_F64LE "Temperature";
}
DATASPACE SIMPLE { ( 8 ) / ( H5S_UNLIMITED ) }
DATA {
(0): {
"zero",
0,
0,
0,
0
},
(1): {
"one",
10,
10,
1,
10
},
(2): {
"two",
20,
20,
2,
20
},
(3): {
"three",
30,
30,
3,
30
},
(4): {
"four",
40,
40,
4,
40
},
(5): {
"five",
50,
50,
5,
50
},
(6): {
"six",
60,
60,
6,
60
},
(7): {
"seven",
70,
70,
7,
70
}
}
ATTRIBUTE "CLASS" {
DATATYPE H5T_STRING {
STRSIZE 6;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "TABLE"
}
}
ATTRIBUTE "FIELD_0_NAME" {
DATATYPE H5T_STRING {
STRSIZE 5;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Name"
}
}
ATTRIBUTE "FIELD_1_NAME" {
DATATYPE H5T_STRING {
STRSIZE 9;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Latitude"
}
}
ATTRIBUTE "FIELD_2_NAME" {
DATATYPE H5T_STRING {
STRSIZE 10;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Longitude"
}
}
ATTRIBUTE "FIELD_3_NAME" {
DATATYPE H5T_STRING {
STRSIZE 9;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Pressure"
}
}
ATTRIBUTE "FIELD_4_NAME" {
DATATYPE H5T_STRING {
STRSIZE 12;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Temperature"
}
}
ATTRIBUTE "TITLE" {
DATATYPE H5T_STRING {
STRSIZE 12;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Table Title"
}
}
ATTRIBUTE "VERSION" {
DATATYPE H5T_STRING {
STRSIZE 4;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "3.0"
}
}
}
}
}
8 changes: 8 additions & 0 deletions HDF5Examples/C/HL/tfiles/h5ex_table_01.tst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
zero 0 0 0.000000 0.000000
one 10 10 1.000000 10.000000
two 20 20 2.000000 20.000000
three 30 30 3.000000 30.000000
four 40 40 4.000000 40.000000
five 50 50 5.000000 50.000000
six 60 60 6.000000 60.000000
seven 70 70 7.000000 70.000000
187 changes: 187 additions & 0 deletions HDF5Examples/C/HL/tfiles/h5ex_table_02.ddl
Original file line number Diff line number Diff line change
@@ -0,0 +1,187 @@
HDF5 "h5ex_table_02.h5" {
GROUP "/" {
DATASET "table" {
DATATYPE H5T_COMPOUND {
H5T_STRING {
STRSIZE 16;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
} "Name";
H5T_STD_I32LE "Latitude";
H5T_STD_I32LE "Longitude";
H5T_IEEE_F32LE "Pressure";
H5T_IEEE_F64LE "Temperature";
}
DATASPACE SIMPLE { ( 10 ) / ( H5S_UNLIMITED ) }
DATA {
(0): {
"zero",
0,
0,
0,
0
},
(1): {
"one",
10,
10,
1,
10
},
(2): {
"two",
20,
20,
2,
20
},
(3): {
"three",
30,
30,
3,
30
},
(4): {
"four",
40,
40,
4,
40
},
(5): {
"five",
50,
50,
5,
50
},
(6): {
"six",
60,
60,
6,
60
},
(7): {
"seven",
70,
70,
7,
70
},
(8): {
"eight",
80,
80,
8,
80
},
(9): {
"nine",
90,
90,
9,
90
}
}
ATTRIBUTE "CLASS" {
DATATYPE H5T_STRING {
STRSIZE 6;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "TABLE"
}
}
ATTRIBUTE "FIELD_0_NAME" {
DATATYPE H5T_STRING {
STRSIZE 5;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Name"
}
}
ATTRIBUTE "FIELD_1_NAME" {
DATATYPE H5T_STRING {
STRSIZE 9;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Latitude"
}
}
ATTRIBUTE "FIELD_2_NAME" {
DATATYPE H5T_STRING {
STRSIZE 10;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Longitude"
}
}
ATTRIBUTE "FIELD_3_NAME" {
DATATYPE H5T_STRING {
STRSIZE 9;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Pressure"
}
}
ATTRIBUTE "FIELD_4_NAME" {
DATATYPE H5T_STRING {
STRSIZE 12;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Temperature"
}
}
ATTRIBUTE "TITLE" {
DATATYPE H5T_STRING {
STRSIZE 12;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Table Title"
}
}
ATTRIBUTE "VERSION" {
DATATYPE H5T_STRING {
STRSIZE 4;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "3.0"
}
}
}
}
}
10 changes: 10 additions & 0 deletions HDF5Examples/C/HL/tfiles/h5ex_table_02.tst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
zero 0 0 0.000000 0.000000
one 10 10 1.000000 10.000000
two 20 20 2.000000 20.000000
three 30 30 3.000000 30.000000
four 40 40 4.000000 40.000000
five 50 50 5.000000 50.000000
six 60 60 6.000000 60.000000
seven 70 70 7.000000 70.000000
eight 80 80 8.000000 80.000000
nine 90 90 9.000000 90.000000
213 changes: 213 additions & 0 deletions HDF5Examples/C/HL/tfiles/h5ex_table_03.ddl
Original file line number Diff line number Diff line change
@@ -0,0 +1,213 @@
HDF5 "h5ex_table_03.h5" {
GROUP "/" {
DATASET "table" {
DATATYPE H5T_COMPOUND {
H5T_STRING {
STRSIZE 16;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
} "Name";
H5T_STD_I32LE "Latitude";
H5T_STD_I32LE "Longitude";
H5T_IEEE_F32LE "Pressure";
H5T_IEEE_F64LE "Temperature";
}
DATASPACE SIMPLE { ( 8 ) / ( H5S_UNLIMITED ) }
DATA {
(0): {
"zero",
0,
0,
0,
0
},
(1): {
"one",
10,
10,
1,
10
},
(2): {
"no data",
-1,
-1,
-99,
-99
},
(3): {
"no data",
-1,
-1,
-99,
-99
},
(4): {
"no data",
-1,
-1,
-99,
-99
},
(5): {
"no data",
-1,
-1,
-99,
-99
},
(6): {
"no data",
-1,
-1,
-99,
-99
},
(7): {
"no data",
-1,
-1,
-99,
-99
}
}
ATTRIBUTE "CLASS" {
DATATYPE H5T_STRING {
STRSIZE 6;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "TABLE"
}
}
ATTRIBUTE "FIELD_0_FILL" {
DATATYPE H5T_STRING {
STRSIZE 16;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "no data"
}
}
ATTRIBUTE "FIELD_0_NAME" {
DATATYPE H5T_STRING {
STRSIZE 5;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Name"
}
}
ATTRIBUTE "FIELD_1_FILL" {
DATATYPE H5T_STD_I32LE
DATASPACE SCALAR
DATA {
(0): -1
}
}
ATTRIBUTE "FIELD_1_NAME" {
DATATYPE H5T_STRING {
STRSIZE 9;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Latitude"
}
}
ATTRIBUTE "FIELD_2_FILL" {
DATATYPE H5T_STD_I32LE
DATASPACE SCALAR
DATA {
(0): -1
}
}
ATTRIBUTE "FIELD_2_NAME" {
DATATYPE H5T_STRING {
STRSIZE 10;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Longitude"
}
}
ATTRIBUTE "FIELD_3_FILL" {
DATATYPE H5T_IEEE_F32LE
DATASPACE SCALAR
DATA {
(0): -99
}
}
ATTRIBUTE "FIELD_3_NAME" {
DATATYPE H5T_STRING {
STRSIZE 9;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Pressure"
}
}
ATTRIBUTE "FIELD_4_FILL" {
DATATYPE H5T_IEEE_F64LE
DATASPACE SCALAR
DATA {
(0): -99
}
}
ATTRIBUTE "FIELD_4_NAME" {
DATATYPE H5T_STRING {
STRSIZE 12;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Temperature"
}
}
ATTRIBUTE "TITLE" {
DATATYPE H5T_STRING {
STRSIZE 12;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Table Title"
}
}
ATTRIBUTE "VERSION" {
DATATYPE H5T_STRING {
STRSIZE 4;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "3.0"
}
}
}
}
}
8 changes: 8 additions & 0 deletions HDF5Examples/C/HL/tfiles/h5ex_table_03.tst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
zero 0 0 0.000000 0.000000
one 10 10 1.000000 10.000000
no data -1 -1 -99.000000 -99.000000
no data -1 -1 -99.000000 -99.000000
no data -1 -1 -99.000000 -99.000000
no data -1 -1 -99.000000 -99.000000
no data -1 -1 -99.000000 -99.000000
no data -1 -1 -99.000000 -99.000000
213 changes: 213 additions & 0 deletions HDF5Examples/C/HL/tfiles/h5ex_table_04.ddl
Original file line number Diff line number Diff line change
@@ -0,0 +1,213 @@
HDF5 "h5ex_table_04.h5" {
GROUP "/" {
DATASET "table" {
DATATYPE H5T_COMPOUND {
H5T_STRING {
STRSIZE 16;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
} "Name";
H5T_STD_I32LE "Latitude";
H5T_STD_I32LE "Longitude";
H5T_IEEE_F32LE "Pressure";
H5T_IEEE_F64LE "Temperature";
}
DATASPACE SIMPLE { ( 8 ) / ( H5S_UNLIMITED ) }
DATA {
(0): {
"no data",
-1,
-1,
-99,
-99
},
(1): {
"no data",
-1,
-1,
-99,
-99
},
(2): {
"no data",
0,
0,
0,
-99
},
(3): {
"no data",
10,
10,
1,
-99
},
(4): {
"no data",
20,
20,
2,
-99
},
(5): {
"no data",
-1,
-1,
-99,
-99
},
(6): {
"no data",
-1,
-1,
-99,
-99
},
(7): {
"no data",
-1,
-1,
-99,
-99
}
}
ATTRIBUTE "CLASS" {
DATATYPE H5T_STRING {
STRSIZE 6;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "TABLE"
}
}
ATTRIBUTE "FIELD_0_FILL" {
DATATYPE H5T_STRING {
STRSIZE 16;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "no data"
}
}
ATTRIBUTE "FIELD_0_NAME" {
DATATYPE H5T_STRING {
STRSIZE 5;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Name"
}
}
ATTRIBUTE "FIELD_1_FILL" {
DATATYPE H5T_STD_I32LE
DATASPACE SCALAR
DATA {
(0): -1
}
}
ATTRIBUTE "FIELD_1_NAME" {
DATATYPE H5T_STRING {
STRSIZE 9;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Latitude"
}
}
ATTRIBUTE "FIELD_2_FILL" {
DATATYPE H5T_STD_I32LE
DATASPACE SCALAR
DATA {
(0): -1
}
}
ATTRIBUTE "FIELD_2_NAME" {
DATATYPE H5T_STRING {
STRSIZE 10;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Longitude"
}
}
ATTRIBUTE "FIELD_3_FILL" {
DATATYPE H5T_IEEE_F32LE
DATASPACE SCALAR
DATA {
(0): -99
}
}
ATTRIBUTE "FIELD_3_NAME" {
DATATYPE H5T_STRING {
STRSIZE 9;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Pressure"
}
}
ATTRIBUTE "FIELD_4_FILL" {
DATATYPE H5T_IEEE_F64LE
DATASPACE SCALAR
DATA {
(0): -99
}
}
ATTRIBUTE "FIELD_4_NAME" {
DATATYPE H5T_STRING {
STRSIZE 12;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Temperature"
}
}
ATTRIBUTE "TITLE" {
DATATYPE H5T_STRING {
STRSIZE 12;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Table Title"
}
}
ATTRIBUTE "VERSION" {
DATATYPE H5T_STRING {
STRSIZE 4;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "3.0"
}
}
}
}
}
8 changes: 8 additions & 0 deletions HDF5Examples/C/HL/tfiles/h5ex_table_04.tst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
no data -1 -1 -99.000000 -99.000000
no data -1 -1 -99.000000 -99.000000
no data 0 0 0.000000 -99.000000
no data 10 10 1.000000 -99.000000
no data 20 20 2.000000 -99.000000
no data -1 -1 -99.000000 -99.000000
no data -1 -1 -99.000000 -99.000000
no data -1 -1 -99.000000 -99.000000
213 changes: 213 additions & 0 deletions HDF5Examples/C/HL/tfiles/h5ex_table_05.ddl
Original file line number Diff line number Diff line change
@@ -0,0 +1,213 @@
HDF5 "h5ex_table_05.h5" {
GROUP "/" {
DATASET "table" {
DATATYPE H5T_COMPOUND {
H5T_STRING {
STRSIZE 16;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
} "Name";
H5T_STD_I32LE "Latitude";
H5T_STD_I32LE "Longitude";
H5T_IEEE_F32LE "Pressure";
H5T_IEEE_F64LE "Temperature";
}
DATASPACE SIMPLE { ( 8 ) / ( H5S_UNLIMITED ) }
DATA {
(0): {
"no data",
-1,
-1,
-99,
-99
},
(1): {
"no data",
-1,
-1,
-99,
-99
},
(2): {
"no data",
0,
0,
0,
-99
},
(3): {
"no data",
10,
10,
1,
-99
},
(4): {
"no data",
20,
20,
2,
-99
},
(5): {
"no data",
-1,
-1,
-99,
-99
},
(6): {
"no data",
-1,
-1,
-99,
-99
},
(7): {
"no data",
-1,
-1,
-99,
-99
}
}
ATTRIBUTE "CLASS" {
DATATYPE H5T_STRING {
STRSIZE 6;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "TABLE"
}
}
ATTRIBUTE "FIELD_0_FILL" {
DATATYPE H5T_STRING {
STRSIZE 16;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "no data"
}
}
ATTRIBUTE "FIELD_0_NAME" {
DATATYPE H5T_STRING {
STRSIZE 5;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Name"
}
}
ATTRIBUTE "FIELD_1_FILL" {
DATATYPE H5T_STD_I32LE
DATASPACE SCALAR
DATA {
(0): -1
}
}
ATTRIBUTE "FIELD_1_NAME" {
DATATYPE H5T_STRING {
STRSIZE 9;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Latitude"
}
}
ATTRIBUTE "FIELD_2_FILL" {
DATATYPE H5T_STD_I32LE
DATASPACE SCALAR
DATA {
(0): -1
}
}
ATTRIBUTE "FIELD_2_NAME" {
DATATYPE H5T_STRING {
STRSIZE 10;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Longitude"
}
}
ATTRIBUTE "FIELD_3_FILL" {
DATATYPE H5T_IEEE_F32LE
DATASPACE SCALAR
DATA {
(0): -99
}
}
ATTRIBUTE "FIELD_3_NAME" {
DATATYPE H5T_STRING {
STRSIZE 9;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Pressure"
}
}
ATTRIBUTE "FIELD_4_FILL" {
DATATYPE H5T_IEEE_F64LE
DATASPACE SCALAR
DATA {
(0): -99
}
}
ATTRIBUTE "FIELD_4_NAME" {
DATATYPE H5T_STRING {
STRSIZE 12;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Temperature"
}
}
ATTRIBUTE "TITLE" {
DATATYPE H5T_STRING {
STRSIZE 12;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Table Title"
}
}
ATTRIBUTE "VERSION" {
DATATYPE H5T_STRING {
STRSIZE 4;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "3.0"
}
}
}
}
}
8 changes: 8 additions & 0 deletions HDF5Examples/C/HL/tfiles/h5ex_table_05.tst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
no data -1 -1 -99.000000 -99.000000
no data -1 -1 -99.000000 -99.000000
no data 0 0 0.000000 -99.000000
no data 10 10 1.000000 -99.000000
no data 20 20 2.000000 -99.000000
no data -1 -1 -99.000000 -99.000000
no data -1 -1 -99.000000 -99.000000
no data -1 -1 -99.000000 -99.000000
213 changes: 213 additions & 0 deletions HDF5Examples/C/HL/tfiles/h5ex_table_06.ddl
Original file line number Diff line number Diff line change
@@ -0,0 +1,213 @@
HDF5 "h5ex_table_06.h5" {
GROUP "/" {
DATASET "table" {
DATATYPE H5T_COMPOUND {
H5T_STRING {
STRSIZE 16;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
} "Name";
H5T_STD_I32LE "Latitude";
H5T_STD_I32LE "Longitude";
H5T_IEEE_F32LE "Pressure";
H5T_IEEE_F64LE "Temperature";
}
DATASPACE SIMPLE { ( 8 ) / ( H5S_UNLIMITED ) }
DATA {
(0): {
"no data",
-1,
-1,
-99,
-99
},
(1): {
"no data",
-1,
-1,
-99,
-99
},
(2): {
"no data",
-1,
-1,
-99,
-99
},
(3): {
"no data",
-1,
-1,
-99,
-99
},
(4): {
"no data",
-1,
-1,
-99,
-99
},
(5): {
"no data",
-1,
-1,
-99,
-99
},
(6): {
"no data",
-1,
-1,
-99,
-99
},
(7): {
"no data",
-1,
-1,
-99,
-99
}
}
ATTRIBUTE "CLASS" {
DATATYPE H5T_STRING {
STRSIZE 6;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "TABLE"
}
}
ATTRIBUTE "FIELD_0_FILL" {
DATATYPE H5T_STRING {
STRSIZE 16;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "no data"
}
}
ATTRIBUTE "FIELD_0_NAME" {
DATATYPE H5T_STRING {
STRSIZE 5;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Name"
}
}
ATTRIBUTE "FIELD_1_FILL" {
DATATYPE H5T_STD_I32LE
DATASPACE SCALAR
DATA {
(0): -1
}
}
ATTRIBUTE "FIELD_1_NAME" {
DATATYPE H5T_STRING {
STRSIZE 9;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Latitude"
}
}
ATTRIBUTE "FIELD_2_FILL" {
DATATYPE H5T_STD_I32LE
DATASPACE SCALAR
DATA {
(0): -1
}
}
ATTRIBUTE "FIELD_2_NAME" {
DATATYPE H5T_STRING {
STRSIZE 10;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Longitude"
}
}
ATTRIBUTE "FIELD_3_FILL" {
DATATYPE H5T_IEEE_F32LE
DATASPACE SCALAR
DATA {
(0): -99
}
}
ATTRIBUTE "FIELD_3_NAME" {
DATATYPE H5T_STRING {
STRSIZE 9;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Pressure"
}
}
ATTRIBUTE "FIELD_4_FILL" {
DATATYPE H5T_IEEE_F64LE
DATASPACE SCALAR
DATA {
(0): -99
}
}
ATTRIBUTE "FIELD_4_NAME" {
DATATYPE H5T_STRING {
STRSIZE 12;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Temperature"
}
}
ATTRIBUTE "TITLE" {
DATATYPE H5T_STRING {
STRSIZE 12;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Table Title"
}
}
ATTRIBUTE "VERSION" {
DATATYPE H5T_STRING {
STRSIZE 4;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "3.0"
}
}
}
}
}
1 change: 1 addition & 0 deletions HDF5Examples/C/HL/tfiles/h5ex_table_06.tst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Table has 5 fields and 8 records
192 changes: 192 additions & 0 deletions HDF5Examples/C/HL/tfiles/h5ex_table_07.ddl
Original file line number Diff line number Diff line change
@@ -0,0 +1,192 @@
HDF5 "h5ex_table_07.h5" {
GROUP "/" {
DATASET "table" {
DATATYPE H5T_COMPOUND {
H5T_STRING {
STRSIZE 16;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
} "Name";
H5T_STD_I32LE "Latitude";
H5T_STD_I32LE "Longitude";
H5T_IEEE_F32LE "Pressure";
H5T_IEEE_F64LE "Temperature";
}
DATASPACE SIMPLE { ( 5 ) / ( H5S_UNLIMITED ) }
DATA {
(0): {
"zero",
0,
0,
0,
0
},
(1): {
"one",
10,
10,
1,
10
},
(2): {
"two",
20,
20,
2,
20
},
(3): {
"six",
60,
60,
6,
60
},
(4): {
"seven",
70,
70,
7,
70
}
}
ATTRIBUTE "CLASS" {
DATATYPE H5T_STRING {
STRSIZE 6;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "TABLE"
}
}
ATTRIBUTE "FIELD_0_FILL" {
DATATYPE H5T_STRING {
STRSIZE 16;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "no data"
}
}
ATTRIBUTE "FIELD_0_NAME" {
DATATYPE H5T_STRING {
STRSIZE 5;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Name"
}
}
ATTRIBUTE "FIELD_1_FILL" {
DATATYPE H5T_STD_I32LE
DATASPACE SCALAR
DATA {
(0): -1
}
}
ATTRIBUTE "FIELD_1_NAME" {
DATATYPE H5T_STRING {
STRSIZE 9;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Latitude"
}
}
ATTRIBUTE "FIELD_2_FILL" {
DATATYPE H5T_STD_I32LE
DATASPACE SCALAR
DATA {
(0): -1
}
}
ATTRIBUTE "FIELD_2_NAME" {
DATATYPE H5T_STRING {
STRSIZE 10;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Longitude"
}
}
ATTRIBUTE "FIELD_3_FILL" {
DATATYPE H5T_IEEE_F32LE
DATASPACE SCALAR
DATA {
(0): -99
}
}
ATTRIBUTE "FIELD_3_NAME" {
DATATYPE H5T_STRING {
STRSIZE 9;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Pressure"
}
}
ATTRIBUTE "FIELD_4_FILL" {
DATATYPE H5T_IEEE_F64LE
DATASPACE SCALAR
DATA {
(0): -99
}
}
ATTRIBUTE "FIELD_4_NAME" {
DATATYPE H5T_STRING {
STRSIZE 12;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Temperature"
}
}
ATTRIBUTE "TITLE" {
DATATYPE H5T_STRING {
STRSIZE 12;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Table Title"
}
}
ATTRIBUTE "VERSION" {
DATATYPE H5T_STRING {
STRSIZE 4;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "3.0"
}
}
}
}
}
1 change: 1 addition & 0 deletions HDF5Examples/C/HL/tfiles/h5ex_table_07.tst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Table has 5 fields and 5 records
187 changes: 187 additions & 0 deletions HDF5Examples/C/HL/tfiles/h5ex_table_08.ddl
Original file line number Diff line number Diff line change
@@ -0,0 +1,187 @@
HDF5 "h5ex_table_08.h5" {
GROUP "/" {
DATASET "table" {
DATATYPE H5T_COMPOUND {
H5T_STRING {
STRSIZE 16;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
} "Name";
H5T_STD_I32LE "Latitude";
H5T_STD_I32LE "Longitude";
H5T_IEEE_F32LE "Pressure";
H5T_IEEE_F64LE "Temperature";
}
DATASPACE SIMPLE { ( 10 ) / ( H5S_UNLIMITED ) }
DATA {
(0): {
"zero",
0,
0,
0,
0
},
(1): {
"one",
10,
10,
1,
10
},
(2): {
"two",
20,
20,
2,
20
},
(3): {
"new",
30,
30,
3,
30
},
(4): {
"new",
40,
40,
4,
40
},
(5): {
"three",
30,
30,
3,
30
},
(6): {
"four",
40,
40,
4,
40
},
(7): {
"five",
50,
50,
5,
50
},
(8): {
"six",
60,
60,
6,
60
},
(9): {
"seven",
70,
70,
7,
70
}
}
ATTRIBUTE "CLASS" {
DATATYPE H5T_STRING {
STRSIZE 6;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "TABLE"
}
}
ATTRIBUTE "FIELD_0_NAME" {
DATATYPE H5T_STRING {
STRSIZE 5;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Name"
}
}
ATTRIBUTE "FIELD_1_NAME" {
DATATYPE H5T_STRING {
STRSIZE 9;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Latitude"
}
}
ATTRIBUTE "FIELD_2_NAME" {
DATATYPE H5T_STRING {
STRSIZE 10;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Longitude"
}
}
ATTRIBUTE "FIELD_3_NAME" {
DATATYPE H5T_STRING {
STRSIZE 9;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Pressure"
}
}
ATTRIBUTE "FIELD_4_NAME" {
DATATYPE H5T_STRING {
STRSIZE 12;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Temperature"
}
}
ATTRIBUTE "TITLE" {
DATATYPE H5T_STRING {
STRSIZE 12;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Table Title"
}
}
ATTRIBUTE "VERSION" {
DATATYPE H5T_STRING {
STRSIZE 4;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "3.0"
}
}
}
}
}
11 changes: 11 additions & 0 deletions HDF5Examples/C/HL/tfiles/h5ex_table_08.tst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Table has 5 fields and 10 records
zero 0 0 0.000000 0.000000
one 10 10 1.000000 10.000000
two 20 20 2.000000 20.000000
new 30 30 3.000000 30.000000
new 40 40 4.000000 40.000000
three 30 30 3.000000 30.000000
four 40 40 4.000000 40.000000
five 50 50 5.000000 50.000000
six 60 60 6.000000 60.000000
seven 70 70 7.000000 70.000000
436 changes: 436 additions & 0 deletions HDF5Examples/C/HL/tfiles/h5ex_table_09.ddl

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions HDF5Examples/C/HL/tfiles/h5ex_table_09.tst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Table has 5 fields and 10 records
no data -1 -1 -99.000000 -99.000000
no data -1 -1 -99.000000 -99.000000
no data -1 -1 -99.000000 -99.000000
no data -1 -1 -99.000000 -99.000000
no data -1 -1 -99.000000 -99.000000
no data -1 -1 -99.000000 -99.000000
three 30 30 3.000000 30.000000
four 40 40 4.000000 40.000000
no data -1 -1 -99.000000 -99.000000
no data -1 -1 -99.000000 -99.000000
567 changes: 567 additions & 0 deletions HDF5Examples/C/HL/tfiles/h5ex_table_10.ddl

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions HDF5Examples/C/HL/tfiles/h5ex_table_10.tst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Table has 5 fields and 16 records
zero 0 0 0.000000 0.000000
one 10 10 1.000000 10.000000
two 20 20 2.000000 20.000000
three 30 30 3.000000 30.000000
four 40 40 4.000000 40.000000
five 50 50 5.000000 50.000000
six 60 60 6.000000 60.000000
seven 70 70 7.000000 70.000000
zero 0 0 0.000000 0.000000
one 10 10 1.000000 10.000000
two 20 20 2.000000 20.000000
three 30 30 3.000000 30.000000
four 40 40 4.000000 40.000000
five 50 50 5.000000 50.000000
six 60 60 6.000000 60.000000
seven 70 70 7.000000 70.000000
241 changes: 241 additions & 0 deletions HDF5Examples/C/HL/tfiles/h5ex_table_11.ddl
Original file line number Diff line number Diff line change
@@ -0,0 +1,241 @@
HDF5 "h5ex_table_11.h5" {
GROUP "/" {
DATASET "table" {
DATATYPE H5T_COMPOUND {
H5T_STRING {
STRSIZE 16;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
} "Name";
H5T_STD_I32LE "Latitude";
H5T_STD_I32LE "Longitude";
H5T_IEEE_F32LE "Pressure";
H5T_IEEE_F64LE "Temperature";
H5T_STD_I32LE "New Field";
}
DATASPACE SIMPLE { ( 8 ) / ( H5S_UNLIMITED ) }
DATA {
(0): {
"zero",
0,
0,
0,
0,
0
},
(1): {
"one",
10,
10,
1,
10,
1
},
(2): {
"two",
20,
20,
2,
20,
2
},
(3): {
"three",
30,
30,
3,
30,
3
},
(4): {
"four",
40,
40,
4,
40,
4
},
(5): {
"five",
50,
50,
5,
50,
5
},
(6): {
"six",
60,
60,
6,
60,
6
},
(7): {
"seven",
70,
70,
7,
70,
7
}
}
ATTRIBUTE "CLASS" {
DATATYPE H5T_STRING {
STRSIZE 6;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "TABLE"
}
}
ATTRIBUTE "FIELD_0_FILL" {
DATATYPE H5T_STRING {
STRSIZE 16;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "no data"
}
}
ATTRIBUTE "FIELD_0_NAME" {
DATATYPE H5T_STRING {
STRSIZE 5;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Name"
}
}
ATTRIBUTE "FIELD_1_FILL" {
DATATYPE H5T_STD_I32LE
DATASPACE SCALAR
DATA {
(0): -1
}
}
ATTRIBUTE "FIELD_1_NAME" {
DATATYPE H5T_STRING {
STRSIZE 9;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Latitude"
}
}
ATTRIBUTE "FIELD_2_FILL" {
DATATYPE H5T_STD_I32LE
DATASPACE SCALAR
DATA {
(0): -1
}
}
ATTRIBUTE "FIELD_2_NAME" {
DATATYPE H5T_STRING {
STRSIZE 10;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Longitude"
}
}
ATTRIBUTE "FIELD_3_FILL" {
DATATYPE H5T_IEEE_F32LE
DATASPACE SCALAR
DATA {
(0): -99
}
}
ATTRIBUTE "FIELD_3_NAME" {
DATATYPE H5T_STRING {
STRSIZE 9;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Pressure"
}
}
ATTRIBUTE "FIELD_4_FILL" {
DATATYPE H5T_IEEE_F64LE
DATASPACE SCALAR
DATA {
(0): 0
}
}
ATTRIBUTE "FIELD_4_NAME" {
DATATYPE H5T_STRING {
STRSIZE 12;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Temperature"
}
}
ATTRIBUTE "FIELD_5_FILL" {
DATATYPE H5T_STD_I32LE
DATASPACE SCALAR
DATA {
(0): -100
}
}
ATTRIBUTE "FIELD_5_NAME" {
DATATYPE H5T_STRING {
STRSIZE 10;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "New Field"
}
}
ATTRIBUTE "TITLE" {
DATATYPE H5T_STRING {
STRSIZE 12;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Table Title"
}
}
ATTRIBUTE "VERSION" {
DATATYPE H5T_STRING {
STRSIZE 4;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "3.0"
}
}
}
}
}
1 change: 1 addition & 0 deletions HDF5Examples/C/HL/tfiles/h5ex_table_11.tst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Table has 6 fields and 8 records
185 changes: 185 additions & 0 deletions HDF5Examples/C/HL/tfiles/h5ex_table_12.ddl
Original file line number Diff line number Diff line change
@@ -0,0 +1,185 @@
HDF5 "h5ex_table_12.h5" {
GROUP "/" {
DATASET "table" {
DATATYPE H5T_COMPOUND {
H5T_STRING {
STRSIZE 16;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
} "Name";
H5T_STD_I32LE "Latitude";
H5T_STD_I32LE "Longitude";
H5T_IEEE_F64LE "Temperature";
}
DATASPACE SIMPLE { ( 8 ) / ( H5S_UNLIMITED ) }
DATA {
(0): {
"zero",
0,
0,
0
},
(1): {
"one",
10,
10,
10
},
(2): {
"two",
20,
20,
20
},
(3): {
"three",
30,
30,
30
},
(4): {
"four",
40,
40,
40
},
(5): {
"five",
50,
50,
50
},
(6): {
"six",
60,
60,
60
},
(7): {
"seven",
70,
70,
70
}
}
ATTRIBUTE "CLASS" {
DATATYPE H5T_STRING {
STRSIZE 6;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "TABLE"
}
}
ATTRIBUTE "FIELD_0_FILL" {
DATATYPE H5T_STRING {
STRSIZE 16;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "no data"
}
}
ATTRIBUTE "FIELD_0_NAME" {
DATATYPE H5T_STRING {
STRSIZE 5;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Name"
}
}
ATTRIBUTE "FIELD_1_FILL" {
DATATYPE H5T_STD_I32LE
DATASPACE SCALAR
DATA {
(0): -1
}
}
ATTRIBUTE "FIELD_1_NAME" {
DATATYPE H5T_STRING {
STRSIZE 9;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Latitude"
}
}
ATTRIBUTE "FIELD_2_FILL" {
DATATYPE H5T_STD_I32LE
DATASPACE SCALAR
DATA {
(0): -1
}
}
ATTRIBUTE "FIELD_2_NAME" {
DATATYPE H5T_STRING {
STRSIZE 10;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Longitude"
}
}
ATTRIBUTE "FIELD_3_FILL" {
DATATYPE H5T_IEEE_F64LE
DATASPACE SCALAR
DATA {
(0): -99
}
}
ATTRIBUTE "FIELD_3_NAME" {
DATATYPE H5T_STRING {
STRSIZE 12;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Temperature"
}
}
ATTRIBUTE "TITLE" {
DATATYPE H5T_STRING {
STRSIZE 12;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "Table Title"
}
}
ATTRIBUTE "VERSION" {
DATATYPE H5T_STRING {
STRSIZE 4;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "3.0"
}
}
}
}
}
1 change: 1 addition & 0 deletions HDF5Examples/C/HL/tfiles/h5ex_table_12.tst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Table has 4 fields and 8 records
8 changes: 1 addition & 7 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -4646,18 +4646,12 @@ AC_CONFIG_FILES([Makefile
hl/tools/Makefile
hl/tools/h5watch/Makefile
hl/tools/h5watch/testh5watch.sh
hl/examples/Makefile
hl/examples/run-hlc-ex.sh
hl/c++/Makefile
hl/c++/src/Makefile
hl/c++/test/Makefile
hl/c++/examples/Makefile
hl/c++/examples/run-hlc++-ex.sh
hl/fortran/Makefile
hl/fortran/src/Makefile
hl/fortran/test/Makefile
hl/fortran/examples/Makefile
hl/fortran/examples/run-hlfortran-ex.sh])
hl/fortran/test/Makefile])

AC_CONFIG_FILES([utils/subfiling_vfd/h5fuse], [chmod +x utils/subfiling_vfd/h5fuse])
if test -n "$TESTPARALLEL"; then