Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


HDF_SD_END

HDF_SD_END

The HDF_SD_END procedure closes the SD interface to an HDF file. Failure to close the file without a call to HDF_SD_END results in the loss of any changed or added SD data. Therefore, HDF_SD_END calls should always be paired with calls to HDF_SD_START. Before HDF_SD_END is called, all access to SD datasets should be terminated with calls to HDF_SD_ENDACCESS.

Examples


; Open a new HDF file:
SDinterface_id = HDF_SD_START('test.hdf', /CREATE)
; Various commands could now be used to access SD data
; in the HDF file.
; When done with datasets, access should be ended with 
; calls to HDF_SD_ENDACCESS:
HDF_SD_ENDACCESS, SDdataset_id_1
; When done with an HDF file, it should be closed:
HDF_SD_END, SDinterface_id

Another example can be seen in the documentation for HDF_SD_ATTRSET.

Syntax


HDF_SD_END, SDinterface_id

Arguments


SDinterface_id

An SD interface ID as returned by HDF _SD_START.

Keywords


None

Version History


4.0

Introduced

See Also


HDF_CLOSE, HDF_OPEN, HDF_SD_ENDACCESS, HDF_SD_START



© 2017 Exelis Visual Information Solutions, Inc. |  Legal
My Account    |    Buy    |    Contact Us