Hi Dav, On Wed, Apr 12, 2006 at 12:01:44PM -0700, Dav Clark wrote: > I've only tested the following so far on OS X - there is some > similarity with my previous problem getting Unsupported types, so I > wonder if they are related. I've also only checked pytables 1.3.
I'm trying to reproduce your problem on my machine, but without success (see later). I'm not sure, but this might be a problem with unsupported native HDF5 dataset, but then, I don't understand why you can access the datasets using getNode. Perhaps if you can send me your offending file (if it is not very large), I can better realize what is going on. Cheers, Francesc ----------------------------------------------------------------- Output of my intent: In [63]: h=tables.openFile('trMap3.h5','w') In [64]: minc=h.createGroup('/', 'minc-2.0') In [65]: im=h.createGroup('/minc-2.0','image') In [66]: zero=h.createGroup('/minc-2.0/image','0') In [67]: imax=h.createArray('/minc-2.0/image/0','image-max', [1,2,3]) In [68]: imin=h.createArray('/minc-2.0/image/0','image-min', [4,5,6]) In [69]: h.close() In [70]: h = tables.openFile('trMap3.h5', trMap={'minc20':'minc-2.0', 'zero': '0', 'image_min': 'image-min', 'image_max':'image-max'}) In [71]: h Out[71]: File(filename='trMap3.h5', title='', mode='r', trMap={'image_max': 'image-max', 'zero': '0', 'minc20': 'minc-2.0', 'image_min': 'image-min'}, rootUEP='/', filters=Filters(complevel=0, complib='zlib', shuffle=0, fletcher32=0)) / (RootGroup) '' /minc20 (Group) '' /minc20/image (Group) '' /minc20/image/zero (Group) '' /minc20/image/zero/image_max (Array(3L,)) '' type = Int32 stype = 'Int32' shape = (3L,) itemsize = 4 nrows = 3 flavor = 'python' byteorder = 'little' /minc20/image/zero/image_min (Array(3L,)) '' type = Int32 stype = 'Int32' shape = (3L,) itemsize = 4 nrows = 3 flavor = 'python' byteorder = 'little' In [72]: h = tables.openFile('trMap3.h5', trMap={'minc20':'minc-2.0', 'zero': '0', 'image_min': 'image-min', 'image_max':'image-max'}) KeyboardInterrupt In [72]: h.root.minc20.image.zero.image_max Out[72]: /minc20/image/zero/image_max (Array(3L,)) '' type = Int32 stype = 'Int32' shape = (3L,) itemsize = 4 nrows = 3 flavor = 'python' byteorder = 'little' In [73]: h.root.minc20.image.zero.image_max[:] Out[73]: [1, 2, 3] In [74]: h.root.minc20.image.zero.image_min[:] Out[74]: [4, 5, 6] ------------------------------------------------------------------ My configuration: $ python test_all.py --show-versions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= PyTables version: 1.3 HDF5 version: 1.6.5 numarray version: 1.5.1 Zlib version: 1.2.3 LZO version: 2.02 (Oct 17 2005) UCL version: 1.03 (Jul 20 2004) BZIP2 version: 1.0.3 (15-Feb-2005) Python version: 2.3.5 (#2, Mar 6 2006, 10:12:24) [GCC 4.0.3 20060304 (prerelease) (Debian 4.0.2-10)] Platform: linux2-i686 Byte-ordering: little -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users