Follow

I get the error "Grids must be the same size" when using Grid Math or Grid Volume. What does that mean?

A grid is composed of a number of rows and columns of nodes.  The Grids | Calculate | Math or Grids | Calculate | Volume (when calculating the volume between two grids) command does its operations on a node-by-node basis and it requires that the two grids have exactly the same number of rows and columns and the exact same XY extents. The Grids must be the same size error occurs when the two grids do not have the same spacing in either the X or Y direction, or the same minimum/maximum values in either the X or Y directions.

 

While in the Grid Math or Grid Volume dialog, you can select a grid and click on the Grid Info button to get information about the grid, including the grid size (the number of rows and columns) and the X and Y extents.

 

You can correct this problem by changing one grid to match the XY extents and grid size of the other grid. You can do this a couple different ways:

 

Method 1: If you have the original XYZ data, you can regrid one (or both) of the grids by:

  1. Clicking Grids | New Grid | Data, selecting the data file for one of the grids and clicking Open
  2. In the Grid Data dialog, specify the # of Nodes, the Minimum, and the Maximum in the X and Y directions (X is columns, Y is rows) so it matches that of the other grid.
  3. Click OK to create the grid. 

 

Method 2: You can resample one or both grids using the Grids | Resize | Mosaic command:

  1. Click Grids | Resize | Mosaic, select one of the grid files and click Open.
  2. In the Grid Mosaic dialog, specify the # of Nodes, the Minimum, and the Maximum in the X and Y directions (X is columns, Y is rows) so it matches that of the other grid.
  3. Click OK to create the grid

 

Once the two grid files match in XY extents and grid size, then you can use them together in Grid Math or Grid Volume.

 

Updated February 9, 2017

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.