Programs

ProgramSource FileDescription
array_testtest_array.f90
compacth5compact.f90

dummy data

Read more…
exist_teststest_exist.f90

test "exist" variable

fail_slice_mismatchtest_fail_read_rank_mismatch.f90

test writing wrong size

fail_slice_mismatchtest_fail_read_size_mismatch.f90

test writing wrong size

fail_unknown_readtest_fail_unknown_read.f90
main_int64int64.f90

hdf5 fortran interface can also read/write int64, but it's not in the h5lt interface initialize fortran interface and file

nonexistvartest_fail_nonexist_variable.f90
read_sliceread_slice.f90

example of Fortran reading smaller array into slice of larger array via subroutine

Read more…
scalar_testtest_scalar.f90

write scalar tests vector

Read more…
test_attributestest_attributes.f90
test_deflatetest_deflate.f90

unit tests and registration tests of HDF5 deflate compression write

test_destructtest_destructor.f90

test hdf5_file destructor, that should auto-flush and close file if user forgets to %close() file

test_errortest_error.f90
test_file_imagefile_image.f90
test_hdf5test_module.f90

unit tests and registration tests of HDF5 OO interface

test_layouttest_layout.f90

read casting

test_lttest_lt.f90
test_minimaltest_minimal.f90
test_shapetest_shape.f90

This program shows how HDF5 dimension orders are distinct in different languages

test_stringtest_string.f90

try reading too much data, then truncating to first C_NULL