BUG: io: add work-around in netcdf.py for the bug in numpy that is the c... #141

Merged
merged 1 commit into from Jan 29, 2012

Conversation

Projects
None yet
1 participant
@WarrenWeckesser
Member

WarrenWeckesser commented Jan 23, 2012

...ause of the problem reported in ticket #1202

This change avoids the problem reported in ticket #1202 by checking the writeable flag of the data array before attempting to call assignValue() on the netcdf variable.

A pull request to fix the underlying problem has been submitted to numpy. Even after numpy is fixed, however, we'll need to support older versions of numpy, so the work-around provided by this pull request is necessary.

WarrenWeckesser added a commit that referenced this pull request Jan 29, 2012

Merge pull request #141 from WarrenWeckesser/ticket1202
BUG: io: add work-around in netcdf.py for the bug in numpy that is the c...

@WarrenWeckesser WarrenWeckesser merged commit b5838b9 into scipy:master Jan 29, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment