You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm investigating an error in my application that appeared after upgrading from 1.3.10 to 1.4.1. A call to reproject with a single band, 2D masked array as source now returns a 3D masked array when it previously returned a 2D array.
I suspect this change in behavior was introduced with this change, but it is unclear to me whether this is an intentional result or an unintended regression.
I can demonstrate this change using one of the tests added in the PR (test_reproject_masked_masked_output) by adding a simple assertion check on the number of dimensions of inp and out:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm investigating an error in my application that appeared after upgrading from 1.3.10 to 1.4.1. A call to
reprojectwith a single band, 2D masked array as source now returns a 3D masked array when it previously returned a 2D array.I suspect this change in behavior was introduced with this change, but it is unclear to me whether this is an intentional result or an unintended regression.
I can demonstrate this change using one of the tests added in the PR (
test_reproject_masked_masked_output) by adding a simple assertion check on the number of dimensions ofinpandout:When
test3d = False, the test fails with:For comparison, this assertion check passes when running this test on 1.3.10.
Is this new behavior intended?
Beta Was this translation helpful? Give feedback.
All reactions