How can I find the maximum slope within an area around a point in Surfer?

To find the highest slope within an area around a point, create a slope grid, assign NoData values to the grid outside the desired radius, and view the grid info.

  1. Create the slope grid file.
    1. Click Grids | Calculate | Calculus. 
    2. In the Grid Calculus dialog, click in the Input Grid dropdown list and select the map layer created using your grid file, or click the Browse button to navigate to and select your grid file.
    3. Choose Terrain Modeling | Terrain Slope.
    4. Change the Output Grid name and location, if desired.
    5. Uncheck the box next to Add grid as layer to.
    6. Click OK and the grid is created. (Click OK in the Surfer dialog telling you the grid was created.)
  2. Now create a BLN defining the area you want to calculate the maximum slope in or draw a polygon in a base layer. Please see this article for instructions to create a BLN file. If you have Surfer 14 or newer, you can create the circular area around a point in a base layer using the Features | New Features | Buffer command as described in the article Can I add a buffer around my Surfer object (or a setback around a well)?
  3. Click the Grids | Edit | Assign NoData command.
  4. In the Assign NoData to Grid dialog:
    1. Select a map created using your slope grid file from the Input Grid field, or click the Browse button to navigate to and select your grid file.
    2. Select the base map created using your BLN, SHP, or DXF file from the NoData Polygon Boundary field, or click the Browse button to navigate to and select your boundary file.
    3. Toggle the appropriate option for the direction of blanking (inside, outside, or mixed).
    4. In the Output Grid field, enter a name for the new grid.
    5. Uncheck Add grid as layer to.
    6. Click OK.
  5. Click the Grids | Info | Grid Info command.
  6. In the Open Grid dialog, select the NoData grid file created above and click Open
  7. In the Grid Information report, scroll down to the Univariate Grid Statistics section. The Maximum is the maximum slope value in the specified portion of the slope grid.


For additional statistics about the slope in this radius, you can:

  1. Convert the GRD file to a DAT file (Grids | Edit | Convert).
  2. Open the DAT file in the worksheet (File | Open).
  3. Sort on Column C (Data | Data | Sort).
  4. Remove the rows with NoData values (1.70141e+038).
  5. Select the desired data cells.
  6. Click the Data | Data | Statistics command.
  7. Check the boxes next to the desired statistics.
  8. Click OK to calculate those statistics for the selected cells.


Updated November 7, 2018

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


Please sign in to leave a comment.