From 682063a46e92b7a521931dd9a605fa69a01aac16 Mon Sep 17 00:00:00 2001 From: grouazel Date: Thu, 16 May 2024 11:42:59 +0200 Subject: [PATCH] make sure history for noise lut range and azimuth are not overwritten --- src/xsar/sentinel1_dataset.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/xsar/sentinel1_dataset.py b/src/xsar/sentinel1_dataset.py index baf3186..586e2c6 100644 --- a/src/xsar/sentinel1_dataset.py +++ b/src/xsar/sentinel1_dataset.py @@ -156,7 +156,6 @@ def __init__(self, dataset_id, resolution=None, # 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 @@ -171,7 +170,6 @@ def __init__(self, dataset_id, resolution=None, # '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,