The HDF_SD_ENDACCESS procedure closes an SD dataset interface. Failure to close the interface can result in the loss of any changed or added SD data. This routine should be called once for each call to HDF_SD_START or HDF_SD_CREATE. After all SD dataset interfaces are closed, the HDF file can safely be closed with HDF_SD_END.
SDinterface_id = HDF_SD_START('test.hdf', /CREATE)
SDdataset_id_1 = HDF_SD_SELECT(SDinterface_id,0)
Also see the example in HDF_SD_ATTRSET.
An SD dataset ID as returned by HDF_SD_SELECT, or HDF_SD_CREATE.
HDF_CLOSE, HDF_OPEN, HDF_SD_CREATE, HDF_SD_ENDACCESS, HDF_SD_START