From aae2a4ce87daa674d0ccb710d0559bd3115e84d4 Mon Sep 17 00:00:00 2001 From: Vincent LHEUREUX Date: Tue, 15 Oct 2024 13:36:52 +0200 Subject: [PATCH] test change in flips --- src/xsar/rcm_meta.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xsar/rcm_meta.py b/src/xsar/rcm_meta.py index e1bb59f7..69adbd4c 100644 --- a/src/xsar/rcm_meta.py +++ b/src/xsar/rcm_meta.py @@ -27,7 +27,7 @@ class RcmMeta(BaseMeta): @timing def __init__(self, name): - super().__init__() + super().__init__() from safe_rcm import api if ':' in name: @@ -106,7 +106,7 @@ def flip_sample_da(self): antenna_pointing = self.dt['sourceAttributes/radarParameters'].attrs['antennaPointing'] pass_direction = self.dt['sourceAttributes/orbitAndAttitude/orbitInformation'].attrs['passDirection'] flipped_cases = [('Left', 'Ascending'), ('Right', 'Descending')] - samples_depending_ds = ['geolocationGrid', 'lut', 'noise_lut'] + samples_depending_ds = ['geolocationGrid'] if (antenna_pointing, pass_direction) in flipped_cases: for ds_name in samples_depending_ds: self.dt[self._xpath[ds_name]] = self.dt[self._xpath[ds_name]].copy().isel(pixel=slice(None, None, -1))\