[Tutor] calculation with arrays: shape mismatch

John washakie at gmail.com
Mon Oct 29 17:00:05 CET 2007

Sorry, here's the output from the command line

>>>run Day_footprint.py
header has been opened
Reading grid 20060511000000 at: Mon Oct 29 16:57:57 2007
processing: 20060511000000

Traceback (most recent call last):
  File "Day_footprint.py", line 48, in ?
    contribution=[contribution+grid[:,:,z:,k,0]/A for z in
ValueError: shape mismatch: objects cannot be broadcast to a single shape

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20071029/dc0b2b93/attachment.htm 

More information about the Tutor mailing list