diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index da1d5cc..4934334 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,10 +7,8 @@ on: branches: [ "main" ] jobs: - build: - + LinuxTest: runs-on: ubuntu-latest - steps: - uses: actions/checkout@v4 - name: Install dependencies @@ -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 + diff --git a/README.md b/README.md index 84270e2..28c7f00 100644 --- a/README.md +++ b/README.md @@ -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: @@ -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. @@ -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. \ No newline at end of file +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.