grass-addons icon indicating copy to clipboard operation
grass-addons copied to clipboard

r.in.nasadem: catch http error

Open griembauer opened this issue 3 years ago • 0 comments

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...

griembauer avatar Oct 19 '22 06:10 griembauer