[Git][debian-gis-team/xarray-safe-s1][upstream] New upstream version 2026.1.23

Antonio Valentino (@antonio.valentino) gitlab at salsa.debian.org
Sat Jan 24 19:01:22 GMT 2026



Antonio Valentino pushed to branch upstream at Debian GIS Project / xarray-safe-s1


Commits:
2ab38a24 by Antonio Valentino at 2026-01-24T18:55:31+00:00
New upstream version 2026.1.23
- - - - -


3 changed files:

- safe_s1/__init__.py
- safe_s1/reader.py
- safe_s1/sentinel1_xml_mappings.py


Changes:

=====================================
safe_s1/__init__.py
=====================================
@@ -1,6 +1,6 @@
 import traceback
 
-from safe_s1.reader import Sentinel1Reader
+from safe_s1.reader import Sentinel1Reader  # noqa: F401
 
 try:
     from importlib import metadata


=====================================
safe_s1/reader.py
=====================================
@@ -728,7 +728,7 @@ class Sentinel1Reader:
 
                 noise_lut_azi_raw_ds[vari].attrs["description"] = hihi
             tmp.append(noise_lut_azi_raw_ds)
-        ds = xr.concat(tmp, pd.Index(pols, name="pol"))
+        ds = xr.concat(tmp, pd.Index(pols, name="pol", dtype=object))
         ds.attrs["history"] = "\n".join(history)
         return ds
 
@@ -767,7 +767,7 @@ class Sentinel1Reader:
                     )
                 )
             tmp.append(noise_lut_range_raw_ds)
-        ds = xr.concat(tmp, pd.Index(pols, name="pol"))
+        ds = xr.concat(tmp, pd.Index(pols, name="pol", dtype=object))
         ds.attrs["history"] = "\n".join(history)
         return ds
 


=====================================
safe_s1/sentinel1_xml_mappings.py
=====================================
@@ -784,7 +784,7 @@ def df_files(annotation_files, measurement_files, noise_files, calibration_files
     # we want them uniques, and compatibles with gdal sentinel driver (ie 'WV_012')
     pols_count = len(set(pols))
     subds_count = len(annotation_files) // pols_count
-    dsid_count = len(set(dsid))
+    # dsid_count = len(set(dsid))
     # if dsid_count != subds_count:
     if "WV" in dsid[0]:
         dsid_rad = dsid[0][:-1]  # WV



View it on GitLab: https://salsa.debian.org/debian-gis-team/xarray-safe-s1/-/commit/2ab38a2424aadbe49877e425064ea26f4a172255

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/xarray-safe-s1/-/commit/2ab38a2424aadbe49877e425064ea26f4a172255
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/20260124/76ae4cf5/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list