The file SrfGen/createSourceRealisation.py in the Pre-processing repository contains the code for point source faults. This is the preferred location to add source generation uncertainty for other types of faults.

Type 1 behaviour

The point source generation algorithm creates two dictionaries of parameters, one of parameters that are to be used in srf generation, and one of parameters that are not used.

Then for each realisation each parameter is perturbed as defined in the uncertainties file.

These parameters are then all passed to the createSRF function.

Type 2 proposed behaviour

The type 2 source generation should be significantly similar to type 1.

The list of parameters to be perturbed will need to be reviewed.


If flen is not given, then flen, dlen, fwid, dwid, dtop, shypo, dhypo are overridden using focal_mechanism_2_finite_fault which uses a given magnitude scaling relation to determine them

Parameters to be perturbed

Type 1 for reference

ParametertypeType 1Type 2
depthfloatperturbated
mw (magnitude)floatperturbatedperturbed
momfloatperturbatedNot needed?
strikefloatperturbatedperturbated
rakefloatperturbatedperturbated
dipfloatperturbatedperturbated
vsfloatperturbated
rhofloatperturbated
rise_timefloatperturbated
seedint
Unknown
rvfracfloat
Unknown
slip coveragefloat
Unknown
flenfloat
Must be None to trigger type 2 logic
dlenfloat
Overridden
fwidfloat
Overridden
dwidfloat
Overridden
dtopfloat
Overridden
shypofloat
Overridden
dhypofloat
Overridden
mwsr (magnitude scaling relation)str
Not used here
genslip_versionstr
Passed in as argument
tect_typestr
Not needed?
srf_typeint
Inferred from flen == None to be type 2













  • No labels