Skip to content

Commit

Permalink
remove minimum_images from group_by_burst after dolphin change
Browse files Browse the repository at this point in the history
  • Loading branch information
scottstanie committed Oct 19, 2023
1 parent d640796 commit 7cceea3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sweets/_geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down
2 changes: 1 addition & 1 deletion src/sweets/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 7cceea3

Please sign in to comment.