error during running areal source PSHA

25 views
Skip to first unread message

Chaman S

unread,
Jan 29, 2026, 7:52:55 AM (4 days ago) Jan 29
to OpenQuake Users
I am a new user of oq engine and trying to calculate the seismic hazard of maharashtra by Areal source in PSHA, India. but facing problem in source file, while running job.ini, i am getting following error consistently 

TypeError: node truncGutenbergRichterMFD: '>' not supported between instances of 'NoneType' and 'int', line 42 of  sources.xml

i am attaching my calculation files 
please help

<?xml version="1.0" encoding="UTF-8"?>
<nrml xmlns="http://openquake.org/xmlns/nrml/0.5"
      xmlns:gml="http://www.opengis.net/gml">

  <sourceModel name="Maharashtra_Area_Model">

    <sourceGroup name="Maha_Group"
                 tectonicRegion="Active Shallow Crust">

      <areaSource id="AS01"
                  name="Maharashtra"
                  tectonicRegion="Active Shallow Crust">

        <!-- Geometry -->
        <areaGeometry>
          <gml:Polygon>
            <gml:exterior>
              <gml:LinearRing>
                <gml:posList>
                  72.0 16.0
                  80.0 16.0
                  80.0 22.0
                  72.0 22.0
                  72.0 16.0
                </gml:posList>
              </gml:LinearRing>
            </gml:exterior>
          </gml:Polygon>
        </areaGeometry>

        <!-- Seismogenic depths -->
        <upperSeismoDepth>0.0</upperSeismoDepth>
        <lowerSeismoDepth>20.0</lowerSeismoDepth>

        <!-- REQUIRED: Magnitude Scaling Relation -->
        <magScaleRel>WC1994</magScaleRel>

        <!-- REQUIRED: Rupture Aspect Ratio -->
        <ruptAspectRatio>1.0</ruptAspectRatio>

        <!-- Magnitude Frequency Distribution -->
        <truncGutenbergRichterMFD
            aValue="4.5"
            bValue="0.9"
            minMag="4.0"
            maxMag="7.0"
            binWidth="0.1"/>

        <!-- Nodal plane distribution -->
        <nodalPlaneDist>
          <nodalPlane probability="1.0"
                      strike="0.0"
                      dip="90.0"
                      rake="0.0"/>
        </nodalPlaneDist>

        <!-- Hypocentral depth distribution -->
        <hypoDepthDist>
          <hypoDepth probability="1.0"
                     depth="10.0"/>
        </hypoDepthDist>

      </areaSource>

    </sourceGroup>

  </sourceModel>
</nrml>

marco....@globalquakemodel.org

unread,
Jan 29, 2026, 8:01:42 AM (4 days ago) Jan 29
to OpenQuake Users
--
You received this message because you are subscribed to the Google Groups "OpenQuake Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openquake-use...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/openquake-users/19e0d676-73f6-402c-920c-587fcd9c84abn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages