-
Notifications
You must be signed in to change notification settings - Fork 0
Home
For a model run, we need some amount of moment accumulation on a fault surface. Currently, for the single mesh case these initial values are stored in an .npy file the path to which is specified in the initial_slip_deficit_rate_file variable of the main skies run file (e.g., skies_parameters.json)
-
Generating an initial slip deficit distribution. Using
celeriis one way to do this. Currently,celeridoes not automatically write out individual.npyfiles for the estimate strike- and dip-slip rates on individual meshes. An example notebook with a few cells at the bottom that are relatively easy to modify for this purpose of a specific example can be found at:celeri/notebooks/celeri_dense_new.ipynb. This can be used to produce a.npyfile directly for use inskies. -
Interpolating to higher resolution meshes. Initial slip distributions from
celerior other sources may be realized on meshes that are at lower resolution than desired for a particularskiesexperiment. We can interpolate from a lower resolution mesh to a higher resolution mesh using a notebook similar to the one found at:skies/nankai_interpolate.ipynb. This notebook needs three files to run: 1) a low-resolution.mshfile (used forcelerirun), 2) a.npyfile with slip deficit rates at the centroid of each mesh element in the low-resolution.mshfile, and 3) a higher-resolution.mshfile that we want to interpolate the slip-deficit rates from the low resolution file onto. This notebook (e.g.,skies/nankai_interpolate.ipynb) and will write an output.npyfile at higher resolution.
- Location of specified
.npyfile for initial slip deficit should be moved tomesh_parameters.jsonso that it can be specified on a mesh-by-mesh basis. - Modify celeri so that it outputs
.npyfiles for strike- and dip-slip slip deficit rates for each mesh individually. This means that a single celeri run should produce2 * len(meshes)files with these estimates. The purpose of this is to automatically produce outputs that can be used inskies.