Too many indices

S

satish

Hi all,

I tried to run a small script when I got the following IndexError. Can someone
help me in explaining this error ?

Traceback (most recent call last):
File "satish.py", line 36, in ?
mesh = Mesh(db['x'], db['y'], db['z'])
File "/usr/lib/python2.2/site-packages/LESTool/CFD_database.py", line 208,
in __getitem__
self.readCoords()
File "/usr/lib/python2.2/site-packages/LESTool/CFD_database.py", line 239,
in readCoords
self.data[cgns.x] = MA.array(self.data['coordinates'][0,:,:,:])
IndexError: too many indices

Thanks

Regards,
Satish


--
SATISH KUMAR CHIMAKURTHI
Graduate Teaching Assistant
CFD GROUP
UNIVERSITY OF KENTUCKY
LEXINGTON
KENTUCKY - 40508
Email: (e-mail address removed)
Mobile: 859-312-8425
 
A

Amy G

Posting your script would be helpful.

Hi all,

I tried to run a small script when I got the following IndexError. Can
someone
help me in explaining this error ?

Traceback (most recent call last):
File "satish.py", line 36, in ?
mesh = Mesh(db['x'], db['y'], db['z'])
File "/usr/lib/python2.2/site-packages/LESTool/CFD_database.py", line 208,
in __getitem__
self.readCoords()
File "/usr/lib/python2.2/site-packages/LESTool/CFD_database.py", line 239,
in readCoords
self.data[cgns.x] = MA.array(self.data['coordinates'][0,:,:,:])
IndexError: too many indices

Thanks

Regards,
Satish


--
SATISH KUMAR CHIMAKURTHI
Graduate Teaching Assistant
CFD GROUP
UNIVERSITY OF KENTUCKY
LEXINGTON
KENTUCKY - 40508
Email: (e-mail address removed)
Mobile: 859-312-8425
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,818
Latest member
Brigette36

Latest Threads

Top