epiforecasts / covid-rt-estimates

National and subnational estimates of the time-varying reproduction number for Covid-19
https://epiforecasts.io/covid/
MIT License
34 stars 17 forks source link

Silences covidregionaldata #202

Closed seabbs closed 3 years ago

seabbs commented 3 years ago

Silences verbose messages in covidregionaldata 0.9.0 and onwards.

Test on example:

r$> source("/home/covidrtestimates/covid-rt-estimates/R/run-region-updates.R", encoding = "UTF-8")       

r$> example_non_cli_trigger()                                                                            
2021-05-11 17:28:04 TRACE run_regional_updates
2021-05-11 17:28:04 TRACE process includes
2021-05-11 17:28:04 TRACE filter datasets
2021-05-11 17:28:04 TRACE process locations
2021-05-11 17:28:04 INFO Processing dataset for canada
2021-05-11 17:28:04 TRACE loading ancillary data
2021-05-11 17:28:04 TRACE loading generation_time.rds
2021-05-11 17:28:04 TRACE loading incubation_period.rds
2021-05-11 17:28:04 TRACE loading onset_to_admission_delay.rds
2021-05-11 17:28:04 TRACE loading cases
2021-05-11 17:28:04 INFO Getting regional data
2021-05-11 17:28:07 TRACE Remapping case data with level_1_region as region source
2021-05-11 17:28:07 TRACE starting to clean the cases
2021-05-11 17:28:07 DEBUG New data to process
2021-05-11 17:28:07 INFO Using 4 workers with 4 cores per worker
2021-05-11 17:28:07 DEBUG Checking the cores available - 16 cores and 14 jobs. Using 14 workers
2021-05-11 17:28:07 TRACE calling regional_epinow
2021-05-11 17:28:07 INFO Producing following optional outputs: plots, latest
2021-05-11 17:28:07 INFO Reporting estimates using data up to: 2021-05-10
2021-05-11 17:28:07 INFO Saving estimates to : subnational/canada/cases/national
2021-05-11 17:28:07 INFO Producing estimates for: Alberta, British Columbia, Manitoba, New Brunswick, Newfoundland and Labrador, Northwest Territories, Nova Scotia, Nunavut, Ontario, Prince Edward Island, Quebec, Saskatchewan
2021-05-11 17:28:07 INFO Regions excluded: Repatriated Travellers, Yukon
2021-05-11 17:28:07 TRACE calling future apply to process each region through the run_region function
  |                                                                                               |   0%