...
Go to the VM directory that instruction has provided
Code Block language bash title Bash_code $ cd /nesi/projects/nesi00213/RealTime/20100904_Darfield_m7p1_201705191345/VM
- Create the config file that is needed for generating a Velocity Model
Execute config_vm.py to generate
params_vel.py,
a config file used for velocity modelling. The command is in the following format.
e.g. $ config_vm.py 7.1 46.00 172.3$ config_vm.py magnitude centroid_Depth Latitude Longitude
Code Block language bash title Bash_code /nesi/projects/nesi00213/RealTime/20100904_Darfield_m7p1_201705191345/VM : config_vm.py -h usage: config_vm.py [-h] [--model_version MODEL_VERSION] [--min_vs MIN_VS] [--topo_type TOPO_TYPE] [--hh HH] [--extent_zmin EXTENT_ZMIN] [--extent_x EXTENT_X] [--extent_y EXTENT_Y] [--extent_zmax EXTENT_ZMAX] [--sim_duration SIM_DURATION] [--flo FLO] [--rot ROT] [--code CODE] [--output_dir OUTPUT_DIR] [--slice_params_dir SLICE_PARAMS_DIR] mag centroidDepth lon lat positional arguments: mag centroidDepth lon lat optional arguments: -h, --help show this help message and exit --model_version MODEL_VERSION --min_vs MIN_VS --topo_type TOPO_TYPE --hh HH --extent_zmin EXTENT_ZMIN --extent_x EXTENT_X --extent_y EXTENT_Y --extent_zmax EXTENT_ZMAX --sim_duration SIM_DURATION --flo FLO --rot ROT --code CODE --output_dir OUTPUT_DIR --slice_params_dir SLICE_PARAMS_DIR
Three parameters
mag, centroidDepth, lon, lat
are mandatory. You can set other options with--option
, such as--hh 0.2
or manually set by editingparams_vel.py
Code Block language bash title Bash_code /nesi/projects/nesi00213/RealTime/20100904_Darfield_m7p1_201705191345/VM : config_vm.py 7.1 46.00 172.3 -43.6
- Edit the parameter file to your requirements with prefered editor
e.g. $ vim params_vel.py - If you have edited the params_vel.py, please run test_vm_params.py
$ test_vm_params.py - Run make_vm.sh to create the Velocity Model
$ make_vm.sh - Follow the instruction given on the screen to provide a path to a admin.
...