openwfm / wrfxpy

WRF-SFIRE data acquisitiion, forecasting, data assimilation, and visualization in Python.
MIT License
37 stars 17 forks source link

forecast.py exits with "done" even when a task failed #82

Open janmandel opened 3 months ago

janmandel commented 3 months ago

When one of the parallel tasks in forecast.py fails, the ERROR message(s) are off the screen and all the user can see is

 INFO - forecast.py done

The underlying reason is that execute() does not distinguish error exits. Adding return value to indicate an error and message

 ERROR - At least one parallel task failed, check for ERROR in the log above

in the case when execute() failed.

10d8e47daa2feab2f57d78c8053aa