Why delete file when ts_diff_mean.seconds > 64800 #30
Unanswered
SamJohn27149
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In other words, why is daily data with df_diff_mean < 18 hours considered normal?
In bcutils\migrate.py line 37
elif ts_diff_mean.days == 1: if ts_diff_mean.seconds > 64800: # 18hrs - arbitrary, test with dry_run delete( full_path, dry_run, reason=f"ts_diff_mean.seconds > 64800 ({ts_diff_mean.seconds})", ) else: rename(file, full_path, "Day", prices_dir, dry_run)
Beta Was this translation helpful? Give feedback.
All reactions