[Top] [Prev] [Next] [Bottom]

SDsetdimname/sfsdmname

intn SDsetdimname(int32 dim_id, char *dim_name)
dim_id

IN:

Dimension identifier returned from SDgetdimid

dim_name

IN:

ASCII string to name dimension

Purpose

Assigns a name to the specified dimension.

Return value

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

Description

If another dimension exists with the same name it is assumed that they refer to the same dimension object and changes to one will be reflected in the other. Naming dimensions is optional but encouraged. Dimensions that are not explicitly named by the user will have default names generated by the HDF library.

FORTRAN

integer function sfsdmname(dim_id, dim_name)

integer dim_id

character* (*) dim_name



[Top] [Prev] [Next] [Bottom]

hdfhelp@ncsa.uiuc.edu
HDF User's Reference Manual, Draft 06/09/97, NCSA HDF Development Group.