This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//google earth engine (GEE) modis - ndvi downlod | |
var us_extent = ... // create a geometry for the extent of your study area (such as the US). You can draw a rectangle in GEE. | |
function clp(img) { | |
return img.clip(us_extent) | |
} | |
var dataset = ee.ImageCollection('MODIS/061/MOD13A3').filter(ee.Filter.date('2000-01-01', '2021-01-01')); | |
var clippedVIIRS = dataset.map(clp); |