Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
New pygat syntax
· a063ff1e
Antonio Valentino
authored
Feb 15, 2020
a063ff1e
Set distribution to unstable
· b451b0ca
Antonio Valentino
authored
Feb 15, 2020
b451b0ca
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
b451b0ca
satpy (0.19.1-3) unstable; urgency=medium
* debian/patches
- new 0005-New-pygac-syntax.patch (Closes: 949468)
-- Antonio Valentino <antonio.valentino@tiscali.it> Sat, 15 Feb 2020 07:57:21 +0000
satpy (0.19.1-2) unstable; urgency=medium
* Bump Standards-Version to 4.5.0, no changes.
...
...
debian/patches/0005-New-pygac-syntax.patch
0 → 100644
View file @
b451b0ca
From: Antonio Valentino <antonio.valentino@tiscali.it>
Date: Sat, 15 Feb 2020 08:50:31 +0100
Subject: New pygac syntax
---
satpy/readers/hrpt.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/satpy/readers/hrpt.py b/satpy/readers/hrpt.py
index 31f5988..5b178c4 100644
--- a/satpy/readers/hrpt.py
+++ b/satpy/readers/hrpt.py
@@ -33,8 +33,11 @@
import logging
from datetime import datetime
import numpy as np
+try:
+ from pygac.calibration import calibrate_solar, calibrate_thermal
+except ImportError:
+ from pygac.gac_calibration import calibrate_solar, calibrate_thermal
-from pygac.gac_calibration import calibrate_solar, calibrate_thermal
from satpy.dataset import Dataset
from satpy.readers.file_handlers import BaseFileHandler
debian/patches/series
View file @
b451b0ca
...
...
@@ -2,3 +2,4 @@
0002-No-setuptools-scm.patch
0003-Skip-broken-tests.patch
0004-xarray-0.15-compat.patch
0005-New-pygac-syntax.patch