PolarGeospatialCenter / imagery_utils

Other
34 stars 10 forks source link

Enable pgc_mosaic.py in Windows #5

Closed stevefoga closed 6 years ago

stevefoga commented 6 years ago

pgc_mosaic.py fails in Windows due to Unix-only function being invoked in subprocess call. The fix is to handle subprocess submission in Windows without said function. Several other changes were made to allow pgc_mosaic.py to finish successfully. The --parallel-processes argument also works with Windows. Changes were made to ensure all processes halt immediately in Windows upon keyboard interrupt.

All unit and func tests for mosaic and taskhandler passed.