Skip to content
Commits on Source (2)
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.
......
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
......@@ -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