psteinb / covid19-curve-your-city

Extrapolation der COVID19 Fallzahlen
BSD 3-Clause "New" or "Revised" License
9 stars 5 forks source link

Possibility to specify output filename #16

Closed gerbsen closed 4 years ago

gerbsen commented 4 years ago

While (automatically) generating output for multiple cities/regions it would be extremely helpful to provide a output file name. This would also help to save the files over time.

psteinb commented 4 years ago

I had a similar idea. How about the following, if the input filename is www_dresden.png, the fit generates www_dresden_plus7_de.png and www_dresden_plus7_en.png?

gerbsen commented 4 years ago

I would like to inject the filename for bash automation, e.g. add date or other paramters of the fit. also what does plus7 stand for?

psteinb commented 4 years ago

I see, well specifying the output filename will always be possible. For me, the default outputname needs to be chosen carefully.

plus7 = prediction to 7 days into the future

psteinb commented 4 years ago

BTW, the current version already contains a flag for the output file name. Have a look at the help with -h. Effectively, You can use -o and the output path, say add -o test.png. This will generate de_test.png and en_test.png. Is that what you are looking for?

psteinb commented 4 years ago

@gerbsen if the above does not meet your needs, please reopen this issue.