The code of at least prepare_sector_network is built to be used with a single country.
Improvements are needed to make it extendable to more countries.
The code has many "[0]" to make it work for one country, but they can lead to silent misleading when multiple countries are selected
The code of at least prepare_sector_network is built to be used with a single country. Improvements are needed to make it extendable to more countries. The code has many "[0]" to make it work for one country, but they can lead to silent misleading when multiple countries are selected