I create the tables in an HDF5 file from three different python processes. I
needed to modify one of the processes, but not the others. Is there an easy way
to copy the two tables that did not change to the new file?
--
Aquil H. Abdullah
"I never think of the future. It comes soon enough" - Al
Hey Aquil,
I think File.copyNode() [1] with the newparent argument as group on another
file will do what you want.
Be Well
Anthony
1.
http://pytables.github.com/usersguide/libref/file_class.html?highlight=copy#tables.File.copyNode
On Thu, Nov 8, 2012 at 10:02 AM, Aquil H. Abdullah wrote:
> I
Thanks Anthony,
This also did the trick:
import tables
h5f_in = tables.open('CO.h5)
tbl_in = h5f_in.root.CO.DATA
h5f_out = tables.openFile('test.h5', 'w')
g = h5f_out.createGroup('/','CO')
ot = tbl.copy(newparent=g)
--
Aquil H. Abdullah
"I never think of the future. It comes soon enough" - A
I would like to squeeze out as much compression as I can get. I do not mind
spending time on the front end as long as I do not kill my read performance.
Seems like 7Zip is well suited to my data. Is it possible to have 7Zip used as
the native internal compression for a pytable?
If not now ha
I love the index function and promote the internal use of PyTables at my
company. The availability of a indexed method to speed the search is the main
reason why.
We are a mixed shop using c++ to create H5 (just for the raw speed … need to
keep up with streaming data) End users start with py
Hello Jim,
The major hurdle here is exposing 7Zip to HDF5. Luckily it appears as if
this may have been taken care of for you by the HDF-group already [1]. You
should google around to see what has already been done and how hard it is
to install. The next step is to expose this as a compression o
On Thu, Nov 8, 2012 at 10:19 PM, Jim Knoll wrote:
> I love the index function and promote the internal use of PyTables at
> my company. The availability of a indexed method to speed the search is
> the main reason why.
>
> ** **
>
> We are a mixed shop using c++ to create H5 (just for the r