Unable to produce site hazard curves for PGV imt

26 views
Skip to first unread message

Diamantis Chatziargyriou

unread,
Jun 5, 2026, 8:10:40 AM (4 days ago) Jun 5
to OpenQuake Users

Dear OpenQuake users,

I am trying to produce PGV Hazard Curves for a specific site model and do a comparison of the results for slope geology and Vs30.

However, I have been getting a persistent error message throughout all analyses. It seems that the logic tree functions are trying to fetch PGV from coeffs_table.py, which has no values for it. The produced errors always end in the following:

```
File "~/openquake/lib/python3.11/site-packages/openquake/hazardlib/gsim/abrahamson_2015.py", line 319, in compute C = self.COEFFS[imt] ~~~~~~~~~~~^^^^^ File "~/openquake/lib/python3.11/site-packages/openquake/hazardlib/gsim/coeffs_table.py", line 262, in __getitem__ raise KeyError(imt)

KeyError: PGV

```

I also tried to run the EventBasedPSHA demo by changing PGA to PGV, but got the same error.

I am using version 3.25.1

Attached you may find the example files.

Thank you in advance,
Diamantis

example.zip
Reply all
Reply to author
Forward
0 new messages