1 C****************************************************************************
3 C* Software Development Group *
4 C* National Center
for Supercomputing Applications *
5 C* University of Illinois at Urbana-Champaign *
6 C* 605 E. Springfield, Champaign IL 61820 *
8 C* For conditions of distribution and use, see the accompanying *
11 C****************************************************************************
13 C $Id: hdf.inc 4703 2005-12-18 00:54:15Z epourmal $
15 C *-----------------------------------------------------------------------------
17 C * Purpose: Fortran header file
for HDF routines
20 C * Error
return codes
22 C * Remarks: This file can be included with Fortran user programs. As a
23 C * general rule, don
't use DFNT constants that don't include a
24 C * number in their
name. E.g., don
't use DFNT_FLOAT, use 25 C * DFNT_FLOAT32 or DFNT_FLOAT64. The DFNT constants that don't
26 C * include numbers are
for backward compatibility only. Also,
27 C * there are no current plans to support 128-bit number types.
28 C * For more information about constants in
this file, see the
29 C * equivalent constant declarations in the C include file
'hdf.h' 30 C *------------------------------------------------------------------------
43 parameter(DFE_NOERROR = 0)
72 parameter(DFE_WRITEERROR = -19)
73 parameter(DFE_SEEKERROR = -20)
75 parameter(DFE_BADTAG = -22)
76 parameter(DFE_BADREF = -23)
78 parameter(DFE_BADCALL = -25)
79 parameter(DFE_BADPTR = -26)
81 parameter(DFE_BADSEEK = -28)
82 parameter(DFE_NOMATCH = -29)
84 parameter(DFE_BADDIM = -31)
85 parameter(DFE_BADOFFSET = -32)
87 parameter(DFE_NODIM = -34)
88 parameter(DFE_NOTENOUGH = -35)
90 parameter(DFE_CORRUPT = -37)
101 parameter(DFE_NOREF = -39)
102 parameter(DFE_BADDATATYPE = -40)
104 parameter(DFE_BADNUMTYPE = -42)
105 parameter(DFE_BADORDER = -43)
107 parameter(DFE_INTERNAL = -45)
108 parameter(DFE_DUPDD = -46)
110 parameter(DFE_RANGE = -48)
111 parameter(DFE_BADTABLE = -49)
113 parameter(DFE_BADNDG = -51)
114 parameter(DFE_BADFIELDS = -52)
116 parameter(DFE_NOVS = -54)
117 parameter(DFE_VGSIZE = -55)
119 parameter(DFE_VTAB = -57)
126 parameter(DFE_OPENAID = -59)
127 parameter(DFE_BADCONV = -60)
128 parameter(DFE_GENAPP = -61)
130 parameter(DFE_BADTYPE = -63)
131 parameter(DFE_SYMSIZE = -64)
135 C internal file access codes
140 parameter(DFACC_READ = 1)
141 parameter(DFACC_WRITE = 2)
142 parameter(DFACC_CREATE = 4)
144 parameter(DFACC_RDONLY = 1)
145 parameter(DFACC_RDWR = 3)
151 parameter(DFACC_DEFAULT = 0)
152 parameter(DFACC_SERIAL = 1)
159 parameter(DFO_FORTRAN = 1)
162 C Definitions of storage convention
167 parameter(DFNTF_IEEE = 1)
168 parameter(DFNTF_VAX = 2)
169 parameter(DFNTF_CRAY = 3)
171 parameter(DFNTF_CONVEX = 5)
178 parameter(DFNT_HDF = 0)
179 parameter(DFNT_NATIVE = 4096)
180 parameter(DFNT_CUSTOM = 8192)
187 parameter(DFNT_NONE = 0)
188 parameter(DFNT_QUERY = 0)
194 parameter(DFNT_FLOAT32 = 5)
195 parameter(DFNT_FLOAT = 5)
197 parameter(DFNT_DOUBLE = 6)
206 parameter(DFNT_INT8 = 20)
208 parameter(DFNT_INT16 = 22)
210 parameter(DFNT_INT32 = 24)
212 parameter(DFNT_INT64 = 26)
214 parameter(DFNT_INT128 = 28)
220 parameter(DFNT_UCHAR8 = 3)
221 parameter(DFNT_UCHAR = 3)
223 parameter(DFNT_CHAR = 4)
224 parameter(DFNT_CHAR16 = 42)
230 parameter(DFNT_NFLOAT32 = 4101)
231 parameter(DFNT_NFLOAT = 4101)
233 parameter(DFNT_NDOUBLE = 4102)
242 parameter(DFNT_NINT8 = 4116)
244 parameter(DFNT_NINT16 = 4118)
246 parameter(DFNT_NINT32 = 4120)
248 parameter(DFNT_NINT64 = 4122)
250 parameter(DFNT_NINT128 = 4124)
256 parameter(DFNT_NUCHAR8 = 4099)
257 parameter(DFNT_NUCHAR = 4099)
259 parameter(DFNT_NCHAR = 4100)
260 parameter(DFNT_NCHAR16 = 4138)
266 parameter(DFNT_LFLOAT32 = 16389)
267 parameter(DFNT_LFLOAT = 16389)
269 parameter(DFNT_LDOUBLE = 16390)
276 parameter(DFNT_LINT8 = 16404)
277 parameter(DFNT_LUINT8 = 16405)
278 parameter(DFNT_LINT16 = 16406)
280 parameter(DFNT_LINT32 = 16408)
281 parameter(DFNT_LUINT32 = 16409)
282 parameter(DFNT_LINT64 = 16410)
284 parameter(DFNT_LINT128 = 16412)
290 parameter(DFNT_LUCHAR8 = 16387)
291 parameter(DFNT_LUCHAR = 16387)
293 parameter(DFNT_LCHAR = 16388)
294 parameter(DFNT_LCHAR16 = 16426)
302 parameter(DFREF_WILDCARD = 0, DFTAG_WILDCARD = 0)
312 parameter(DFTAG_FID = 100, DFTAG_FD = 101)
313 parameter(DFTAG_TID = 102,
DFTAG_TD = 103)
314 parameter(DFTAG_DIL = 104, DFTAG_DIA = 105)
315 parameter(DFTAG_NT = 106,
DFTAG_MT = 107)
322 parameter(DFTAG_ID8 = 200, DFTAG_IP8 = 201)
323 parameter(
DFTAG_RI8 = 202, DFTAG_CI8 = 203)
330 parameter(DFTAG_ID = 300, DFTAG_LUT = 301)
331 parameter(DFTAG_RI = 302,
DFTAG_CI = 303)
336 parameter(DFTAG_RIG = 306, DFTAG_LD = 307)
337 parameter(DFTAG_MD = 308,
DFTAG_MA = 309)
338 parameter(DFTAG_CCN = 310, DFTAG_CFM = 311)
343 parameter(DFTAG_DRAW = 400, DFTAG_RUN = 401)
344 parameter(DFTAG_XYP = 500,
DFTAG_MTO = 501)
352 C Scientific Data set
359 parameter(DFTAG_SDG = 700, DFTAG_SDD = 701)
360 parameter(DFTAG_SD = 702, DFTAG_SDS = 703)
361 parameter(
DFTAG_SDL = 704, DFTAG_SDU = 705)
362 parameter(DFTAG_SDF = 706, DFTAG_SDM = 707)
363 parameter(
DFTAG_SDC = 708, DFTAG_SDT = 709)
364 parameter(DFTAG_SDLNK = 710,
DFTAG_NDG = 720)
365 parameter(DFTAG_CAL = 731,
DFTAG_FV = 732)
366 parameter(DFTAG_BREQ = 799, DFTAG_EREQ = 780)
372 parameter(DFTAG_VG = 1965, DFTAG_VH = 1962)
375 C compression schemes
380 parameter(DFTAG_RLE =11, DFTAG_IMC =12)
405 parameter(HDF_VDATA = -1)
407 C Standard return codes
410 parameter(SUCCEED = 0,
FAIL = -1)
417 parameter(COMP_NONE = 0, COMP_RLE = 11)
418 parameter(COMP_IMCOMP = 12,
COMP_JPEG = 2)
420 C Fortran chunking (SD and GR interfaces) and compression routines use
421 C the following compression types:
429 parameter (COMP_CODE_NONE = 0)
430 parameter (COMP_CODE_RLE = 1)
432 parameter (COMP_CODE_SKPHUFF = 3)
439 parameter (SZ_EC_OPTION_MASK = 4)
441 parameter (COMP_DECODER_ENABLED = 1)
449 parameter(MFGR_INTERLACE_PIXEL = 0)
457 C Vdata
fields packing types
458 integer HDF_VSPACK, HDF_VSUNPACK
459 parameter (HDF_VSPACK = 0, HDF_VSUNPACK = 1)
461 C Multi-file Annotation types
464 parameter(AN_DATA_LABEL = 0, AN_DATA_DESC = 1)
467 c******************End of hdf.inc***************************
#define COMP_ENCODER_ENABLED
#define SD_DIMVAL_BW_INCOMP
#define SZ_EC_OPTION_MASK
#define SZ_NN_OPTION_MASK
#define MFGR_INTERLACE_PIXEL
HDFLIBAPI intn SDsetaccesstype(int32 id, uintn accesstype)
#define COMP_DECODER_ENABLED
#define MFGR_INTERLACE_COMPONENT
#define MFGR_INTERLACE_LINE
HDFFCLIBAPI intf intf _fcd fields
HDFFCLIBAPI intf intf intf * type
HDFLIBAPI int DFSDsetorder(int arrayorder)
#define SD_DIMVAL_BW_COMP