Follow

How can I calculate the volume or area between contours with Surfer automation?

You can calculate the volume or area between contours either manually or by using a script to automate the process.
 

Manually

  1. Click Grids | Calculate | Volume.
  2. In the Grid Volume dialog,
    1. In the Upper Surface section, toggle Grid File and select a grid-based map from the dropdown list or click Browse to select your grid file. 
    2. In the Lower Surface section, toggle Constant and set the Z= value to the z level of the first contour.
    3. Click OK.
  3. Record the Positive Volume value for volumes, or Positive Planar Area value for areas from the report.
  4. Repeat steps 1-3, using the same grid file as the Upper Surface and the Z level of the second contour as the Lower Surface.
  5. Subtract the second Positive Volume/Positive Planar Area from the first to get the volume or area between the two contours.

 

Using Automation

The attached contarea2.bas script calculates the area between evenly spaced contour levels automatically.

To run this script:

  1. Download the BAS file.
  2. In a Windows Explorer window, navigate to C:\Program Files\Golden Software\Surfer 14\Scripter.
  3. Double click on Scripter.exe to launch Scripter.
  4. Click File | Open, select the BAS file from your downloads directory, and click Open.
  5. Click Script | Run to run the script.
  6. Follow the prompts to generate the report.

 

Updated February 13, 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.