Hello Martin, A Sunday 17 January 2010 18:43:44 Martin Teichmann escrigué: [clip] > The numpy reference solution on the other hand is very generic, it will be > easy to also introduce tables in datasets containing references or other > stuff. > > The problem of numpy using the typecode r for something else I don't see > as a big problem: there is nearly noone who introduces new numpy datatypes, > so we can just ask the numpy guys to reserve the r for us. Since they don't > get many of those request (actually, I haven't found any) I guess they > won't obstain.
I'm not so sure, but let's try it. > > Also, I don't see that you have made a proper implementation of > > 'Dimension Scales' as understood in: > > > > http://ftp.hdfgroup.org/HDF5/Tutor/h5dimscale.html > > > > but only support for HDF5 references (but I suppose that, with a little > > more of work we can be there...) > > Well, I wrote that once in an email. On purpose I didn't support > dimension scales > directly, but added support for the necessary data structures in PyTables. > This has several advantages: firstly, my code runs without problems > with hdf5 1.6, > while dimension scales exist only starting 1.8. Supporting dimension scales > directly would also have ment that we are creating attributes that we > cannot interpret, > and will show up as an unknown type only. Actually, PyTables at some > point wasn't > able to open datasets containing dimension scales at all. > > Once one has the support for references, and variable-length lists as > attributes, > it is trivial to do that in python. Seems like you have a plan :-) If you need help to implement variable-length list as attributes, please shout. > > Finally, I miss some test units, but that should easy to solve. > > Yep, I'm working on that. Especially some that create dimension scales... > (I have written some already, they're just unreadable to anyone else than > me...) > > > If you agree to work with that, I'd like to open a new public branch in > > the PyTables repository and give you commit permissions there. We can > > continue discussing the issues here so that other people can contribute > > with opinions, test units, docstrings or whatever. > > That would be real cool. Done. I've created a branch for dimension scales at: http://www.pytables.org/svn/pytables/branches/dimension-scales I'll send you your username/password for accessing the repo in a private mail. Please do not hesitate to ask for help or clues on any issues you can get stuck. Cheers, -- Francesc Alted ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users