MDAIceland / WaterSecurity

1 stars 1 forks source link

Get mapping from countries 2 digit code to 3 code one #43

Closed VasLem closed 3 years ago

VasLem commented 3 years ago

The utils.geo.get_place function uses a REST API to get information of a place given its coordinates. It retrieves the country code using the two digits convention. A mapping needs to be saved to match this coding with the one used from the unlabeled country datasets.