From: Francesc A. <fa...@ca...> - 2005-09-20 15:03:40
|
A Dimarts 20 Setembre 2005 14:31, v=E0reu escriure: > Well, it's right. So, can you tell me briefly how you work. > I 've seen in the source code you use pyrex. > What is you method ? From the hdf5 sources to pytables sources ? Yes, PyTables is using Pyrex in order to link with HDF5 functions. What I'd do in order to implement dimension scales is something like: =2D Study the dimension scales API from HDF5 site: http://hdf.ncsa.uiuc.edu/HDF5/hdf5_hl/doc/RM_hdf5ds.html Do some tests in C, if needed =2D Study the best API for PyTables: How are you going to link with DS? Are you going to support several DS per dimension? How indexing with new scales would be accessible? =2D Look at the hdf5Extension.Array object and try to attach the DS there. =2D Try to extend DS to EArray and CArray objects (should be straightforward) If you have more time and want to make your patches easily integrated in PyTables. =2D Add test units =2D Add docs All in all, it seems like a lot of work, but like everything else, that depends on your priorities :-) Cheers, =2D-=20 >0,0< Francesc Altet =A0 =A0 http://www.carabos.com/ V V C=E1rabos Coop. V. =A0=A0Enjoy Data "-" |