On my system, Linux RedHat 9, with biprocessor PC
the following line fails:
var[:] = (var[:] / factor).astype (var.typecode())
File "../set_to_IPCC_standards.py", line 319, in ?
var[:] = (var[:] / factor).astype (var.typecode())
File
"/usr/local/cdat/lib/python2.3/site-packages/cdms/fvariable.py",
line 100, in __setslice__
apply(self._obj_.setslice,(low,high,MA.filled(value)))
ValueError: shapes are not aligned
========
In __setslice__ in fvariable.py, argument "high" is
2147483647, the maximum value of a signed integer, it
seems.
it should be 600 * 1 * 21692 (that is the shape of my
3D array) = 13015200
Jean-Marie