modis_point_subset
Pack: ornl-modis-subsets · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/modis_point_subset for the schema, then POST the same URL with its arguments for the data.
Values of one band of a product at a latitude/longitude over a date range, with the scale factor and offset applied (value = raw x scale + offset), fill values and out-of-valid-range pixels removed (null), and per-date dates. Optional square buffer in km (0 to ${MAX_BUFFER_KM}; 0 = the single pixel) returns mean/min/max over valid pixels. include_qc adds the raw quality-band value (centre pixel) per date. The service returns at most ${DATES_PER_CALL} dates per request, so this tool pages in chunks and returns at most max_dates dates per call (default ${DEFAULT_MAX_DATES}, cap ${HARD_MAX_DATES}); when the window has more, truncated is true and next_start_date is the date to continue from. Empty windows return empty_reason.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
product | string | yes | Product code, e.g. “MOD13Q1”. |
band | string | yes | Band name from modis_list_bands, e.g. “250m_16_days_NDVI”. |
latitude | number | yes | Latitude in degrees, -90 to 90. |
longitude | number | yes | Longitude in degrees, -180 to 180. |
start_date | string | yes | Window start, YYYY-MM-DD or MODIS date such as A2020001. |
end_date | string | yes | Window end, YYYY-MM-DD or MODIS date. |
buffer_km | number | no | Optional half-width of a square window around the point in km, 0 to ${MAX_BUFFER_KM} (default 0). |
include_qc | boolean | no | Also fetch the product quality band(s) and attach raw QC values per date (default false). |
qc_bands | array | no | Explicit quality band names to attach instead of auto-detected ones (implies include_qc). |
items | string | no | |
max_dates | number | no | Maximum dates to return in this call (default ${DEFAULT_MAX_DATES}, cap ${HARD_MAX_DATES}). |
Example call
Arguments
{
"product": "MOD13Q1",
"band": "250m_16_days_NDVI",
"latitude": 40,
"longitude": -105,
"start_date": "2020-03-01",
"end_date": "2020-05-31",
"include_qc": true
}
curl
curl -X POST https://gateway.pipeworx.io/ornl-modis-subsets/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"modis_point_subset","arguments":{"product":"MOD13Q1","band":"250m_16_days_NDVI","latitude":40,"longitude":-105,"start_date":"2020-03-01","end_date":"2020-05-31","include_qc":true}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('modis_point_subset', {
"product": "MOD13Q1",
"band": "250m_16_days_NDVI",
"latitude": 40,
"longitude": -105,
"start_date": "2020-03-01",
"end_date": "2020-05-31",
"include_qc": true
});
Response shape
| Field | Type | Description |
|---|---|---|
product | string | |
band | string | |
latitude | number | |
longitude | number | |
buffer_km | number | |
source | string | |
units | string | |
description | string | |
scale_factor | number | |
add_offset | number | |
fill_value | number | |
valid_range | array | |
formula | string | |
tile | string | |
pixel_size_m | number | |
count | number | |
dates_with_valid_value | number | |
values | array | |
coverage | object | |
upstream_requests | number | |
date_cap_per_upstream_request | number | |
max_dates_this_call | number | |
truncated | boolean | |
next_start_date | null | |
qc_bands | array |
Full JSON Schema
{
"type": "object",
"properties": {
"product": {
"type": "string"
},
"band": {
"type": "string"
},
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
},
"buffer_km": {
"type": "number"
},
"source": {
"type": "string"
},
"units": {
"type": "string"
},
"description": {
"type": "string"
},
"scale_factor": {
"type": "number"
},
"add_offset": {
"type": "number"
},
"fill_value": {
"type": "number"
},
"valid_range": {
"type": "array",
"items": {
"type": "number"
}
},
"formula": {
"type": "string"
},
"tile": {
"type": "string"
},
"pixel_size_m": {
"type": "number"
},
"count": {
"type": "number"
},
"dates_with_valid_value": {
"type": "number"
},
"values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"modis_date": {
"type": "string"
},
"calendar_date": {
"type": "string"
},
"value": {
"type": "number"
},
"valid_pixels": {
"type": "number"
},
"total_pixels": {
"type": "number"
},
"fill_pixels": {
"type": "number"
},
"out_of_range_pixels": {
"type": "number"
},
"qc": {
"type": "object",
"properties": {
"250m_16_days_pixel_reliability": {
"type": "number"
},
"250m_16_days_VI_Quality": {
"type": "number"
}
},
"additionalProperties": true
}
},
"additionalProperties": true
}
},
"coverage": {
"type": "object",
"properties": {
"first": {
"type": "string"
},
"last": {
"type": "string"
},
"total_dates": {
"type": "number"
}
},
"additionalProperties": true
},
"upstream_requests": {
"type": "number"
},
"date_cap_per_upstream_request": {
"type": "number"
},
"max_dates_this_call": {
"type": "number"
},
"truncated": {
"type": "boolean"
},
"next_start_date": {
"type": "null"
},
"qc_bands": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": true
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the ornl-modis-subsets pack
{
"mcpServers": {
"ornl-modis-subsets": {
"url": "https://gateway.pipeworx.io/ornl-modis-subsets/mcp"
}
}
}
See Getting Started for client-specific install steps.