-
Notifications
You must be signed in to change notification settings - Fork 277
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
[WIP] USGS basin scaling for each US 2023 sub GMM #10154
Conversation
self.usgs_basin_scaling = usgs_basin_scaling | ||
if (self.usgs_basin_scaling and 'z2pt5' not in | ||
self.REQUIRES_SITES_PARAMETERS): | ||
raise ValueError('User must specify a GSIM class for this GMPE ' |
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.
Maybe the error message came from the ModifiableGMPE? It does not make sense here.
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.
The user might specify to use the US basin scaling, but specify a class of this GMM which does not consider basin effects (especially for this gsim where there is ParkerEtAl2020SInterface
and ParkerEtAl2020SInterB
, and so I think a warning might be a good idea to highlight this?
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.
By a class of this GMM do you mean a subclass?
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.
Ah yes I mean a subclass
PR to add the USGS basin scaling adjustments to each of the required subduction GMMs in the 2023 US model.
To do:
utils_usgs_basin_scaling.py