Bas Couwenberg pushed to branch master at Debian GIS Project / satpy
Commits: b82e8327 by Bas Couwenberg at 2019-11-20T10:35:21Z Fix two tests for dask-2.8. (closes: #945129) - - - - - 3 changed files: - debian/changelog - + debian/patches/dask-2.8.patch - debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -1,7 +1,12 @@ satpy (0.16.1-4) UNRELEASED; urgency=medium + [ Bas Couwenberg ] * Bump Standards-Version to 4.4.1, no changes. + [ Matthias Klose ] + * Fix two tests for dask-2.8. + (closes: #945129) + -- Antonio Valentino <[email protected]> Mon, 30 Sep 2019 20:01:16 +0200 satpy (0.16.1-3) unstable; urgency=medium ===================================== debian/patches/dask-2.8.patch ===================================== @@ -0,0 +1,32 @@ +Description: Fix test failures with dask-2.8. +Author: David Hoese +Origin: https://github.com/pytroll/satpy/commit/ca2d7e16635c0adfe6390e216f326d20cc148264 +Origin: https://github.com/pytroll/satpy/commit/9f631a739e8587b09fbf1afe57e761c1690a3629 +Bug-Debian: https://bugs.debian.org/945129 + +--- a/satpy/tests/compositor_tests/test_viirs.py ++++ b/satpy/tests/compositor_tests/test_viirs.py +@@ -173,7 +173,10 @@ class TestVIIRSComposites(unittest.TestC + c02 = xr.DataArray(sza, + dims=('y', 'x'), + attrs={'name': 'solar_zenith_angle', 'area': area}) +- lza = da.from_array(sza, chunks=25) ++ lza = np.zeros((rows, cols)) + 70.0 ++ lza[:, 3] += 20.0 ++ lza[:, 4:] += 45.0 ++ lza = da.from_array(lza, chunks=25) + c03 = xr.DataArray(lza, + dims=('y', 'x'), + attrs={'name': 'lunar_zenith_angle', 'area': area}) +@@ -224,7 +227,10 @@ class TestVIIRSComposites(unittest.TestC + c02 = xr.DataArray(sza, + dims=('y', 'x'), + attrs={'name': 'solar_zenith_angle', 'area': area}) +- lza = da.from_array(sza, chunks=25) ++ lza = np.zeros((rows, cols)) + 70.0 ++ lza[:, 3] += 20.0 ++ lza[:, 4:] += 45.0 ++ lza = da.from_array(lza, chunks=25) + c03 = xr.DataArray(lza, + dims=('y', 'x'), + attrs={'name': 'lunar_zenith_angle', 'area': area}) ===================================== debian/patches/series ===================================== @@ -4,3 +4,4 @@ 0004-Disable-tests-on-the-number-of-calls-to-ll2cr.patch 0005-Fix-test_gaclacfile.patch 0006-Fix-compatibility-with-new-proj-version.patch +dask-2.8.patch View it on GitLab: https://salsa.debian.org/debian-gis-team/satpy/commit/b82e8327bacd201c8c71caf3412bd272a25e278e -- View it on GitLab: https://salsa.debian.org/debian-gis-team/satpy/commit/b82e8327bacd201c8c71caf3412bd272a25e278e 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
