[Top]
[Prev]
[Next]
[Bottom]
DFSDsetdims/dssdims
intn DFSDsetdims (intn
rank
, int32
dimsizes
[])
rank
IN:
Number of dimensions
dimsizes
IN:
Dimensions of the scientific dataset
Purpose
Sets the rank and dimension sizes for all subsequent scientific datasets written to the file.
Return value
Returns SUCCEED (or 0) if successful and FAIL (or -1) otherwise.
Description
This routine must be called before calling either
DFSDsetdimstrs
or
DFSDsetdimscale
.
DFSDsetdims
need not be called if other set routines are not called and the correct dimensions are supplied in
DFSDputdata
or
DFSDadddata
.
If the rank or dimension sizes change, all previous set calls are cleared, except for the data type, which is set by calling
DFSDsetNT
.
FORTRAN
integer function dssdims(rank, dimsizes)
integer rank
integer dimsizes(*)
[Top]
[Prev]
[Next]
[Bottom]
hdfhelp@ncsa.uiuc.edu
HDF User's Reference Manual, Draft 06/09/97, NCSA HDF Development Group.