ValueError: node complexFaultSource

54 views
Skip to first unread message

Aslam

unread,
Feb 5, 2026, 3:24:14 AMFeb 5
to OpenQuake Users
I had run my job, but the error had been appeared. I really hope suggestion or recommendation about my code or data containing the error.

The Source Model code:
<?xml version="1.0" encoding="utf-8"?>
<nrml
>
    <sourceModel
    name="Indo-Australia Megathrust"
    >
        <sourceGroup
        name="group 1"
        tectonicRegion="Subduction Interface"
        >
            <complexFaultSource
            id="1"
            name="Indo-Australia Megathrust"
            tectonicRegion="Subduction Interface"
            >
                <complexFaultGeometry>
                    <faultTopEdge>
                        <gml:LineString>
                            <gml:posList>
                            110.107 -10.238 6.783547
                            111.865 -10.542 5.372772
                            113.722 -10.848 5.651071
                            </gml:posList>
                        </gml:LineString>
                    </faultTopEdge>
                    <intermediateEdge>
                        <gml:LineString>
                            <gml:posList>
                            110.107 -10.238 6.883547
                            111.865 -10.542 5.472772
                            113.722 -10.848 5.751071                            
                            </gml:posList>
                        </gml:LineString>
                    </intermediateEdge>
                    <intermediateEdge>
                        <gml:LineString>
                            <gml:posList>
                            110.107 -10.238 6.983547
                            111.865 -10.542 5.572772
                            113.722 -10.848 5.851071                            
                            </gml:posList>
                        </gml:LineString>
                    </intermediateEdge>                    
                    <faultBottomEdge>
                        <gml:LineString>
                            <gml:posList>
                            114.009 -9.154  100.4697304
                            112.315 -8.935  98.2390174
                            110.356 -8.672  98.0352864
                            </gml:posList>
                        </gml:LineString>
                    </faultBottomEdge>
                </complexFaultGeometry>
                <magScaleRel>WC1994</magScaleRel>
                <ruptAspectRatio>1.5</ruptAspectRatio>
                <truncGuternbergRichterMFD aValue="5.63" bValue="1.08" minMag="5.0" maxMag="8.7" />
                <rake>27.0</rake>
            </complexFaultSource>
        </sourceGroup>
    </sourceModel>
</nrml>


The errror:
ValueError: node complexFaultSource  : not enough values to unpack (expected 1, got 0), line 13 of C:\Users\Malc\AppData\Local\Temp\tmpiszft3do\calc_16\PT Solusi Geotek Optima (SGO)\Project\Tujuh Bukit 2\PSHA\Job\source_model.xml

Krlo Aguinda

unread,
Feb 6, 2026, 12:03:50 AMFeb 6
to OpenQuake Users
Hi,
The top line and the intermediate points are the same in XY and ±0.1 in Z, but the bottom point is almost 100 units lower. I think that's why you're getting an error; you should space your intermediate points between the bottom and top following the geometry of subduction.

Aslam

unread,
Feb 6, 2026, 8:54:30 PMFeb 6
to OpenQuake Users
Hi Krlo,
Thank you for the reply, but I've changed the geometry of source but it still with same error
                            110.107 -10.238 26.94610077
                            111.865 -10.542 25.53532577
                            113.722 -10.848 25.81362477                            
                            </gml:posList>
                        </gml:LineString>
                    </intermediateEdge>
                    <intermediateEdge>
                        <gml:LineString>
                            <gml:posList>
                            114.009 -9.154  67.27120831
                            112.315 -8.935  65.86043331
                            110.356 -8.672  66.13873231                            
                            </gml:posList>
                        </gml:LineString>
                    </intermediateEdge>                    
                    <faultBottomEdge>
                        <gml:LineString>
                            <gml:posList>
                            114.009 -9.154  87.43376208
                            112.315 -8.935  86.02298708
                            110.356 -8.672  86.30128608
                            </gml:posList>
                        </gml:LineString>
                    </faultBottomEdge>
                </complexFaultGeometry>
                <magScaleRel>WC1994</magScaleRel>
                <ruptAspectRatio>1.5</ruptAspectRatio>
                <truncGuternbergRichterMFD aValue="5.63" bValue="1.08" minMag="5.0" maxMag="8.7" />
                <rake>27.0</rake>
            </complexFaultSource>
        </sourceGroup>
    </sourceModel>
</nrml>


The error:

ValueError: node complexFaultSource: not enough values to unpack (expected 1, got 0), line 13

Krlo Aguinda

unread,
Feb 7, 2026, 8:52:37 AMFeb 7
to OpenQuake Users
the top edge and the first intermediate edge must be reversed mean vertex (113° °E ) and progressing toward the westernmost vertex (110°E)
Reply all
Reply to author
Forward
0 new messages