Re: [Pytables-users] Can't open the group: '/'. 'File' object has no attribute 'root'

2012-06-02 Thread Francesc Alted
Hi Chao, On 6/2/12 11:55 AM, Chao YUE wrote: > if I use gdalinfo to check the file: > chaoyue@chaoyue-Aspire-4750:~/Downloads/LISOTD$ gdalinfo > LISOTD_HRMC_V2.3.2011.hdf > Driver: HDF4/Hierarchical Data Format Release 4 [clip] This says that the file has HDF4 format, not HDF5. Please note that

Re: [Pytables-users] Can't open the group: '/'. 'File' object has no attribute 'root'

2012-06-02 Thread Chao YUE
if I use gdalinfo to check the file: chaoyue@chaoyue-Aspire-4750:~/Downloads/LISOTD$ gdalinfo LISOTD_HRMC_V2.3.2011.hdf Driver: HDF4/Hierarchical Data Format Release 4 Files: LISOTD_HRMC_V2.3.2011.hdf Size is 512, 512 Coordinate System is `' Subdatasets: SUBDATASET_1_NAME=HDF4_SDS:UNKNOWN:"LISOTD

[Pytables-users] Can't open the group: '/'. 'File' object has no attribute 'root'

2012-06-02 Thread Chao YUE
Dear all, I tried to use pytalbes to read a hdf file, but I got error: I searched a little bit online, there might be cases you have more than 2 file handlers for the same file and they are opened for both read and write, you'll probably have this error. But it's not my case that I open it only fo