summaryrefslogtreecommitdiffstats
path: root/doc/html/RM_H5S.html
blob: 6f8aaba8999a8e41f6d76334e4a7aefc89ec6f45 (plain)
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
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
<html>
<head><title>
HDF5/H5S API Specification
</title>

<!-- #BeginLibraryItem "/ed_libs/styles_RM.lbi" -->

<!--
  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  * Copyright by the Board of Trustees of the University of Illinois.         *
  * All rights reserved.                                                      *
  *                                                                           *
  * This file is part of HDF5.  The full HDF5 copyright notice, including     *
  * terms governing use, modification, and redistribution, is contained in    *
  * the files COPYING and Copyright.html.  COPYING can be found at the root   *
  * of the source code distribution tree; Copyright.html can be found at the  *
  * root level of an installed copy of the electronic HDF5 document set and   *
  * is linked from the top-level documents page.  It can also be found at     *
  * http://hdf.ncsa.uiuc.edu/HDF5/doc/Copyright.html.  If you do not have     *
  * access to either file, you may request a copy from hdfhelp@ncsa.uiuc.edu. *
  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 -->

<link href="ed_styles/RMelect.css" rel="stylesheet" type="text/css">
<!-- #EndLibraryItem --></head>

<body bgcolor="#FFFFFF">
<!-- HEADER RIGHT " " -->


<!-- #BeginLibraryItem "/ed_libs/NavBar_RM.lbi" --><hr>
<center>
<table border=0 width=98%>
<tr><td valign=top align=left>
<a href="index.html">HDF5 documents and links</a>&nbsp;<br>
<a href="H5.intro.html">Introduction to HDF5</a>&nbsp;<br>
<a href="http://hdf.ncsa.uiuc.edu/HDF5/doc/UG/index.html">HDF5 User Guide</a>&nbsp;<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>&nbsp;&nbsp;
<br>
<a href="http://hdf.ncsa.uiuc.edu/HDF5/hdf5_hl/doc/RM_hdf5im.html">H5IM</a>&nbsp;&nbsp;
<a href="http://hdf.ncsa.uiuc.edu/HDF5/hdf5_hl/doc/RM_hdf5lt.html">H5LT</a>&nbsp;&nbsp;
<a href="http://hdf.ncsa.uiuc.edu/HDF5/hdf5_hl/doc/RM_hdf5pt.html">H5PT</a>&nbsp;&nbsp;
<a href="http://hdf.ncsa.uiuc.edu/HDF5/hdf5_hl/doc/RM_hdf5tb.html">H5TB</a>&nbsp;&nbsp;
<br>
<a href="RM_H5.html">H5</a>&nbsp;&nbsp;
<a href="RM_H5A.html">H5A</a>&nbsp;&nbsp;
<a href="RM_H5D.html">H5D</a>&nbsp;&nbsp;
<a href="RM_H5E.html">H5E</a>&nbsp;&nbsp;
<a href="RM_H5F.html">H5F</a>&nbsp;&nbsp;
<a href="RM_H5G.html">H5G</a>&nbsp;&nbsp;
<a href="RM_H5I.html">H5I</a>&nbsp;&nbsp;
<a href="RM_H5P.html">H5P</a>&nbsp;&nbsp;
<br>
<a href="RM_H5R.html">H5R</a>&nbsp;&nbsp;
<a href="RM_H5S.html">H5S</a>&nbsp;&nbsp;
<a href="RM_H5T.html">H5T</a>&nbsp;&nbsp;
<a href="RM_H5Z.html">H5Z</a>&nbsp;&nbsp;
<a href="Tools.html">Tools</a>&nbsp;&nbsp;
<a href="PredefDTypes.html">Datatypes</a>&nbsp;&nbsp;
</td></tr>
</table>
</center>
<hr><!-- #EndLibraryItem --><center>
<h1>H5S: Dataspace Interface</h1>
</center>

<h2>Dataspace Object API Functions</h2>

These functions create and manipulate the dataspace in which to store the
elements of a dataset.


<p>
<strong>The C Interfaces:</strong>

<table border=0>
<tr><td valign=top>
    <li><a href="#Dataspace-Create">H5Screate</a>
    <li><a href="#Dataspace-Copy">H5Scopy</a>
    <li><a href="#Dataspace-Close">H5Sclose</a>
    <li><a href="#Dataspace-CreateSimple">H5Screate_simple</a>
    <li><a href="#Dataspace-IsSimple">H5Sis_simple</a>
    <li><a href="#Dataspace-OffsetSimple">H5Soffset_simple</a>
    <li><a href="#Dataspace-ExtentDims">H5Sget_simple_extent_dims</a>
    <li><a href="#Dataspace-ExtentNdims">H5Sget_simple_extent_ndims</a>

</td><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td valign=top>
    <li><a href="#Dataspace-ExtentNpoints">H5Sget_simple_extent_npoints</a>
    <li><a href="#Dataspace-ExtentType">H5Sget_simple_extent_type</a>
<!--		NOT YET IMPLEMENTED (R1.2 -- 9908)
    <li><a href="#Dataspace-ExtentClass">H5Sextent_class</a>
-->
    <li><a href="#Dataspace-ExtentCopy">H5Sextent_copy</a>
    <li><a href="#Dataspace-SetExtentSimple">H5Sset_extent_simple</a>
    <li><a href="#Dataspace-SetExtentNone">H5Sset_extent_none</a>
    <li><a href="#Dataspace-GetSelectType">H5Sget_select_type</a>
    <li><a href="#Dataspace-SelectNpoints">H5Sget_select_npoints</a>
    <li><a href="#Dataspace-SelectHyperNBlocks">H5Sget_select_hyper_nblocks</a>
    <li><a href="#Dataspace-SelectHyperBlockList">H5Sget_select_hyper_blocklist</a>
</td><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td valign=top>
    <li><a href="#Dataspace-SelectElemNPoints">H5Sget_select_elem_npoints</a>
    <li><a href="#Dataspace-SelectElemPointList">H5Sget_select_elem_pointlist</a>
    <li><a href="#Dataspace-SelectBounds">H5Sget_select_bounds</a>
    <li><a href="#Dataspace-SelectElements">H5Sselect_elements</a>
    <li><a href="#Dataspace-SelectAll">H5Sselect_all</a>
    <li><a href="#Dataspace-SelectNone">H5Sselect_none</a>
    <li><a href="#Dataspace-SelectValid">H5Sselect_valid</a>
    <li><a href="#Dataspace-SelectHyperslab">H5Sselect_hyperslab</a>
<!--<li><a href="#Dataspace-CombineHyperslab">H5Scombine_hyperslab</a>    -->
<!--<li><a href="#Dataspace-CombineSelect">H5Scombine_select</a>          -->
<!--<li><a href="#Dataspace-SelectSelect">H5Sselect_select</a>            -->
</td></tr>
</table>
<br>

<i>Alphabetical Listing</i>

<table border="0">
  <tr>
    <td valign="top">
      <li><a href="#Dataspace-Close">H5Sclose</a>
      <li><a href="#Dataspace-Copy">H5Scopy</a>
      <li><a href="#Dataspace-Create">H5Screate</a>
      <li><a href="#Dataspace-CreateSimple">H5Screate_simple</a>
      <li><a href="#Dataspace-ExtentCopy">H5Sextent_copy</a>
      <li><a href="#Dataspace-SelectBounds">H5Sget_select_bounds</a>
      <li><a href="#Dataspace-SelectElemNPoints">H5Sget_select_elem_npoints</a>
      <li><a href="#Dataspace-SelectElemPointList">H5Sget_select_elem_pointlist</a>
      <li><a href="#Dataspace-SelectHyperBlockList">H5Sget_select_hyper_blocklist</a>      
    </td>
    
    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
    
    <td valign="top">      
      <li><a href="#Dataspace-SelectHyperNBlocks">H5Sget_select_hyper_nblocks</a>
      <li><a href="#Dataspace-SelectNpoints">H5Sget_select_npoints</a>
      <li><a href="#Dataspace-GetSelectType">H5Sget_select_type</a>
      <li><a href="#Dataspace-ExtentDims">H5Sget_simple_extent_dims</a>
      <li><a href="#Dataspace-ExtentNdims">H5Sget_simple_extent_ndims</a>
      <li><a href="#Dataspace-ExtentNpoints">H5Sget_simple_extent_npoints</a>
      <li><a href="#Dataspace-ExtentType">H5Sget_simple_extent_type</a>
      <li><a href="#Dataspace-IsSimple">H5Sis_simple</a>
      <li><a href="#Dataspace-OffsetSimple">H5Soffset_simple</a>
    </td>
    
    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
    
    <td valign="top">
      
      <li><a href="#Dataspace-SelectAll">H5Sselect_all</a>
      <li><a href="#Dataspace-SelectElements">H5Sselect_elements</a>
      <li><a href="#Dataspace-SelectHyperslab">H5Sselect_hyperslab</a>
      <li><a href="#Dataspace-SelectNone">H5Sselect_none</a>
      <li><a href="#Dataspace-SelectValid">H5Sselect_valid</a>
      <li><a href="#Dataspace-SetExtentNone">H5Sset_extent_none</a>
      <li><a href="#Dataspace-SetExtentSimple">H5Sset_extent_simple</a>
    </td>
  </tr>
</table>

<br>
<strong>The FORTRAN90 Interfaces:</strong>
<br>
In general, each FORTRAN90 subroutine performs exactly the same task 
as the corresponding C function.  
<br>

<table border=0>
<tr><td valign=top>
    <li><a href="#Dataspace-Create">h5screate_f</a>
    <li><a href="#Dataspace-Copy">h5scopy_f</a>
    <li><a href="#Dataspace-Close">h5sclose_f</a>
    <li><a href="#Dataspace-CreateSimple">h5screate_simple_f</a>
    <li><a href="#Dataspace-IsSimple">h5sis_simple_f</a>
    <li><a href="#Dataspace-OffsetSimple">h5soffset_simple_f</a>
    <li><a href="#Dataspace-ExtentDims">h5sget_simple_extent_dims_f</a>
    <li><a href="#Dataspace-ExtentNdims">h5sget_simple_extent_ndims_f</a>
</td><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td valign=top>
    <li><a href="#Dataspace-ExtentNpoints">h5sget_simple_extent_npoints_f</a>
    <li><a href="#Dataspace-ExtentType">h5sget_simple_extent_type_f</a>
