-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shakemap to GMFs #3545
Shakemap to GMFs #3545
Conversation
openquake/hazardlib/shakemap.py
Outdated
""" | ||
T = imt.period | ||
if T < 1: | ||
b = 40.7 - 15.0 * T if vs30clustered else 8.5 + 17.2 * T |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a reference to a scientific paper that explains those numbers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Vitor says that the article is still in the publishing process, accepted but who knows when it will appear.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this the same model that is already implemented here https://github.com/gem/oq-engine/blob/master/openquake/hazardlib/correlation.py#L126 ? If that is the case the scientific paper is Jayaram & Baker (2009) as cited in the doc string of that class.
Any way to get around having two different implementations of the same formula?
You are right, Graeme. Now I remember that I wanted to check the correlation matrix in hazardlib but then, busy with the 3.0 release, I forgot to do that. It makes sense to reuse the formula in hazardlib. |
Part of #3544.