If possible, deletes association of Dimension Scale dsid with dimension idx of Dataset did. This deletes the entries in the DIMENSION_LIST and REFERENCE_LIST attributes, as defined in section 4.2.
- Bad arguments
- The dataset did or dsid do not exist.
- The dsid is not a Dimension Scale
- dsid is not attached to did.
Note that a scale may be associated with more than dimension of the same dataset. If so, the detach operation only deletes one of the associations, for did.