time series

Explore temporal variation in EVI

Copy the script below and fill out the ??

// filter province
var Kalutara = table.filter(ee.Filter.eq("NAME_1","??")).geometry();

// import modis evi data 
var EVI = ee.ImageCollection("MODIS/MYD13A1");

// filter for time
var EVI = EVI.filterDate('??', '??').sort('system:time_start', false).select("??"); 

// clip the image
var meanEVI = EVI.mean().clip(Kalutara)

// display the image
Map.addLayer(meanEVI,{min:0, max: ??, palette: ??}, 'mean EVI');

// Predefine the chart titles.
var title = {
  title: '??',
  hAxis: {title: '??'},
  vAxis: {title: '??'},

var chart = Chart.image.seriesByRegion(??, ??, ee.Reducer.mean(), 'EVI', 5000, 'system:time_start', 'PROJECT').setOptions(title);

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s