Skip to content

Commit

Permalink
Merge pull request #297 from openclimatefix/fix-non-hrv-filename
Browse files Browse the repository at this point in the history
Fix non hrv filename
  • Loading branch information
peterdudfield authored Sep 24, 2024
2 parents 70f0f26 + 27ce3a9 commit 0a552ce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions satip/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -858,6 +858,9 @@ def move_older_files_to_different_location(save_dir: str, history_time: pd.Times

filesystem = fsspec.open(save_dir).fs

# remove timezone from history_time
history_time = history_time.tz_localize(None)

# Now to move into latest
finished_files = filesystem.glob(f"{save_dir}/*.zarr.zip")

Expand Down

0 comments on commit 0a552ce

Please sign in to comment.