[Back to Interface] [Prev] [Next]

SDidtoref/sfid2ref

int32 SDidtoref(int32 sds_id)

sds_id IN:

Data set identifier returned by SDcreate or SDselect

Purpose

Returns the reference number assigned to a data set.

Return value

Returns the data set reference number if successful and FAIL (or -1) otherwise.

Description

SDidtoref returns the reference number of the data set specified by the parameter sds_id. The reference number is assigned by the HDF library when the data set is created. The specified reference number can be used to add the data set to a vgroup as well as a means of using the HDF annotations interface to annotate the data set.

FORTRAN

integer function sfid2ref(sds_id)

integer sds_id



[Back to Interface] [Prev] [Next]

hdfhelp@ncsa.uiuc.edu
HDF Reference Manual - 07/29/98, NCSA HDF Development Group.