[SciPy-User] Remove the need for the loop

Martin De Kauwe mdekauwe@gmail....
Tue Mar 23 05:16:19 CDT 2010

Hmm OK that didn't work, not quite sure why? 

Error message was...

Traceback (most recent call last):
File "./spatial_forcing_map.py", line 115, in <module>
snowfall[month-1,(180-(rows-1)),cols-1] += gswp_snow
IndexError: arrays used as indices must be of integer (or boolean) type

the shapes for the arrays rows, cols and gswp_snow:



More information about the SciPy-User mailing list