I need to Load Landsat 8 TOA images, get the least cloudy 2015 image. Search engine shows several images.

How can I identify least cloudy image?


You can sort images using "CLOUD_COVER" metadata feature. The "least cloudly" images will be added as layer:

var imageCollection = ee.ImageCollection("LANDSAT/LC08/C01/T1_TOA");

var sorted = imageCollection.filterDate('2015-01-01','2015-12-31').sort("CLOUD_COVER",false);

Map.addLayer(sorted, {bands: ['B4', 'B3', 'B2'],max: 0.6},'toa reflectance');

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.