[Back to Interface] [Prev] [Next]

DFSDputdata/dspdata

intn DFSDputdata(char *filename, intn rank, int32 dimsizes[], VOIDP data)

filename IN:

Name of the HDF file

rank IN:

Number of dimensions of data array to be stored

dimsizes IN:

Buffer for the dimension sizes

data IN:

Buffer for the data to be stored

Purpose

Writes a scientific data and related information to an HDF file.

Return value

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

Description

DFSDputdata will write data to an existing file by destroying the contents of the original file. Use it with caution. If a new filename is used, DFSDputdata functions exactly like DFSDadddata.

FORTRAN

integer function dspdata(filename, rank, dimsizes, data)

character*(*) filename

<valid numeric data type> data

integer rank

integer dimsizes(*)



[Back to Interface] [Prev] [Next]

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