Francesc Altet wrote: > Hi List, > > I'm sorry for being a bit boring about this, but I'm afraid that we need your > help ;-). > > Recently, we, Cárabos, have been nominated an official candidate in a public > competition of innovative companies. The competition is being driven by CEEI, > an entity of our local government (http://www.ceei.net/) that is responsible > to help people that is starting its own innovative bussiness. > > In the report that we are writing to support our candidature, we are > referring > to the PyTables 'Success Stories' wiki page [1] where Andrew Straw has kindly > contributed a nice story already. So, if you like the work that we are doing > and want to support us, now it's the proper time: just go to the wiki page > above and contribute your own story. Come on, it only will take you ten > minutes and that would be a really nice gift for us (specially if we could > finally win the prize :-). [In case you are having problems with wiki > technology, you can also send me your story by e-mail.] > > Thanks for your time! > > [1] http://www.pytables.org/moin/SuccessStories >
Hi Francesc, Well, before I submit my story, let me ask this: How safe is it to write HDF5 files directly with the HDF5 C API and have those files be compatible with PyTables? I ask because I took a look at the structure of the files generated by the tables module and all that seems to be required are a few attributes on each HDF5 object, as documented in the manual. Is there a C API you could expose for this purpose, or are those documented attributes enough? Basically, I have a finite element code that solves for thermal convection in the Earth's mantle. It writes its solution fields into various HDF5 datasets in chunked mode, with time as the only unlimited dimension. I can load all the field datasets as numpy arrays through your Array and Earray objects. I also create one small table to store timing information, and it also loads just fine using your python module. I guess the only thing I feel wary about is the pickle object that gets stored in the FILTERS attribute. What I did was create a file in PyTables, stole the pickle from that file and reused it in my own C code. It wasn't clear to me from the manual if this attribute was optional, so I just left it alone. Would it be possible to use a shorthand string in place of the current pickle to represent the value of the FILTERS attribute? (Same goes for any related attributes). I mean, much like FLAVOR allows for 'Numeric', 'numarray' and 'numpy'. Parallel HDF5 doesn't support writing to a compressed dataset anyway, so actually I just need a sensible default, even if the pickle remains there for the other cases. Of course, if the attribute is optional, then never mind :-) Let me know if you have any comments or suggestions regarding my question. Thanks! -Luis -- Luis Armendariz Software Engineer Computational Infrastructure for Geodynamics (CIG) California Institute of Technology, 252-21 1200 E. California Boulevard Pasadena, CA 91125 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Pytables-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pytables-users
