Set label for the dimension idx of did to the value label.

Procedure:

H5DS_SET_LABEL(did, idx, label)

Signature:

<pre><code class="language-c">herr_t H5DSset_label(hid_t did, unsigned int idx, const char *label)</code></pre>

<pre><code class="language-fortran">SUBROUTINE H5DSset_label_f(did, idx, label, errcode)
    IMPLICIT NONE
    INTEGER(hid_t),   INTENT(in) :: did    ! The dataset
    INTEGER       ,   INTENT(in) :: idx    ! The dimension
    CHARACTER(LEN=*), INTENT(in) :: label  ! The label
    INTEGER :: errcode                     ! Error code
END SUBROUTINE H5DSset_label_f</code></pre>

Parameters:
hid_t did;IN: the dataset
unsigned int idx;    IN: the dimension
char *label;IN: the label

Description:

Sets the DIMENSION_LABEL_LIST for dimension idx of dataset did. If the dimension had a label, the new value replaces the old.

Fails if:

  • Bad arguments

Returns:

Zero if succeed, negative if fail.

Example:

Coming Soon!