Empty Statistics from NDMI [Problem]

170
0
09-22-2022 01:59 AM
Labels (1)
MuhammadElbagoury
New Contributor

Hello everyone,

This code below returns an empty statistics. Although, it worked for other indices like (NDVI, NDWI).

gis = GIS(-----)

sentinel_img_lyr = ImageryLayer(-----, gis=gis)
AOI = '-----'
AOI = Geometry(loads(AOI))
ndmi_lyr = ndmi(sentinel_img_lyr, band_indexes='8 11')
ndmi_stats = ndmi_lyr.compute_stats_and_histograms(AOI)['statistics']
ndmi_stats

 

ArcGIS Pro version: 3.0

Tags (1)
0 Kudos
0 Replies