Hi, 

I'm trying to learn how to use pytables to store some hydrographic survey data. 
Essentially I have the following structure: 

profile - fixed size string 
time - float 
latitude - float  
longitude - float 
frequency - float 
trace - numpy array of floats (fixed size for a particular profile but changes 
for different profiles) 
cur_depth - float 
pre_depth - float 

I want to aggregate this data from multiple profiles and store it in a single 
hdf5 file. Each profile has about 2-3K records and a fixed trace size. 
Later I want to be able pull data out in the following ways. 

1) for a particular profile and frequency get all trace data to form a raster. 
For example, for profile = '082311', frequency = 200.0, I would get back a 2D 
array of traces 
2) for a particular frequency get latitude,longitude,cur_depth 

I've followed the tutorial and done some googling of the mailing list but I'm 
unsure how to represent the 'trace' numpy array within pytables. Any pointers 
would be greatly appreciated. 

thanks,  

- dharhas 
Dharhas Pothina, Ph.D., P.E.
Team Lead - Data, Analysis and Modeling
Surface Water Resources Division
Texas Water Development Board
1700 North Congress Ave.
P.O. Box 13231
Austin, TX 78711-3231

Tel: (512) 936-0818
Fax: (512) 936-0816

dharhas.poth...@twdb.state.tx.us 
www.twdb.state.tx.us



<<attachment: Pothina,_Dharhas.vcf>>

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to