automated detection of country and continent in FiatModel.setup_exposure
and FiatModel.setup_vulnerability
#430
Labels
enhancement
New feature or request
Kind of request
None
Enhancement Description
Currently,
FiatModel.setup_exposure
andFiatModel.setup_vulnerability
require the user to provide the country and continent. However, based on the model region I believe this information could easily be deducted.There even seems to be a method in the code
ExposureVector.get_continent
which should do this, but it is unused as far as I can see. For this method also two new dependencies are introducedpycountry-convert
andgeopy
. Note thatpycountry-convert
has not seen updates since 2018 and has many several test package as required dependency. I wonder ifgeopy
can also not provide the same information and makepycountry-convert
redundant.Task list
FiatModel.setup_exposure
andFiatModel.setup_vulnerability
based on model region and remove country and continent argumentsUse case
This would make it much simpler to build a fiat model for any region in an automated way.
Additional Context
No response
The text was updated successfully, but these errors were encountered: