Open apiszcz opened 7 years ago
Any pointers appreciated.
I think your trouble is coming from mixing pd.HDFStore
and tp.PandasHDFStore
. The latter assumes a certain structure that the former does not provide.
I'm also curious if I can write to the h5 with one process and read with another in the streaming case. I have not reviewed the code but speculate there is no queue control 'built-in'.
The latest version of HDF5 does support SWMR (Single Writer Multiple Readers) so it should be possible to build something like that, but as you guessed no queue control is built in. If you develop a working example it would be great to add it to the documentation.
I am trying to reproduce the streaming example: http://soft-matter.github.io/trackpy/v0.3.0/tutorial/on-disk.html
When I review the test.h5 result here, no particle column is present. This must be my error, since the example clearly shows a particle column. (BTW: those columns are some condensed visually on the page in the example).
Any pointers appreciated.
I'm also curious if I can write to the h5 with one process and read with another in the streaming case. I have not reviewed the code but speculate there is no queue control 'built-in'.
Example :