SSHA for point source

37 views
Skip to first unread message

Bernd Goigitzer

unread,
Jul 25, 2014, 3:26:52 AM7/25/14
to openqua...@googlegroups.com
is it possible to run a SSHA with a simple pointsource?
because i'm always getting this error

File "parser.pxi", line 590, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:74696)
lxml.etree.XMLSyntaxError: Element 'pointSource': No matching global declaration available for the validation root.

whats wrong?

this is my rupture model

<pointSource id="1" name="point" tectonicRegion="Stable Continental Crust">
    <pointGeometry>
        <gml:Point>
            <gml:pos>16.42 47.91</gml:pos>
        </gml:Point>
        <upperSeismoDepth>0.0</upperSeismoDepth>
        <lowerSeismoDepth>10.0</lowerSeismoDepth>
    </pointGeometry>
    <magScaleRel>WC1994</magScaleRel>
    <ruptAspectRatio>0.5</ruptAspectRatio>
    <truncGutenbergRichterMFD aValue="3.0" bValue="1.0" minMag="5.0" maxMag="7.0" />
    <nodalPlaneDist>
        <nodalPlane probability="1" strike="90.0" dip="90.0" rake="0.0" />
    </nodalPlaneDist>
    <hypoDepthDist>
        <hypoDepth probability="1" depth="5.0" />
    </hypoDepthDist>
</pointSource>

thanks
bernd

Michele Simionato

unread,
Jul 28, 2014, 3:12:42 AM7/28/14
to openqua...@googlegroups.com
Is the XML you sent wrapped inside a proper header, i.e. something like

<?xml version='1.0' encoding='utf-8'?>
<nrml xmlns:gml="http://www.opengis.net/gml"
      ...
</nrml>

Bernd Goigitzer

unread,
Jul 28, 2014, 4:58:36 AM7/28/14
to openqua...@googlegroups.com
no it wasn't
so you think thats the problem - i will try, thanks!!!

Bernd Goigitzer

unread,
Jul 28, 2014, 5:44:19 AM7/28/14
to openqua...@googlegroups.com

Michele Simionato

unread,
Jul 28, 2014, 6:04:14 AM7/28/14
to openqua...@googlegroups.com
Here you can find an example of  a correct PointSource:


Notice the sourceModel tag wrapping all the sources.
Reply all
Reply to author
Forward
0 new messages