Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Floodscan backfilling #66

Closed
wants to merge 13 commits into from
Closed

Floodscan backfilling #66

wants to merge 13 commits into from

Conversation

hannahker
Copy link
Collaborator

@hannahker hannahker commented Jan 20, 2025

Enable the --backfill argument for the Floodscan pipeline. Have added in some minor refactoring to address bugs and improve legibility of some functions. The majority of changes are in the _get_90_days_filenames_for_dates function, which I've rewritten. I've also refactored the self.run_pipeline method so that it accepts a list of generic dates as input and runs updates accordingly.

I've also suggested removing some of the general try/except blocks, as I found that during development these were quite challenging to debug (eg. a lot of error messages were the same) and could hide a lot of errors happening.

The floodscan_testing.md notebook is a helpful walkthrough to validate these changes -- please run through and let me know if any errors.

@hannahker hannahker requested a review from isatotun January 20, 2025 20:25
@hannahker hannahker marked this pull request as ready for review January 21, 2025 22:20
@hannahker
Copy link
Collaborator Author

Closing in favour of #67

@hannahker hannahker closed this Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant