X
4544

HDF_CLOSE is failing to close the HDF file with unexpected error.


Topic:

When using HDF_CLOSE to close an HDF file, the following error may be thrown:

% HDF_CLOSE: Failed to close file( ).

Discussion:

A possible reason this error will be thrown is that a vData or a vGroup has been left attached when attempting to close the HDF file. To avoid such an error, make sure that all vData and vGroup that have been accessed (using HDF_VD_ATTACH or HDF_VG_ATTACH respectively) are detached (using HDF_VD_DETACH or HDF_VG_DETACH respectively).

Reviewed by DS 9/17/2014