After apply MNDWI layer is showing fully blue colour here is my code applied in GEE
var sentinel = imageCollection.filterBounds(AOI)
.filterDate(‘2024-10-05’, ‘2024-10-10’)
// .filterMetadata(‘CLOUD_COVER’, ‘less_than’, 80)
Map.centerObject(AOI)
print(sentinel)
var image = ee.Image(‘COPERNICUS/S3/OLCI/S3A_20241008T041151_20241008T041451’).clip(AOI)
//Map.addLayer(image)
Map.addLayer(image , imageVisParam , ‘RGB’)
function MNDW_f(img){
//water mask
var MNDWI = img.normalizedDifference([‘Oa06_radiance’, ‘Oa12_radiance’]).rename(‘MNDWI’);
return img.addBands(MNDWI)
.updateMask(MNDWI.gt(0))
}
var IMG_water = MNDW_f(image)
Map.addLayer(IMG_water.select(‘MNDWI’),{palette:[‘blue’]},“IMG_water”)
I am looking retrive Chl-a from sentinel 3 in GEE