Open chrisbc opened 4 years ago
Testing CFM XML in opensha has revealed this input raises an error in opensha
<i124 sectionId="124" sectionName="Fiordland" aveLongTermSlipRate="9.0" slipRateStDev="5.5" aveDip="25.0" aveRake="90.0" aveUpperDepth="0.0" aveLowerDepth="0.0" aseismicSlipFactor="0.0" couplingCoeff="1.0" dipDirection="131.5" parentSectionId="-1" connector="false">
In these cases the CFM XML extract should skip these elements and issue a warning message so the user know that data is missing.
NB to workaround this I've set a positive value for aveLowerDepth.
@sapikara pls add test coverage for this case
Testing CFM XML in opensha has revealed this input raises an error in opensha
<i124 sectionId="124" sectionName="Fiordland" aveLongTermSlipRate="9.0" slipRateStDev="5.5" aveDip="25.0" aveRake="90.0" aveUpperDepth="0.0" aveLowerDepth="0.0" aseismicSlipFactor="0.0" couplingCoeff="1.0" dipDirection="131.5" parentSectionId="-1" connector="false">
In these cases the CFM XML extract should skip these elements and issue a warning message so the user know that data is missing.
NB to workaround this I've set a positive value for aveLowerDepth.
@sapikara pls add test coverage for this case