Skip to content

Commit

Permalink
make sure history for noise lut range and azimuth are not overwritten
Browse files Browse the repository at this point in the history
  • Loading branch information
agrouaze committed May 16, 2024
1 parent 9ea17e7 commit 682063a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/xsar/sentinel1_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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,
Expand Down

0 comments on commit 682063a

Please sign in to comment.