[Git][debian-gis-team/pyresample][master] Fix fill value computation
Antonio Valentino
gitlab at salsa.debian.org
Sat Mar 13 09:19:32 GMT 2021
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 <sebastic at debian.org> 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 <antonio.valentino at tiscali.it> 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 <antonio.valentino at tiscali.it>
+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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20210313/5f9a00b1/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list