gem / oq-engine

OpenQuake's Engine for Seismic Hazard and Risk Analysis
https://github.com/gem/oq-engine/#openquake-engine
GNU Affero General Public License v3.0
373 stars 272 forks source link

Incorrect documentation for Afshari Stewart 2016 #9793

Closed lispandfound closed 2 weeks ago

lispandfound commented 2 weeks ago

In the definition of the model we are told the required rupture parameters are magnitude and rupture depth. https://github.com/gem/oq-engine/blob/08c79a3ba69c17a82cdb59d79aa43aa89777fa27/openquake/hazardlib/gsim/afshari_stewart_2016.py#L189 however, the actually required parameters are magnitude and rake: https://github.com/gem/oq-engine/blob/08c79a3ba69c17a82cdb59d79aa43aa89777fa27/openquake/hazardlib/gsim/afshari_stewart_2016.py#L190

This documentation should be updated to reflect the parameters that are actually required.

micheles commented 2 weeks ago

Thanks for the report, this is now fixed.