In Surfer, in the Grid Data dialog, why doesn’t the Grid Line Geometry have exactly the same min/max as the original data?

The Grid Data dialog in Surfer may not always have the same minimum and maximum as the original data in the Grid Line Geometry section. If the data extents in the X and Y directions are very different from each other, this could cause the default grid extents in the shorter direction to not match the original data extents in that direction. This is because by default, the Grid Line Geometry is calculated so that the grid Spacing in both directions is the same and that each direction have a minimum of 4 grid nodes.

In the Grid Data dialog, this is how the default grid geometry is calculated:

  1. Surfer takes the min/max of the longest direction and divides it by 99 (100 grid nodes) to calculate the grid Spacing in that direction.
  2. Surfer then applies the same grid Spacing to the other direction. This is to ensure that the grid cells are square.
  3. If the other direction data min/max values are not equally divisible by this Spacing value, with a minimum of 4 grid nodes, then Surfer adjusts the grid min/max values in that direction so that it is equally divisible by the Spacing with a minimum of 4 grid nodes.

If you do have very different data extents in the X and Y directions, and you want the grid file to have the same XY extents as the data, you will need to manually enter in the minimum and maximum values for the shorter direction. You can click the Statistics button in the Grid Data dialog to get the exact data min/max values to enter under the Grid Line Geometry section. You may also need to decrease the Spacing value so there are at least 4 grid nodes in both directions.


Updated January 26, 2017

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


Please sign in to leave a comment.