1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python27\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 540, in runfile
execfile(filename, namespace)
File "C:/Users/RDinfo/Documents/DREAL/DREAL_ULVES_07-08-2013/Programme calculs et fiches syntheses/Python/start7.py", line 269, in <module>
ZONE_C['FLUX_int'][izo][p,j] = np.nansum(ZONE_C['FLUX_int'][izo][p,j],EXUT_C['FLUX_int'][i][p,j])
File "C:\Python27\lib\site-packages\numpy\lib\function_base.py", line 1472, in nansum
return _nanop(np.sum, 0, a, axis)
File "C:\Python27\lib\site-packages\numpy\lib\function_base.py", line 1393, in _nanop
res = op(y, axis=axis)
File "C:\Python27\lib\site-packages\numpy\core\fromnumeric.py", line 1515, in sum
out=out, keepdims=keepdims)
File "C:\Python27\lib\site-packages\numpy\core\_methods.py", line 18, in _sum
out=out, keepdims=keepdims)
ValueError: cannot convert float NaN to integer |