From 204a1404a43439a0ef4b0ad1186b716124f0c9ec Mon Sep 17 00:00:00 2001 From: Frank Baker Date: Fri, 7 Apr 2000 14:40:49 -0500 Subject: [svn-r2091] Datasets.html Removed H5Pset_compression (commented it out, actually) and changed example which used it to use H5Pset_deflate. H5.format.html Driver Identification block: Added clarification regarding the representation of the version in the driver identification string. --- doc/html/Datasets.html | 14 +++++++++----- doc/html/H5.format.html | 8 +++++++- 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 @@ +

Once the general layout is defined, the user can define + properties of that layout. Currently, the only layout that has user-settable properties is the H5D_CHUNKED layout, which needs to know the dimensionality and chunk size. -

herr_t H5Pset_chunk (hid_t plist_id, int ndims, hsize_t dim[]) @@ -220,10 +221,12 @@ H5Pset_chunk (plist, 2, size);

3. Compression Properties

-

Some types of storage layout allow data compression which is - defined by the functions described here. Compression is not - implemented yet. +

Chunked data storage + (see H5Pset_chunk) + allows data compression as defined by the function + H5Pset_deflate. +

herr_t H5Pset_deflate (hid_t plist_id, @@ -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 family driver will be identified by NCSAfami, NCSAfam0, - NCSAfam1, etc. Identification for user-defined drivers + NCSAfam1, etc. + (NCSAfami is simply NCSAfamily truncated + to eight characters. Subsequent identifiers will be created by + substituting sequential numerical values for the final character, + starting with zero.) +

+ Identification for user-defined drivers is arbitrary but should be unique. -- cgit v0.12