Antonio Valentino pushed to branch master at Debian GIS Project / pyresample
Commits: 907f2402 by Antonio Valentino at 2021-03-13T09:02:51+00:00 Fix fill value computation - - - - - 3 changed files: - debian/changelog - + debian/patches/0003-Fix-fill-value-computation.patch - debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -1,9 +1,16 @@ pyresample (1.17.0+ds-2) UNRELEASED; urgency=medium - * Team upload. + [ Bas Couwenberg ] * Bump Standards-Version to 4.5.1, no changes. - -- Bas Couwenberg <[email protected]> Sat, 28 Nov 2020 14:13:10 +0100 + [ Antonio Valentino ] + * debian/patches: + - new 0003-Fix-fill-value-computation.patch. + The problem was not just a SyntaxWarning but a bug + causing the incorrect mamagement of the fill value + for the EWA interpolation (Closes: #985019). + + -- Antonio Valentino <[email protected]> Sat, 13 Mar 2021 09:02:15 +0000 pyresample (1.17.0+ds-1) unstable; urgency=medium ===================================== debian/patches/0003-Fix-fill-value-computation.patch ===================================== @@ -0,0 +1,22 @@ +From: Antonio Valentino <[email protected]> +Date: Sat, 13 Mar 2021 08:23:40 +0000 +Subject: Fix fill value computation + +Forwarded: not-needed +--- + pyresample/ewa/__init__.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyresample/ewa/__init__.py b/pyresample/ewa/__init__.py +index 62f3f11..3aa257a 100644 +--- a/pyresample/ewa/__init__.py ++++ b/pyresample/ewa/__init__.py +@@ -211,7 +211,7 @@ def fornav(cols, rows, area_def, data_in, + data_in = [np.ascontiguousarray(d) for d in data_in] + # determine a fill value if they didn't tell us what they have as a + # fill value in the numpy arrays +- if "fill" is None: ++ if fill is None: + if np.issubdtype(data_in[0].dtype, np.floating): + fill = np.nan + elif np.issubdtype(data_in[0].dtype, np.integer): ===================================== debian/patches/series ===================================== @@ -1,2 +1,3 @@ 0001-Detect-broken-basemap.patch 0002-Skip-test-on-deprecatet-basemap.patch +0003-Fix-fill-value-computation.patch View it on GitLab: https://salsa.debian.org/debian-gis-team/pyresample/-/commit/907f24021ce301be9d4261cfcaac41de696c5da9 -- View it on GitLab: https://salsa.debian.org/debian-gis-team/pyresample/-/commit/907f24021ce301be9d4261cfcaac41de696c5da9 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ Pkg-grass-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel
