The script file (.BAS) is zipped together with Sphere.srf and CYLINDER.SRF for coordinate definitions, and the ZIP is available for download from the link above and also from this knowledge base article.
To use the script:
- Download and unzip the contents of the attached crv2xyz10.zip file.
- Open Scripter, which comes with Surfer. You can open Scripter by clicking the Windows Start button and clicking All Programs | Golden Software Surfer 15 | Scripter.
- Click File | Open and open crv2xyz9.bas.
- Click Script | Run.
- Select the data file with the cylindrical, polar, or spherical coordinates and click Open.
- Enter a name for the new data file of XYZ coordinates to be created and click Save.
- Select whether the coordinates in the raw data are cylindrical or spherical (polar) and click OK.
- Select whether you would like to see a drawing of the coordinate system the script uses (it opens one of the included SRF files). Click Yes or No. If you click Yes, you will need to specify the full file location of the SRF files (e.g. c:\temp\).
- Enter the column letters of the data and click OK (use the column letters, e.g. abc, not numbers).
- Select if the data is in radians or degrees and click OK. The file is converted and saved.
Once you have XYZ data, you can create a post map or grid it to make other map types.
Updated October 9, 2017