Skip to content

SRF file #58

@Navids94

Description

@Navids94

@fabiolsilva @pjmaechling I need a .srf file as input for the SW4 program for my simulations. I used the Graves-Pitarka generator available on the BBP SCEC platform. I have already created the source (.src) and station list (.stl) files.

Since I aim to simulate frequencies of up to 5 Hz, I need to have a subfault dimension of 200/5 = 40 m. Therefore, I should set DWID and DLEN to 0.03, but I encounter an error when I try using values less than 0.1, such as 0.03. The error message I receive is:

Traceback (most recent call last):
  File "/lustre06/project/6000511/navids94/bbp/bbp-22.4.0/bbp/comps/run_bbp.py", line 321, in <module>
    obj.run()
  File "/lustre06/project/6000511/navids94/bbp/bbp-22.4.0/bbp/comps/genslip.py", line 347, in run
    plot_srf.run(self.r_srffile, sim_id=self.sim_id)
  File "/lustre06/project/6000511/navids94/bbp/bbp-22.4.0/bbp/comps/plot_srf.py", line 539, in run
    num_segments = get_srf_num_segments(r_srffile)
  File "/lustre06/project/6000511/navids94/bbp/bbp-22.4.0/bbp/comps/plot_utils.py", line 69, in get_srf_num_segments
    "SRF file: %s" % (src_file))  

I would appreciate any assistance you can provide to help me resolve this issue.

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