Skip to content

Commit

Permalink
#937: Comment out grace period logic in DISP-S1 triggering
Browse files Browse the repository at this point in the history
  • Loading branch information
philipjyoon committed Jul 31, 2024
1 parent 10e2868 commit 591bb91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion data_subscriber/cslc/cslc_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ def determine_download_granules(self, granules):
if len(download_batch) == max_bursts: # Rule 1
logger.info(f"Download all granules for {batch_id} because all granules are present")
new_downloads = True
'''As per email from Heresh at ADT on 7-25-2024, we will not use rule 2. We will always only process full-frames
else:
# Rule 2
min_creation_time = current_time
Expand All @@ -201,7 +202,7 @@ def determine_download_granules(self, granules):
logger.info(f"Download all granules for {batch_id} because it's been {mins_since_first_ingest} minutes \
since the first CSLC file for the batch was ingested which is greater than the grace period of {self.grace_mins} minutes")
new_downloads = True
#print(batch_id, download_batch)
#print(batch_id, download_batch)'''

if new_downloads:

Expand Down

0 comments on commit 591bb91

Please sign in to comment.