Attach dimension scale dsid to dimension idx of dataset did.
H5DS_ATTACH_SCALE(did, dsid, idx)
herr_t H5DSattach_scale(hid_t did, hid_t dsid, unsigned int idx)
SUBROUTINE H5DSattach_scale_f(did, dsid, idx, errcode)
INTEGER(hid_t), INTENT(in) :: did ! The dataset
INTEGER(hid_t), INTENT(in) :: dsid ! The scale to be attached
INTEGER , INTENT(in) :: idx ! The dimension of did that
! dsid is associated with.
INTEGER :: errcode ! Error code
END SUBROUTINE H5DSattach_scale_f
IN: the dataset
IN: the scale to be attached
unsigned int idx;
IN: the dimension of did that dsid is associated with.
Define Dimension Scale dsid to be associated with dimension idx of Dataset did.
Entries are created in the DIMENSION_LIST and REFERENCE_LIST attributes, as defined in section 4.2.
If dsid is not a Dimension Scale
If did is a Dimension Scale (A Dimension Scale cannot have scales.)
Note: The Dimension Scale dsid can be attached to the same dimension more than once, which has no effect.