Skip to content

Commit

Permalink
Fix time issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbieker committed Dec 8, 2023
1 parent 3890f52 commit c0e55fa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions satip/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ def run(
log.info(f"Fetching datasets for {start_date} - {start_time}",
memory=utils.get_memory())
datasets = download_manager.identify_available_datasets(
start_date=start_date.strftime("%Y-%m-%d-%H-%M-%S"),
end_date=pd.Timestamp(start_time, tz="UTC").strftime("%Y-%m-%d-%H-%M-%S"),
start_date=start_date.strftime("%Y-%m-%d-%H:%M:%S"),
end_date=pd.Timestamp(start_time, tz="UTC").strftime("%Y-%m-%d-%H:%M:%S"),
)
# Check if any RSS imagery is available, if not, fall back to 15 minutely data
if (len(datasets) == 0) or use_backup:
Expand All @@ -162,8 +162,8 @@ def run(
memory=utils.get_memory(),
)
datasets = download_manager.identify_available_datasets(
start_date=start_date.strftime("%Y-%m-%d-%H-%M-%S"),
end_date=pd.Timestamp(start_time, tz="UTC").strftime("%Y-%m-%d-%H-%M-%S"),
start_date=start_date.strftime("%Y-%m-%d-%H:%M:%S"),
end_date=pd.Timestamp(start_time, tz="UTC").strftime("%Y-%m-%d-%H:%M:%S"),
product_id="EO:EUM:DAT:MSG:HRSEVIRI",
)
use_backup = True
Expand Down

0 comments on commit c0e55fa

Please sign in to comment.