Guest User

Untitled

a guest
Dec 14th, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. // Area of interest
  2.  
  3. var AOI = ee.Geometry.Rectangle([93.8, -8.8, 109.9, 6.84]);
  4.  
  5. // Go to the center of the map
  6.  
  7. Map.centerObject(AOI, 4 )
  8.  
  9. // Find MOD13Q1.005 Vegetation Indices 16 Day Global 250 m
  10.  
  11. var modis = ee.ImageCollection('MODIS/MOD13Q1')
  12.  
  13. // Filter the collection
  14.  
  15. var image = ee.ImageCollection((modis).filterDate(ee.Date('2000-01-01'),ee.Date('2017-12-31')).filterBounds(AOI));
  16.  
  17. // NDVI dan EVI
  18.  
  19. var NDVI = image.select(['NDVI'])
  20. var EVI = image.select(['EVI'])
  21.  
  22. //Print the image list on console
  23.  
  24. print(NDVI)
  25. print(EVI)
  26.  
  27. //Load it into map
  28.  
  29. Map.addLayer(NDVI);
Add Comment
Please, Sign In to add comment