create_grid
Interpolates XYZ point data from CSV, TSV, or text files into a binary Surfer grid (.grd), with configurable gridding algorithms, grid dimensions, and column mappings.
Instructions
Interpolate XYZ point data into a binary Surfer grid (.grd).
Args: data_file: CSV, TSV or whitespace text file containing X, Y, Z columns. output_grid: Destination .grd path (workspace-relative or absolute). Defaults to grids/.grd. x_col: 1-based X column. y_col: 1-based Y column. z_col: 1-based Z column. algorithm: Gridding algorithm; kriging by default. cols: Grid columns (10-4000). rows: Grid rows (10-4000).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"data_file": "<data_file>"
},
"name": "create_grid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cols | No | ||
| rows | No | ||
| x_col | No | ||
| y_col | No | ||
| z_col | No | ||
| algorithm | No | kriging | |
| data_file | Yes | ||
| output_grid | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |