Skip to content
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

complexFaultRupture does not recognize multiple <complexFaultGeometry> definitions #5440

Closed
raoanirudh opened this issue Jan 24, 2020 · 0 comments · Fixed by #5443
Closed
Assignees
Milestone

Comments

@raoanirudh
Copy link
Member

For an input file such as the one below used in a scenario hazard calculation, only the first segment is used by the engine for the gmf computation. If this is indeed the expected behavior, the engine should throw an error for complexFaultRupture files that contain multiple <complexFaultGeometry> definitions.

<?xml version="1.0" encoding="utf-8"?>
<nrml xmlns:gml="http://www.opengis.net/gml" xmlns="http://openquake.org/xmlns/nrml/0.4">
    <complexFaultRupture>
        <magnitude>7.5</magnitude>
        <rake>90</rake>
        <hypocenter lat="-33.4579" lon="-70.4945" depth="12"/>
        <complexFaultGeometry>
            <faultTopEdge>
                <gml:LineString>
                    <gml:posList>
                        -70.5500  -33.612 0
                        -70.5530 -33.5145 0
                    </gml:posList>
                </gml:LineString>
            </faultTopEdge>
            <faultBottomEdge>
                <gml:LineString>
                    <gml:posList>
                        -70.4413  -33.612 12
                        -70.4443 -33.5145 12
                    </gml:posList>
                </gml:LineString>
            </faultBottomEdge>
        </complexFaultGeometry>
        <complexFaultGeometry>
            <faultTopEdge>
                <gml:LineString>
                    <gml:posList>
                        -70.5140 -33.5200 0
                        -70.5375 -33.3788 0
                    </gml:posList>
                </gml:LineString>
            </faultTopEdge>
            <faultBottomEdge>
                <gml:LineString>
                    <gml:posList>
                        -70.4053 -33.5200 12
                        -70.4288 -33.3788 12
                    </gml:posList>
                </gml:LineString>
            </faultBottomEdge>
        </complexFaultGeometry>
    </complexFaultRupture>
</nrml>
@raoanirudh raoanirudh changed the title complexFaultRupture does not recognize multiple <complexFaultGeometry> definitions complexFaultRupture does not recognize multiple <complexFaultGeometry> definitions Jan 24, 2020
@micheles micheles added this to the Engine 3.9.0 milestone Jan 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants