GRD Surfer 6 Text Grid (*.grd) Export Automation Options
Since the Export Options dialog is not displayed when the program is driven from an automation script, an options string can be specified in the script. The string consists of a series of comma-separated keywords that specify the behavior of the import. A typical example would be:
"UserselectValuesPerLine = 1, ValuesPerLine=5, BlankLinePerGridRow=1, NumericFormatType=1, NumericFormatDigits=5"
This would set the number of values on a line to 5, adds a blank line between rows of grid nodes, and sets the numeric format to fixed with 5 significant digits.
Option |
Action |
Default |
Description |
ValuesPerLine |
Integer |
"" |
Optional. Sets the number of grid nodes on a line in the grid file. Set to 0 to save grids with the same number of values per line as the number of grid columns. |
BlankLinePerGridRow |
0 = No blank lines per row. 1 = Append a blank line after every row of output. |
0 |
Optional. Sets whether a blank line should appear in the grid after every row of grid nodes. |
NumericFormatType |
0 = Exponential 1 = Fixed 2 = General |
2 |
Sets the numeric format for the grid node values. |
NumericFormatDigits |
Integer from 1 to 17 |
Sets the number of significant digits for the grid node values. |