From: kevin l. <lke...@ya...> - 2005-01-13 08:49:36
|
Sorry, I spoke to soon... The indexed=1 or the .createIndex() is still not being created. With the declaration (indexed=1), execution "tables" the data without acknowledging that indexing was not performed. With .createIndex() I'm getting a RuntimeError. File "hdf5Extension.pyx", line 1411, in hdf5Extension.Group._g_createGroup RuntimeError: Can't create the group _i_raw_A1. Also Francesc, my understanding is, that this is the answer to "index persistence"; when an original index of an array is preserved after having performed "cuts" and other various "operations" on the data. IOW, unlike natural numarray characteristics which requires extra effort to maintain an array's original index references. Is this correct? If so, I have not yet figured out how I access it. Thank you kindly, Kevin --- kevin lester <lke...@ya...> wrote: > Hi Francesc, > > First, let me say that the field variable change did > allow indexing.(thanks). > > After My last email, I re-Installed all packages. At > first nothing worked. IDE's and DOS command > executions > just crashed immediately. After Fooling around for > quite some time, I got things to work by not > including > the SZLIB files(and .dll). > > But... PythonWin (which is the IDE I was using > before > all this crashing) is still crashing. It was > performing before, but did need to be re-booted > after > nearly each file upload. I don't necessarily care to > use it. Hopefully I'll find the stability in the IDE > I'm going to try to work with now (SPE). > > Not being as computer savvy yet as I'm going to be > ;-), I had trouble with knowing which of the > optionable versions of szlib I needed. But, is szlib > even necessary??? I did'nt get that impression from > HDF5's instructions. > > At this point I was also able to utilize 'lzo' & > 'ucl' > for compression. > > Anyway I'm going to see how things progress and I'll > give a report later. > > Many, many thanks, > Kevin > > > --- Francesc Altet <fa...@ca...> wrote: > > > A Dimecres 12 Gener 2005 13:11, kevin lester va > > escriure: > > > I'm having problems with the zlib,lzo,ucl > > compression > > > libraries being available to pyTables. I planted > > the > > > .dlls in the /WINDOWS/SYSTEM folder and have > > > PYTHONPATH directed there as mentioned in the > > > installation instructions. > > > > Well, that seems good. What kind of problems are > you > > having? > > > > > I included the code below for the declaritve. > The > > > .createIndex() version was just as was shown in > > 6.22 > > > of the tutorial > > > > > > >>> indexrows = table.cols.var1.createIndex() > <<< > > > > After looking at your script, I can see that you > > have been bitten by a known > > bug, that prevents to name a column with a name > that > > contains another column > > name as a substring. While I release a pytables > > version with a cure to this, > > you may try the next column declaration that is > free > > of this problem: > > > > class ES(IsDescription): > > H1 = Int8Col(indexed=1) > > M1 = Int8Col(indexed=1) > > S1 = Int8Col(indexed=1) > > BS = Int16Col(indexed=1) > > BP = Float32Col(indexed=1) > > AP = Float32Col(indexed=1) > > AS = Int16Col(indexed=1) > > L1 = Float32Col(indexed=1) > > V1 = Int16Col(indexed=1) > > A1 = Int8Col(indexed=1) > > UD = BoolCol(indexed=1) > > TV = Int64Col(indexed=1) > > DT = Float32Col(indexed=1) > > HI = Float32Col(indexed=1) > > LO = Float32Col(indexed=1) > > > > Cheers, > > > > -- > > Francesc Altet >qo< http://www.carabos.com/ > > Cárabos Coop. V. V V Enjoy Data > > "" > > > > > > > > > ------------------------------------------------------- > > The SF.Net email is sponsored by: Beat the > > post-holiday blues > > Get a FREE limited edition SourceForge.net t-shirt > > from ThinkGeek. > > It's fun and FREE -- well, > > almost....http://www.thinkgeek.com/sfshirt > > _______________________________________________ > > Pytables-users mailing list > > Pyt...@li... > > > https://lists.sourceforge.net/lists/listinfo/pytables-users > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the > post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt > from ThinkGeek. > It's fun and FREE -- well, > almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Pytables-users mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pytables-users > __________________________________ Do you Yahoo!? All your favorites on one personal page Try My Yahoo! http://my.yahoo.com |