<!--		NOT YET IMPLEMENTED (R1.2 -- 9908)
    <li><a href="#Dataspace-ExtentClass">h5sextent_class_f</a>            -->
    <li><a href="#Dataspace-ExtentCopy">h5sextent_copy_f</a>
    <li><a href="#Dataspace-SetExtentSimple">h5sset_extent_simple_f</a>
    <li><a href="#Dataspace-SetExtentNone">h5sset_extent_none_f</a>
    <li><a href="#Dataspace-GetSelectType">h5sget_select_type_f</a>
    <li><a href="#Dataspace-SelectNpoints">h5sget_select_npoints_f</a>
    <li><a href="#Dataspace-SelectHyperNBlocks">h5sget_select_hyper_nblocks_f</a>
    <li><a href="#Dataspace-SelectHyperBlockList">h5sget_select_hyper_blocklist_f</a>
<!--<li><a href="#Dataspace-SelectBounds">h5sget_select_bounds_f</a>      -->
</td><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td valign=top>
    <li><a href="#Dataspace-SelectElemNPoints">h5sget_select_elem_npoints_f</a>
    <li><a href="#Dataspace-SelectElemPointList">h5sget_select_elem_pointlist_f</a>
    <li><a href="#Dataspace-SelectElements">h5sselect_elements_f</a>
    <li><a href="#Dataspace-SelectAll">h5sselect_all_f</a>
    <li><a href="#Dataspace-SelectNone">h5sselect_none_f</a>
    <li><a href="#Dataspace-SelectValid">h5sselect_valid_f</a>
    <li><a href="#Dataspace-SelectHyperslab">h5sselect_hyperslab_f</a>
<!--<li><a href="#Dataspace-CombineHyperslab">h5scombine_hyperslab_f</a>  -->
<!--<li><a href="#Dataspace-CombineSelect">h5scombine_select_f</a>        -->
<!--<li><a href="#Dataspace-SelectSelect">h5sselect_select_f</a>          -->
</td></tr>
</table>


<!-- Unimplemented functions
<p>
The following H5S functions are included in the HDF5 specification, 
but have not yet been implemented.  They are described in the 
<a href="Dataspaces.html">The Dataspace Interface (H5S)</a> section
of the <cite>HDF5 User's Guide.</cite>.
<table border=0>
<tr><td valign=top>
<ul>
    <li>H5Scommit
    <li>H5Sis_subspace
    <li>H5Slock
</ul>
</td><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td valign=top>
<ul>
    <li>H5Sopen
    <li>H5Sselect_op
    <li>H5Sselect_order
</ul>
</td><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td valign=top>
<ul>
    <li>H5Ssubspace
    <li>H5Ssubspace_name
    <li>H5Ssubspace_location
</ul>
</td></tr>
</table>
-->

<!-- NEW PAGE -->
<!-- HEADER RIGHT " " -->
<!-- NEW PAGE -->
<!-- HEADER RIGHT "H5Sclose" -->
<hr>
<dl>
<dt><strong>Name:</strong> <a name="Dataspace-Close">H5Sclose</a>
<dt><strong>Signature:</strong>
    <dd><em>herr_t </em><code>H5Sclose</code>(<em>hid_t </em><code>space_id</code>
    )
<dt><strong>Purpose:</strong>
    <dd>Releases and terminates access to a dataspace.
<dt><strong>Description:</strong>
    <dd><code>H5Sclose</code> releases a dataspace.  
        Further access through the dataspace identifier is illegal.  
        Failure to release a dataspace with this call will
        result in resource leaks.
<dt><strong>Parameters:</strong>
    <ul><table>
        <tr>
		  <td valign="top"><em>hid_t</em>&nbsp;<code>space_id&nbsp;&nbsp;&nbsp;&nbsp;</code></td>
          <td valign="top">Identifier of dataspace to release.</td></tr>
    </table></ul>
<dt><strong>Returns:</strong>
    <dd>Returns a non-negative value if successful;
        otherwise returns a negative value.
<dt><strong>Fortran90 Interface:</strong> h5sclose_f
    <dd>
	<pre>
SUBROUTINE h5sclose_f(space_id, hdferr)     
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: space_id  ! Dataspace identifier
  INTEGER, INTENT(OUT) :: hdferr          ! Error code
                                          ! 0 on success and -1 on failure
END SUBROUTINE h5sclose_f
	</pre>		
		
		<!--<dt><strong>Non-C API(s):</strong>
    	<dd>
        
        <img src="Graphics/Java.gif"> 
        <img src="Graphics/C++.gif">
        -->
</dl>

<!-- NEW PAGE -->
<!-- HEADER RIGHT "H5Scopy" -->
<hr>
<dl>
<dt><strong>Name:</strong> <a name="Dataspace-Copy">H5Scopy</a>
<dt><strong>Signature:</strong>
    <dd><em>hid_t </em><code>H5Scopy</code>(<em>hid_t </em><code>space_id</code>
    )
<dt><strong>Purpose:</strong>
    <dd>Creates an exact copy of a dataspace.
<dt><strong>Description:</strong>
    <dd><code>H5Scopy</code> creates a new dataspace which is an exact
        copy of the dataspace identified by <code>space_id</code>.
        The dataspace identifier returned from this function should be 
        released with <code>H5Sclose</code> or resource leaks will occur.
<dt><strong>Parameters:</strong>
    <ul><table>
        <tr>
		  <td valign="top"><em>hid_t</em>&nbsp;<code>space_id&nbsp;&nbsp;&nbsp;&nbsp;</code></td>
          <td valign="top">Identifier of dataspace to copy.</td></tr>
    </table></ul>
<dt><strong>Returns:</strong>
    <dd>Returns a dataspace identifier if successful; 
        otherwise returns a negative value.
<dt><strong>Fortran90 Interface:</strong> h5scopy_f
    <dd>
	<pre>
SUBROUTINE h5scopy_f(space_id, new_space_id, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: space_id      ! Dataspace identifier 
  INTEGER(HID_T), INTENT(OUT) :: new_space_id ! Identifier of dataspace copy 
  INTEGER, INTENT(OUT) :: hdferr              ! Error code
                                              ! 0 on success and -1 on failure
END SUBROUTINE h5scopy_f
	</pre>		
		
		<!--<dt><strong>Non-C API(s):</strong>
    	<dd>
        
        <img src="Graphics/Java.gif"> 
        <img src="Graphics/C++.gif">
        -->
</dl>

<!-- NEW PAGE -->
<!-- HEADER RIGHT "H5Screate" -->
<hr>
<dl>
<dt><strong>Name:</strong> <a name="Dataspace-Create">H5Screate</a>
<dt><strong>Signature:</strong>
    <dd><em>hid_t</em> <code>H5Screate</code>(<em>H5S_class_t</em> <code>type</code>)
<dt><strong>Purpose:</strong>
    <dd>Creates a new dataspace of a specified type.
<dt><strong>Description:</strong>
    <dd><code>H5Screate</code> creates a new dataspace of a particular 
        <code>type</code>.  
        The types currently supported are <code>H5S_SCALAR</code> and 
        <code>H5S_SIMPLE</code>;
        others are planned to be added later.  
<dt><strong>Parameters:</strong>
    <ul><table>
        <tr>
		  <td valign="top"><em>H5S_class_t</em>&nbsp;<code>type&nbsp;&nbsp;&nbsp;&nbsp;</code></td>
          <td valign="top">The type of dataspace to be created.</td></tr>
    </table></ul>
<dt><strong>Returns:</strong>
    <dd>Returns a dataspace identifier if successful; 
        otherwise returns a negative value.
<dt><strong>Fortran90 Interface:</strong> h5screate_f
    <dd>
	<pre>
SUBROUTINE h5screate_f(classtype, space_id, hdferr) 
  IMPLICIT NONE
  INTEGER, INTENT(IN) :: classtype        ! The type of the dataspace
                                          ! to be created. Possible values
                                          ! are: 
                                          !    H5S_SCALAR_F 
                                          !    H5S_SIMPLE_F 
  INTEGER(HID_T), INTENT(OUT) :: space_id ! Dataspace identifier 
  INTEGER, INTENT(OUT) :: hdferr          ! Error code
                                          ! 0 on success and -1 on failure
END SUBROUTINE h5screate_f
	</pre>		
		
		<!--<dt><strong>Non-C API(s):</strong>
    	<dd>
        
        <img src="Graphics/Java.gif"> 
        <img src="Graphics/C++.gif">
        -->
</dl>

<!-- NEW PAGE -->
<!-- HEADER RIGHT "H5Screate_simple" -->
<hr>
<dl>
<dt><strong>Name:</strong> <a name="Dataspace-CreateSimple">H5Screate_simple</a>
<dt><strong>Signature:</strong>
    <dd><em>hid_t</em> <code>H5Screate_simple</code>(<em>int</em> <code>rank</code>,
        <em>const hsize_t *</em> <code>dims</code>,
        <em>const hsize_t *</em> <code>maxdims</code>
    )
<dt><strong>Purpose:</strong>
    <dd>Creates a new simple dataspace and opens it for access. 
<dt><strong>Description:</strong>

    <dd><code>H5Screate_simple</code> creates a new simple dataspace 
        and opens it for access. 
        <p>
        <code>rank</code> is the number of dimensions used in the dataspace.  
        <p>
        <code>dims</code> is an array specifying the size of each dimension
        of the dataset while
        <code>maxdims</code> is an array specifying the upper limit on 
        the size of each dimension.  
        <code>maxdims</code> may be the null pointer, in which case the 
        upper limit is the same as <code>dims</code>.  
        <p>
        If an element of <code>maxdims</code> is 
        <code>H5S_UNLIMITED</code>, (<code>-1</code>), 
        the maximum size of the corresponding dimension is unlimited.
        Otherwise, no element of <code>maxdims</code> should be 
        smaller than the corresponding element of <code>dims</code>.  
        <p>
        The dataspace identifier returned from this function must be 
        released with <code>H5Sclose</code> or resource leaks will occur.
<dt><strong>Parameters:</strong>
    <ul><table>
        <tr>
		  <td valign="top"><em>int</em> <code>rank</code></td>
          <td valign="top">Number of dimensions of dataspace.</td></tr>
        <tr>
		  <td valign="top"><em>const hsize_t *</em> <code>dims</code></td>
          <td valign="top">An array of the size of each dimension.</td></tr>
        <tr>
		  <td valign="top"><em>const&nbsp;hsize_t&nbsp;*</em>&nbsp;<code>maxdims&nbsp;&nbsp;&nbsp;&nbsp;</code></td>
          <td valign="top">An array of the maximum size of each dimension.</td></tr>
    </table></ul>
<dt><strong>Returns:</strong>
    <dd>Returns a dataspace identifier if successful; 
        otherwise returns a negative value.
<dt><strong>Fortran90 Interface:</strong> h5screate_simple_f
    <dd>
	<pre>
SUBROUTINE h5screate_simple_f(rank, dims, space_id, hdferr, maxdims) 
  IMPLICIT NONE
  INTEGER, INTENT(IN) :: rank             ! Number of dataspace dimensions 
  INTEGER(HSIZE_T), INTENT(IN) :: dims(*) ! Array with the dimension sizes 
  INTEGER(HID_T), INTENT(OUT) :: space_id ! Dataspace identifier 
  INTEGER, INTENT(OUT) :: hdferr          ! Error code
                                          ! 0 on success and -1 on failure
  INTEGER(HSIZE_T), OPTIONAL, INTENT(IN) :: maxdims(*) 
                                          ! Array with the maximum 
                                          ! dimension sizes 
END SUBROUTINE h5screate_simple_f
	</pre>		
		
		<!--<dt><strong>Non-C API(s):</strong>
    	<dd>
        
        <img src="Graphics/Java.gif"> 
        <img src="Graphics/C++.gif">
        -->
</dl>

<!-- NEW PAGE -->
<!-- HEADER RIGHT "H5Sextent_copy" -->
<hr>
<dl>
<dt><strong>Name:</strong> <a name="Dataspace-ExtentCopy">H5Sextent_copy</a>
<dt><strong>Signature:</strong>
    <dd><em>herr_t</em> <code>H5Sextent_copy</code>(<em>hid_t</em> <code>dest_space_id</code>,
    <em>hid_t</em> <code>source_space_id</code>
    )
<dt><strong>Purpose:</strong>
    <dd>Copies the extent of a dataspace.
<dt><strong>Description:</strong>
    <dd><code>H5Sextent_copy</code> copies the extent from 
    <code>source_space_id</code> to <code>dest_space_id</code>. 
    This action may change the type of the dataspace.  
<dt><strong>Parameters:</strong>
    <ul><table>
        <tr>
		  <td valign="top"><em>hid_t</em> <code>dest_space_id</code></td>
          <td valign="top">IN: The identifier for the dataspace to which 
              the extent is copied.</td></tr>
        <tr>
		  <td valign="top"><em>hid_t</em>&nbsp;<code>source_space_id&nbsp;&nbsp;&nbsp;&nbsp;</code></td>
          <td valign="top">IN: The identifier for the dataspace from which 
              the extent is copied.</td></tr>
    </table></ul>
<dt><strong>Returns:</strong>
    <dd>Returns a non-negative value if successful;
        otherwise returns a negative value.
<dt><strong>Fortran90 Interface:</strong> h5sextent_copy_f
    <dd>
	<pre>
SUBROUTINE h5sextent_copy_f(dest_space_id, source_space_id, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: dest_space_id   ! Identifier of destination
                                                ! dataspace
  INTEGER(HID_T), INTENT(IN) :: source_space_id ! Identifier of source 
                                                ! dataspace
  INTEGER, INTENT(OUT) :: hdferr                ! Error code
                                                ! 0 on success and -1 on failure 
END SUBROUTINE h5sextent_copy_f
	</pre>		
		
		<!--<dt><strong>Non-C API(s):</strong>
    	<dd>
        
        <img src="Graphics/Java.gif"> 
        <img src="Graphics/C++.gif">
        -->
</dl>

<!-- NEW PAGE -->
<!-- HEADER RIGHT "H5Sget_select_bounds" -->
<hr>
<dl>
<dt><strong>Name:</strong> <a name="Dataspace-SelectBounds">H5Sget_select_bounds</a>
<dt><strong>Signature:</strong>
    <dd><em>herr_t </em><code>H5Sget_select_bounds</code>(<em>hid_t </em><code>space_id</code>,
        <em>hsize_t *</em><code>start</code>,
        <em>hsize_t *</em><code>end</code>
    )
<dt><strong>Purpose:</strong>
    <dd>Gets the bounding box containing the current selection.
<dt><strong>Description:</strong>
    <dd><code>H5Sget_select_bounds</code> retrieves the coordinates of 
        the bounding box containing the current selection and places
        them into user-supplied buffers.  
        <p>
        The <code>start</code> and <code>end</code> buffers must be large
        enough to hold the dataspace rank number of coordinates.  
        <p>
        The bounding box exactly contains the selection.  
        I.e., if a 2-dimensional element selection is currently
        defined as containing the points (4,5), (6,8), and (10,7), 
        then the bounding box will be (4, 5), (10, 8).  
        <p>
        The bounding box calculation includes the current offset of the
        selection within the dataspace extent.
        <p>
        Calling this function on a <code>none</code> selection will 
        return <code>FAIL</code>.
<dt><strong>Parameters:</strong>
    <ul><table>
        <tr>
		  <td valign="top"><em>hid_t</em>&nbsp;<code>space_id&nbsp;&nbsp;&nbsp;&nbsp;</code></td>
          <td valign="top">IN: Identifier of dataspace to query.</td></tr>
        <tr>
		  <td valign="top"><em>hsize_t *</em><code>start</code></td>
          <td valign="top">OUT: Starting coordinates of the bounding box.</td></tr>
        <tr>
		  <td valign="top"><em>hsize_t *</em><code>end</code></td>
          <td valign="top">OUT: Ending coordinates of the bounding box, 
                i.e., the coordinates of the diagonally opposite corner.</td></tr>
    </table></ul>
<dt><strong>Returns:</strong>
    <dd>Returns a non-negative value if successful;
        otherwise returns a negative value.
<dt><strong>Fortran90 Interface:</strong>
    <dd>
	<pre>
SUBROUTINE  h5sget_select_bounds_f(space_id, start, end, hdferr)
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: space_id 
                                   ! Dataspace identifier 
  INTEGER(HSIZE_T), DIMENSION(*), INTENT(OUT) :: start
                                   ! Starting coordinates of the bounding box 
  INTEGER(HSIZE_T), DIMENSION(*), INTENT(OUT) :: end
                                   ! Ending coordinates of the bounding box,
                                   ! i.e., the coordinates of the diagonally 
                                   ! opposite corner 
  INTEGER, INTENT(OUT) :: hdferr   ! Error code
END SUBROUTINE h5sget_select_bounds_f
	</pre>

<!--<dt><strong>Non-C API(s):</strong>
    <dd>
        <img src="Graphics/Java.gif"> 
        <img src="Graphics/C++.gif">
        -->
</dl>

<!-- NEW PAGE -->
<!-- HEADER RIGHT "H5Sget_select_elem_npoints" -->
<hr>
<dl>
<dt><strong>Name:</strong> <a name="Dataspace-SelectElemNPoints">H5Sget_select_elem_npoints</a>
<dt><strong>Signature:</strong>
    <dd><em>hssize_t </em><code>H5Sget_select_elem_npoints</code>(<em>hid_t </em><code>space_id</code>
    )
<dt><strong>Purpose:</strong>
    <dd>Gets the number of element points in the current selection.
<dt><strong>Description:</strong>
    <dd><code>H5Sget_select_elem_npoints</code> returns
    the number of element points in the current dataspace selection.
<dt><strong>Parameters:</strong>
    <ul><table>
        <tr>
		  <td valign="top"><em>hid_t</em>&nbsp;<code>space_id&nbsp;&nbsp;&nbsp;&nbsp;</code></td>
          <td valign="top">IN: Identifier of dataspace to query.</td></tr>
    </table></ul>
<dt><strong>Returns:</strong>
    <dd>Returns the number of element points in the current dataspace selection if successful.
        Otherwise returns a negative value.
<dt><strong>Fortran90 Interface:</strong> h5sget_select_elem_npoints_f
    <dd>
	<pre>
SUBROUTINE h5sget_select_elem_npoints_f(space_id, num_points, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: space_id ! Dataspace identifier
  INTEGER, INTENT(OUT) :: num_points     ! Number of points in 
                                         ! the current elements selection
  INTEGER, INTENT(OUT) :: hdferr         ! Error code
END SUBROUTINE h5sget_select_elem_npoints_f
	</pre>		
		
		<!--<dt><strong>Non-C API(s):</strong>
    	<dd>
        
        <img src="Graphics/Java.gif"> 
        <img src="Graphics/C++.gif">
        -->
</dl>

<!-- NEW PAGE -->
<!-- HEADER RIGHT "H5Sget_select_elem_pointlist" -->
<hr>
<dl>
<dt><strong>Name:</strong> <a name="Dataspace-SelectElemPointList">H5Sget_select_elem_pointlist</a>
<dt><strong>Signature:</strong>
    <dd><em>herr_t </em><code>H5Sget_select_elem_pointlist</code>(<em>hid_t </em><code>space_id</code>,
        <em>hsize_t </em><code>startpoint</code>,
        <em>hsize_t </em><code>numpoints</code>,
        <em>hsize_t *</em><code>buf</code>
    )
<dt><strong>Purpose:</strong>
    <dd>Gets the list of element points currently selected.
<dt><strong>Description:</strong>
    <dd><code>H5Sget_select_elem_pointlist</code> returns the list of 
        element points in the current dataspace selection.  Starting with 
        the <code>startpoint</code>-th point in the list of points,
        <code>numpoints</code> points are put into the user's buffer.
        If the user's buffer fills up before <code>numpoints</code>
        points are inserted, the buffer will contain only as many 
        points as fit.
        <p>
        The element point coordinates have the same dimensionality (rank) 
        as the dataspace they are located within.  The list of element points 
        is formatted as follows: 
            <br>&nbsp;&nbsp;&nbsp;&nbsp;
            &lt;coordinate&gt;, followed by 
            <br>&nbsp;&nbsp;&nbsp;&nbsp;
            the next coordinate, 
            <br>&nbsp;&nbsp;&nbsp;&nbsp;
            etc. 
            <br>
        until all of the selected element points have been listed.
        <p>
        The points are returned in the order they will be iterated through
        when the selection is read/written from/to disk.
<dt><strong>Parameters:</strong>
    <ul><table>
        <tr>
		  <td valign="top"><em>hid_t</em> <code>space_id</code></td>
          <td valign="top">IN: Dataspace identifier of selection to query.</td></tr>
        <tr>
		  <td valign="top"><em>hsize_t&nbsp;</em><code>startpoint&nbsp;&nbsp;&nbsp;&nbsp;</code></td>
          <td valign="top">IN: Element point to start with.</td></tr>
        <tr>
		  <td valign="top"><em>hsize_t </em><code>numpoints</code></td>
          <td valign="top">IN: Number of element points to get.</td></tr>
        <tr>
		  <td valign="top"><em>hsize_t *</em><code>buf</code></td>
          <td valign="top">OUT: List of element points selected.</td></tr>
    </table></ul>
<dt><strong>Returns:</strong>
    <dd>Returns a non-negative value if successful;
        otherwise returns a negative value.
<dt><strong>Fortran90 Interface:</strong> h5sget_select_elem_pointlist_f
    <dd>
	<pre>
SUBROUTINE h5sget_select_elem_pointlist_f(space_id, startpoint, num_points,
                                          buf, hdferr)
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN)   :: space_id   ! Dataspace identifier
  INTEGER(HSIZE_T), INTENT(IN) :: startpoint ! Element point to start with
  INTEGER, INTENT(OUT) :: num_points         ! Number of points to get in 
                                             ! the current element selection
  INTEGER(HSIZE_T), DIMENSION(*), INTENT(OUT) :: buf
                                             ! List of points selected 
  INTEGER, INTENT(OUT) :: hdferr             ! Error code
END SUBROUTINE h5sget_select_elem_pointlist_f
	</pre>		
		
		<!--<dt><strong>Non-C API(s):</strong>
    	<dd>
        
        <img src="Graphics/Java.gif"> 
        <img src="Graphics/C++.gif">
        -->
</dl>

<!-- NEW PAGE -->
<!-- HEADER RIGHT "H5Sget_select_hyper_blocklist" -->
<hr>
<dl>
<dt><strong>Name:</strong> <a name="Dataspace-SelectHyperBlockList">H5Sget_select_hyper_blocklist</a>
<dt><strong>Signature:</strong>
    <dd><em>herr_t </em><code>H5Sget_select_hyper_blocklist</code>(<em>hid_t </em><code>space_id</code>,
        <em>hsize_t </em><code>startblock</code>,
        <em>hsize_t </em><code>numblocks</code>,
        <em>hsize_t *</em><code>buf</code>
    )
<dt><strong>Purpose:</strong>
    <dd>Gets the list of hyperslab blocks currently selected.
<dt><strong>Description:</strong>
    <dd><code>H5Sget_select_hyper_blocklist</code> returns a list of 
        the hyperslab blocks currently selected.  Starting with the 
        <code>startblock</code>-th block in the list of blocks,
        <code>numblocks</code> blocks are put into the user's buffer.
        If the user's buffer fills up before <code>numblocks</code>
        blocks are inserted, the buffer will contain only as many 
        blocks as fit.
        <p>
        The block coordinates have the same dimensionality (rank) 
        as the dataspace they are located within.  The list of blocks 
        is formatted as follows: 
            <br>&nbsp;&nbsp;&nbsp;&nbsp;
            &lt;"start" coordinate&gt;, immediately followed by 
            <br>&nbsp;&nbsp;&nbsp;&nbsp;
            &lt;"opposite" corner coordinate&gt;, followed by 
            <br>&nbsp;&nbsp;&nbsp;&nbsp;
            the next "start" and "opposite" coordinates, 
            <br>&nbsp;&nbsp;&nbsp;&nbsp;
            etc. 
            <br>
        until all of the selected blocks have been listed.
        <p>
        No guarantee is implied as the order in which blocks are listed.
<dt><strong>Parameters:</strong>
    <ul><table>
        <tr>
		  <td valign="top"><em>hid_t</em> <code>space_id</code></td>
          <td valign="top">IN: Dataspace identifier of selection to query.</td></tr>
        <tr>
		  <td valign="top"><em>hsize_t&nbsp;</em><code>startblock&nbsp;&nbsp;&nbsp;&nbsp;</code></td>
          <td valign="top">IN: Hyperslab block to start with.</td></tr>
        <tr>
		  <td valign="top"><em>hsize_t </em><code>numblocks</code></td>
          <td valign="top">IN: Number of hyperslab blocks to get.</td></tr>
        <tr>
		  <td valign="top"><em>hsize_t *</em><code>buf</code></td>
          <td valign="top">OUT: List of hyperslab blocks selected.</td></tr>
    </table></ul>
<dt><strong>Returns:</strong>
    <dd>Returns a non-negative value if successful;
        otherwise returns a negative value.
<dt><strong>Fortran90 Interface:</strong> h5sget_select_hyper_blocklist_f
    <dd>
	<pre>
SUBROUTINE h5sget_select_hyper_blocklist_f(space_id, startblock, num_blocks,
                                           buf, hdferr)
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN)   :: space_id   ! Dataspace identifier
  INTEGER(HSIZE_T), INTENT(IN) :: startblock ! Hyperslab block to start with
  INTEGER, INTENT(OUT) :: num_blocks         ! Number of hyperslab blocks to 
                                             ! get in the current hyperslab 
                                             ! selection
  INTEGER(HSIZE_T), DIMENSION(*), INTENT(OUT) :: buf
                                             ! List of hyperslab blocks selected
  INTEGER, INTENT(OUT) :: hdferr             ! Error code
END SUBROUTINE h5sget_select_hyper_blocklist_f
	</pre>		
		
		<!--<dt><strong>Non-C API(s):</strong>
    	<dd>
        
        <img src="Graphics/Java.gif"> 
        <img src="Graphics/C++.gif">
        -->
</dl>

<!-- NEW PAGE -->
<!-- HEADER RIGHT "H5Sget_select_hyper_nblocks" -->
<hr>
<dl>
<dt><strong>Name:</strong> <a name="Dataspace-SelectHyperNBlocks">H5Sget_select_hyper_nblocks</a>
<dt><strong>Signature:</strong>
    <dd><em>hssize_t </em><code>H5Sget_select_hyper_nblocks</code>(<em>hid_t </em><code>space_id</code>
    )
<dt><strong>Purpose:</strong>
    <dd>Get number of hyperslab blocks.
<dt><strong>Description:</strong>
    <dd><code>H5Sget_select_hyper_nblocks</code> returns the 
        number of hyperslab blocks in the current dataspace selection.
<dt><strong>Parameters:</strong>
    <ul><table>
        <tr>
		  <td valign="top"><em>hid_t</em>&nbsp;<code>space_id&nbsp;&nbsp;&nbsp;&nbsp;</code></td>
          <td valign="top">IN: Identifier of dataspace to query.</td></tr>
    </table></ul>
<dt><strong>Returns:</strong>
    <dd>Returns the number of hyperslab blocks in 
        the current dataspace selection if successful.
        Otherwise returns a negative value.
<dt><strong>Fortran90 Interface:</strong> h5sget_select_hyper_nblocks_f
    <dd>
	<pre>
SUBROUTINE h5sget_select_hyper_nblocks_f(space_id, num_blocks, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: space_id ! Dataspace identifier
  INTEGER, INTENT(OUT) :: num_blocks     ! Number of hyperslab blocks in 
                                         ! the current hyperslab selection
  INTEGER, INTENT(OUT) :: hdferr         ! Error code
END SUBROUTINE h5sget_select_hyper_nblocks_f
	</pre>		
		
		<!--<dt><strong>Non-C API(s):</strong>
    	<dd>
        
        <img src="Graphics/Java.gif"> 
        <img src="Graphics/C++.gif">
        -->
</dl>

<!-- NEW PAGE -->
<!-- HEADER RIGHT "H5Sget_select_npoints" -->
<hr>
<dl>
<dt><strong>Name:</strong> <a name="Dataspace-SelectNpoints">H5Sget_select_npoints</a>
<dt><strong>Signature:</strong>
    <dd><em>hssize_t</em> <code>H5Sget_select_npoints</code>(<em>hid_t</em> <code>space_id</code>)
<dt><strong>Purpose:</strong>
    <dd>Determines the number of elements in a dataspace selection.
<dt><strong>Description:</strong>
    <dd><code>H5Sget_select_npoints</code> determines the number of elements 
        in the current selection of a dataspace.
<dt><strong>Parameters:</strong>
    <ul><table>
        <tr>
		  <td valign="top"><em>hid_t</em>&nbsp;<code>space_id&nbsp;&nbsp;&nbsp;&nbsp;</code></td>
          <td valign="top">Dataspace identifier.</td></tr>
    </table></ul>
<dt><strong>Returns:</strong>
    <dd>Returns the number of elements in the selection if successful; 
        otherwise returns a negative value.
<dt><strong>Fortran90 Interface:</strong> h5sget_select_npoints_f
    <dd>
	<pre>
SUBROUTINE h5sget_select_npoints_f(space_id, npoints, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: space_id     ! Dataspace identifier 
  INTEGER(HSSIZE_T), INTENT(OUT) :: npoints  ! Number of elements in the
                                             ! selection 
  INTEGER, INTENT(OUT) :: hdferr             ! Error code
                                             ! 0 on success and -1 on failure 
END SUBROUTINE h5sget_select_npoints_f
	</pre>		
		
		<!--<dt><strong>Non-C API(s):</strong>
    	<dd>
        
        <img src="Graphics/Java.gif"> 
        <img src="Graphics/C++.gif">
        -->
</dl>

<!-- NEW PAGE -->
<!-- HEADER RIGHT "H5Sget_select_type" -->
<hr>
<dl>
<dt><strong>Name:</strong> <a name="Dataspace-GetSelectType">H5Sget_select_type</a>
<dt><strong>Signature:</strong>
    <dd><em>H5S_sel_type</em> <code>H5Sget_select_type</code>(<em>hid_t</em> <code>space_id</code>)
<dt><strong>Purpose:</strong>
    <dd>Determines the type of the dataspace selection.
<dt><strong>Description:</strong>
    <dd><code>H5Sget_select_type</code> retrieves the  
        type of selection currently defined for the dataspace 
	<code>space_id</code>.
<dt><strong>Parameters:</strong>
    <ul><table>
        <tr>
		  <td valign="top"><em>hid_t</em>&nbsp;<code>space_id&nbsp;&nbsp;&nbsp;&nbsp;</code></td>
          <td valign="top">Dataspace identifier.</td></tr>
    </table></ul>
<dt><strong>Returns:</strong>
    <dd>Returns the dataspace selection type, a value of       
        the  enumerated datatype <code>H5S_sel_type</code>, 
	if successful.
	Valid return values are as follows:
        <center>
        <table width=90% border=0>
          <tr><td valign=top>
            <code>H5S_SEL_NONE</code>
            </td><td valign=top>
            No selection is defined.
          </td></tr><tr><td valign=top>
            <code>H5S_SEL_POINTS</code>
            </td><td valign=top>
            A sequence of points is selected.
          </td></tr><tr><td valign=top>
            <code>H5S_SEL_HYPERSLABS</code>
            </td><td valign=top>
            A hyperslab or compound hyperslab is selected.
          </td></tr><tr><td valign=top>
            <code>H5S_SEL_ALL</code>
            </td><td valign=top>
            The entire dataset is selected.
          </td></tr>
        </table>
        </center>
        Otherwise returns a negative value.
<dt><strong>Fortran90 Interface:</strong> h5sget_select_type_f
    <dd>
	<pre>
SUBROUTINE h5sget_select_type_f(space_id, type, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: space_id ! Dataspace identifier
  INTEGER, INTENT(OUT) :: type           ! Selection type
                                         ! Valid values are:
                                         !    H5S_SEL_ERROR_F 
                                         !    H5S_SEL_NONE_F 
                                         !    H5S_SEL_POINTS_F 
                                         !    H5S_SEL_HYPERSLABS_F 
                                         !    H5S_SEL_ALL_F 
  INTEGER, INTENT(OUT) :: hdferr         ! Error code
END SUBROUTINE h5sget_select_type_f
	</pre>		
		
		<!--<dt><strong>Non-C API(s):</strong>
    	<dd>
        
        <img src="Graphics/Java.gif"> 
        <img src="Graphics/C++.gif">
        -->
</dl>

<!-- NEW PAGE -->
<!-- HEADER RIGHT "H5Sget_simple_extent_dims" -->
<hr>
<dl>
<dt><strong>Name:</strong> <a name="Dataspace-ExtentDims">H5Sget_simple_extent_dims</a>
<dt><strong>Signature:</strong>
    <dd><em>int</em> <code>H5Sget_simple_extent_dims</code>(<em>hid_t</em> <code>space_id</code>,
        <em>hsize_t *</em><code>dims</code>,
        <em>hsize_t *</em><code>maxdims</code>
    )
<dt><strong>Purpose:</strong>
    <dd>Retrieves dataspace dimension size and maximum size.
<dt><strong>Description:</strong>
    <dd><code>H5Sget_simple_extent_dims</code> returns the size and maximum sizes 
        of each dimension of a dataspace through the <code>dims</code> 
        and <code>maxdims</code> parameters.
        <p>
        Either or both of <code>dims</code> and <code>maxdims</code> 
        may be NULL.
        <p>
        If a value in the returned array <code>maxdims</code> is
        <code>H5S_UNLIMITED</code> (</code>-1</code>), 
        the maximum size of that dimension is unlimited.
<dt><strong>Parameters:</strong>
    <ul><table>
        <tr>
		  <td valign="top"><em>hid_t</em> <code>space_id</code></td>
          <td valign="top">IN: Identifier of the dataspace object to query</td></tr>
        <tr>
		  <td valign="top"><em>hsize_t *</em><code>dims</code></td>
          <td valign="top">OUT: Pointer to array to store the size of each dimension.</td></tr>
        <tr>
		  <td valign="top"><em>hsize_t&nbsp;*</em><code>maxdims&nbsp;&nbsp;&nbsp;&nbsp;</code></td>
          <td valign="top">OUT: Pointer to array to store the maximum size of each dimension.</td></tr>
    </table></ul>
<dt><strong>Returns:</strong>
    <dd>Returns the number of dimensions in the dataspace if successful;
        otherwise returns a negative value.
<dt><strong>Fortran90 Interface:</strong> h5sget_simple_extent_dims_f
    <dd>
	<pre>
SUBROUTINE h5sget_simple_extent_dims_f(space_id, dims, maxdims, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: space_id   ! Dataspace identifier 
  INTEGER(HSIZE_T), DIMENSION(*), INTENT(OUT) :: dims 
                                           ! Array to store dimension sizes 
  INTEGER(HSIZE_T), DIMENSION(*), INTENT(OUT) :: maxdims 
                                           ! Array to store max dimension sizes
  INTEGER, INTENT(OUT) :: hdferr           ! Error code
                                           ! Dataspace rank on success 
                                           ! and -1 on failure
END SUBROUTINE h5sget_simple_extent_dims_f
	</pre>		
		
		<!--<dt><strong>Non-C API(s):</strong>
    	<dd>
        
        <img src="Graphics/Java.gif"> 
        <img src="Graphics/C++.gif">
        -->
</dl>

<!-- NEW PAGE -->
<!-- HEADER RIGHT "H5Sget_simple_extent_ndims" -->
<hr>
<dl>
<dt><strong>Name:</strong> <a name="Dataspace-ExtentNdims">H5Sget_simple_extent_ndims</a>
<dt><strong>Signature:</strong>
    <dd><em>int</em> <code>H5Sget_simple_extent_ndims</code>(<em>hid_t</em> <code>space_id</code>)
<dt><strong>Purpose:</strong>
    <dd>Determines the dimensionality of a dataspace.
<dt><strong>Description:</strong>
    <dd><code>H5Sget_simple_extent_ndims</code> determines the dimensionality (or rank) 
        of a dataspace.
<dt><strong>Parameters:</strong>
    <ul><table>
        <tr>
		  <td valign="top"><em>hid_t</em>&nbsp;<code>space_id&nbsp;&nbsp;&nbsp;&nbsp;</code></td>
          <td valign="top">Identifier of the dataspace</td></tr>
    </table></ul>
<dt><strong>Returns:</strong>
    <dd>Returns the number of dimensions in the dataspace if successful;
        otherwise returns a negative value.
<dt><strong>Fortran90 Interface:</strong> h5sget_simple_extent_ndims_f
    <dd>
	<pre>
SUBROUTINE h5sget_simple_extent_ndims_f(space_id, rank, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: space_id   ! Dataspace identifier 
  INTEGER, INTENT(OUT) :: rank             ! Number of dimensions 
  INTEGER, INTENT(OUT) :: hdferr           ! Error code
                                           ! 0 on success and -1 on failure
END SUBROUTINE h5sget_simple_extent_ndims_f
	</pre>		
		
		<!--<dt><strong>Non-C API(s):</strong>
    	<dd>
        
        <img src="Graphics/Java.gif"> 
        <img src="Graphics/C++.gif">
        -->
</dl>

<!-- NEW PAGE -->
<!-- HEADER RIGHT "H5Sget_simple_extent_npoints" -->
<hr>
<dl>
<dt><strong>Name:</strong> <a name="Dataspace-ExtentNpoints">H5Sget_simple_extent_npoints</a>
<dt><strong>Signature:</strong>
    <dd><em>hssize_t</em> <code>H5Sget_simple_extent_npoints</code>(<em>hid_t </em><code>space_id</code>)
<dt><strong>Purpose:</strong>
    <dd>Determines the number of elements in a dataspace.
<dt><strong>Description:</strong>
    <dd><code>H5Sget_simple_extent_npoints</code> determines the number of elements 
        in a dataspace.  For example, a simple 3-dimensional dataspace 
        with dimensions 2, 3, and 4 would have 24 elements.
<dt><strong>Parameters:</strong>
    <ul><table>
        <tr>
		  <td valign="top"><em>hid_t</em>&nbsp;<code>space_id&nbsp;&nbsp;&nbsp;&nbsp;</code></td>
          <td valign="top">ID of the dataspace object to query</td></tr>
    </table></ul>
<dt><strong>Returns:</strong>
    <dd>Returns the number of elements in the dataspace if successful; 
        otherwise returns 0.
<dt><strong>Fortran90 Interface:</strong> h5sget_simple_extent_npoints_f
    <dd>
	<pre>
SUBROUTINE h5sget_simple_extent_npoints_f(space_id, npoints, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: space_id    ! Dataspace identifier 
  INTEGER(HSIZE_T), INTENT(OUT) :: npoints  ! Number of elements in dataspace
  INTEGER, INTENT(OUT) :: hdferr            ! Error code
                                            ! 0 on success and -1 on failure
END SUBROUTINE h5sget_simple_extent_npoints_f
	</pre>		
		
		<!--<dt><strong>Non-C API(s):</strong>
    	<dd>
        
        <img src="Graphics/Java.gif"> 
        <img src="Graphics/C++.gif">
        -->
</dl>

<!-- NEW PAGE -->
<!-- HEADER RIGHT "H5Sget_simple_extent_type" -->
<hr>
<dl>
<dt><strong>Name:</strong> <a name="Dataspace-ExtentType">H5Sget_simple_extent_type</a>
<dt><strong>Signature:</strong>
    <dd><em>H5S_class_t</em> <code>H5Sget_simple_extent_type</code>(<em>hid_t</em> <code>space_id</code>)
<dt><strong>Purpose:</strong>
    <dd>Determine the current class of a dataspace.
<dt><strong>Description:</strong>
    <dd><code>H5Sget_simple_extent_type</code> queries a dataspace to determine the 
        current class of a dataspace.  
        <p>
        The function returns a class name, one of the following: 
            <code>H5S_SCALAR</code>, 
            <code>H5S_SIMPLE</code>, or 
            <code>H5S_NONE</code>.
<dt><strong>Parameters:</strong>
    <ul><table>
        <tr>
		  <td valign="top"><em>hid_t</em>&nbsp;<code>space_id&nbsp;&nbsp;&nbsp;&nbsp;</code></td>
          <td valign="top">Dataspace identifier.</td></tr>
    </table></ul>
<dt><strong>Returns:</strong>
    <dd>Returns a dataspace class name if successful; 
        otherwise H5S_NO_CLASS (-1).
<dt><strong>Fortran90 Interface:</strong> h5sget_simple_extent_type_f
    <dd>
	<pre>
SUBROUTINE h5sget_simple_extent_type_f(space_id, classtype, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: space_id ! Dataspace identifier 
  INTEGER, INTENT(OUT) :: classtype      ! Class type 
                                         ! Possible values are: 
                                         !    H5S_NO_CLASS_F 
                                         !    H5S_SCALAR_F 
                                         !    H5S_SIMPLE_F 
  INTEGER, INTENT(OUT) :: hdferr         ! Error code
                                         ! 0 on success and -1 on failure
END SUBROUTINE h5sget_simple_extent_type_f
	</pre>		
		
		<!--<dt><strong>Non-C API(s):</strong>
    	<dd>
        
        <img src="Graphics/Java.gif"> 
        <img src="Graphics/C++.gif">
        -->
</dl>

<!-- NEW PAGE -->
<!-- HEADER RIGHT "H5Sis_simple" -->
<hr>
<dl>
<dt><strong>Name:</strong> <a name="Dataspace-IsSimple">H5Sis_simple</a>
<dt><strong>Signature:</strong>
    <dd><em>htri_t </em><code>H5Sis_simple</code>(<em>hid_t </em><code>space_id</code>)
<dt><strong>Purpose:</strong>
    <dd>Determines whether a dataspace is a simple dataspace.
<dt><strong>Description:</strong>
    <dd><code>H5Sis_simple</code> determines whether a dataspace is 
        a simple dataspace.  [Currently, all dataspace objects are simple
        dataspaces, complex dataspace support will be added in the future]
<dt><strong>Parameters:</strong>
    <ul><table>
        <tr>
		  <td valign="top"><em>hid_t</em>&nbsp;<code>space_id&nbsp;&nbsp;&nbsp;&nbsp;</code></td>
          <td valign="top">Identifier of the dataspace to query</td></tr>
    </table></ul>
<dt><strong>Returns:</strong>
    <dd>When successful, returns a positive value, for <code>TRUE</code>,
        or <code>0</code> (zero), for <code>FALSE</code>.
        Otherwise returns a negative value.
<dt><strong>Fortran90 Interface:</strong> h5sis_simple_f
    <dd>
	<pre>
SUBROUTINE h5sis_simple_f(space_id, flag, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: space_id    ! Dataspace identifier 
  LOGICAL, INTENT(OUT) :: flag              ! Flag, indicates if dataspace
                                            ! is simple or not: 
                                            ! TRUE or FALSE  
  INTEGER, INTENT(OUT) :: hdferr            ! Error code
                                            ! 0 on success and -1 on failure 
END SUBROUTINE h5sis_simple_f
	</pre>		
		
		<!--<dt><strong>Non-C API(s):</strong>
    	<dd>
        
        <img src="Graphics/Java.gif"> 
        <img src="Graphics/C++.gif">
        -->
</dl>

<!-- NEW PAGE -->
<!-- HEADER RIGHT "H5Soffset_simple" -->
<hr>
<dl>
<dt><strong>Name:</strong> <a name="Dataspace-OffsetSimple">H5Soffset_simple</a>
<dt><strong>Signature:</strong>
    <dd><em>herr_t</em> <code>H5Soffset_simple</code>(<em>hid_t</em> <code>space_id</code>,
    <em>const hssize_t *</em><code>offset</code>
    )
<dt><strong>Purpose:</strong>
    <dd>Sets the offset of a simple dataspace.
<dt><strong>Description:</strong>
    <dd><code>H5Soffset_simple</code> sets the offset of a 
    simple dataspace <code>space_id</code>.  The <code>offset</code> 
    array must be the same number of elements as the number of 
    dimensions for the dataspace.  If the <code>offset</code> 
    array is set to <TT>NULL</TT>, the offset for the dataspace 
    is reset to 0.
    <p>
    This function allows the same shaped selection to be moved 
    to different locations within a dataspace without requiring it 
    to be redefined.
<dt><strong>Parameters:</strong>
    <ul><table>
        <tr>
		  <td valign="top"><em>hid_t</em> <code>space_id</code></td>
          <td valign="top">IN: The identifier for the dataspace object to reset.</td></tr>
        <tr>
		  <td valign="top"><em>const&nbsp;hssize_t&nbsp;*</em><code>offset&nbsp;&nbsp;&nbsp;&nbsp;</code></td>
          <td valign="top">IN: The offset at which to position the selection.</td></tr>
    </table></ul>
<dt><strong>Returns:</strong>
    <dd>Returns a non-negative value if successful;
        otherwise returns a negative value.
<dt><strong>Fortran90 Interface:</strong> h5soffset_simple_f
    <dd>
	<pre>
SUBROUTINE h5soffset_simple_f(space_id, offset, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: space_id    ! Dataspace identifier 
  INTEGER(HSSIZE_T), DIMENSION(*), INTENT(IN) ::  offset
                                            ! The offset at which to position
                                            ! the selection  
  INTEGER, INTENT(OUT) :: hdferr            ! Error code
                                            ! 0 on success and -1 on failure
END SUBROUTINE h5soffset_simple_f
	</pre>		
		
		<!--<dt><strong>Non-C API(s):</strong>
    	<dd>
        
        <img src="Graphics/Java.gif"> 
        <img src="Graphics/C++.gif">
        -->
</dl>

<!-- NEW PAGE -->
<!-- HEADER RIGHT "H5Sselect_all" -->
<hr>
<dl>
<dt><strong>Name:</strong> <a name="Dataspace-SelectAll">H5Sselect_all</a>
<dt><strong>Signature:</strong>
    <dd><em>herr_t</em> <code>H5Sselect_all</code>(<em>hid_t</em> <code>space_id</code>)
<dt><strong>Purpose:</strong>
    <dd>Selects the entire dataspace.
<dt><strong>Description:</strong>
    <dd><code>H5Sselect_all</code> selects the entire extent
    of the dataspace <code>space_id</code>.
    <p>
    More specifically, <code>H5Sselect_all</code> selects 
    the special <tt>5S_SELECT_ALL</tt> region for the dataspace
    <code>space_id</code>.  <tt>H5S_SELECT_ALL</tt> selects the
    entire dataspace for any dataspace it is applied to.
<dt><strong>Parameters:</strong>
    <ul><table>
        <tr>
		  <td valign="top"><em>hid_t</em>&nbsp;<code>space_id&nbsp;&nbsp;&nbsp;&nbsp;</code></td>
          <td valign="top">IN: The identifier for the dataspace in which the 
                selection is being made.</td></tr>
    </table></ul>
<dt><strong>Returns:</strong>
    <dd>Returns a non-negative value if successful;
        otherwise returns a negative value.
<dt><strong>Fortran90 Interface:</strong> h5sselect_all_f
    <dd>
	<pre>
SUBROUTINE h5sselect_all_f(space_id, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: space_id  ! Dataspace identifier 
  INTEGER, INTENT(OUT) :: hdferr          ! Error code
                                          ! 0 on success and -1 on failure
END SUBROUTINE h5sselect_all_f
	</pre>		
		
		<!--<dt><strong>Non-C API(s):</strong>
    	<dd>
        
        <img src="Graphics/Java.gif"> 
        <img src="Graphics/C++.gif">
        -->
</dl>

<!-- NEW PAGE -->
<!-- HEADER RIGHT "H5Sselect_elements" -->
<hr>
<dl>
<dt><strong>Name:</strong> <a name="Dataspace-SelectElements">H5Sselect_elements</a>
<dt><strong>Signature:</strong>
    <dd><em>herr_t</em> <code>H5Sselect_elements</code>(<em>hid_t </em><code>space_id</code>,
        <em>H5S_seloper_t</em> <code>op</code>,
        <em>const size_t</em> <code>num_elements</code>,
        <em>const hsize_t *</em><code>coord</code>[ ]
    )
<dt><strong>Purpose:</strong>
    <dd>Selects array elements to be included in the selection for a dataspace.
<dt><strong>Description:</strong>
    <dd><code>H5Sselect_elements</code> selects array elements to be 
        included in the selection for the <code>space_id</code> dataspace. 
        <p>
        The number of elements selected is set in the 
        <code>num_elements</code> parameter.  
        <p>
        The <code>coord</code> array is a two-dimensional array of 
        size <code><i>dataspace_rank</i></code> by <code>num_elements</code> 
        containing a list of of zero-based values specifying the 
        coordinates in the dataset of the selected elements.  
        The order of the element coordinates in the 
        <code>coord</code> array specifies the order in which  
        the array elements are iterated through when I/O is performed.  
        Duplicate coordinate locations are not checked for.
        <p>
        The selection operator <code>op</code> determines how the 
        new selection is to be combined with the previously existing
        selection for the dataspace.  
        The following operators are supported:
        <center>
        <table width=90% border=0>
          <tr><td valign=top>
            <code>H5S_SELECT_SET</code>
            </td><td valign=top>
            Replaces the existing selection with the parameters from 
            this call.
            Overlapping blocks are not supported with this operator.
<!--      </td></tr><tr><td valign=top>
            <code>H5S_SELECT_OR</code>
            </td><td valign=top>
-->         Adds the new selection to the existing selection.
          </td></tr><tr><td valign=top>
            <code>H5S_SELECT_APPEND</code>
            </td><td valign=top>
            Adds the new selection following the last element of the 
            existing selection.
          </td></tr><tr><td valign=top>
            <code>H5S_SELECT_PREPEND&nbsp;&nbsp;</code>
            </td><td valign=top>
            Adds the new selection preceding the first element of the 
            existing selection.
          </td></tr>
        </table>
        </center>
<!--    When operator <code>H5S_SELECT_OR</code> 
        is used to combine a new selection with an existing selection,
        the selection ordering is reset to C array ordering.
-->
<dt><strong>Parameters:</strong>
    <ul><table>
        <tr>
		  <td valign="top"><em>hid_t</em> <code>space_id</code></td>
          <td valign="top">Identifier of the dataspace.</td></tr>
        <tr>
		  <td valign="top"><em>H5S_seloper_t</em> <code>op</code></td>
          <td valign="top">Operator specifying how the new selection is to be 
                combined with the existing selection for the dataspace.</td></tr>
        <tr>
		  <td valign="top"><em>const&nbsp;size_t</em>&nbsp;<code>num_elements&nbsp;&nbsp;&nbsp;&nbsp;</code></td>
          <td valign="top">Number of elements to be selected.</td></tr>
        <tr>
		  <td valign="top"><em>const hsize_t *</em><code>coord</code>[ ]</td>
          <td valign="top">A 2-dimensional array of 0-based values specifying the 
                coordinates of the elements being selected.</td></tr>
    </table></ul>
<dt><strong>Returns:</strong>
    <dd>Returns a non-negative value if successful; 
        otherwise returns a negative value.
<dt><strong>Fortran90 Interface:</strong> h5sselect_elements_f
    <dd>
	<pre>
SUBROUTINE h5sselect_elements_f(space_id, operator, num_elements,
                                coord, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: space_id  ! Dataspace identifier 
  INTEGER, INTENT(IN) :: op               ! Flag, valid values are:
                                          !    H5S_SELECT_SET_F 
                                          !    H5S_SELECT_OR_F 
  INTEGER, INTENT(IN) :: num_elements     ! Number of elements to be selected
  INTEGER(HSIZE_T), DIMENSION(*,*), INTENT(IN) :: coord 
                                          ! Array with the coordinates
                                          ! of the selected elements:
                                          ! coord(num_elements, rank)</pre>
<!-- NEW PAGE -->
<pre>
  INTEGER, INTENT(OUT) :: hdferr          ! Error code
                                          ! 0 on success and -1 on failure
END SUBROUTINE h5sselect_elements_f
	</pre>		
		
		<!--<dt><strong>Non-C API(s):</strong>
    	<dd>
        
        <img src="Graphics/Java.gif"> 
        <img src="Graphics/C++.gif">
        -->
</dl>

<!-- NEW PAGE -->
<!-- HEADER RIGHT "H5Sselect_hyperslab" -->
<hr>
<dl>
<dt><strong>Name:</strong> <a name="Dataspace-SelectHyperslab">H5Sselect_hyperslab</a>
<dt><strong>Signature:</strong>
    <dd><em>herr_t</em> <code>H5Sselect_hyperslab</code>(<em>hid_t</em> <code>space_id</code>,
        <em>H5S_seloper_t</em> <code>op</code>,
        <em>const hsize_t *</em><code>start</code>,
        <em>const hsize_t *</em><code>stride</code>,
        <em>const hsize_t *</em><code>count</code>,
        <em>const hsize_t *</em><code>block</code>
    )
<dt><strong>Purpose:</strong>
    <dd>Selects a hyperslab region to add to the current selected region.
<dt><strong>Description:</strong>
    <dd><code>H5Sselect_hyperslab</code> selects a hyperslab region 
        to add to the current selected region for the dataspace 
        specified by <code>space_id</code>.  
        <p>
        The <code>start</code>, <code>stride</code>, <code>count</code>,
        and <code>block</code> arrays must be the same size as the rank 
        of the dataspace.  
        <p>
        The selection operator <code>op</code> determines how the new 
        selection is to be combined with the already existing selection 
        for the dataspace.  
        The following operators are supported:
        <center>
        <table width=90% border=0>
          <tr><td valign=top>
            <code>H5S_SELECT_SET</code>
            </td><td valign=top>
            Replaces the existing selection with the parameters from this call.  
            Overlapping blocks are not supported with this operator.
          </td></tr><tr><td valign=top>
            <code>H5S_SELECT_OR</code>
            </td><td valign=top>
            Adds the new selection to the existing selection.
	    &nbsp;&nbsp;
	    (Binary OR)
          </td></tr><tr><td valign=top>
            <code>H5S_SELECT_AND</code>
            </td><td valign=top>
            Retains only the overlapping portions of the new selection and 
	    the existing selection.
	    &nbsp;&nbsp;
	    (Binary AND)
          </td></tr><tr><td valign=top>
            <code>H5S_SELECT_XOR</code>
            </td><td valign=top>
            Retains only the elements that are members of the new selection or 
	    the existing selection, excluding elements that are members of 
	    both selections.
	    &nbsp;&nbsp;
	    (Binary exclusive-OR, XOR)
          </td></tr><tr><td valign=top>
            <code>H5S_SELECT_NOTB&nbsp;&nbsp;</code>
            </td><td valign=top>
            Retains only elements of the existing selection that are not in 
	    the new selection.
          </td></tr><tr><td valign=top>
            <code>H5S_SELECT_NOTA</code>
            </td><td valign=top>
            Retains only elements of the new selection that are not in 
	    the existing selection.
          </td></tr>
        </table>
        </center>
   
        <p>
        The <code>start</code> array determines the starting coordinates 
        of the hyperslab to select.  
        <p>
        The <code>stride</code> array chooses array locations 
        from the dataspace with each value in the <code>stride</code> 
        array determining how many elements to move in each dimension.  
        Setting a value in the <code>stride</code> array to 1 moves to
        each element in that dimension of the dataspace; setting a value 
	of <code>2</code> in alocation in the <code>stride</code> array 
	moves to every other element in that dimension of the dataspace.  
	In other words, the <code>stride</code> determines the
        number of elements to move from the <code>start</code> location 
        in each dimension.
        Stride values of <code>0</code> are not allowed.  
	If the <code>stride</code> parameter is <code>NULL</code>,
        a contiguous hyperslab is selected (as if each value in the 
        <code>stride</code> array were set to all 1's).  
        <p>
        The <code>count</code> array determines how many blocks to
        select from the dataspace, in each dimension.
        <p>  
        The <code>block</code> array determines
        the size of the element block selected from the dataspace.  
        If the <code>block</code> parameter is set to <code>NULL</code>, 
        the block size defaults to a single element in each dimension 
        (as if the <code>block</code> array were set to all 
	<code>1</code>'s).
        <p>
        For example, in a 2-dimensional dataspace, setting 
        <code>start</code> to [1,1],
        <code>stride</code> to [4,4], 
	<code>count</code> to [3,7], and 
        <code>block</code> to [2,2] 
	selects 21 2x2 blocks of array elements starting with 
	location (1,1) and selecting blocks at locations 
	(1,1), (5,1), (9,1), (1,5), (5,5), etc.
        <p>
        Regions selected with this function call default to C order 
        iteration when I/O is performed.
<dt><strong>Parameters:</strong>
    <ul><table>
        <tr>
		  <td valign="top"><em>hid_t</em> <code>space_id</code></td>
          <td valign="top">IN: Identifier of dataspace selection to modify</td></tr>
        <tr>
		  <td valign="top"><em>H5S_seloper_t</em> <code>op</code></td>
          <td valign="top">IN: Operation to perform on current selection.</td></tr>
        <tr>
		  <td valign="top"><em>const hsize_t *</em><code>start</code></td>
          <td valign="top">IN: Offset of start of hyperslab</td></tr>
        <tr>
		  <td valign="top"><em>const hsize_t *</em><code>count</code></td>
          <td valign="top">IN: Number of blocks included in hyperslab.</td></tr>
        <tr>
		  <td valign="top"><em>const&nbsp;hsize_t&nbsp;*</em><code>stride&nbsp;&nbsp;&nbsp;&nbsp;</code></td>
          <td valign="top">IN: Hyperslab stride.</td></tr>
        <tr>
		  <td valign="top"><em>const hsize_t *</em><code>block</code></td>
          <td valign="top">IN: Size of block in hyperslab.</td></tr>
    </table></ul>
<dt><strong>Returns:</strong>
    <dd>Returns a non-negative value if successful;
        otherwise returns a negative value.
<dt><strong>Fortran90 Interface:</strong> h5sselect_hyperslab_f
    <dd>
	<pre>
SUBROUTINE h5sselect_hyperslab_f(space_id, operator, start, count,
                                 hdferr, stride, block) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: space_id  ! Dataspace identifier 
  INTEGER, INTENT(IN) :: op               ! Flag, valid values are:
                                          !    H5S_SELECT_SET_F
                                          !    H5S_SELECT_OR_F
  INTEGER(HSIZE_T), DIMENSION(*), INTENT(IN) :: start
                                          ! Starting coordinates of hyperslab 
  INTEGER(HSIZE_T), DIMENSION(*), INTENT(IN) :: count 
                                          ! Number of blocks to select 
                                          ! from dataspace 
  INTEGER, INTENT(OUT) :: hdferr          ! Error code
                                          ! 0 on success and -1 on failure
  INTEGER(HSIZE_T), DIMENSION(*), OPTIONAL, INTENT(IN) :: stride
                                          ! Array of how many elements to 
                                          ! move in each direction
  INTEGER(HSIZE_T), DIMENSION(*), OPTIONAL, INTENT(IN) :: block 
                                          ! Size of the element block 
END SUBROUTINE h5sselect_hyperslab_f
	</pre>		
		
		<!--<dt><strong>Non-C API(s):</strong>
    	<dd>
        
        <img src="Graphics/Java.gif"> 
        <img src="Graphics/C++.gif">
        -->
</dl>

<!-- NEW PAGE -->
<!-- HEADER RIGHT "H5Sselect_none" -->
<hr>
<dl>
<dt><strong>Name:</strong> <a name="Dataspace-SelectNone">H5Sselect_none</a>
<dt><strong>Signature:</strong>
    <dd><em>herr_t</em> <code>H5Sselect_none</code>(<em>hid_t</em> <code>space_id</code>)
<dt><strong>Purpose:</strong>
    <dd>Resets the selection region to include no elements.
<dt><strong>Description:</strong>
    <dd><code>H5Sselect_none</code> resets the selection region 
    for the dataspace <code>space_id</code> to include no elements.     
<dt><strong>Parameters:</strong>
    <ul><table>
        <tr>
		  <td valign="top"><em>hid_t</em>&nbsp;<code>space_id&nbsp;&nbsp;&nbsp;&nbsp;</code></td>
          <td valign="top">IN: The identifier for the dataspace in which the 
                selection is being reset.</td></tr>
    </table></ul>
<dt><strong>Returns:</strong>
    <dd>Returns a non-negative value if successful;
        otherwise returns a negative value.
<dt><strong>Fortran90 Interface:</strong> h5sselect_none_f
    <dd>
	<pre>
SUBROUTINE h5sselect_none_f(space_id, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: space_id  ! Dataspace identifier 
  INTEGER, INTENT(OUT) :: hdferr          ! Error code
                                          ! 0 on success and -1 on failure
END SUBROUTINE h5sselect_none_f
	</pre>		
		
		<!--<dt><strong>Non-C API(s):</strong>
    	<dd>
        
        <img src="Graphics/Java.gif"> 
        <img src="Graphics/C++.gif">
        -->
</dl>

<!-- NEW PAGE -->
<!-- HEADER RIGHT "H5Sselect_valid" -->
<hr>
<dl>
<dt><strong>Name:</strong> <a name="Dataspace-SelectValid">H5Sselect_valid</a>
<dt><strong>Signature:</strong>
    <dd><em>htri_t</em> <code>H5Sselect_valid</code>(<em>hid_t</em> <code>space_id</code>)
<dt><strong>Purpose:</strong>
    <dd>Verifies that the selection is within the extent of the dataspace.
<dt><strong>Description:</strong>
    <dd><code>H5Sselect_valid</code> verifies that the selection 
    for the dataspace <code>space_id</code> is within the extent
    of the dataspace if the current offset for the dataspace is used.
<dt><strong>Parameters:</strong>
    <ul><table>
        <tr>
		  <td valign="top"><em>hid_t</em>&nbsp;<code>space_id&nbsp;&nbsp;&nbsp;&nbsp;</code></td>
          <td valign="top">The identifier for the dataspace being queried.</td></tr>
    </table></ul>
<dt><strong>Returns:</strong>
    <dd>Returns a positive value, for <code>TRUE</code>, 
        if the selection is contained within the extent 
        or <code>0</code> (zero), for <code>FALSE</code>, if it is not.
        Returns a negative value on error conditions 
        such as the selection or extent not being defined.
<dt><strong>Fortran90 Interface:</strong> h5sselect_valid_f
    <dd>
	<pre>
SUBROUTINE h5sselect_valid_f(space_id, flag, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: space_id  ! Dataspace identifier 
  LOGICAL, INTENT(OUT) :: flag            ! TRUE if the selection is
                                          ! contained within the extent,
                                          ! FALSE otherwise. 
  INTEGER, INTENT(OUT) :: hdferr          ! Error code
                                          ! 0 on success and -1 on failure
END SUBROUTINE h5sselect_valid_f
	</pre>		
		
		<!--<dt><strong>Non-C API(s):</strong>
    	<dd>
        
        <img src="Graphics/Java.gif"> 
        <img src="Graphics/C++.gif">
        -->
</dl>

<!-- NEW PAGE -->
<!-- HEADER RIGHT "H5Sset_extent_none" -->
<hr>
<dl>
<dt><strong>Name:</strong> <a name="Dataspace-SetExtentNone">H5Sset_extent_none</a>
<dt><strong>Signature:</strong>
    <dd><em>herr_t</em> <code>H5Sset_extent_none</code>(<em>hid_t</em> <code>space_id</code>)
<dt><strong>Purpose:</strong>
    <dd>Removes the extent from a dataspace.
<dt><strong>Description:</strong>
    <dd><code>H5Sset_extent_none</code> removes the extent from 
    a dataspace and sets the type to <tt>H5S_NO_CLASS</tt>.
<dt><strong>Parameters:</strong>
    <ul><table>
        <tr>
		  <td valign="top"><em>hid_t</em>&nbsp;<code>space_id&nbsp;&nbsp;&nbsp;&nbsp;</code></td>
          <td valign="top">The identifier for the dataspace from which
                the extent is to be removed.</td></tr>
    </table></ul>
<dt><strong>Returns:</strong>
    <dd>Returns a non-negative value if successful;
        otherwise returns a negative value.
<dt><strong>Fortran90 Interface:</strong> h5sset_extent_none_f
    <dd>
	<pre>
SUBROUTINE h5sset_extent_none_f(space_id, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: space_id  ! Dataspace identifier 
  INTEGER, INTENT(OUT) :: hdferr          ! Error code
                                          ! 0 on success and -1 on failure
END SUBROUTINE h5sset_extent_none_f
	</pre>		
		
		<!--<dt><strong>Non-C API(s):</strong>
    	<dd>
        
        <img src="Graphics/Java.gif"> 
        <img src="Graphics/C++.gif">
        -->
</dl>

<!-- NEW PAGE -->
<!-- HEADER RIGHT "H5Sset_extent_simple" -->
<hr>
<dl>
<dt><strong>Name:</strong> <a name="Dataspace-SetExtentSimple">H5Sset_extent_simple</a>
<dt><strong>Signature:</strong>
    <dd><em>herr_t</em> <code>H5Sset_extent_simple</code>(<em>hid_t</em> <code>space_id</code>,
        <em>int</em> <code>rank</code>,
        <em>const hsize_t *</em><code>current_size</code>,
        <em>const hsize_t *</em><code>maximum_size</code>
    )
<dt><strong>Purpose:</strong>
    <dd>Sets or resets the size of an existing dataspace.
<dt><strong>Description:</strong>
    <dd><code>H5Sset_extent_simple</code> sets or resets the size of 
        an existing dataspace.
        <p>
        <code>rank</code> is the dimensionality, or number of 
        dimensions, of the dataspace.
        <p>
        <code>current_size</code> is an array of size <code>rank</code> 
        which contains the new size of each dimension in the dataspace.  
        <code>maximum_size</code> is an array of size <code>rank</code> 
        which contains the maximum size of each dimension in the 
        dataspace. 
        <p>
        Any previous extent is removed from the dataspace, the dataspace 
        type is set to <code>H5S_SIMPLE</code>, and the extent is set as 
        specified.
<dt><strong>Parameters:</strong>
    <ul><table>
        <tr>
		  <td valign="top"><em>hid_t</em> <code>space_id</code></td>
          <td valign="top">Dataspace identifier.</td>
        <tr>
		  <td valign="top"><em>int</em> <code>rank</code></td>
          <td valign="top">Rank, or dimensionality, of the dataspace.</td>
        <tr>
		  <td valign="top"><em>const&nbsp;hsize_t&nbsp;*</em><code>current_size&nbsp;&nbsp;&nbsp;&nbsp;</code></td>
          <td valign="top">Array containing current size of dataspace.</td>
        <tr>
		  <td valign="top"><em>const hsize_t *</em><code>maximum_size</code></td>
          <td valign="top">Array containing maximum size of dataspace.</td></tr>
    </table></ul>
<dt><strong>Returns:</strong>
    <dd>Returns a dataspace identifier if successful; 
        otherwise returns a negative value.
<dt><strong>Fortran90 Interface:</strong> h5sset_extent_simple_f
    <dd>
	<pre>
SUBROUTINE h5sset_extent_simple_f(space_id, rank, current_size,
                                  maximum_size, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: space_id     ! Dataspace identifier 
  INTEGER, INTENT(IN) :: rank                ! Dataspace rank 
  INTEGER(HSIZE_T), DIMENSION(rank), INTENT(IN) :: current_size 
                                             ! Array with the new sizes
                                             ! of dimensions 
  INTEGER(HSIZE_T), DIMENSION(rank), INTENT(IN) ::  
                                             ! Array with the new maximum
                                             ! sizes of dimensions 
  INTEGER, INTENT(OUT) :: hdferr             ! Error code
                                             ! 0 on success and -1 on failure
END SUBROUTINE h5sset_extent_simple_f
	</pre>		
		
		<!--<dt><strong>Non-C API(s):</strong>
    	<dd>
        
        <img src="Graphics/Java.gif"> 
        <img src="Graphics/C++.gif">
        -->
</dl>


<!--		NOT YET IMPLEMENTED (R1.2 -- 9908)

<hr>
<dl>
<dt><strong>Name:</strong> <a name="Dataspace-ExtentClass">H5Sextent_class</a>
<dt><strong>Signature:</strong>
    <dd><em>H5S_class_t</em> <code>H5Sextent_class</code>(<em>hid_t</em> <code>space_id</code>)
<dt><strong>Purpose:</strong>
    <dd>Determine the current class of a dataspace.
<dt><strong>Description:</strong>
    <dd><code>H5Sextent_class</code> queries a dataspace to determine the 
        current class of a dataspace.  
        <p>
        The function returns a class name, one of the following: 
            <code>H5S_SCALAR</code>, 
            <code>H5S_SIMPLE</code>.
<dt><strong>Parameters:</strong>
    <dl>
        <dt><em>hid_t</em> <code>space_id</code>
            <dd>Dataspace identifier.
    </dl>
<dt><strong>Returns:</strong>
    <dd>Returns a dataspace class name if successful; 
        otherwise H5S_NO_CLASS (-1).
<dt><strong>Non-C API(s):</strong>
    <dd><a href="fortran/h5s_FORTRAN.html#h5sextent_class_f" 
        target="FortranWin"><img src="Graphics/FORTRAN.gif" border=0></a>
        <img src="Graphics/Java.gif"> 
        <img src="Graphics/C++.gif">
</dl>

-->


<!--<hr>
<dl>
<dt><strong>Name:</strong> <a name="Dataspace-CombineHyperslab">H5Scombine_hyperslab</a>




<dt><strong>Non-C API(s):</strong>
    <dd><a href="fortran/h5s_FORTRAN.html#h5scombine_hyperslab_f" 
        target="FortranWin"><img src="Graphics/FORTRAN.gif" border=0></a>
 -->    <!--
        <img src="Graphics/Java.gif"> 
        <img src="Graphics/C++.gif">
        -->
<!--</dl>
-->


<!--<hr>
<dl>
<dt><strong>Name:</strong> <a name="Dataspace-CombineSelect">H5Scombine_select</a>

<dt><strong>Non-C API(s):</strong>
    <dd><a href="fortran/h5s_FORTRAN.html#h5scombine_select_f" 
        target="FortranWin"><img src="Graphics/FORTRAN.gif" border=0></a>
-->     <!--
        <img src="Graphics/Java.gif"> 
        <img src="Graphics/C++.gif">
        -->
<!--</dl>
-->


<!--<hr>
<dl>
<dt><strong>Name:</strong> <a name="Dataspace-SelectSelect">H5Sselect_select</a>

<dt><strong>Non-C API(s):</strong>
    <dd><a href="fortran/h5s_FORTRAN.html#h5sselect_select_f" 
        target="FortranWin"><img src="Graphics/FORTRAN.gif" border=0></a>
-->     <!--
        <img src="Graphics/Java.gif"> 
        <img src="Graphics/C++.gif">
        -->
<!--</dl>
-->


<!-- #BeginLibraryItem "/ed_libs/NavBar_RM.lbi" --><hr>
<center>
<table border=0 width=98%>
<tr><td valign=top align=left>
<a href="index.html">HDF5 documents and links</a>&nbsp;<br>
<a href="H5.intro.html">Introduction to HDF5</a>&nbsp;<br>
<a href="http://hdf.ncsa.uiuc.edu/HDF5/doc/UG/index.html">HDF5 User Guide</a>&nbsp;<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>&nbsp;&nbsp;
<br>
<a href="http://hdf.ncsa.uiuc.edu/HDF5/hdf5_hl/doc/RM_hdf5im.html">H5IM</a>&nbsp;&nbsp;
<a href="http://hdf.ncsa.uiuc.edu/HDF5/hdf5_hl/doc/RM_hdf5lt.html">H5LT</a>&nbsp;&nbsp;
<a href="http://hdf.ncsa.uiuc.edu/HDF5/hdf5_hl/doc/RM_hdf5pt.html">H5PT</a>&nbsp;&nbsp;
<a href="http://hdf.ncsa.uiuc.edu/HDF5/hdf5_hl/doc/RM_hdf5tb.html">H5TB</a>&nbsp;&nbsp;
<br>
<a href="RM_H5.html">H5</a>&nbsp;&nbsp;
<a href="RM_H5A.html">H5A</a>&nbsp;&nbsp;
<a href="RM_H5D.html">H5D</a>&nbsp;&nbsp;
<a href="RM_H5E.html">H5E</a>&nbsp;&nbsp;
<a href="RM_H5F.html">H5F</a>&nbsp;&nbsp;
<a href="RM_H5G.html">H5G</a>&nbsp;&nbsp;
<a href="RM_H5I.html">H5I</a>&nbsp;&nbsp;
<a href="RM_H5P.html">H5P</a>&nbsp;&nbsp;
<br>
<a href="RM_H5R.html">H5R</a>&nbsp;&nbsp;
<a href="RM_H5S.html">H5S</a>&nbsp;&nbsp;
<a href="RM_H5T.html">H5T</a>&nbsp;&nbsp;
<a href="RM_H5Z.html">H5Z</a>&nbsp;&nbsp;
<a href="Tools.html">Tools</a>&nbsp;&nbsp;
<a href="PredefDTypes.html">Datatypes</a>&nbsp;&nbsp;
</td></tr>
</table>
</center>
<hr><!-- #EndLibraryItem --><!-- #BeginLibraryItem "/ed_libs/Footer.lbi" --><address>
<a href="mailto:hdfhelp@ncsa.uiuc.edu">HDF Help Desk</a> 
<br>
Describes HDF5 Release 1.7, the unreleased development branch; working toward HDF5 Release 1.8.0
</address><!-- #EndLibraryItem --><SCRIPT LANGUAGE="JAVASCRIPT">
<!--
document.writeln("Last modified: 15 March 2004");
-->
</SCRIPT> 

</body>
</html>