Signature:

      SUBROUTINE h5pset_scaleoffset_f(plist_id, scale_type, scale_factor, hdferr)
        INTEGER(HID_T), INTENT(IN)  :: plist_id
        INTEGER       , INTENT(IN)  :: scale_type
        INTEGER       , INTENT(IN)  :: scale_factor
        INTEGER       , INTENT(OUT) :: hdferr

Inputs:

      plist_id     - Dataset creation property list identifier.
      scale_type   - Flag indicating compression method. Valid values:
                        H5Z_SO_FLOAT_DSCALE_F
                        H5Z_SO_FLOAT_ESCALE_F
                        H5Z_SO_INT_F

      scale_factor - Parameter related to scale.

Outputs:

      hdferr       - Returns 0 if successful and -1 if fails