The name of the output (as key) for which a calculation of statistics and histogram are defined below. Each key must match with one of the `output.id` specified in a `setup()` function in an evalscript or be "default". If it is "default", the specified statistics and histogram will be calculated for all outputs for which calculation of statistics is not explicitly defined.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://api.sentinel-hub.com/schemas/CalculationDefinition",
"title": "CalculationDefinition",
"description": "The name of the output (as key) for which a calculation of statistics and histogram are defined below. Each key must match with one of the `output.id` specified in a `setup()` function in an evalscript or be \"default\". If it is \"default\", the specified statistics and histogram will be calculated for all outputs for which calculation of statistics is not explicitly defined.",
"type": "object",
"properties": {
"histograms": {
"description": "Histogram definitions. They can be specified differently for each band in this output.\n",
"type": "object",
"additionalProperties": {
"x-additionalPropertiesName": "band name",
"$ref": "#/components/schemas/HistogramDefinition"
}
},
"statistics": {
"description": "Statistics definitions. It can be specified differently for each band in this output.\n",
"type": "object",
"additionalProperties": {
"x-additionalPropertiesName": "band name",
"$ref": "#/components/schemas/StatisticsDefinition"
}
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.