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
Originally posted by bmcandr October 17, 2024
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:
Discussed in #3215
Originally posted by bmcandr October 17, 2024
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 ofinp
andout
: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?
The text was updated successfully, but these errors were encountered: