Re: [Pytables-users] Ref to region

2012-03-22 Thread Alvaro Tejero Cantero
It seems that refs were proposed in the past, even with an implementation. Maybe this could be a starting point: http://www.mail-archive.com/pytables-users@lists.sourceforge.net/msg01374.html -á. On Thu, Mar 15, 2012 at 12:56, Alvaro Tejero Cantero wrote: > Does PyTables support object regio

Re: [Pytables-users] Ref to region

2012-03-15 Thread Anthony Scopatz
On Thu, Mar 15, 2012 at 1:44 PM, Francesc Alted wrote: > On Mar 15, 2012, at 1:30 PM, Alvaro Tejero Cantero wrote: > > > I had seen this, but I don't see how to point to regions inside a > > leaf. It seems that h5py supports this. Quoting from their > > documentation > > > > <> > > Region referen

Re: [Pytables-users] Ref to region

2012-03-15 Thread Francesc Alted
On Mar 15, 2012, at 1:30 PM, Alvaro Tejero Cantero wrote: > I had seen this, but I don't see how to point to regions inside a > leaf. It seems that h5py supports this. Quoting from their > documentation > > <> > Region references always contain a selection. You create them using > the dataset pro

Re: [Pytables-users] Ref to region

2012-03-15 Thread Alvaro Tejero Cantero
I had seen this, but I don't see how to point to regions inside a leaf. It seems that h5py supports this. Quoting from their documentation <> Region references always contain a selection. You create them using the dataset property “regionref” and standard NumPy slicing syntax: >>> myds = myfile.c

Re: [Pytables-users] Ref to region

2012-03-15 Thread Anthony Scopatz
Links are covered here. soft: http://pytables.github.com/usersguide/libref.html?#the-softlink-class hard: http://pytables.github.com/usersguide/libref.html?#the-externallink-class On Thu, Mar 15, 2012 at 7:56 AM, Alvaro Tejero Cantero wrote: > Does PyTables support object region references[1]? >

[Pytables-users] Ref to region

2012-03-15 Thread Alvaro Tejero Cantero
Does PyTables support object region references[1]? When using soft links to other files, is a performance penalty incurred? I like the idea of having the raw data, that never changes, referenced from another file that is read-only. How do you guys normally deal with this scenario? Álvaro. [1] I