[Back to Interface] [Prev] [Next]

DFSDpre32sdg/dsp32sd

intn DFSDpre32sdg(char *filename, uint16 ref, intn *ispre32)

filename IN:

The name of the HDF file containing the scientific dataset

ref IN:

Reference number of SDG

ispre32 OUT:

Pointer to results of the pre-HDF version 3.2 inquiry

Purpose

Tests if the scientific dataset with the specified reference number was created by an HDF library earlier than version 3.2.

Return value

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

Description

If the scientific dataset was created with a version of HDF prior to version 3.2, ispre32 will be set to 1, otherwise it will be set to 0. Based on this information, programmers can decide whether or not to transpose the corresponding array.

FORTRAN

integer function dsp32sd(filename, ref, ispre32)

character*(*) filename

integer ref, ispre32



[Back to Interface] [Prev] [Next]

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