Rayinvr Velocity Models
- The velocity model format for Rayinvr is the v.in format. This is a difficult format to read and manipulate, therefore helper programs c2v and v2c »http://www.geop.ubc.ca/~bzelt/v2c/help.html have been made to convert to the more readable c.in format. This is not part of the Rayinvr source, so has to be downloaded and compiled separately.
- The c.in format is easy to read, but modification of the model can still be tedious. For example, changing the depth of each node in a boundary or using inversion on each node can be a tedious thing to do.
- This script has been created to make these two tasks easier. It can change the depth of all nodes in a single boundary, or set all nodes to be inverted or not inverted. »c_modify.py is a command line python script, the only requirement is that python 2.3 or greater be installed on the computer.
- Here is an example c.in file that is a simple 1d model extending from xmin of -12.23 km to xmax of 29.20 and zmin of 0 to zmax of 3.40 km »upload/c.in. This is the corresponding v.in file, produced by c2v »upload/v.in.
(Powered by PWP Version 1-4-3 )