write_raster
Write a 2D array to a raster file using a reference raster's grid to preserve spatial alignment.
Instructions
Write a 2D array as a raster using the grid of a reference raster.
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": {
"array": "<array>",
"reference_raster": "<reference_raster>",
"output_path": "<output_path>"
},
"name": "write_raster"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| array | Yes | ||
| dtype | No | ||
| output_path | Yes | ||
| reference_raster | Yes |