daily pastebin goal
11%
SHARE
TWEET

Untitled

a guest Jan 21st, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var geometry = /* color: #0b4a8b */ee.Geometry.Polygon(
  2.   [[[110.49279650854476, 39.617434795765476],
  3.     [111.02014025854476, 36.57484614339866],
  4.     [117.48010119604476, 36.92695433193529],
  5.     [117.43615588354476, 40.35816406661026]]]),modis =ee.ImageCollection("MODIS/006/MOD13Q1")
  6.     .filterBounds(geometry)
  7.     .map(function(image){return image.clip(geometry)})
  8.     .filter(ee.Filter.calendarRange(4,7,'month'));
  9.     var modisNDVI = modis.select("NDVI");
  10.  
  11.     var maskQA = function(image) {
  12.       return image.updateMask(image.select("SummaryQA").eq(0));
  13.     };
  14.     var best = modisNDVI.map(maskQA)
  15.     print(best)
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