Re: [Pytables-users] variable attributes

2010-11-16 Thread Francesc Alted
A Tuesday 16 November 2010 16:38:20 David E. Sallis escrigué: > Gerrit Holl said the following on 11/16/2010 8:12 AM: > > I am moving from NetCDF to HDF5. In NetCDF, I can assign attributes > > to each variable/column. That is very useful for self-documenting > > the > > > > file like this: > >

Re: [Pytables-users] variable attributes

2010-11-16 Thread Francesc Alted
A Tuesday 16 November 2010 15:12:16 Gerrit Holl escrigué: > Hi, > > I am moving from NetCDF to HDF5. In NetCDF, I can assign attributes > to each variable/column. That is very useful for self-documenting > the file like this: > > double AVHRR_LONG(Collocations) ; > AVHRR_LONG:

Re: [Pytables-users] variable attributes

2010-11-16 Thread David E. Sallis
Gerrit Holl said the following on 11/16/2010 9:44 AM: > > [David E. Sallis] >> You can store arbitrary key/value pairs on a node by using the node's >> _f_setAttr() method. I use this frequently and in much the same way as in >> your >> example. The key is the column name, and the value is a P

Re: [Pytables-users] variable attributes

2010-11-16 Thread Jeff Whitaker
On 11/16/10 8:44 AM, Gerrit Holl wrote: > [Gerrit Holl] >>> I am moving from NetCDF to HDF5. In NetCDF, I can assign attributes to >>> each variable/column. That is very useful for self-documenting the >>> file like this: >>> >>>double AVHRR_LONG(Collocations) ; >>>AVHRR_LON

Re: [Pytables-users] variable attributes

2010-11-16 Thread Gerrit Holl
[Gerrit Holl] >> I am moving from NetCDF to HDF5. In NetCDF, I can assign attributes to >> each variable/column. That is very useful for self-documenting the >> file like this: >> >>       double AVHRR_LONG(Collocations) ; >>               AVHRR_LONG:long_name = "AVHRR Longitude" ; >>              

Re: [Pytables-users] variable attributes

2010-11-16 Thread David E. Sallis
Gerrit Holl said the following on 11/16/2010 8:12 AM: > I am moving from NetCDF to HDF5. In NetCDF, I can assign attributes to > each variable/column. That is very useful for self-documenting the > file like this: > > double AVHRR_LONG(Collocations) ; > AVHRR_LONG:long_name =

Re: [Pytables-users] variable attributes

2010-11-16 Thread Jeff Whitaker
On 11/16/10 7:12 AM, Gerrit Holl wrote: > Hi, > > I am moving from NetCDF to HDF5. In NetCDF, I can assign attributes to > each variable/column. That is very useful for self-documenting the > file like this: > > double AVHRR_LONG(Collocations) ; > AVHRR_LONG:long_name = "AVHRR L