CDCgov / wastewater-informed-covid-forecasting

Wastewater-informed COVID-19 forecasting models submitted to the COVID-19 Forecast Hub
https://cdcgov.github.io/wastewater-informed-covid-forecasting/
Apache License 2.0
44 stars 8 forks source link

120 refactor to generate flags in postprocess #124

Closed kaitejohnson closed 3 months ago

kaitejohnson commented 4 months ago

This PR closes #120. It does the following:

@dylanhmorris I still need to test this with an Azure run today, but I think this is generally what we want.

kaitejohnson commented 4 months ago

@dylanhmorris This is the issue I run into when building the container. https://github.com/cdcent/cfa-forecast-renewal-ww/issues/763

I am going to switch back to prod to make sure the issue isn't with this codebase, but is in fact just something with our setup_container.R

kaitejohnson commented 3 months ago

Update I am testing this out now on a few states/forecast dates. Will ensure that it generates the outputs we expect, then will run on all locations. This should make the _targets_eval_postprocessing.R faster to run when outputs change bc it won't require that we load in all the wastewater data and the quantiles to get the dates/locations to exclude

kaitejohnson commented 3 months ago

Confirmed that this generates a dataframe of flags within the nested folder structure for each individual run (just ran on an example few states and dates for now).