This fixes a bug in netcdf, and tweaks ndimage so that it will work with a tighter default casting policy in NumPy. The errors are discussed here:
BUG: netcdf: was treating the NumPy typecode as if it were a NumPy kind
Typecodes are always one character, and kinds are added with a size.
'd' is the same as 'f8', for example. The code was producing 'd8',
which is invalid.
ENH: ndimage: specify unsafe casting so the default in NumPy can be t…
Looks OK to me.
Tested with 1.6.1rc2 and 2.0.0-latest and committed. Thanks Mark.