Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Devel #30

Merged
merged 12 commits into from
May 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ on:
branches: [ "main" ]

jobs:
build:

LinuxTest:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Install dependencies
Expand All @@ -20,3 +18,11 @@ jobs:
run: |
mkdir build && cd build
cmake .. && make -j 4

- name: test
run: |
cd $GITHUB_WORKSPACE/examples/00_checkerboard_iso
sed -i "/NPROC=/c\NPROC=1" run_this_example.sh
sed -i "/niter: /c\ niter: 2" input_params.yml
sh run_this_example.sh

12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![Language](https://img.shields.io/badge/-Fortran-734f96?logo=fortran&logoColor=white)](https://github.com/topics/fortran)
[![License](https://img.shields.io/github/license/xumi1993/seispy)]()
[![Build SurfATT](https://github.com/xumi1993/SurfATT-iso/actions/workflows/build.yml/badge.svg)](https://github.com/xumi1993/SurfATT-iso/actions/workflows/build.yml)

This is an innovative package for **Surf**ace wave **A**djoint **T**ravel-time **T**omography driven by modern fortran with highlights:

Expand All @@ -10,6 +11,15 @@ This is an innovative package for **Surf**ace wave **A**djoint **T**ravel-time *
- **Multi-grid model parametrization** utilization in optimization ([Tong et al., 2019](https://doi.org/10.1093/gji/ggz151))
- Consideration of **surface topography** ([Hao et al., 2024a](https://doi.org/10.1029/2023JB027454))

## Gallery

### Travel time field and sensitivity kernel on curved surface ([Hao et al., 2024a](https://doi.org/10.1029/2023JB027454))
![jgrb56585-fig-0001-m](https://github.com/xumi1993/SurfATT-iso/assets/7437523/49e205a3-7529-4079-a8c2-471c6e7075fc)
-------

### Tomographic results of S-wave velocity beneath Hawaii Island
![Fig2](https://github.com/xumi1993/SurfATT-iso/assets/7437523/f9a0155b-7b83-4970-914d-f13dc42b11e5)

## Installation

Please refer to the [installation guide](https://surfatt.xumijian.me/installation/dependence.html) for detailed instructions.
Expand All @@ -21,4 +31,4 @@ mpirun -np 4 bin/surfatt_tomo -i input_params.yml
```

### A quick example
A case named `test/00_checkerboard_iso` presents an example of inversion for 2x3x2 checkers using ambient noise surface wave data from 25 stations. execute run_this_example.sh to run this example under 5 processors.
A case named `test/00_checkerboard_iso` presents an example of inversion for 2x3x2 checkers using ambient noise surface wave data from 25 stations. execute `run_this_example.sh` to run this example under 8 processors.