Skip to content

Commit

Permalink
up to 1.5 hours of data
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed Nov 7, 2024
1 parent 7874723 commit c3b1a87
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions satip/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,10 @@ def run(
)

# Check if any RSS imagery is available, if not, fall back to 15 minutely data
# We check if there are less than 7 datasets, which is 30 minutes of 5 minute data.
# We check if there are less than 18 datasets,
# which is 1 hour and 30 minutes of 5 minute data.
# If there is less than this, we move over to the 15 minute data
if (len(datasets) < 7) or use_hr_serviri:
if (len(datasets) < 18) or use_hr_serviri:
log.warn(
f"No RSS Imagery available or using backup ({use_hr_serviri=}), "
f"falling back to 15-minutely data",
Expand Down

0 comments on commit c3b1a87

Please sign in to comment.