Raster viewport
Data and space / clio.raster-viewport.v1
Inspect a spatial field or image, including regions that can be captured for a follow-up question.
When to use it
Inspect a spatial field or image, including regions that can be captured for a follow-up question.
What the agent supplies
An interactive viewport for a registered two-dimensional grid, with sampled values, colour scale, and region reference.
The agent chooses the content and binds it to the component. CLIO then renders the view and its available controls.
The viewport can carry selected geometry or a labelled visual region into a follow-up, preserving the visual context of the question.
What the agent receives
The exact output of load_skill, including resolved local definitions.
load_skill("a2ui-catalog-clio-workspace", file="catalog.json#/components/clio.raster-viewport.v1"){
"allOf": [
{
"$ref": "https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"
},
{
"properties": {
"weight": {
"description": "Relative flex weight of this component inside a Row or Column. Only meaningful as a direct child of one.",
"type": "number"
}
},
"type": "object"
},
{
"properties": {
"band": {
"minimum": 1,
"type": "integer"
},
"colormap": {
"enum": [
"viridis",
"magma",
"plasma",
"cividis",
"turbo",
"grayscale"
],
"type": "string"
},
"component": {
"const": "clio.raster-viewport.v1"
},
"rasterUri": {
"pattern": "^artifact://artifact_[A-Za-z0-9_-]+$",
"type": "string"
},
"title": {
"$ref": "https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"
},
"unit": {
"type": "string"
},
"variable": {
"type": "string"
}
},
"required": [
"component",
"rasterUri"
],
"type": "object"
}
],
"description": "An interactive viewport for a registered two-dimensional grid, with sampled values, colour scale, and region reference.",
"type": "object",
"unevaluatedProperties": false
}
Standard refs (not loadable here): https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon, https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString