SHARE
TWEET

Untitled

a guest Aug 19th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var c = ic.filterBounds(geometry);
  2.  
  3. var withCloudiness = c.map(function(image) {
  4.   var cloud = ee.Algorithms.Landsat.simpleCloudScore(image).select('cloud');
  5.   var cloudiness = cloud.reduceRegion({
  6.     reducer: 'mean',
  7.     geometry: geometry,
  8.     scale: 30,
  9.     maxPixels: 1e9
  10.   });
  11.   return image.set(cloudiness);
  12. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top