Closed krischer closed 8 years ago
We are ready to add this functionality to syngine whenever it is ready. At first we'll just fetch the USGS FFM and POST it from our handler. Later we will see about allowing users to submit their own models.
It is ready from instaseis' point of view. Fetching the USGS model seems like a very sensible thing to do.
This PR adds a new route to the server that accepts USGS param files as the contents of a POST request and spits out seismograms.
This turned out to be much more tricky and nasty to implement than expected so it would be great if someone could review it and check if it actually produces the expected output.
Rendered version of the documentation for the new route: http://www.geophysik.uni-muenchen.de/~krischer/instaseis_fs_doc/routes/finite_source.html
Usage from Python for those who want to test it. curl and sac or whatever you fancy should of course also work.
This is the order of operations performed:
The origin time is defined as the onset time of the first slipping point source. All relative times and phase relative times refer to it.
A couple of other things:
/seismograms
route.