dm_hdf5_close Interface

public interface dm_hdf5_close

Generic HDF5 close function.


Module Procedures

private function hdf5_close_file(file) result(rc)

Closes HDF5 file. Returns E_INVALID if the passed HDF5 file is not opened. Returns E_HDF5 if closing the file failed.

Arguments

Type IntentOptional Attributes Name
type(hdf5_file_type), intent(inout) :: file

HDF5 file type.

Return Value integer

private function hdf5_close_group(group) result(rc)

Closes HDF5 group. Returns E_INVALID if the passed HDF5 group is not opened. Returns E_HDF5 if closing the group failed.

Arguments

Type IntentOptional Attributes Name
type(hdf5_group_type), intent(inout) :: group

HDF5 group type.

Return Value integer