diff --git a/src/sweets/_geometry.py b/src/sweets/_geometry.py index 85c1a07..0892973 100644 --- a/src/sweets/_geometry.py +++ b/src/sweets/_geometry.py @@ -50,7 +50,7 @@ def stitch_geometry( # TODO: do I want to handle this missing data problem differently? # if there's a burst with the 1st day missing so the static_layers_ # file is a different date... is that a problem? - for burst, files in group_by_burst(geom_path_list, minimum_images=1).items(): + for burst, files in group_by_burst(geom_path_list).items(): if len(files) > 1: logger.warning(f"Found {len(files)} static_layers files for {burst}") file_list.append(files[0]) diff --git a/src/sweets/core.py b/src/sweets/core.py index bdae009..009d474 100644 --- a/src/sweets/core.py +++ b/src/sweets/core.py @@ -377,7 +377,7 @@ def _create_burst_interferograms(self, gslc_files): # Group the SLCs by burst: # {'t078_165573_iw2': [PosixPath('gslcs/t078_165573_iw2/20221029/...], 't078_... burst_to_gslc = group_by_burst(gslc_files) - burst_to_ifg = group_by_burst(self._get_existing_burst_ifgs(), minimum_images=1) + burst_to_ifg = group_by_burst(self._get_existing_burst_ifgs()) ifg_path_list = [] for burst, gslc_files in burst_to_gslc.items(): subdatasets = [self._get_subdataset(f) for f in gslc_files]