gem / oq-irmt-qgis

QGIS plugin to drive the OpenQuake Engine, to develop Social Vulnerability and Integrated Risk composite indices, and to predict building recovery times following an earthquake
https://plugins.qgis.org/plugins/svir/
8 stars 3 forks source link

Let the plugin start the oq-engine automatically, if it's not running #409

Open CatalinaYepes opened 6 years ago

CatalinaYepes commented 6 years ago

It is not clear for users that the button Drive the OpenQuake Engine requires starting the engine before.

Is it possible to start the engine automatically when pressing that button? If not, can we produce a clear message that help the users to start the engine?

ptormene commented 6 years ago

It would be complicated to start the engine automatically because, for instance, the engine could be on a cluster. Furthermore, we would have to differentiate 2 cases: 1) the connection fails because credentials are not spelled correctly; 2) the connection fails because the server is down. Currently (perhaps incorrectly) the above cases are handled together.