diff --git a/download.py b/download.py index 07ef069..ad33cee 100644 --- a/download.py +++ b/download.py @@ -67,7 +67,7 @@ def fetch_files(now:str): if not os.path.exists(out_path): wget.download(url, out=out_path) logger.info(f"download file {out_path} finished") - end_date = start_date + dt.timedelta(hours=120) + end_date = start_date + dt.timedelta(hours=119) time_range = pd.date_range(start_date+dt.timedelta(hours=8), end_date+dt.timedelta(hours=8), freq='H').astype(str).to_list() return time_range, date