You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The last version of the JPN model contains some characteristicFaultSources whose ruptures are represented as griddedSurfaces. The error generated while creating this file is UnboundLocalError: node characteristicFaultSource: local variable 'geom' referenced before assignment. This happens since here https://github.com/gem/oq-engine/blob/master/openquake/hazardlib/sourceconverter.py#L1477 the case of a griddedSurface is not considered.
The text was updated successfully, but these errors were encountered:
Unfortunaly characteristicFaultSources are not supported by the converter since they highly nontrivial and they require some discussion with the scientific team (what do we want to store and how we want to store it, how many surface types we want to convert and how). I agree that the error message should be improved.
The last version of the JPN model contains some characteristicFaultSources whose ruptures are represented as griddedSurfaces. The error generated while creating this file is
UnboundLocalError: node characteristicFaultSource: local variable 'geom' referenced before assignment
. This happens since here https://github.com/gem/oq-engine/blob/master/openquake/hazardlib/sourceconverter.py#L1477 the case of agriddedSurface
is not considered.The text was updated successfully, but these errors were encountered: