06_Running the Code - Geronimorz/Test GitHub Wiki
To run the code, modify the file_name = "TongaLau_Spherical.yml"
line in each of the following code.
To run the inversion, make sure you modify the following line in each of the scripts:
file_name = "TongaLau_Spherical.yml"
Step1: Prepare the Data
julia prepare_data.jl
Step2: Run the Inversion
julia -t 35 main_inversion.jl
- The
-t 35
flag uses 35 threads. Adjust this number based on your system’s available CPU cores. - Checkpoints are automatically saved throughout the run, so you can safely resume if interrupted.
Other functions
Code | Description |
---|---|
Forward_modeling.jl |
Generates synthetic t* input data from a known model for testing. |
Interp_model.jl |
Interpolates final models to uniform grids for use in GMT plotting. |
calc_raycount.jl |
Computes hit count maps for ray coverage analysis and resolution masking. |