From d36ec643c7c356c833545a7763018f7f56aee5ee Mon Sep 17 00:00:00 2001 From: Alessandro Amici Date: Fri, 23 Feb 2024 12:29:36 +0100 Subject: [PATCH] BUGFIX: calling product_info reset may reset the selected measurement_group --- sarsen/sentinel1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sarsen/sentinel1.py b/sarsen/sentinel1.py index 538e407..208d5ce 100644 --- a/sarsen/sentinel1.py +++ b/sarsen/sentinel1.py @@ -201,7 +201,7 @@ def product_info(self, **kwargs: Any) -> Dict[str, Any]: """Get information about the Sentinel-1 product.""" measurement_groups = self.all_measurement_groups() - self.measurement_group = measurement_groups[0] + self.measurement_group = self.measurement_group or measurement_groups[0] gcp = self.gcp bbox = [