[et=unknown]
[at=]
Reproducible by running the classical_psha_based_risk demo.
Here is a snippet of the output of this demo:
$ bin/openquake --config_file=demos/classical_psha_based_risk/config.gem --debug=debug
Ignoring GROUND_MOTION_CORRELATION in classical, it's meaningful only in deterministic, event_based
Ignoring GMF_RANDOM_SEED in classical, it's meaningful only in deterministic, event_based
Ignoring NUMBER_OF_SEISMICITY_HISTORIES in classical, it's meaningful only in event_based
Ignoring unknown parameter 'HAZARD_MAP_CPT'
No handlers could be found for logger "amqplib"
INFO:oq.job.106.supervisor:Entering supervisor for job 106
[2011-11-03 10:38:28,397 #106 - INFO MainProcess/27090 supervisor] Entering supervisor for job 106
DEBUG:root:Point (col 4 row 0) at 15.64 38.01 isn't on grid
DEBUG:root:Point (col 4 row 1) at 15.64 38.05 isn't on grid
DEBUG:root:Point (col 4 row 2) at 15.64 38.09 isn't on grid
DEBUG:root:Point (col 4 row 3) at 15.64 38.13 isn't on grid
DEBUG:root:Point (col 4 row 4) at 15.64 38.17 isn't on grid
DEBUG:root:Point (col 4 row 5) at 15.64 38.21 isn't on grid
DEBUG:root:Point (col 4 row 6) at 15.64 38.25 isn't on grid
DEBUG:root:Point (col 4 row 7) at 15.64 38.29 isn't on grid
The debug messages containing "Point x at y isn't on grid" shouldn't even be appearing. I think there is a bug here in the classical risk calculator; the calculator should just ignore these sites (and we should not get this debug message). (See related bug # 838973.)
For some combinations of REGION_VERTEX and REGION_GRID_SPACING this bug can lead to crash with the following traceback:
Task openquake. risk.job. general. compute_ risk[6bec94a8- fdca-4a30- ad2f-013eef8e54 36] raised exception: ObjectDoesNotEx ist('HazardCurv eData matching query does not exist.',) angri/projects/ oq/lib- python/ celery- 2.3.1-py2. 7.egg/celery/ execute/ trace.py" , line 36, in trace angri/projects/ oq/lib- python/ celery- 2.3.1-py2. 7.egg/celery/ app/task/ __init_ _.py", line 230, in __call__ angri/projects/ oq/lib- python/ celery- 2.3.1-py2. 7.egg/celery/ app/__init_ _.py", line 142, in run angri/projects/ oq/openquake/ openquake/ risk/job/ general. py", line 130, in compute_risk risk(block_ id, **kwargs) angri/projects/ oq/openquake/ openquake/ risk/job/ classical_ psha.py" , line 91, in compute_risk bcr(block_ id) angri/projects/ oq/openquake/ openquake/ risk/job/ classical_ psha.py" , line 131, in _compute_bcr db_curve( point.site) angri/projects/ oq/openquake/ openquake/ risk/job/ classical_ psha.py" , line 76, in _get_db_curve ["ST_GeoHash( location, 12) = %s"], params=[gh]).get() angri/projects/ oq/lib- python/ Django- 1.2.5-py2. 7.egg/django/ db/models/ query.py" , line 347, in get _meta.object_ name)
Traceback (most recent call last):
File "/home/
return cls(states.SUCCESS, retval=fun(*args, **kwargs))
File "/home/
return self.run(*args, **kwargs)
File "/home/
return fun(*args, **kwargs)
File "/home/
return mixed.compute_
File "/home/
return self._compute_
File "/home/
hazard_curve = self._get_
File "/home/
where=
File "/home/
% self.model.
DoesNotExist: HazardCurveData matching query does not exist.
In particular this error can be triggered by changing the value of REGION_GRID_SPACING from 0.04 to 0.1 in classical_ psha_based_ risk demo.