summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack_copy.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2004-01-13 18:12:47 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2004-01-13 18:12:47 (GMT)
commitd83a48e4f99ad3b4f9a86249bd4c3fb1dd342954 (patch)
tree7fcf966aa46266b392fab548c35164fdf6b576c9 /tools/h5repack/h5repack_copy.c
parent00edaf52c5c31134dcaf4fbdc1933104d510236f (diff)
downloadhdf5-d83a48e4f99ad3b4f9a86249bd4c3fb1dd342954.zip
hdf5-d83a48e4f99ad3b4f9a86249bd4c3fb1dd342954.tar.gz
hdf5-d83a48e4f99ad3b4f9a86249bd4c3fb1dd342954.tar.bz2
[svn-r8056] Purpose:
h5repack change Description: changed the default size of chunks when defining a new dataset to apply a filter this size is now equal to the current dimensions. previously , it was set to half this value, and it was causing write calls to fail on some files (probably a bug) Solution: Platforms tested: linux solaris AIX Misc. update:
Diffstat (limited to 'tools/h5repack/h5repack_copy.c')
-rw-r--r--tools/h5repack/h5repack_copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5repack/h5repack_copy.c b/tools/h5repack/h5repack_copy.c
index 3ca7c11..6b5a393 100644
--- a/tools/h5repack/h5repack_copy.c
+++ b/tools/h5repack/h5repack_copy.c
@@ -287,7 +287,7 @@ int do_copy_file(hid_t fidin,
{
obj.chunk.rank=rank;
for (j=0; j<rank; j++)
- obj.chunk.chunk_lengths[j] = dims[j] / 2;
+ obj.chunk.chunk_lengths[j] = dims[j];
}
if (apply_filters(dcpl_id,H5Tget_size(mtype_id),options,&obj)<0)
continue;