volkanozsarac / EzGM

Toolbox for ground motion record selection and processing
GNU General Public License v3.0
65 stars 25 forks source link

Fix openquake version to 3.16.7 and python version to <3.12 #13

Closed Mengesh closed 3 months ago

Mengesh commented 4 months ago

Current openquake version (3.19.0) breaks EzGM implementation.

volkanozsarac commented 4 months ago

The main issue is to run Example 3. The tool can be directly used to select records, and the gsim library of OpenQuake can be successfully imported. However, it is still not possible to use OQ engine for running PSHA. This is why, I would still avoid using direct installation via PyPi.

Mengesh commented 3 months ago

Oh I see. Example 3 calls oq externally, so one would need a system-wide installation of openquake.

I thought this would be a quick-fix, but I was certainly wrong. I'll get back to it once I have more free time.