[Top]
[Prev]
[Next]
[Bottom]
SDreftoindex/sfref2index
int32 SDreftoindex(int32
sd_id
, int32
sds_ref
)
sd_id
IN:
SD interface identifier returned from
SDstart
sds_ref
IN:
Reference number for the specified dataset
Purpose
Determines the index assigned to a scientific dataset given the specified reference number.
Return value
Returns an
sds_index
if successful and FAIL (or -1) otherwise.
Description
The value of
sds_index
can be passed to
SDselect
to return a dataset identifier (
sds_id
).
FORTRAN
integer function sfref2index(sd_id, sds_ref)
integer sd_id, sds_ref
[Top]
[Prev]
[Next]
[Bottom]
hdfhelp@ncsa.uiuc.edu
HDF User's Reference Manual, Draft 06/09/97, NCSA HDF Development Group.