kartoza / geosafe

InaSAFE package for Geonode
GNU General Public License v3.0
7 stars 16 forks source link

Analysis completed with no impact layer #528

Open lucernae opened 5 years ago

lucernae commented 5 years ago

Some analysis like this:

https://geonode.ingc.gov.mz/geosafe/analysis/219

Has completed with no impact layer. But, since we already implemented Task Diagnostics, when the task completed, we can be sure that the task itself returned with no errors. Which means, possibly there is something wrong with the data.

Possible cause:

gubuntu commented 5 years ago

in at least one case this is because the hazard layer has InaSAFE 5 keywords instead of 4.4

lucernae commented 5 years ago

Yeah, currently trying to download the layer to know the actual issue

gubuntu commented 5 years ago

just look at the metadata detail

lucernae commented 5 years ago

For this particular layer, it turns out that this layer: https://geonode.ingc.gov.mz/geosafe/analysis/219 has no metadata upload (xml). Not sure how this happens in the first place, but I just reupload the metadata, fix the upload session for this particular layer so it can have xml file, fix the extent to be consistent with metadata from the admin page, then rerun analysis. All analysis that uses this as its exposure layer now runs fine. So this is just data problem. I think we can close this.

The reason why the original impact analysis return None is because the exposure layer doesn't have keywords (as a file), so the analysis completed (no features), but no impact layer produced (zero analysis).

I think we can close this.