RockWorks | Utilities | Grid | Math |
Grid & Constant Math
This program performs arithmetical operations with the node Z-values in a single grid model (.RwGrd file) and a constant.
Examples: You might add or subtract a constant to/from each node in a grid file representing surface elevations to correct for a measuring error. A grid file with nodes representing elevations in meters could be converted to feet by multiplying by a constant conversion factor.
Menu Options
Step-by-Step Summary
Menu Options
- Input Columns: If you request plotting of 2D map symbols (below) AND if you have data loaded into the Utilities datasheet, you can use these prompts (along the left edge of the Options window) to specify the X and Y locations for the map symbols.
! If you don't plot map symbols, these will be ignored.
- X (Easting): Click to the right to select the name of the column containing the X or Easting coordinates.
- Y (Northing): Click to the right to select the name of the column containing the Y or Northing coordinates.
- Input
- Grid (A): Click here to browse for the name of the existing grid file (.RwGrd file) that the program is to read and manipulate.
- Constant (B): Click here to enter the real number value to be added to, subtracted from, multiplied to, or divided into each node in the input grid file.
- Operation
- Add: Input + Constant: Each node in the grid model is added to the constant value, and the resulting sum is stored in the corresponding node in the output grid.
- Subtract: Input - Constant: The specified constant value is subtracted from each node value in the source grid model, and the difference is stored for the corresponding node in the output file.
- Subtract: Constant - Input: Each node value in the source grid model is subtracted from the specified constant, and the difference is stored in the corresponding node in the output file.
- Multiplication: Input x Constant: Each node in the input grid model is multiplied by the defined constant, with the product stored for each node in the output grid.
- Division: Input / Constant: Each source grid node is divided by the defined constant value, and the result is stored for each node in the output model.
- Division: Constant / Input: Each node in the source grid is divided into the constant value, and the result is stored for each corresponding node in the output grid.
- Output
- Output Grid (C): Click here to type in the name to assign to the new grid file that the program will create, which results from the grid (+ - * or /) constant operation.
- Create 2-Dimensional Grid Diagram: Insert a check in this check-box if you want to display the output grid as a 2D map at this time. Expand this heading to set up the 2D map layers (bitmap, symbols, labels, line contours, color-filled contours, labeled cells, and/or map border).
- Create 3-Dimensional Grid Diagram: Insert a check in this check-box if you want to display the output grid as a 3D surface. Expand this heading to set up the 3D map layers (flat surface, Boolean colors, perimeter, reference cage). You can request both a 2D and 3D representation of the grid model.
- Create Grid Statistics Report: Insert a check here if you want to see a report summarizing the output grid.
- Include Standard Deviation: Check this box if you want the report to include standard deviation.
- Include Directional Analysis: Check this box to include slope, aspect, and strike computations. Be warned that these can take a few moments for large grid models.
Step-by-Step Summary
- Access the RockWorks Utilities program tab so that you can see the Grid menu commands.
- If you'll be creating a 2D map with sample location (well) symbols, you can use the File | Open option to open the .RwDat file containing the X and Y location coordinates for the map symbols.
- Select the Grid | Math | Grid & Constant Math menu option.
- Enter the requested menu settings, described above.
- Click the Process button to continue.
The program will load the input grid file, perform the requested operation on each of the grid node Z-values with the specified constant, and store the resulting grid file on disk under the output file name you selected.
The requested diagram(s) will be displayed in a RockPlot2D tab and/or RockPlot3D tab in the Options window. If you requested a statistics report, it will be displayed in a Text Tab in the Options window.
- You can adjust any of the settings in the Options window and then click the Process button again to regenerate the diagram(s).
! Each time you click the Process button, the existing display(s) will be replaced.
- View / save / manipulate / export / print the diagram in the RockPlot2D or RockPlot3D window.
Back to Grid Menu Summary
RockWare home page