- Demo web page: https://beachball.clam.moe
- Based on previous work: https://github.com/sean0921/workshop_demo_20210805
- Idea: http://qcntw.earth.sinica.edu.tw/beachball/
- see
pyproject.toml
make init
make run
- Linux / WSLg: use simplemeca-client project.
-
URL: POST
/simplemeca
-
Header:
Key Value Required Content-Type application/json Required
-
Body Json Parameters: (All Required)
- strike
float
- dip
float
- rake
float
- color_r
float
R in RGB colors - color_g
float
G in RGB colors - color_b
float
B in RGB colors - title
string
- strike
-
Response
{'image_url': 'http://127.0.0.1:5000/static/<sha256-format>.png'}
example_payload.json
- Add alternative cloud backend to herokuapp: https://blog.heroku.com/next-chapter
- Add automated test code
- Support arguments of moment tensor decompositions:
#X Y depth mrr mtt mff mrt mrf mtf exp newX newY title
gmt meca -Rg -JN15c -Sm2c -png << EOF
-176.96 -29.25 47.8 7.680 0.090 -7.770 1.390 4.520 -3.260 26 0 0 title
EOF
- Refactor a customized frontend
- Support Chinese
- Ghostscript does not support webp output, so only consider png or jpg format.
- GMT 5/6 (PyGMT) realtime performance is worser than legacy GMT 4.x: GenericMappingTools/gmt#587
- Beachball Frontend: IES, Academia Sinica
- Deployment: GitHub Actions, Fly.io