Improve Docstring and comments of the losscalculator
Both docstrings and comments need to improve in all the losscalculator
files from the aspects below:
- Typos
- Meaningfulness
- Coherence
Some other things to fix are as follows:
in damage_calculator.py
:
- line 44 must change to result.gpkg and not csv, because of line 45 in which the default output format is gpkg and not CSV.
- In the Docstring of the damage calculator, we should poit of the manual.md for more info.
- Have either the word 'choice' or 'option' for the possible options of some inputs in the argparser.
- Make sure that user gets an error message when using options
-c
and-f
at the same time. - What happens with
-o
given as'CSV'
but no-r
given?! Results will be written to gpkg! - Why option
-a
and geopackage output format do not work together?!