How to find list of GMPE in Open Quake v3.11.0

366 views
Skip to first unread message

Wai Yar Aung

unread,
May 4, 2022, 12:01:49 PM5/4/22
to OpenQuake Users
Dear all,
I can't find list of GMPE in open quake v3.11.5 whereas we could find easily in V3.1 .
Could you help me pls ?
Thanks.
Picture1.png  
Message has been deleted

Gianluca Regina

unread,
May 4, 2022, 12:18:21 PM5/4/22
to OpenQuake Users

Wai Yar Aung

unread,
May 4, 2022, 12:55:17 PM5/4/22
to openqua...@googlegroups.com
Dear Gianluca, 
Thanks for your reply. I am new to open quake . I am using windows and can you show me the way how to import lists of GMPE from hazardlib into my pc. 
Thanks you and have a nice day.


Rispetta l'ambiente: se non ti è necessario, non stampare questa mail.

Ai sensi del Regolamento UE 2016/679, del D. Lgs. 196/2003 e s. m. i. si precisa che le informazioni contenute in questo messaggio sono riservate ed a uso esclusivo del destinatario.
Qualora il messaggio in parola Le fosse pervenuto per errore, La invitiamo ad eliminarlo senza copiarlo e a non inoltrarlo a terzi, dandone gentilmente comunicazione al mittente. Grazie.

--
You received this message because you are subscribed to the Google Groups "OpenQuake Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openquake-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openquake-users/0c43b8f3-f7ca-47e1-ba84-dd0a53bbfe03n%40googlegroups.com.
--
Wai Yar Aung 
Research Associate 
Myanmar Earthquake Committee

Anirudh Rao

unread,
May 4, 2022, 1:17:52 PM5/4/22
to OpenQuake Users
Dear Wai Yar Aung,

On the command line, the command 
oq info gsims
will print the list of available GMPEs for the version of the engine you are using

If you wish to import the available GMPEs into a python script, the following two lines will give you a dictionary with the GMPE names as the keys and the classes where they're implemented as the values:
from openquake.hazardlib import gsim
gsim_dict = gsim.get_available_gsims()

Hope that answers your question!
Best regards,
Anirudh
Reply all
Reply to author
Forward
0 new messages