-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add wastewater data to pyrenew_hew_data (#317)
* add wastewater data prep code * pre-commit * doctring edit * remove some functions * update prep_data.py * pre-commit * add wastewater data in json file * more refactor * remove log offset and change order of some operation for clarity * move processing of wastewater data to pyrenew-hew-data * update tests * restore removed functions * syn to use datetime.date for dates throughout, rename ww_sampled to ww_observed * add a test * fix test * n_datapoints -> n_data_days, move get_spines function to pyrenewHEWData * Apply suggestions from code review Co-authored-by: Dylan H. Morris <dylanhmorris@users.noreply.github.com> * pre-commit * update clean_and_filter_nwss.py * make columns name configurable in validate_ww_data and preprocess_ww_data * drop wastewater data with no LOD reported * DRY-ify validation checks * code review suggestions * remove redundancy and clean up * add init file * Apply suggestions from code review Co-authored-by: Damon Bayer <xum8@cdc.gov> * code review suggestions * error msg * fix test * add schema for ww dataframe, add placeholder path * code review suggestion * code review suggestions * fix test * fix end to end test fail --------- Co-authored-by: Dylan H. Morris <dylanhmorris@users.noreply.github.com> Co-authored-by: Damon Bayer <xum8@cdc.gov>
- Loading branch information
1 parent
026f1eb
commit 6fac159
Showing
9 changed files
with
691 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.