summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/html/Datasets.html14
-rw-r--r--doc/html/H5.format.html8
2 files changed, 16 insertions, 6 deletions
diff --git a/doc/html/Datasets.html b/doc/html/Datasets.html
index 4520172..e0b6058 100644
--- a/doc/html/Datasets.html
+++ b/doc/html/Datasets.html
@@ -169,11 +169,12 @@
</dl>
</dl>
+ <a name="Dataset_PSetChunk">
<p>Once the general layout is defined, the user can define
+ </a>
properties of that layout. Currently, the only layout that has
user-settable properties is the <code>H5D_CHUNKED</code> layout,
which needs to know the dimensionality and chunk size.
-
<dl>
<dt><code>herr_t H5Pset_chunk (hid_t <em>plist_id</em>, int
<em>ndims</em>, hsize_t <em>dim</em>[])</code>
@@ -220,10 +221,12 @@ H5Pset_chunk (plist, 2, size);
<h2>3. Compression Properties</h2>
- <p>Some types of storage layout allow data compression which is
- defined by the functions described here. <b>Compression is not
- implemented yet.</b>
+ <p>Chunked data storage
+ (see <a href="#Dataset_PSetChunk"><code>H5Pset_chunk</code></a>)
+ allows data compression as defined by the function
+ <code>H5Pset_deflate</code>.
+<!--
<dl>
<dt><code>herr_t H5Pset_compression (hid_t <em>plist_id</em>,
H5Z_method_t <em>method</em>)</code>
@@ -246,6 +249,7 @@ H5Pset_chunk (plist, 2, size);
(LZ77) encoding is used, the same encoding used by the
free GNU <code>gzip</code> program.
</dl>
+-->
<br><br>
<dt><code>herr_t H5Pset_deflate (hid_t <em>plist_id</em>,
@@ -721,7 +725,7 @@ H5Pset_external (plist, "scan3.data", 0, 16);
26 chunk_size[0] = chunk_size[1] = 100;
27 properties = H5Pcreate (H5P_DATASET_CREATE);
28 H5Pset_chunk (properties, 2, chunk_size);
-29 H5Pset_compression (properties, H5D_COMPRESS_LZ77);
+29 H5Pset_deflate (properties, 9);
30
31 /*
32 * Create a new dataset within the file. The datatype
diff --git a/doc/html/H5.format.html b/doc/html/H5.format.html
index 8c0d8b2..96dd339 100644
--- a/doc/html/H5.format.html
+++ b/doc/html/H5.format.html
@@ -598,7 +598,13 @@ Elena> "Free-space object"
ASCII.
For example, the various versions of the <em>family driver</em>
will be identified by <code>NCSAfami</code>, <code>NCSAfam0</code>,
- <code>NCSAfam1</code>, etc. Identification for user-defined drivers
+ <code>NCSAfam1</code>, etc.
+ (<code>NCSAfami</code> is simply <code>NCSAfamily</code> truncated
+ to eight characters. Subsequent identifiers will be created by
+ substituting sequential numerical values for the final character,
+ starting with zero.)
+ <p>
+ Identification for user-defined drivers
is arbitrary but should be unique.</td>
</tr>