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

NameTypeRequiredDescription
productstringyesProduct code, e.g. “MOD13Q1”.
bandstringyesBand name from modis_list_bands, e.g. “250m_16_days_NDVI”.
latitudenumberyesLatitude in degrees, -90 to 90.
longitudenumberyesLongitude in degrees, -180 to 180.
start_datestringyesWindow start, YYYY-MM-DD or MODIS date such as A2020001.
end_datestringyesWindow end, YYYY-MM-DD or MODIS date.
buffer_kmnumbernoOptional half-width of a square window around the point in km, 0 to ${MAX_BUFFER_KM} (default 0).
include_qcbooleannoAlso fetch the product quality band(s) and attach raw QC values per date (default false).
qc_bandsarraynoExplicit quality band names to attach instead of auto-detected ones (implies include_qc).
itemsstringno
max_datesnumbernoMaximum 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

FieldTypeDescription
productstring
bandstring
latitudenumber
longitudenumber
buffer_kmnumber
sourcestring
unitsstring
descriptionstring
scale_factornumber
add_offsetnumber
fill_valuenumber
valid_rangearray
formulastring
tilestring
pixel_size_mnumber
countnumber
dates_with_valid_valuenumber
valuesarray
coverageobject
upstream_requestsnumber
date_cap_per_upstream_requestnumber
max_dates_this_callnumber
truncatedboolean
next_start_datenull
qc_bandsarray
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.

Regenerated from source · build December 2, 2026