sorry - that was test code to see that the uncompressed files were the same 
size as what I was seeng.  I have tried complevel 1-5, and get the same result.

L

On Jun 24, 2011, at 7:45 AM, Francesc Alted wrote:

> 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

----------------------------------------------------------------------------
| Dr. Louis J. Wicker
| NSSL/FRDD  Rm 4368
| National Weather Center
| 120 David L. Boren Boulevard, Norman, OK 73072
|
| E-mail:   louis.wic...@noaa.gov
| HTTP:    www.nssl.noaa.gov/~lwicker
| Phone:    (405) 325-6340
| Fax:        (405) 325-6780
|
|   If you start a day without a clear plan about how you’re 
|     going to spend your attention, you’ll end up wasting most 
|     of it.—Martha Beck (2002)
|
| Assemby of Japanese bicycle requires great peace of mind.  
|    Robert Pirsig, ZAMM
|
----------------------------------------------------------------------------
|
| "The contents  of this message are mine personally and 
| do not reflect any position of  the Government or NOAA."
|
----------------------------------------------------------------------------











------------------------------------------------------------------------------
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