Menu

#151 getLongitude() wrong after setAxis()

Normal_bug
open
nobody
cdms (28)
5
2012-12-10
2004-09-02
No

Hello,

I change lon and lat axis of a variable using method
setAxis (index, axis).
An internal attribute of that variable: _grid_ is not
updated.
As a result, a subsequent call of method
getLongitude() returns the longitude axis of _grid_
instead of the actual one.

When setAxis is invoqued, we should check if changed
axis is belonging to current _grid_. If so, just cancel
the grid by resetting attribute _grid_.

Jean-Marie

Discussion


Log in to post a comment.

MongoDB Logo MongoDB