SwissTPH / openmalaria

A simulator of malaria epidemiology and control
GNU General Public License v2.0
76 stars 30 forks source link

Add verbose output #331

Closed acavelan closed 2 years ago

acavelan commented 2 years ago

Add a rudimentary verbose output with the option -V or --verbose

Starting Warmup...
92% Finishing Warmup...
Starting EIR Calibration...
94% Finishing EIR Calibration...
Starting EIR Calibration...
94% Finishing EIR Calibration...
Starting EIR Calibration...
94% Finishing EIR Calibration...
Starting EIR Calibration...
94% Finishing EIR Calibration...
Starting EIR Calibration...
95% Finishing EIR Calibration...
Starting EIR Calibration...
95% Finishing EIR Calibration...
Starting EIR Calibration...
95% Finishing EIR Calibration...
Starting Intervention period...
95% Time step: 46356, internal days: 46356 | 48546, Intervention Date: 1
95% Time step: 46357, internal days: 46357 | 48546, Intervention Date: 2
95% Time step: 46358, internal days: 46358 | 48546, Intervention Date: 3
95% Time step: 46359, internal days: 46359 | 48546, Intervention Date: 4
95% Time step: 46360, internal days: 46360 | 48546, Intervention Date: 5
95% Time step: 46361, internal days: 46361 | 48546, Intervention Date: 6
...
99% Time step: 48202, internal days: 48202 | 48546, Intervention Date: 1847
99% Time step: 48203, internal days: 48203 | 48546, Intervention Date: 1848
99% Time step: 48204, internal days: 48204 | 48546, Intervention Date: 1849
deploy::1849::TimedHuman:
    age: 0y max age: 2.94176e+06y   subpop: whole   complement: 0   coverage: 0.85  human:  0
99% Time step: 48205, internal days: 48205 | 48546, Intervention Date: 1850