estimate_query_cost
Estimate credit cost and row count of a climate query by specifying spatial bounds, dates, and variables.
Instructions
Estimate the credit cost of a climate query before running it.
Use this before large queries (multi-year, large bounding box) to check the cost. Returns the number of credits that would be consumed and an estimated row count, without actually running the query.
Args: lat_min: Southern boundary latitude lat_max: Northern boundary latitude lon_min: Western boundary longitude lon_max: Eastern boundary longitude time_start: Start date, e.g. "2020-01" time_end: End date, e.g. "2024-12" variables: Comma-separated variable names
Returns: Estimated credit cost and row count.
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": {
"lat_min": "<lat_min>",
"lat_max": "<lat_max>",
"lon_min": "<lon_min>",
"lon_max": "<lon_max>",
"time_start": "<time_start>",
"time_end": "<time_end>"
},
"name": "estimate_query_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat_min | Yes | ||
| lat_max | Yes | ||
| lon_min | Yes | ||
| lon_max | Yes | ||
| time_start | Yes | ||
| time_end | Yes | ||
| variables | No | no2 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |