Check that HDF5 groups are closed successfully.

This commit is contained in:
Paul Romano 2015-09-13 12:20:58 +07:00
parent b1f4597e23
commit 590df6e62d

View file

@ -236,6 +236,9 @@ contains
integer :: hdf5_err ! HDF5 error code
call h5gclose_f(group_id, hdf5_err)
if (hdf5_err < 0) then
call fatal_error("Unable to close HDF5 group.")
end if
end subroutine close_group
!===============================================================================