Open gubuntu opened 5 years ago
I don't have any formula in mind now. But this kind of estimate should be built into InaSAFE. From GeoSAFE side, we can only estime the size of the extent (like what we did previously). Or feature counts (for vectors).
There is also that problem where QGIS crash for subsequent analysis because of SIGSEGV (and for this I'm not sure how to fix this), which affects job time as well.
I'm wondering if a combination of gdalinfo and ogrinfo (with -so and -spat switches) queries can be run dynamically with each AOI? Not sure if this needs to got back to InaSAFE, or just activated independently with a call from GeoSAFE? The feedback doesn't have to be immediate, even 5-10 seconds after it's launched, would be much better than waiting several hours without any estimate.
I also noticed that both analysis (168 and 170) finished exactly at the same time, even if they had a different combination of input layers. So maybe that was an issue with QGIS crashing as you mentioned?
Just note that:
I'm thinking what other approaches we can take to give a reasonable indication of compute time.
problem
Despite performance improvement introduced by InaSAFE 4 and aggregation and a well-resourced server, some analyses still take many hours, even on single or sets of small aggregation polygons.
from @cgiovando:
solution
from @cgiovando: