A Monday 26 May 2008, Pierre GM escrigué: > Francesc, > Thanks a lot, that did the trick ! > > > PS: Your code is a very nice start of how to support masked arrays > > in PyTables. In case you eventually end with something more > > polished and tested, I'd glad to add it to PyTables itself. > > Well, my objective right now is to get support for TimeSeries object > (just a layer on top of MaskedArrays), at least for storing, and put > the corresponding module in scikits.timeseries.lib. Adapting the code > for MaskedArrays should be relatively easy.
Sounds good. > So, I guess I should think about a 'append' method, right ? What else > would need to be incorporated ? Well, I guess that having a .read() and .append() would be enough for the module. You may also want to implement __getitem__() and __setitem__() methods for easier slice dataset retrieval and overwriting, but this is up to you. In addition, an __iter__() would be handy for iterating through the masked array without the need of loading it completely in memory. Cheers, -- Francesc Alted Freelance developer Tel +34-964-282-249 -- Francesc Alted Freelance developer Tel +34-964-282-249 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users