From: Francesc A. <fa...@py...> - 2004-11-03 18:40:53
|
A Dimecres 03 Novembre 2004 19:13, Jeff Whitaker va escriure: > > If updating the EArray via slice assignment were supported in the future > this would be a non-issue, since I guess one could just do > > vardata[n] = var[n] Yeah, I think so because I've just implemented slice assignments for Array, EArray and VLArray objects in upcoming pytables 0.9. However, bear in mind that the new release will only let you do an assignment to already *existing* elements in the object. So, I'm afraid that you will need to continue using append() for this particular case. > BTW: netCDF only allows the first dimension to be unlimited. > Interestingly, the upcoming netCDF 4 will be a wrapper on top of the > HDF5 API, and will support compression and multiple unlimited dimensions. Ok then. I'll let that support for upcoming netCDF 4 (but for just only one unlimited dimension, as this is all what PyTables supports). Cheers, -- Francesc Alted |