diff --git a/src/xsar/sentinel1_dataset.py b/src/xsar/sentinel1_dataset.py index b57ad9b..84262e2 100644 --- a/src/xsar/sentinel1_dataset.py +++ b/src/xsar/sentinel1_dataset.py @@ -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()