[Git][debian-gis-team/satpy][master] 2 commits: New 0007-Reduce-MODIS-test-size.patch

Antonio Valentino (@antonio.valentino) gitlab at salsa.debian.org
Fri Jan 7 11:58:03 GMT 2022



Antonio Valentino pushed to branch master at Debian GIS Project / satpy


Commits:
d4e7b6aa by Antonio Valentino at 2022-01-07T11:28:48+00:00
New 0007-Reduce-MODIS-test-size.patch

- - - - -
4bfa5f77 by Antonio Valentino at 2022-01-07T11:28:57+00:00
Re-enable tests on modis

- - - - -


5 changed files:

- debian/changelog
- + debian/patches/0007-Reduce-MODIS-test-size.patch
- debian/patches/series
- debian/rules
- debian/tests/python3


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,14 @@
+satpy (0.33.1-3) UNRELEASED; urgency=medium
+
+  * debian/patches:
+    - new 0007-Reduce-MODIS-test-size.patch, see
+      https://github.com/pytroll/satpy/pull/1966 and
+      https://github.com/pytroll/satpy/issues/1883.
+  * Re-enable tests on modis (fixed by
+    0007-Reduce-MODIS-test-size.patch).
+
+ -- Antonio Valentino <antonio.valentino at tiscali.it>  Fri, 07 Jan 2022 09:56:01 +0000
+
 satpy (0.33.1-2) unstable; urgency=medium
 
   * Disable autopkgtest on armhf (Closes: #1000273).


=====================================
debian/patches/0007-Reduce-MODIS-test-size.patch
=====================================
@@ -0,0 +1,23 @@
+From: Antonio Valentino <antonio.valentino at tiscali.it>
+Date: Fri, 7 Jan 2022 09:45:44 +0000
+Subject: Reduce MODIS test size
+
+Origin: https://github.com/pytroll/satpy/pull/1966
+Forwarded: https://github.com/pytroll/satpy/pull/1966
+---
+ satpy/tests/reader_tests/_modis_fixtures.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/satpy/tests/reader_tests/_modis_fixtures.py b/satpy/tests/reader_tests/_modis_fixtures.py
+index fa2819e..29a2c34 100644
+--- a/satpy/tests/reader_tests/_modis_fixtures.py
++++ b/satpy/tests/reader_tests/_modis_fixtures.py
+@@ -34,7 +34,7 @@ AVAILABLE_1KM_IR_PRODUCT_NAMES = [str(x) for x in range(20, 37)]
+ AVAILABLE_1KM_PRODUCT_NAMES = AVAILABLE_1KM_VIS_PRODUCT_NAMES + AVAILABLE_1KM_IR_PRODUCT_NAMES
+ AVAILABLE_HKM_PRODUCT_NAMES = [str(x) for x in range(3, 8)]
+ AVAILABLE_QKM_PRODUCT_NAMES = ['1', '2']
+-SCAN_LEN_5KM = 406
++SCAN_LEN_5KM = 6  # 3 scans of 5km data
+ SCAN_WIDTH_5KM = 270
+ SCALE_FACTOR = 1
+ RES_TO_REPEAT_FACTOR = {


=====================================
debian/patches/series
=====================================
@@ -4,3 +4,4 @@
 0004-Skip-tests-requiring-rioxarray.patch
 0005-Use-local-mathjax.patch
 0006-Fix-broken-test-in-i386.patch
+0007-Reduce-MODIS-test-size.patch


=====================================
debian/rules
=====================================
@@ -12,7 +12,7 @@ export PYBUILD_TEST_ARGS=-k \
 "not test_retrieve and not test_offline_retrieve\
  and not test_retrieve_all and not test_download_script\
  and not test_start_time and not test_end_time\
- and not test_mimic_TPW2_nc and not test_fy4a_for_one_resolution and not test_load_longitude_latitude\
+ and not test_mimic_TPW2_nc\
  and not TestAngleGeneration"
 
 


=====================================
debian/tests/python3
=====================================
@@ -20,6 +20,6 @@ for py in $PYS; do
 and not test_offline_retrieve and not test_retrieve_all \
 and not test_download_script \
 and not test_start_time and not test_end_time \
-and not test_mimic_TPW2_nc and not test_fy4a_for_one_resolution and not test_load_longitude_latitude \
+and not test_mimic_TPW2_nc \
 and not TestAngleGeneration" 2>&1
 done



View it on GitLab: https://salsa.debian.org/debian-gis-team/satpy/-/compare/b1d50e1518f4df4fa05b603a9f7fae8d90cdfb42...4bfa5f77a5ff52e42e249b85c3f5ee21d8f2eccd

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/satpy/-/compare/b1d50e1518f4df4fa05b603a9f7fae8d90cdfb42...4bfa5f77a5ff52e42e249b85c3f5ee21d8f2eccd
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/20220107/e74b6dcf/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list