gem / oq-engine

OpenQuake Engine: a software for Seismic Hazard and Risk Analysis
https://github.com/gem/oq-engine/#openquake-engine
GNU Affero General Public License v3.0
379 stars 273 forks source link

Fixed `modified_gsim` when the underlying GMPE has arguments #9811

Closed micheles closed 3 months ago

micheles commented 3 months ago

Solves a problem in GEESE with the NAF logic tree

.<?xml version="1.0" encoding="utf-8"?>
<nrml
xmlns="http://openquake.org/xmlns/nrml/0.5"
xmlns:gml="http://www.opengis.net/gml"
>
    <logicTree
    logicTreeID="lt"
    >
        <logicTreeBranchSet
        applyToTectonicRegionType="Tectonic_Type_C"
        branchSetID="bs0"
        uncertaintyType="gmpeModel"
        >
            <logicTreeBranch
            branchID="br0"
            >
                <uncertaintyModel>
                    [ModifiableGMPE.gmpe.AtkinsonBoore2006Modified2011]
[ModifiableGMPE.add_between_within_stds]
with_betw_ratio = 1.5
                </uncertaintyModel>
                <uncertaintyWeight>
                    5.0000000E-01
                </uncertaintyWeight>
            </logicTreeBranch>
            <logicTreeBranch
            branchID="br1"
            >
                <uncertaintyModel>
                    [ModifiableGMPE.gmpe.NRCan15SiteTerm]
gmpe_name = 'PezeshkEtAl2011NEHRPBC'
[ModifiableGMPE.add_between_within_stds]
with_betw_ratio = 1.5
                </uncertaintyModel>
                <uncertaintyWeight>
                    5.0000000E-01
                </uncertaintyWeight>
            </logicTreeBranch>
        </logicTreeBranchSet>
    </logicTree>
</nrml>
CB-quakemodel commented 3 months ago

LGTM thanks Michele