Antonio Valentino pushed to branch master at Debian GIS Project / xarray-safe-s1
Commits: 2b6065e9 by Antonio Valentino at 2024-05-17T05:23:00+00:00 New upstream version 2024.05.16 - - - - - c35308b8 by Antonio Valentino at 2024-05-17T05:23:01+00:00 Update upstream source from tag 'upstream/2024.05.16' Update to upstream version '2024.05.16' with Debian dir 3f07497b05d20d3b7181eed8a0bf851624b8348e - - - - - 8ed7c0c5 by Antonio Valentino at 2024-05-17T05:23:41+00:00 New upstream release - - - - - 284b2912 by Antonio Valentino at 2024-05-17T05:26:23+00:00 Set distribution to unstable - - - - - 2 changed files: - debian/changelog - safe_s1/reader.py Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,9 @@ +xarray-safe-s1 (2024.05.16-1) unstable; urgency=medium + + * New upstream release. + + -- Antonio Valentino <[email protected]> Fri, 17 May 2024 05:26:06 +0000 + xarray-safe-s1 (2024.05.06-1) unstable; urgency=medium * Set distribution to unstable. ===================================== safe_s1/reader.py ===================================== @@ -112,7 +112,7 @@ class Sentinel1Reader: assert self.dt==self.datatree else: print('multidataset') - # raise Exception() + # there is no error raised here, because we want to let the user access the metadata for multidatasets def load_digital_number(self, resolution=None, chunks=None, resampling=rasterio.enums.Resampling.rms): """ @@ -646,6 +646,7 @@ class Sentinel1Reader: """ tmp = [] pols = [] + history = [] for pol_code, xml_file in self.files['noise'].items(): #pol = self.files['polarization'].cat.categories[pol_code - 1] pol = os.path.basename(xml_file).split('-')[4].upper() @@ -657,8 +658,10 @@ class Sentinel1Reader: hihi = self.xml_parser.get_var(self.files['noise'].iloc[0], 'noise.range.%s' % varitmp, describe=True) noise_lut_range_raw_ds[vari].attrs['description'] = hihi + history.append(self.xml_parser.get_compound_var(xml_file, 'noise_lut_range_raw', describe=True)) tmp.append(noise_lut_range_raw_ds) ds = xr.concat(tmp, pd.Index(pols, name="pol")) + ds.attrs['history'] = '\n'.join(history) return ds def get_noise_azi_initial_parameters(self, pol): View it on GitLab: https://salsa.debian.org/debian-gis-team/xarray-safe-s1/-/compare/b86bcb45ed9abdfd652819dacd02cf44ee23ed8f...284b291270aba9dc983b06834a37a20bf48b7e7b -- View it on GitLab: https://salsa.debian.org/debian-gis-team/xarray-safe-s1/-/compare/b86bcb45ed9abdfd652819dacd02cf44ee23ed8f...284b291270aba9dc983b06834a37a20bf48b7e7b 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
