Geographic Information Systems Asked by shrippi on May 17, 2021
I want to display an color composite image from my image collection:
listOfImages = dataset_fxm.toList(dataset_fxm.size())
firstImage = ee.Image(listOfImages.get(0))
Map.addLayer(firstImage,{band:['B5','B4','B3']},"patan")
But the following error is showing up: name 'band' is not defined
.
And I have also used ‘bands’ for defining the bands, but still the same error.
I am running the task on jupyter notebook python API GEE.
It is the whole code? If yes, there are some stuff missing: You have to define the image collection and visualization parameter. Take a look at this question: Google Earth Engine - get true color (RGB) of Landsat 8 SR There is a complete snippet for Landsat 8 you can use.
Answered by ScienceNoob on May 17, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP