I have a stacked raster from Landsat multispectral bands. I need to know how can I select a specific band from the stack layer in the raster calculator ArcGIS pro. Because the raster calculator just shows the name of the layer, not bands. Could anyone help me please?
You could use the Extract Bands raster function to extract the band of interest and then use this as input into raster calculator. Do see https://pro.arcgis.com/en/pro-app/2.8/help/analysis/raster-functions/extract-bands-function.htm
description = arcpy.da.Describe(raster)
for band in description ['children']:
if (band['name'] == 'Band_x'):