From: Francesc A. <fa...@py...> - 2004-05-06 17:50:45
|
Hi Chuck, A Dijous 06 Maig 2004 18:53, chuck clark va escriure: > Now, it is the end of the month and I'd like to do a summary for the > month. I've been able to generate that monthly summary for all statistics > except one from the daily summaries. However, for this last stat I need > to look at all datapoints. Is there a way that I can "link" tables so > that when I traverse all the rows in _20040301 my row iterator > automatically continues on to _20040302? > > I can do it with a for loop or even write a facade that makes a list of > tables look like one table but I wanted to make sure this wasn't a bit of > functionality that already exists which I am missing. I understand what you want to do, but this is not currently implemented in PyTables, so you will need to write the code for yourself (it shouldn't be complicated, I guess). I am pondering to add soon reference support in pytables, and eventually support this kind of table-chain iterator. No promises, though. > Do I read this incorrectly, even if you had the time you couldn't truly > implement it on top of HDF5 since HDF5 doesn't support it yet. No, you read well, but I think this documentation is outdated (HDF5 1.4). Go to this one: http://hdf.ncsa.uiuc.edu/HDF5/doc/UG/index.html and follow the "Datatypes" hyperlink. This documentation is updated to HDF5 1.6.2 and seems like if time and data support *is* there. Cheers, -- Francesc Alted |