Hello,
I created a .h5 file using the following code. I get an error saying
that the file format is not supported. Am I doing something wrong,
such as writing data that is a python specific type? Can one use
hdfview to read files such as below?
I installed HDFview on Mac Intel using the version on the HDF group website.
Thanks.
import tables
h5file = tables.openFile('bigData.h5', 'w', 'Test the speed of scrolling')
varNames = {}
baseName = "price"
for i in range(200):
var = baseName + str(i)
varNames[var] = tables.Float32Col(pos = i)
newTable = h5file.createTable('/', 'Prices', varNames)
entry = newTable.row
k = 0
for i in xrange(100000):
for j in varNames.keys():
entry[j] = k
k = k + 1
entry.append()
newTable.flush()
h5file.close()
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Pytables-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pytables-users