[Top]
[Prev]
[Next]
[Bottom]
SDsetdimscale/sfsdscale
intn SDsetdimscale(int32
dim_id
, int32
count
, int32
data_type
, VOIDP
data
)
dim_id
IN:
Dimension identifier returned from
SDgetdimid
count
IN:
Total number of values along the specified dimension
data_type
IN:
Data type of the values along the specified dimension
data
IN:
Value of each increment along the specified dimension
Purpose
Stores the values of the specified dimension.
Return value
Returns SUCCEED (or 0) if successful and FAIL (or -1) otherwise.
Description
Users should note that it is possible to store values for a dimension without naming it. Even though its redundant, the
count
argument has been included for backward compatibility. Note that there is now a
data_type
parameter so the dimension scales are no longer required to be the same data type as the dataset.
FORTRAN
integer function sfsdscale(dim_id, count, data_type, data)
integer dim_id, count, data_type
character* (*) data
[Top]
[Prev]
[Next]
[Bottom]
hdfhelp@ncsa.uiuc.edu
HDF User's Reference Manual, Draft 06/09/97, NCSA HDF Development Group.