Skip to content

Commit

Permalink
Merge pull request #211 from umr-lops/SLC_only_DN
Browse files Browse the repository at this point in the history
restore default behavior for SLC product: only show Digital Numbers in `dt[measurement]`
  • Loading branch information
agrouaze authored May 27, 2024
2 parents 42b9ae1 + 9ba1c24 commit 6d61cb6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/xsar/sentinel1_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,10 @@ def __init__(self, dataset_id, resolution=None,

# 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()
Expand Down

0 comments on commit 6d61cb6

Please sign in to comment.