The current analytics platform will be discontinued after January 31, 2024, and will be replaced by new advanced processing functionalities. This change will affect projects, workflows, jobs, data blocks, processing blocks, and custom blocks. For more information, see the blog post.
Description
A processing block that computes the Normalized Difference Vegetation Index (NDVI).
See this block on the marketplace.
How it works
NDVI is used as an indicator for vegetation health, and it's computed via the following formula:
Input bands are of data type unsigned integer, while the output is of type float. All metadata elements provided by the input dataset as properties are propagated to the output tiles.
Parameter | Overview |
---|---|
output_original_raster | boolean / required If true , the output of the original reflectance raster file is supplied ain addition to the NDVI image. The default value is false . |
Compatibility
Data blocks
- Sentinel-2 Level 2 (GeoTIFF)
- Sentinel-2 L2A (SAFE) (if combined with processing block Super-resolution Sentinel-2)
Catalog collections
Use in combination with Processing from Storage.
- Pléiades:
- Analytic
- Display
- SPOT:
- Analytic
- Display
- Pléiades Neo:
- Display
Example
A workflow with the following blocks:
{
"up42-processing-from-storage:1": {
"asset_ids": ["00210895-5405-4c0r-9bca-ccca551776f9"]
},
"ndvi:1": {
"output_original_raster": false
}
}
Capabilities
Input
raster
up42_standard | |
---|---|
bands | [
"red",
"nir"
] |
dtype | {
"or": [
"uint16",
"uint8"
]
} |
format | GTiff |
sensor | {
"or": [
"Pleiades",
"SPOT",
"Hexagon",
"Sentinel2",
"Landsat8",
"PNEO"
]
} |
Output
raster
up42_standard | |
---|---|
bands | [
"ndvi"
] |
dtype | float |
format | GTiff |
sensor | > (propagated) |