diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2006-04-06 18:29:53 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2006-04-06 18:29:53 (GMT) |
commit | 9d01b26a9302bdff93e20f1a6e55cb473a79d174 (patch) | |
tree | 369846ca1de752d4f48de3f21f16c2cf0b0fd174 /tools/lib | |
parent | 8b2932bf607dc758221bc1041b4946a01fbf6413 (diff) | |
download | hdf5-9d01b26a9302bdff93e20f1a6e55cb473a79d174.zip hdf5-9d01b26a9302bdff93e20f1a6e55cb473a79d174.tar.gz hdf5-9d01b26a9302bdff93e20f1a6e55cb473a79d174.tar.bz2 |
[svn-r12205] Purpose:
new feature
Description:
added the printout of the compression ratio for filters in h5repack, after the filter name, obtained with H5Dget_storage_size, before and after applying the filter
Solution:
Platforms tested:
linux
solaris
AIX
Misc. update:
Diffstat (limited to 'tools/lib')
-rw-r--r-- | tools/lib/h5diff_dset.c | 4 | ||||
-rw-r--r-- | tools/lib/h5diff_util.c | 2 | ||||
-rw-r--r-- | tools/lib/h5tools_filters.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/tools/lib/h5diff_dset.c b/tools/lib/h5diff_dset.c index 8802067..3fd280c 100644 --- a/tools/lib/h5diff_dset.c +++ b/tools/lib/h5diff_dset.c @@ -566,7 +566,7 @@ int diff_can_type( hid_t f_type1, /* file data type */ if ( (H5Tequal(f_type1, f_type2)==0) && options->m_verbose && obj1_name) { - printf("Warning: Different storage datatype\n"); + printf("warning: different storage datatype\n"); printf("<%s> has file datatype ", obj1_name); print_type(f_type1); printf("\n"); @@ -643,7 +643,7 @@ int diff_can_type( hid_t f_type1, /* file data type */ if (maxdim1 && maxdim2 && maxdim_diff==1 && obj1_name ) { if (options->m_verbose) { - printf( "Warning: Different maximum dimensions\n"); + printf( "warning: different maximum dimensions\n"); printf("<%s> has max dimensions ", obj1_name); print_dims(rank1,maxdim1); printf("\n"); diff --git a/tools/lib/h5diff_util.c b/tools/lib/h5diff_util.c index 6334d8d..76a3774 100644 --- a/tools/lib/h5diff_util.c +++ b/tools/lib/h5diff_util.c @@ -75,7 +75,7 @@ void parallel_print(const char* format, ...) overflow_file = HDtmpfile(); if(overflow_file == NULL) - fprintf(stderr, "Warning: Could not create overflow file. Output may be truncated.\n"); + fprintf(stderr, "warning: could not create overflow file. Output may be truncated.\n"); else bytes_written = HDvfprintf(overflow_file, format, ap); } diff --git a/tools/lib/h5tools_filters.c b/tools/lib/h5tools_filters.c index 099f132..e765ddf 100644 --- a/tools/lib/h5tools_filters.c +++ b/tools/lib/h5tools_filters.c @@ -21,7 +21,7 @@ */ static void print_warning(const char *dname, const char *fname) { - fprintf(stderr,"Warning: dataset <%s> cannot be read, %s filter is not available\n", + fprintf(stderr,"warning: dataset <%s> cannot be read, %s filter is not available\n", dname,fname); } |