I'm trying to convert from netCDF4 to scipy.io netcdf as the web page the program is going onto doesn't have the module netCDF4.
The program works perfectly well in netCDF4 retrieving values from a file for temperatures in degK giving me values such as:
[[ 258.77999878 258.77999878 258.77999878 ..., 258.77999878
258.77999878 258.77999878]
[ 259.29998779 259.54998779 259.82000732 ..., 258.3500061
258.70001221 258.97000122]
[ 264.1000061 264.47000122 264.82000732 ..., 262.40002441
263.04998779 263.6000061 ]].
However when using scipy.io netcdf and the same file used in the netCDF4. The program runs it should again give values of temperature in degK but the values come out as:
[[-25403 -25403 -25403 ..., -25403 -25403 -25403]
[-25351 -25326 -25299 ..., -25446 -25411 -25384]
[-24871 -24834 -24799 ..., -25041 -24976 -24921]].
I was just wondering if anyone has come across this problem before and how you solve it so that the scipy.io netcdf program will give the same values.