
Hi all, Does anyone here use Konrad Hinsen's NetCDF module? I'm having a problem with it. I opened an existing NetCDF file and examine one of it's variables: file = NetCDF.NetCDFFile("test.cdf")
file.variables['water_u'].typecode() 'f'
The variable appears to contain float data (which I think it does). However, when I try to get a slice of that data: array([3199453293L, 3198428385L], 'u') Numeric appears to think it's an unsigned 32 bit integer variable. I get the same result if I use file.getValue() as well. Could this be a Numeric version mismatch? I couldn't find a recommended version of Numeric on the Scientific site. RedHat Linux 7.2 Python2.2.1 Numeric 22.0 I've enclosed my test.cdf file, if you want to test it yourself. Anyone have any ideas? -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chris.Barker@noaa.gov