Page tree

The license could not be verified: License Certificate has expired!

 

JAVA

FORTRAN

C++

C

 

Link

H5DS_ATTACH_SCALE

Attach dimension scale dsid to dimension idx of dataset did.

Procedure:

H5DS_ATTACH_SCALE(did, dsid, idx)

Signature:

herr_t H5DSattach_scale(hid_t did, hid_t dsid, unsigned int idx)

SUBROUTINE H5DSattach_scale_f(did, dsid, idx, errcode)
    IMPLICIT NONE
    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

Parameters:
hid_t did;IN: the dataset
hid_t dsid;IN: the scale to be attached
unsigned int idx;    IN: the dimension of did that dsid is associated with.

Description:

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.

Fails if:

  • Bad arguments
  • 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.

Returns:

Zero if succeed, negative if fail.

Example:

Coming Soon!

--- Last Modified: December 04, 2017 | 07:25 AM