On 26 June 2011 02:16, Dr. Louis Wicker <louis.wic...@noaa.gov> wrote:
[...snip]

> Just untar it, and type "python convertNC.py"
>
> that will do it, and check the file sizes after its run.  On my Mac Pro - 
> about 1.5 minutes for the whole thing.

Hi Louis,

The same is happening here and I've created a minimal amount of data
that demonstrates the issue.

If anyone has a chance to check the attached, you should see that the
first file using blosc will compress the data, the second won't (even
though it's just a duplicated file). ptrepack can compress the second
file just fine.

I also added zlib to the test and it doesn't seem to be affected,
however, if zlib is run first, blosc won't compress either file (just
toggle the for loop).

Cheers,

Tony


tables.test()
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
PyTables version:  2.2.1
HDF5 version:      1.8.5-patch1
NumPy version:     1.5.1
Numexpr version:   1.4.2 (using VML/MKL 10.3.1)
Zlib version:      1.2.3 (in Python interpreter)
BZIP2 version:     1.0.5 (10-Dec-2007)
Blosc version:     1.1.2 (2010-11-04)
Cython version:    0.14.1
Python version:    2.7.1 |EPD 7.0-2 (32-bit)| (r271:86832, Dec  3
2010, 15:41:32)
[GCC 4.0.1 (Apple Inc. build 5488)]
Platform:          darwin-i386
Byte-ordering:     little
Detected cores:    2
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Attachment: testcomp.tar.bz2
Description: BZip2 compressed data

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to