Hi,

please apologize me, i have more than one account
my mistake i used the wrong one.

Il giorno 11/mar/2010, alle ore 10.22, Francesc Alted ha scritto:

> A Thursday 11 March 2010 10:14:33 Francesc Alted escrigué:
>> [Massimo, please write from a subscribed address; else your messages will
>> not be injected]
>> 
>> ---------------------------------------------------------------------------
>> Ok :-)
>> 
>> the tutorial (i tried just first page)
>> works fine!!!
>> 
>> thanks!
>> 
>> i'll go ahead reading the help page and the examples file.
>> my target:
>> 
>> have a "database" for numpy arrays (arrays come from geographic images
>> stored as array by python-gdal )
>> and associate "geotransfor matrix and other metadata" to the image-array
>> 
>> storing images + associated metadata  in the hdf5 file using pytable.
>> 
>> this will give me the ability to use pytable to generate structured queries
>> to extract data from the hdf5 file ?
> 
> What do you mean by structured queries?  Can you be more explicit?


what i'm tring to achieve :

i'm working with satellite's image, using gdal-python
i'm storing the images in a MxNxD numpy.array, 
where :

MxN =  x,y pixels
D  = images band

so as example, an rgb image :

10 km X 10 km (extension)
 pixel dimension = 1m 

will be stored in array.shape :

(1000,1000,3)

for each images i have also a python dictionary
where i have the georeference metadata, 
so for each pixel i can know its position in the space.


what i want try to do with pytables is :

store the images.array + images.metadata in a hdf file

then do some calculation in a function that take as input :

- image_ID
- boundy-box coordinates 

and give as output the array.indexes

then use the image_ID + image.array.indexes in pytables to extract only a 
"portion" of the array.

Please, tell me if i need to give you a more detailed description.

Right now i'm studing pytables examples and documentation to learn how to begin 
this approach.

Thanks a lot for any suggestion!

regards,

Massimo.






> 
>> 
>> does anyone works on a similar project ?
>> 
>> thanks to All!!!
>> 
>> 
>> Massimo.
> 
> -- 
> Francesc Alted
> 
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Pytables-users mailing list
> Pytables-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pytables-users


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to