Antonio Valentino pushed to branch master at Debian GIS Project / xsar
Commits: 988cb966 by Antonio Valentino at 2024-07-30T19:52:12+00:00 New upstream version 2024.07.30 - - - - - dc9a728d by Antonio Valentino at 2024-07-30T19:52:16+00:00 Update upstream source from tag 'upstream/2024.07.30' Update to upstream version '2024.07.30' with Debian dir 28d9a85e048705c9823221d02d8980c1fdcd9c79 - - - - - c7de4da6 by Antonio Valentino at 2024-07-30T19:52:55+00:00 New upstream release - - - - - 327f1288 by Antonio Valentino at 2024-07-30T19:55:44+00:00 Set distribution to unstable - - - - - 6 changed files: - .git_archival.txt - debian/changelog - src/xsar/base_dataset.py - src/xsar/radarsat2_dataset.py - src/xsar/rcm_dataset.py - src/xsar/sentinel1_dataset.py Changes: ===================================== .git_archival.txt ===================================== @@ -1 +1 @@ -ref-names: HEAD -> develop, tag: 2024.06.24 \ No newline at end of file +ref-names: HEAD -> develop, tag: 2024.07.30 \ No newline at end of file ===================================== debian/changelog ===================================== @@ -1,9 +1,12 @@ -xsar (2024.06.24-2) UNRELEASED; urgency=medium +xsar (2024.07.30-1) unstable; urgency=medium - * Team upload. + [ Bas Couwenberg ] * Bump Standards-Version to 4.7.0, no changes. - -- Bas Couwenberg <[email protected]> Sun, 28 Jul 2024 20:07:43 +0200 + [ Antonio Valentino ] + * New upstream release. + + -- Antonio Valentino <[email protected]> Tue, 30 Jul 2024 19:55:27 +0000 xsar (2024.06.24-1) unstable; urgency=medium ===================================== src/xsar/base_dataset.py ===================================== @@ -1,3 +1,4 @@ +import pdb import warnings from abc import ABC from datetime import datetime @@ -300,10 +301,12 @@ class BaseDataset(ABC): # lon_s = lon_s.values # lat_s = lat_s.values cpt = 0 - for line in line_decimated: - for sample in sample_decimated: + for line in line_decimated.astype(int): + for sample in sample_decimated.astype(int): irow = np.argmin(np.abs(self.dataset.line.values - line)) + irow = int(irow) icol = np.argmin(np.abs(self.dataset.sample.values - sample)) + icol = int(icol) # if self.s1meta.product == 'SLC': # #lon, lat = self.coords2ll_SLC(line,sample) # lon = lon_s[cpt] ===================================== src/xsar/radarsat2_dataset.py ===================================== @@ -184,7 +184,7 @@ class RadarSat2Dataset(BaseDataset): # dataset no-pol template for function evaluation on coordinates (*no* values used) # what's matter here is the shape of the image, not the values. with warnings.catch_warnings(): - warnings.simplefilter("ignore", np.ComplexWarning) + # warnings.simplefilter("ignore", np.ComplexWarning) self._da_tmpl = xr.DataArray( dask.array.empty_like( self._dataset.digital_number.isel(pol=0).drop('pol'), ===================================== src/xsar/rcm_dataset.py ===================================== @@ -176,7 +176,7 @@ class RcmDataset(BaseDataset): # dataset no-pol template for function evaluation on coordinates (*no* values used) # what's matter here is the shape of the image, not the values. with warnings.catch_warnings(): - warnings.simplefilter("ignore", np.ComplexWarning) + # warnings.simplefilter("ignore", np.ComplexWarning) self._da_tmpl = xr.DataArray( dask.array.empty_like( self._dataset.digital_number.isel(pol=0).drop('pol'), ===================================== src/xsar/sentinel1_dataset.py ===================================== @@ -250,7 +250,7 @@ class Sentinel1Dataset(BaseDataset): # dataset no-pol template for function evaluation on coordinates (*no* values used) # what's matter here is the shape of the image, not the values. with warnings.catch_warnings(): - warnings.simplefilter("ignore", np.ComplexWarning) + # warnings.simplefilter("ignore", np.ComplexWarning) # deprecated in numpy>=2.0.0 if self.sar_meta._bursts['burst'].size != 0: # SLC TOPS, tune the high res grid because of bursts overlapping # line_time = self._burst_azitime View it on GitLab: https://salsa.debian.org/debian-gis-team/xsar/-/compare/72efc3434a575840fc1d40c5eb94c99aeb2fee9e...327f1288b271c18a376c6e91d98b5ab58ade6f0d -- View it on GitLab: https://salsa.debian.org/debian-gis-team/xsar/-/compare/72efc3434a575840fc1d40c5eb94c99aeb2fee9e...327f1288b271c18a376c6e91d98b5ab58ade6f0d You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ Pkg-grass-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel
