Hi,

I would like to include a vl array in a class like this (from the tutorial):

class Particle(IsDescription):
    name        = StringCol(itemsize=16)  # 16-character string
    lati        = Int32Col()              # integer
    longi       = Int32Col()              # integer
    pressure    = Float32Col(shape=(2,3)) # array of floats (single-precision)
    temperature = Float64Col(shape=(2,3)) # array of doubles (double-precision)


Is it possible to make, for instance, temperature a variable length
array? The following doesn't work, which I concocted by analogy with
vlarray1.py:

class Particle(IsDescription):
    name        = StringCol(16)   # 16-character String
    temperature = Int32Atom(shape=())

Thanks.

Nicky

------------------------------------------------------------------------------
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to