Hi there,
I was using your ground-motion model test tables to check my independent code of the BCHydro subduction equation (abrahamson2015.py). I could be wrong but there might be an error in the OQ implementation, particularly equation 4 (the forearc/backarc flag).
I could only match the model prediction tables at
https://github.com/gem/oq-hazardlib/blob/master/openquake/hazardlib/tests/gsim/data/BCHYDRO/ for sites_backarc = 1, but not for sites_backarc = 0 (i.e. for forearc sites). The equation in the Earthquake Spectra preprint is
theta15 + theta16 * log( max(Rrup,100) / 40) * F_faba
where F_faba =0 for sites on the forearc. I don't know python but it appears the abrahamson2015.py script instead does
{ theta15 + theta16 * log( max(Rrup,100) / 40) } * F_faba
i.e. including theta15 in the brackets. Can you please verify which equation is the correct one? I can match the table with the second equation, but not the first.
Additionally the values for theta15 at PGA and SA(0.02s) are 0.9996 in the paper but 0.9969 in the abrahamson2015.py coefficient table.
Apologies if I have missed something and it is actually correct.
Thanks
Chris