Skip to content

Can't define "domain" for point-source simulations #68

@felipekuncar

Description

@felipekuncar

If I select source_type == 'finite-fault', the realisation file is generated without the "domain" block.

This is the error:

{"function": "generate_velocity_model_parameters", "id": "a43cf0da-4502-43eb-91ae-01e122b33fdd", "error": "Traceback (most recent call last):\n File "/home/fkw22/micromamba/envs/research_pip/lib/python3.12/site-packages/workflow/log_utils.py", line 107, in wrapper\n result = f(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^\n File "/home/fkw22/micromamba/envs/research_pip/lib/python3.12/site-packages/workflow/scripts/generate_velocity_model_parameters.py", line 440, in generate_velocity_model_parameters\n initial_fault.planes[0].bottom_m / 1000,\n ^^^^^^^^^^^^^^^^^^^^\nAttributeError: 'Point' object has no attribute 'planes'\n", "event": "failed", "timestamp": "2025-10-23T02:25:48.382447Z", "level": "error"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions