Regularly spaced XYZ data can be converted to a grid file with little to no interpolation in Surfer using the Nearest Neighbor gridding method. This may be useful if you have a dense regularly space dataset that you want to view raw before editing or smoothing the data for display.
How to grid your regularly spaced data:
Before you get started, make sure you know the spacing of the data you're working with. This is the distance between each XY point when viewed as a post map or the mode if calculated via statistics.
- Click Home | Grid Data | Grid Data.
- In the Grid Data dialog, click Browse under Dataset 1
- In the Open Data dialog, select your data file and click Open.
- Verify the X, Y, and Z columns are assigned correctly.
- Click Nearest Neighbor under Gridding Method.
- Click Skip to End.
- On the Grid Data - Nearest Neighbor - Output page, enter the Spacing of the input data.
- Click the folder icon in the Output Grid field to choose a name and location for the grid file.
- Click Finish.
Alternatively, Surfer can read uniformly spaced data in matrix format directly as a grid file. See Using matrix data to create a map in Surfer for more details.
Post and Contour maps illustrating interpolation of regularly spaced data in Surfer
Additional Surfer Gridding Resources
- Surfer Gridding Training Video
- Edit a grid file in Surfer
- Choosing the right gridding method in Surfer
Updated May, 2023