2011/6/24 Dr. Louis Wicker <louis.wic...@noaa.gov>

> All
>
> Perhaps I am just missing the obvious, but I have some code that is
> converting netCDF4 files to pyTables Carray with blosc compression (playing
> around).
>
> I loop over the files in a directory, and I have found that the first file
> is written compressed, but the second file onward is NOT.  I have checked
> the filter settings after each file write, and
> they are the same.  Any ideas here?  If I turn off compression, the file
> sizes match.....
>
> Code below....
>
> Lou
>
> array_atom = tables.Float32Atom()
> filters = tables.Filters(complevel=0, complib='blosc')
>
<clip>

Any reason why you are specifying 'complevel=0'?  0 means 'not compression'.
 Try with levels from 1 to 9.

-- 
Francesc Alted
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a 
definitive record of customers, application performance, security 
threats, fraudulent activity and more. Splunk takes this data and makes 
sense of it. Business sense. IT sense. Common sense.. 
http://p.sf.net/sfu/splunk-d2d-c1
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to