Skip to content

Coulomb Rupture Sets

CoulombRuptureSetArgs

Bases: BaseModel

Input for generating Coulomb rupture sets.

Validators
  • Must provide either a fault_model or fault_model_file, but not both.

Parameters:

Name Type Description Default
max_sections int
required
max_jump_distance float
required
adaptive_min_distance float
required
thinning_factor float
required
min_sub_sects_per_parent int
required
min_sub_sections int
required
scaling_relationship str
required
depth_scaling CoulombRuptureSetArgs.DepthScaling | None

The amount by which to scale the depths of the faults.

None
fault_model str | None
None
fault_model_file CoulombRuptureSetArgs.FaultModelFile | None

Side-loaded fault model files must be found via toshi API.

None
named_faults_file CoulombRuptureSetArgs.FaultModelFile | None

If side-loading the fault model, you can provide the named faults to group them for reporting.

None

Attributes

max_sections: int instance-attribute

max_jump_distance: float instance-attribute

adaptive_min_distance: float instance-attribute

thinning_factor: float instance-attribute

min_sub_sects_per_parent: int instance-attribute

min_sub_sections: int instance-attribute

scaling_relationship: str instance-attribute

depth_scaling: Optional[DepthScaling] = None class-attribute instance-attribute

The amount by which to scale the depths of the faults.

fault_model: Optional[str] = None class-attribute instance-attribute

fault_model_file: Optional[FaultModelFile] = None class-attribute instance-attribute

Side-loaded fault model files must be found via toshi API.

named_faults_file: Optional[FaultModelFile] = None class-attribute instance-attribute

If side-loading the fault model, you can provide the named faults to group them for reporting.

Classes

DepthScaling

Bases: BaseModel

Parameters:

Name Type Description Default
tvz float
required
sans float
required
Attributes
tvz: float instance-attribute
sans: float instance-attribute

FaultModelFile

Bases: BaseModel

Parameters:

Name Type Description Default
tag str
required
archive_id str
required
Attributes
tag: str instance-attribute
archive_id: str instance-attribute

Functions

check_fault_model() -> Self

Must specify either fault_model or fault_model_file

default_system_args = SystemArgs(task_language=(TaskLanguage.JAVA), use_api=USE_API, java_threads=16, jvm_heap_max=32, ecs_max_job_time_min=60, ecs_memory=30720, ecs_vcpu=4, ecs_job_definition='Fargate-runzi-opensha-JD', ecs_job_queue='BasicFargate_Q') module-attribute