Returns SUCCEED (or 0) if successful and FAIL (or -1) otherwise.
Description
A scale is a one-dimensional array whose values describe reference points along one dimension of the dataset. For example, a two-dimensional dataset representing points on a map could have two scales, one representing points of latitude, and the other points of longitude.