[Git][debian-gis-team/xarray-safe-s1][master] 5 commits: New upstream version 2024.05.06

Antonio Valentino (@antonio.valentino) gitlab at salsa.debian.org
Fri May 10 09:27:58 BST 2024



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


Commits:
8dda4370 by Antonio Valentino at 2024-05-10T08:17:12+00:00
New upstream version 2024.05.06
- - - - -
bdb92c31 by Antonio Valentino at 2024-05-10T08:17:13+00:00
Update upstream source from tag 'upstream/2024.05.06'

Update to upstream version '2024.05.06'
with Debian dir 9cbdf6dbd6f8bfaeecdc730e05ae716613eb6dc2
- - - - -
13a089ce by Antonio Valentino at 2024-05-10T08:17:58+00:00
New upstream release

- - - - -
204a5fba by Antonio Valentino at 2024-05-10T08:22:42+00:00
New 0001-Remove-set_trace.patch

- - - - -
b86bcb45 by Antonio Valentino at 2024-05-10T08:23:44+00:00
Set distribution to unstable

- - - - -


5 changed files:

- debian/changelog
- + debian/patches/0001-Remove-set_trace.patch
- + debian/patches/series
- highleveltests/open_SLC_IW.py
- safe_s1/reader.py


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+xarray-safe-s1 (2024.05.06-1) unstable; urgency=medium
+
+  * Set distribution to unstable.
+  * debian/patches:
+    - New 0001-Remove-set_trace.patch.
+
+ -- Antonio Valentino <antonio.valentino at tiscali.it>  Fri, 10 May 2024 08:22:48 +0000
+
 xarray-safe-s1 (2024.04.19.post1-1) unstable; urgency=medium
 
   * New upstrean release.


=====================================
debian/patches/0001-Remove-set_trace.patch
=====================================
@@ -0,0 +1,23 @@
+From: Antonio Valentino <antonio.valentino at tiscali.it>
+Date: Fri, 10 May 2024 08:21:00 +0000
+Subject: Remove set_trace
+
+Forwarded: not-needed
+---
+ highleveltests/open_SLC_IW.py | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/highleveltests/open_SLC_IW.py b/highleveltests/open_SLC_IW.py
+index 2f0f930..097d496 100644
+--- a/highleveltests/open_SLC_IW.py
++++ b/highleveltests/open_SLC_IW.py
+@@ -1,4 +1,3 @@
+-import pdb
+ from safe_s1 import Sentinel1Reader, getconfig
+ import time
+ conf = getconfig.get_config()
+@@ -12,4 +11,3 @@ dt = sub_reader.datatree
+ print('out of the reader')
+ print(dt)
+ print('time to read the SAFE through S3: %1.2f sec'%elapse_t)
+-pdb.set_trace()


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+0001-Remove-set_trace.patch


=====================================
highleveltests/open_SLC_IW.py
=====================================
@@ -1,3 +1,4 @@
+import pdb
 from safe_s1 import Sentinel1Reader, getconfig
 import time
 conf = getconfig.get_config()
@@ -11,3 +12,4 @@ dt = sub_reader.datatree
 print('out of the reader')
 print(dt)
 print('time to read the SAFE through S3: %1.2f sec'%elapse_t)
+pdb.set_trace()


=====================================
safe_s1/reader.py
=====================================
@@ -36,6 +36,9 @@ class Sentinel1Reader:
         self.short_name = ':'.join(name_parts)
         """Like name, but without path"""
         self.path = ':'.join(self.name.split(':')[1:-1])
+        # remove trailing slash in the safe path
+        if self.path[-1]=='/':
+            self.path = self.path.rstrip('/')
         """Dataset path"""
         self.safe = os.path.basename(self.path)
 
@@ -109,7 +112,7 @@ class Sentinel1Reader:
             assert self.dt==self.datatree
         else:
             print('multidataset')
-            raise Exception()
+            # raise Exception()
 
     def load_digital_number(self, resolution=None, chunks=None, resampling=rasterio.enums.Resampling.rms):
         """
@@ -519,7 +522,6 @@ class Sentinel1Reader:
                                                                describe=True)
         else :
             ds = xr.Dataset()
-            
         return ds
 
     @property



View it on GitLab: https://salsa.debian.org/debian-gis-team/xarray-safe-s1/-/compare/9472909a74e9ed2117e86781e7b4484e52e5d64f...b86bcb45ed9abdfd652819dacd02cf44ee23ed8f

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/xarray-safe-s1/-/compare/9472909a74e9ed2117e86781e7b4484e52e5d64f...b86bcb45ed9abdfd652819dacd02cf44ee23ed8f
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/20240510/511d55e3/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list