[Git][debian-gis-team/xsar][upstream] New upstream version 2024.05.27

Antonio Valentino (@antonio.valentino) gitlab at salsa.debian.org
Tue May 28 06:15:59 BST 2024



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


Commits:
472e2912 by Antonio Valentino at 2024-05-28T05:07:18+00:00
New upstream version 2024.05.27
- - - - -


2 changed files:

- .git_archival.txt
- src/xsar/sentinel1_dataset.py


Changes:

=====================================
.git_archival.txt
=====================================
@@ -1 +1 @@
-ref-names: tag: 2024.05.15
\ No newline at end of file
+ref-names: HEAD -> develop, tag: 2024.05.27
\ No newline at end of file


=====================================
src/xsar/sentinel1_dataset.py
=====================================
@@ -167,7 +167,6 @@ class Sentinel1Dataset(BaseDataset):
 
         # noise levels LUTs
         ds_noise_range = self.sar_meta.get_noise_range_raw
-        ds_noise_range.attrs['history'] = 'noise'
         ds_noise_azi = self.sar_meta.get_noise_azi_raw
 
         # antenna pattern
@@ -182,7 +181,6 @@ class Sentinel1Dataset(BaseDataset):
             #                                                 'noise_lut'])  # patch applied here is distinct to same patch applied on interpolated noise LUT
             ds_noise_range['noise_lut'] = self._patch_lut(ds_noise_range[
                 'noise_lut'])  # patch applied here is distinct to same patch applied on interpolated noise LUT
-        ds_noise_azi.attrs['history'] = 'noise'
 
         self.datatree = datatree.DataTree.from_dict({'measurement': DN_tmp, 'geolocation_annotation': geoloc,
                                                      'bursts': bu, 'FMrate': FM, 'doppler_estimate': dop,
@@ -294,9 +292,10 @@ class Sentinel1Dataset(BaseDataset):
 
         # load land_mask by default for GRD products
 
-        self.add_high_resolution_variables(
-            patch_variable=patch_variable, luts=luts, lazy_loading=lazyloading)
+
         if 'GRD' in str(self.datatree.attrs['product']):
+            self.add_high_resolution_variables(
+                                   patch_variable=patch_variable, luts=luts, lazy_loading=lazyloading)
             if self.apply_recalibration:
                 self.select_gains()
             self.apply_calibration_and_denoising()



View it on GitLab: https://salsa.debian.org/debian-gis-team/xsar/-/commit/472e291284c4acfe7125a19f3e198ab69432bea5

-- 
This project does not include diff previews in email notifications.
View it on GitLab: https://salsa.debian.org/debian-gis-team/xsar/-/commit/472e291284c4acfe7125a19f3e198ab69432bea5
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/20240528/6c6e8978/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list