GridCalc Appendix B Contents:
Grid Model Scripts

The following grid modelling scripts, which reside in the $VULCAN/bin/ area, can be run outside of Grid Calc. The scripts interpret commands entered in the script and often include the execution of external programs ( .exe ). The scripts can be run from anywhere provided that the $VULCAN/bin area is in your path (this is usually the case).

Usage is entered on one line with the various parts separated by a space. <> indicates variable information. If you only enter the name of the script, you will be prompted for the remaining inputs.

Name

Usage

Description

m2dtst

m2dtst <mapfile> <mapfile_variable> <grid_name>

Lists the mapfile value and the grid value. This can be used with a Perl, Awk or Excel script to calculate the difference between the two thus obtaining the distance between mapfile points and the resultant grid. It is useful for auditing/validating grid models.

Fixmap mapfiles cannot be used in this script unless a normal mapfile header is inserted into the mapfile.

<mapfile>, for example, abch.map.

<mapfile_variable>, for example, SF (surface floor), SR (surface roof).

<grid_name>, for example, abch.sfg.

m2dcal.Isis

m2dcal.Isis <project> <horizon_of_interest>

Runs Grid Calc from the command line so that previously created Grid Calc macros can be run.

Note Syntax is slightly different. Do not use "graphical" macro commands.