[Back to Interface] [Prev] [Next]

SDsetdimstrs/sfsdmstr

intn SDsetdimstrs(int32 dim_id, char *label, char *unit, char *format)

dim_id IN:

Dimension identifier returned by SDgetdimid

label IN:

Label (predefined attribute)

unit IN:

Unit (predefined attribute)

format IN:

Format (predefined attribute)

Purpose

Sets the predefined attribute of a dimension.

Return value

Returns SUCCEED (or 0) if successful and FAIL (or -1) otherwise.

Description

SDsetdimstrs sets the predefined attribute (label, unit, and format) for a dimension and its scale to the values specified in the parameters label, unit and format. If a parameter is set to NULL in C and an empty string in Fortran, then the attribute corresponding to that parameter will not be written. For more information about predefined attributes, refer to Section 3.10 of the HDF User's Guide.

FORTRAN

integer function sfsdmstr(dim_id, label, unit, format)

integer dim_id

character*(*) label, unit, format



[Back to Interface] [Prev] [Next]

hdfhelp@ncsa.uiuc.edu
HDF Reference Manual - 07/29/98, NCSA HDF Development Group.