Search the Knowledgebase |
Browse by Category |
|
|
|
| How can I export the direction and magnitude data from a vector map? |
| User Opinions |
|
No users have voted.
|
|
Thank you for rating this answer.
|
To export the direction and magnitude information from a 1-grid vector map to an ASCII text file:
1. Export the direction/angle data. To do this, go to Grid | Calculus, select your grid file and click Open. Choose Terrain Modeling | Terrain Aspect. For the Output Grid File, click the button and change the Save as type to ASCII XYZ (Surfer 8) or DAT XYZ (Surfer 9). Click Save and OK. The DAT file will be created with the X, Y and angle data.
2. Export the magnitude data. To do this, go to Grid | Calculus, select your grid file and click Open. Choose either Terrain Modeling | Terrain Slope or Differential & Integral Operator | Gradient Operator. For the Output Grid File, click the button and change the Save as type to ASCII XYZ (Surfer 8) or DAT XYZ (Surfer 9). Click Save and OK. The DAT file will be created with the X, Y and magnitude data.
3. Combine the data. Open the two DAT files in the Surfer worksheet. One has XY-Angle information and one has XY-Magnitude information. Copy Column C from one data file and paste it into Column D in the other data file, so that all data is in one file. Go to File | Save As to resave the combined data.
|
| Visitor Comments |
|
No visitor comments posted. Post a comment
|
| Attachments |
|
No attachments were found.
|