reading netcdf broken in 0.11
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-scipy (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Raring |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
in 0.11 reading netcdf files results in integer data in big endian format interpreted as native endian, this was fixed in 0.12:
https:/
TESTCASE:
run:
from scipy.io import netcdf
import numpy as np
nc = netcdf.
nc.createDimens
time = nc.createVariab
time[:] = np.arange(10)
time.units = 'days since 2008-01-01'
nc.close()
nc = netcdf.
print nc.variables[
result
[ 0 16777216 33554432 50331648 67108864 83886080 100663296
117440512 134217728 150994944]
expected result:
[0 1 2 3 4 5 6 7 8 9]
Regression potential:
low, the netcdf spec says the data must big endian and the patch only fixes this issue.
Changed in python-scipy (Ubuntu): | |
status: | New → Fix Released |
description: | updated |
raring has seen the end of its life and is no longer receiving any updates. Marking the raring task for this ticket as "Won't Fix".