1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
|
<html>
<head><title>
HDF5/Predefined Datatypes
</title></head>
<body bgcolor="#FFFFFF">
<hr>
<center>
<table border=0 width=98%>
<tr><td valign=top align=left>
<a href="H5.intro.html">Introduction to HDF5</a> <br>
<a href="H5.user.html">HDF5 User Guide</a> <br>
<a href="index.html">Other HDF5 documents and links</a> <br>
<!--
<a href="Glossary.html">Glossary</a><br>
-->
</td>
<td valign=top align=right>
And in this document, the
<a href="RM_H5Front.html">HDF5 Reference Manual</a>
<br>
<a href="RM_H5.html">H5</a>
<a href="RM_H5A.html">H5A</a>
<a href="RM_H5D.html">H5D</a>
<a href="RM_H5E.html">H5E</a>
<a href="RM_H5F.html">H5F</a>
<a href="RM_H5G.html">H5G</a>
<a href="RM_H5I.html">H5I</a>
<a href="RM_H5P.html">H5P</a>
<br>
<a href="RM_H5R.html">H5R</a>
<a href="RM_H5S.html">H5S</a>
<a href="RM_H5TS.html">H5T</a>
<a href="RM_H5Z.html">H5Z</a>
<a href="Tools.html">Tools</a>
<a href="PredefDTypes.html">Datatypes</a>
</td></tr>
</table>
</center>
<hr>
<center>
<h1>HDF5 Predefined Datatypes</h1>
</center>
The following datatypes are predefined in HDF5.
<h4>IEEE floating point datatypes</h4>
<ul>
<li>32-bit and 64-bit
<li>Big-endian and little-endian
</ul>
<pre>
H5T_IEEE_F32BE
H5T_IEEE_F32LE
H5T_IEEE_F64BE
H5T_IEEE_F64LE
</pre>
<h4>Standard datatypes</h4>
<ul>
<li>Signed integer (2's complement), unsigned integer, and bitfield
<li>8-bit, 16-bit, 32-bit, and 64-bit
<li>Big-endian and little-endian
</ul>
<table border=0 width=76%>
<tr><td valign=top width=33% align=left>
<pre>
H5T_STD_I8BE
H5T_STD_I8LE
H5T_STD_I16BE
H5T_STD_I16LE
H5T_STD_I32BE
H5T_STD_I32LE
H5T_STD_I64BE
H5T_STD_I64LE
</pre>
</td>
<td valign=top width=34% align=left>
<pre>
H5T_STD_U8BE
H5T_STD_U8LE
H5T_STD_U16BE
H5T_STD_U16LE
H5T_STD_U32BE
H5T_STD_U32LE
H5T_STD_U64BE
H5T_STD_U64LE
</pre>
</td>
<td valign=top width=33% align=left>
<pre>
H5T_STD_B8BE
H5T_STD_B8LE
H5T_STD_B16BE
H5T_STD_B16LE
H5T_STD_B32BE
H5T_STD_B32LE
H5T_STD_B64BE
H5T_STD_B64LE
</pre>
</tr></td>
</table>
<ul>
<li>Object reference or dataset region reference
</ul>
<pre>
H5T_STD_REF_OBJ
H5T_STD_REF_DSETREG
</pre>
<h4>UNIX-specific datatypes</h4>
<ul>
<li>32-bit and 64-bit
<li>Big-endian and little-endian
</ul>
<pre>
H5T_UNIX_D32BE
H5T_UNIX_D32LE
H5T_UNIX_D64BE
H5T_UNIX_D64LE
</pre>
<h4>C-specific datatype</h4>
<ul>
<li>String datatype in C (size defined in bytes rather than in bits)
</ul>
<pre>
H5T_C_S1
</pre>
<h4>FORTRAN-specific datatype</h4>
<ul>
<li>String datatype in FORTRAN (as defined for the HDF5 C library)
</ul>
<pre>
H5T_FORTRAN_S1
</pre>
<h4>Intel-specific datatypes</h4>
<ul>
<li>For Intel CPUs
<li>Little-endian
<li>Signed integer (2's complement), unsigned integer, bitfield, and
IEEE floating point
<li>8-bit, 16-bit, 32-bit, and 64-bit
</ul>
<table border=0 width=76%>
<tr><td valign=top width=50% align=left>
<pre>
H5T_INTEL_I8
H5T_INTEL_I16
H5T_INTEL_I32
H5T_INTEL_I64
H5T_INTEL_U8
H5T_INTEL_U16
H5T_INTEL_U32
H5T_INTEL_U64
</pre>
</td>
<td valign=top width=50% align=left>
<pre>
H5T_INTEL_B8
H5T_INTEL_B16
H5T_INTEL_B32
H5T_INTEL_B64
H5T_INTEL_F32
H5T_INTEL_F64
</pre>
</tr></td>
</table>
<h4>DEC Alpha-specific datatypes</h4>
<ul>
<li>For DEC Alpha CPUs
<li>Little-endian
<li>Signed integer (2's complement), unsigned integer, bitfield, and
IEEE floating point
<li>8-bit, 16-bit, 32-bit, and 64-bit
</ul>
<table border=0 width=76%>
<tr><td valign=top width=50% align=left>
<pre>
H5T_ALPHA_I8
H5T_ALPHA_I16
H5T_ALPHA_I32
H5T_ALPHA_I64
H5T_ALPHA_U8
H5T_ALPHA_U16
H5T_ALPHA_U32
H5T_ALPHA_U64
</pre>
</td>
<td valign=top width=50% align=left>
<pre>
H5T_ALPHA_B8
H5T_ALPHA_B16
H5T_ALPHA_B32
H5T_ALPHA_B64
H5T_ALPHA_F32
H5T_ALPHA_F64
</pre>
</tr></td>
</table>
<h4>MIPS-specific datatypes</h4>
<ul>
<li>For MIPS CPUs, commonly used in SGI system
<li>Big-endian
<li>Signed integer (2's complement), unsigned integer, bitfield, and
IEEE floating point
<li>8-bit, 16-bit, 32-bit, and 64-bit
</ul>
<table border=0 width=76%>
<tr><td valign=top width=50% align=left>
<pre>
H5T_MIPS_I8
H5T_MIPS_I16
H5T_MIPS_I32
H5T_MIPS_I64
H5T_MIPS_U8
H5T_MIPS_U16
H5T_MIPS_U32
H5T_MIPS_U64
</pre>
</td>
<td valign=top width=50% align=left>
<pre>
H5T_MIPS_B8
H5T_MIPS_B16
H5T_MIPS_B32
H5T_MIPS_B64
H5T_MIPS_F32
H5T_MIPS_F64
</pre>
</tr></td>
</table>
<h4>Predefined native datatypes</h4>
<dir>
These are the datatypes detected by <code>H5detect</code>.
Their names differ from other HDF5 datatype names as follows:
<ul>
<li>Instead of a class name, precision, and byte order as the last
component, they have a C-like datatype name.
<li>If the datatype begins with <code>U</code>, then it is the unsigned
version of the integer datatype; other integer datatypes are signed.
<li>The datatype <code>LLONG</code> corresponds to
C's <code>long_long</code> and
<code>LDOUBLE</code> is <code>long_double</code>.
These datatypes might be the same as <code>LONG</code> and
<code>DOUBLE</code>, respectively.
</ul>
</dir>
<table border=0 width=76%>
<tr><td valign=top width=50% align=left>
<pre>
H5T_NATIVE_CHAR
H5T_NATIVE_SCHAR
H5T_NATIVE_UCHAR
H5T_NATIVE_SHORT
H5T_NATIVE_USHORT
H5T_NATIVE_INT
H5T_NATIVE_UINT
H5T_NATIVE_LONG
H5T_NATIVE_ULONG
H5T_NATIVE_LLONG
H5T_NATIVE_ULLONG
</pre>
</td>
<td valign=top width=50% align=left>
<pre>
H5T_NATIVE_FLOAT
H5T_NATIVE_DOUBLE
H5T_NATIVE_LDOUBLE
H5T_NATIVE_B8
H5T_NATIVE_B16
H5T_NATIVE_B32
H5T_NATIVE_B64
H5T_NATIVE_OPAQUE
H5T_NATIVE_HADDR
H5T_NATIVE_HSIZE
H5T_NATIVE_HSSIZE
H5T_NATIVE_HERR
H5T_NATIVE_HBOOL
</pre>
</tr></td>
</table>
<h4>ANSI C9x-specific native integer datatypes</h4>
<ul>
<li>Signed integer (2's complement), unsigned integer, and bitfield
<li>8-bit, 16-bit, 32-bit, and 64-bit
<li><code>LEAST</code> -- storage to use least amount of space
<br>
<code>FAST</code> -- storage to maximize performance
</ul>
<table border=0 width=76%>
<tr><td valign=top width=50% align=left>
<pre>
H5T_NATIVE_INT8
H5T_NATIVE_UINT8
H5T_NATIVE_INT_LEAST8
H5T_NATIVE_UINT_LEAST8
H5T_NATIVE_INT_FAST8
H5T_NATIVE_UINT_FAST8
H5T_NATIVE_INT16
H5T_NATIVE_UINT16
H5T_NATIVE_INT_LEAST16
H5T_NATIVE_UINT_LEAST16
H5T_NATIVE_INT_FAST16
H5T_NATIVE_UINT_FAST16
</pre>
</td>
<td valign=top width=50% align=left>
<pre>
H5T_NATIVE_INT32
H5T_NATIVE_UINT32
H5T_NATIVE_INT_LEAST32
H5T_NATIVE_UINT_LEAST32
H5T_NATIVE_INT_FAST32
H5T_NATIVE_UINT_FAST32
H5T_NATIVE_INT64
H5T_NATIVE_UINT64
H5T_NATIVE_INT_LEAST64
H5T_NATIVE_UINT_LEAST64
H5T_NATIVE_INT_FAST64
H5T_NATIVE_UINT_FAST64
</pre>
</tr></td>
</table>
<h4>FORTRAN90 API datatypes</h4>
<ul>
<li>Datatypes defined for the FORTRAN90 APIs
<br>
<br>
<li>Native integer, single-precision real, double-precision real,
and character
</ul>
<pre>
H5T_NATIVE_INTEGER
H5T_NATIVE_REAL
H5T_NATIVE_DOUBLE
H5T_NATIVE_CHARACTER
</pre>
<ul>
<li>Signed integer (2's complement), unsigned integer, and
IEEE floating point
<li>8-bit, 16-bit, 32-bit, and 64-bit
<li>Big-endian and little-endian
</ul>
<table border=0 width=76%>
<tr><td valign=top width=33% align=left>
<pre>
H5T_STD_I8BE
H5T_STD_I8LE
H5T_STD_I16BE
H5T_STD_I16LE
H5T_STD_I32BE
H5T_STD_I32LE
H5T_STD_I64BE
H5T_STD_I64LE
</pre>
</td>
<td valign=top width=34% align=left>
<pre>
H5T_STD_U8BE
H5T_STD_U8LE
H5T_STD_U16BE
H5T_STD_U16LE
H5T_STD_U32BE
H5T_STD_U32LE
H5T_STD_U64BE
H5T_STD_U64LE
</pre>
</td>
<td valign=top width=33% align=left>
<pre>
H5T_IEEE_F32BE
H5T_IEEE_F32LE
H5T_IEEE_F64BE
H5T_IEEE_F64LE
</pre>
</tr></td>
</table>
<ul>
<li>Object reference or dataset region reference
</ul>
<pre>
H5T_STD_REF_OBJ
H5T_STD_REF_DSETREG
</pre>
<hr>
<center>
<table border=0 width=98%>
<tr><td valign=top align=left>
<a href="H5.intro.html">Introduction to HDF5</a> <br>
<a href="H5.user.html">HDF5 User Guide</a> <br>
<a href="index.html">Other HDF5 documents and links</a> <br>
<!--
<a href="Glossary.html">Glossary</a><br>
-->
</td>
<td valign=top align=right>
And in this document, the
<a href="RM_H5Front.html">HDF5 Reference Manual</a>
<br>
<a href="RM_H5.html">H5</a>
<a href="RM_H5A.html">H5A</a>
<a href="RM_H5D.html">H5D</a>
<a href="RM_H5E.html">H5E</a>
<a href="RM_H5F.html">H5F</a>
<a href="RM_H5G.html">H5G</a>
<a href="RM_H5I.html">H5I</a>
<a href="RM_H5P.html">H5P</a>
<br>
<a href="RM_H5R.html">H5R</a>
<a href="RM_H5S.html">H5S</a>
<a href="RM_H5TS.html">H5T</a>
<a href="RM_H5Z.html">H5Z</a>
<a href="Tools.html">Tools</a>
<a href="PredefDTypes.html">Datatypes</a>
</td></tr>
</table>
</center>
<hr>
<address>
<a href="mailto:hdfhelp@ncsa.uiuc.edu">HDF Help Desk</a>
<br>
Last modified: 12 December 2000
<br>
Describes HDF5 Release 1.4, February 2001
</body>
</html>
|