Purpose
|
Retrieves the scale values for a dimension.
|
Return value
|
Returns SUCCEED (or 0) if successful and FAIL (or -1) otherwise.
|
Description
|
SDgetdimscale retrieves the scale values of the dimension identified by the parameter dim_id and stores the values in the buffer scale_buf.
|
|
SDdiminfo should be used to check if a scale has been set for the dimension and to obtain the number of scale values for space allocation before calling SDgetdimscale.
|
|
It is not possible to read a subset of the scale values. SDgetdimscale returns all of the scale values stored with the given dimension.
|