OQ - Q&A error

32 views
Skip to first unread message

Owen Jiang

unread,
Apr 25, 2024, 9:07:46 AM4/25/24
to OpenQuake Users
Hi OQ users,

I am wondering if anyone encountered this issue before? Please let me know if you have any comments, thank you very much.

Traceback (most recent call last):

File "C:\Program Files\OpenQuake Engine\python3\lib\site-packages\openquake\hazardlib\valid.py", line 142, in gsim

gsim_class = registry[gsim_name]

KeyError: 'CanadaSHM6_StableCrust_NGAEast'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "C:\Program Files\OpenQuake Engine\python3\lib\site-packages\openquake\hazardlib\gsim_lt.py", line 392, in _build_trts_branches

gsim = valid.gsim(branch.uncertaintyModel, basedir)

File "C:\Program Files\OpenQuake Engine\python3\lib\site-packages\openquake\hazardlib\valid.py", line 144, in gsim

raise ValueError('Unknown GSIM: %s' % gsim_name)

ValueError: Unknown GSIM: CanadaSHM6_StableCrust_NGAEast

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

File "C:\Program Files\OpenQuake Engine\python3\lib\site-packages\openquake\server\views.py", line 546, in calc_run

job_id = submit_job(request.FILES, ini, user, hazard_job_id)

File "C:\Program Files\OpenQuake Engine\python3\lib\site-packages\openquake\server\views.py", line 619, in submit_job

job.oqparam = oq = readinput.get_oqparam(

File "C:\Program Files\OpenQuake Engine\python3\lib\site-packages\openquake\commonlib\readinput.py", line 337, in get_oqparam

oqparam = OqParam(**job_ini)

File "C:\Program Files\OpenQuake Engine\python3\lib\site-packages\openquake\commonlib\oqvalidation.py", line 1137, in __init__

gsim_lt = logictree.GsimLogicTree(path, ['*'])

File "C:\Program Files\OpenQuake Engine\python3\lib\site-packages\openquake\hazardlib\gsim_lt.py", line 189, in __init__

self.branches = self._build_trts_branches(trts) # sorted by trt

File "C:\Program Files\OpenQuake Engine\python3\lib\site-packages\openquake\hazardlib\gsim_lt.py", line 394, in _build_trts_branches

raise ValueError(

ValueError: Unknown GSIM: CanadaSHM6_StableCrust_NGAEast in file C:\Users\ojiang\AppData\Local\Temp\tmp5cb5o9o_\calc_17\OpenQuakeModel\CanadaSHM6-GMM-LT.xml

Unknown GSIM: CanadaSHM6_StableCrust_NGAEast in file C:\Users\ojiang\AppData\Local\Temp\tmp5cb5o9o_\calc_17\OpenQuakeModel\CanadaSHM6-GMM-LT.xml

Peter Pažák

unread,
Apr 25, 2024, 4:08:49 PM4/25/24
to OpenQuake Users
It will be the OQ version where these CanadaSHM6 GMPEs are not available... maybe the best to upgrade to the latest OQ version.

Dátum: štvrtok 25. apríla 2024, čas: 15:07:46 UTC+2, odosielateľ: uvicwen...@gmail.com
Reply all
Reply to author
Forward
0 new messages