Skip to content

Creating its own model file

Stephanie Durand edited this page Dec 12, 2017 · 1 revision

It is possible to upload a model in SeisTomoPy. for this the user has to generate the model file. To do so we provide a fortran routine. The user will find a directory Create_model_file with a readme file explaining the procedure. First the user must generate vs.DEPTH.xyz files at every kilometer depth and store them in the diectory Create_model_file/model and then go to Create_model_file/src and run

$ make clean
$ make all
$ ./main

This will generate two model files YOURMODEL_5km.sph and YOURMODEL_1km.sph that you should copy in forrtran_files/models. Then you can use all the tools of SeisTomoPy refering to your model using

'MYMODEL'