DimensionScale.setScale

void setScale(hid_t dsid, string name = null)

Converts a dataset to a dimension scale.

After calling this function, the dataset can be attached to dimensions of other datasets to provide coordinate values.

Parameters

dsidDataset identifier to convert to a dimension scale
nameOptional name for the dimension scale (can be null)

Throws

HDF5Exception if the operation fails.