Skip to content

Commit

Permalink
Fix for the previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Pechnikov committed May 21, 2024
1 parent 15e5c6f commit 949b8dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pygmtsar/pygmtsar/Stack_reframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,13 +190,13 @@ def compute_reframe(self, geometry=None, n_jobs=-1, queue=16, caption='Reframing
stacksize = len(dates)
counter = 0
digits = len(str(stacksize))
# Splitting all the pairs into chunks, each containing approximately queue pairs.
# Splitting all the dates into chunks, each containing approximately queue dates.
#n_chunks = stacksize // queue if stacksize > queue else 1
if stacksize > queue:
chunks = [dates[i:i + queue] for i in range(0, stacksize, queue)]
n_chunks = len(chunks)
else:
chunks = [pairs]
chunks = [dates]
n_chunks = 1
for chunk in chunks:
if n_chunks > 1:
Expand Down

0 comments on commit 949b8dc

Please sign in to comment.