Hazard Curves as an input error

95 views
Skip to first unread message

Chenna Rajaram

unread,
Apr 14, 2026, 1:40:27 AMApr 14
to OpenQuake Users
Dear OQ Users,

I received an error message while running OQ Engine. I input the hazard curve values directly to the OQ engine as a separate file hazardcurves.csv to estimate the seismic risk of a study region and I removed the hazard calculations in job.ini file. Currently, I am using the 3.25 version of OQ. The code gives an error as " AttributeError: 'ArrayWrapper' object has no attribute 'imt'  .". It means that the code doesn't read the values.

Please provide a sample input file of hazard curves with headers.

The files are attached in this email. I kindly request you solve this issue as early as possible.  
EventBasedHazardRisk.zip
job.ini
hazard_curves.csv

Lana Todorovic

unread,
Jul 20, 2026, 8:56:46 AMJul 20
to OpenQuake Users
Dear User,

The issue with classical risk analysis using the precomputed hazard curve has been resolved: https://github.com/gem/oq-engine/pull/11631 
The provided example in qa_tests, can help you in preparing the input files (hazard_curves.csv) in the correct format.

Kind regards

Michele Simionato

unread,
Jul 24, 2026, 10:09:02 AM (11 days ago) Jul 24
to OpenQuake Users
The fix is available in version 3.26.2 that we released yesterday.
Reply all
Reply to author
Forward
0 new messages