Determines how many Dimension Scales are attached to dimension idx of did.

Procedure:

H5DS_GET_NUM_SCALES(did, idx)

Signature:

<pre><code class="language-c">int H5DSget_num_scales(hid_t did, unsigned int idx)</code></pre>

<pre><code class="language-fortran">SUBROUTINE H5DSget_num_scales_f(did, idx, num_scales, errcode)
    IMPLICIT NONE
    INTEGER(hid_t), INTENT(in)  :: did         ! The dataset
    INTEGER       , INTENT(in)  :: idx         ! The dimension of did to query
    INTEGER       , INTENT(out) :: num_scales  ! The number of Dimension Scales 
                                               ! associated with did
    INTEGER                     :: errcode     ! Error code
END SUBROUTINE H5DSget_num_scales_f</code></pre>

Parameters:
hid_t did;IN: the data set to query
unsigned int idx;IN: the dimension of did to query.

Description:

H5DSget_num_scales determines how many Dimension Scales are attached to dimension did of dataset dset.

Returns:

Returns the number of Dimension Scales associated with did, if successful, otherwise returns a negative value.

Example:

Coming Soon!