From 429abe8b165cd4b15d65b6b0ec18b38ad785762f Mon Sep 17 00:00:00 2001 From: Pedro Vicente Nunes Date: Thu, 10 Jun 2004 16:48:12 -0500 Subject: [svn-r8653] Purpose: bug fix Description: the file tfilters.h5 was missing the szip dataset, due to a absent szip configuration when it was generated Solution: generated it it again with szip on Platforms tested: linux (smalll change ) Misc. update: --- tools/testfiles/tcontents.ddl | 1 + tools/testfiles/tfilters.h5 | Bin 43936 -> 48928 bytes tools/testfiles/treference.ddl | 4 ++-- tools/testfiles/tszip.ddl | 20 +++++++++++++++++++- 4 files changed, 22 insertions(+), 3 deletions(-) diff --git a/tools/testfiles/tcontents.ddl b/tools/testfiles/tcontents.ddl index 4838c0a..5e5b683 100644 --- a/tools/testfiles/tcontents.ddl +++ b/tools/testfiles/tcontents.ddl @@ -22,6 +22,7 @@ FILE_CONTENTS { dataset /reference dataset /shuffle dataset /string + dataset /szip dataset /vlen } } diff --git a/tools/testfiles/tfilters.h5 b/tools/testfiles/tfilters.h5 index 4a98421..94c64bd 100644 Binary files a/tools/testfiles/tfilters.h5 and b/tools/testfiles/tfilters.h5 differ diff --git a/tools/testfiles/treference.ddl b/tools/testfiles/treference.ddl index 10fb199..951f213 100644 --- a/tools/testfiles/treference.ddl +++ b/tools/testfiles/treference.ddl @@ -6,8 +6,8 @@ DATASET "reference" { DATATYPE H5T_REFERENCE DATASPACE SIMPLE { ( 5 ) / ( 5 ) } DATA { - (0) DATASET 976 /compact , DATATYPE 15955 /myvlen , - (2) DATASET 976 /compact , DATATYPE 15955 /myvlen , + (0) DATASET 976 /compact , DATATYPE 4008 /myvlen , + (2) DATASET 976 /compact , DATATYPE 4008 /myvlen , (4) DATASET 2376 /contiguous } } diff --git a/tools/testfiles/tszip.ddl b/tools/testfiles/tszip.ddl index 02a5fd3..99ed2c9 100644 --- a/tools/testfiles/tszip.ddl +++ b/tools/testfiles/tszip.ddl @@ -3,6 +3,24 @@ Expected output for 'h5dump -H -p -d szip tfilters.h5' ############################# HDF5 "tfilters.h5" { DATASET "szip" { + DATATYPE H5T_STD_I32LE + DATASPACE SIMPLE { ( 20, 10 ) / ( 20, 10 ) } + STORAGE_LAYOUT CHUNKED { + SIZE 372 ( 10, 5 ) } + FILTERS { + COMPRESSION SZIP { + PIXELS_PER_BLOCK 4 + MODE K13 + CODING NEAREST NEIGHBOUR + BYTE_ORDER LSB + HEADER RAW + } + } + FILLVALUE { + FILL_TIME IFSET + ALLOC_TIME INCR + VALUE -99 + } +} } -h5dump error: unable to open dataset "szip" -- cgit v0.12