[GRASS-git] [OSGeo/grass-addons] 25dd05: r.in.usgs: Do not leave processes behind (#69)

Vaclav Petras noreply at github.com
Tue Nov 26 06:50:31 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass-addons
  Commit: 25dd05ed308daaffba50680df4b1aca1272c3434
      https://github.com/OSGeo/grass-addons/commit/25dd05ed308daaffba50680df4b1aca1272c3434
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2019-11-26 (Tue, 26 Nov 2019)

  Changed paths:
    M grass7/raster/r.in.usgs/r.in.usgs.py

  Log Message:
  -----------
  r.in.usgs: Do not leave processes behind (#69)

In case there are tiles skipped at the end of the list (the continue case in while),
we need to check for running processes and join if we are at the end of
the loop, otherwise we leave processes behind which may not be finished
in time for further use and they will try to communicate with the manager
when it does not exist anymore.

Also adding early check and a message with suggested next step
for case when the directory for files does not exist.




More information about the grass-commit mailing list