From: Francesc A. <fa...@ca...> - 2005-09-05 08:53:38
|
El dv 02 de 09 del 2005 a les 17:28 +0200, en/na phi...@ho... va escriure: > Hi Francesc and all others pytables users/developpers, >=20 > I have structured data: atmospheric pressure which depends from=20 > latitute, longitude and time. > The problem is i can't use pytables Table due to the application=20 > capabilities involved to manage the file. Uh, you mean limitations specific of pytables or other kind of limitations? >=20 > The unique solution i have is to store each data in an array (pressure=20 > is a multidimensionnal array, time is an array, longitude is an array=20 > and latitude is an array). >=20 > Then i have to use a specific attributes to retrieve the right=20 > assiocation between parameters and pressure. >=20 > 1. Is there a possibility to put a multidimensionnal attributes, which=20 > can consist in the list containing the path of the parameters=20 > ([/longitude,/latitute,/time]) ? > So i know the first dimension of the pressure array is the longitude,=20 > the second the latitude, the third the time and the last one the values=20 > of the pressure. I don't know exactly what you are trying to do, but, in general, you can save any kind of python object as an attribute. However, if this object has not a direct mapping with a multimensional (or scalar) atomic (i.e. byte, char, int or float) HDF5 type, then it's pickled. > 2. Would it be out of context to think about a standard way to link=20 > inside pytables, the dimension of a multidimensionnal array to the array=20 > defining the parameters values comparably to Netcdf ? Can you be a bit more explicit on what you want exactly? Cheers, --=20 >0,0< Francesc Altet http://www.carabos.com/ V V C=E1rabos Coop. V. Enjoy Data "-" |