grass-addons
grass-addons copied to clipboard
r.in.nasadem: catch http error
This PR provides a fix for https://github.com/OSGeo/grass-addons/issues/821:
- Any connection error for the download of nasadem tiles is now properly caught and reported using the generic urllib.error.URLError
- A bug in the cleanup function is fixed: The region is saved in the original location/mapset, but at the beginning of the cleanup function, we may still be in the temp location. This resulted in errors of
g.remove type=region...