[Git][debian-gis-team/satpy][upstream] New upstream version 0.25.1

Antonio Valentino gitlab at salsa.debian.org
Sun Jan 10 15:50:29 GMT 2021



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


Commits:
03494610 by Antonio Valentino at 2021-01-10T09:31:35+00:00
New upstream version 0.25.1
- - - - -


5 changed files:

- .git_archival.txt
- AUTHORS.md
- CHANGELOG.md
- satpy/readers/agri_l1.py
- satpy/tests/reader_tests/test_agri_l1.py


Changes:

=====================================
.git_archival.txt
=====================================
@@ -1 +1 @@
-ref-names: tag: v0.25.0
\ No newline at end of file
+ref-names: HEAD -> master, tag: v0.25.1
\ No newline at end of file


=====================================
AUTHORS.md
=====================================
@@ -33,6 +33,7 @@ The following people have made contributions to this project:
 - [Marc Honnorat (honnorat)](https://github.com/honnorat)
 - [Mikhail Itkin (mitkin)](https://github.com/mitkin)
 - [Tommy Jasmin (tommyjasmin)](https://github.com/tommyjasmin)
+- [Jactry Zeng](https://github.com/jactry)
 - [Johannes Johansson (JohannesSMHI)](https://github.com/JohannesSMHI)
 - [Sauli Joro (sjoro)](https://github.com/sjoro)
 - [Janne Kotro (jkotro)](https://github.com/jkotro)


=====================================
CHANGELOG.md
=====================================
@@ -1,3 +1,21 @@
+## Version 0.25.1 (2021/01/06)
+
+### Issues Closed
+
+* [Issue 1500](https://github.com/pytroll/satpy/issues/1500) - Cannot create a scene for OLCI data
+
+In this release 1 issue was closed.
+
+### Pull Requests Merged
+
+#### Bugs fixed
+
+* [PR 1502](https://github.com/pytroll/satpy/pull/1502) - Fix the linting error of test_agri_l1
+* [PR 1459](https://github.com/pytroll/satpy/pull/1459) - Remove unnecessary string decode in agri_l1 reader
+
+In this release 2 pull requests were closed.
+
+
 ## Version 0.25.0 (2021/01/04)
 
 ### Issues Closed


=====================================
satpy/readers/agri_l1.py
=====================================
@@ -62,12 +62,6 @@ class HDF_AGRI_L1(HDF5FileHandler):
         if data.ndim >= 2:
             data = data.rename({data.dims[-2]: 'y', data.dims[-1]: 'x'})
 
-        # convert bytes to string
-        data.attrs['long_name'] = data.attrs['long_name'].decode('gbk')
-        data.attrs['band_names'] = data.attrs['band_names'].decode('gbk')
-        if ds_info['file_type'] != 'agri_l1_4000m_geo':
-            data.attrs['center_wavelength'] = data.attrs['center_wavelength'].decode('gbk')
-
         # calibration
         calibration = ds_info['calibration']
 


=====================================
satpy/tests/reader_tests/test_agri_l1.py
=====================================
@@ -73,7 +73,7 @@ class FakeHDF5FileHandler2(FakeHDF5FileHandler):
                                     'Slope': 1., 'Intercept': 0.,
                                     'FillValue': 0,
                                     'units': 'NUL',
-                                    'band_names': 'NUL'.format(ch).encode('utf-8'),
+                                    'band_names': 'NUL',
                                     'long_name': b'Calibration coefficient (SCALE and OFFSET)',
                                     'valid_range': [-500, 500],
                                 },
@@ -86,7 +86,7 @@ class FakeHDF5FileHandler2(FakeHDF5FileHandler):
                                     'Slope': 1., 'Intercept': 0.,
                                     'FillValue': 0,
                                     'units': 'NUL',
-                                    'band_names': 'NUL'.format(ch).encode('utf-8'),
+                                    'band_names': 'NUL',
                                     'long_name': b'Calibration coefficient (SCALE and OFFSET)',
                                     'valid_range': [-500, 500],
                                 },
@@ -99,7 +99,7 @@ class FakeHDF5FileHandler2(FakeHDF5FileHandler):
                                     'Slope': 1., 'Intercept': 0.,
                                     'FillValue': 0,
                                     'units': 'NUL',
-                                    'band_names': 'NUL'.format(ch).encode('utf-8'),
+                                    'band_names': 'NUL',
                                     'long_name': b'Calibration coefficient (SCALE and OFFSET)',
                                     'valid_range': [-500, 500],
                                 },
@@ -113,7 +113,7 @@ class FakeHDF5FileHandler2(FakeHDF5FileHandler):
                                     'Slope': 1., 'Intercept': 0.,
                                     'FillValue': 0,
                                     'units': 'NUL',
-                                    'band_names': 'NUL'.format(ch).encode('utf-8'),
+                                    'band_names': 'NUL',
                                     'long_name': b'Calibration coefficient (SCALE and OFFSET)',
                                     'valid_range': [-500, 500],
                                 },



View it on GitLab: https://salsa.debian.org/debian-gis-team/satpy/-/commit/03494610733fa3b7131fb97f288912a729a42e89

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/satpy/-/commit/03494610733fa3b7131fb97f288912a729a42e89
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/20210110/14d37512/attachment-0001.html>


More information about the Pkg-grass-devel mailing list