Hi List,

I just realized that the filter ID for Blosc that I have been using in all the 
2.2 pre-final was wrong: it was 32010 instead of the reserved by THG 32001.  
This was a typo on my part, so I fixed this.  From now on, and for 2.2 final, 
PyTables will set the official ID 32001 to all datasets compressed with Blosc.

The obvious consequence is that, when 2.2 final would be released and you 
install it in your computers, you will not be able to read the existing Blosc 
files created with 2.2 pre-final releases.

While this is not terrible grave (Blosc was not declared stable for 2.2 pre-
final), here it is a recipe for people wanting to retrieve data saved with 
unstable Blosc:

"""
Install a PyTables 2.2 pre-final and replace your filters with the zlib 
compressor. This can be done easily with the ptrepack util. For example:

$ ptrepack --complib=zlib --complevel=1 blosc-file.h5  zlib1-file.h5

Then, install PyTables 2.2 final or later, and re-compress your files but 
using blosc this time. For example, if a complevel of 5 is desired:

$ ptrepack --complib=blosc --complevel=5 zlib1-file.h5  new-blosc-file.h5

And you are done. The new-blosc-file.h5 will contain your data in the stable 
Blosc format.

If want to migrate only specific leaves, you can specify them too. Check the 
help for ptrepack on how to do this. 
"""

More info in ticket #281.

Sorry for the inconveniences that this may have been created,

-- 
Francesc Alted

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to