Investigate a volcanic eruption from space

Use this news article and the code below to find the picture above.


// import image colletion
var s2 = ee.ImageCollection("COPERNICUS/S2").sort("CLOUD_COVERAGE_ASSESSMENT");

// define dates
var startDate = ee.Date.fromYMD(??);
var endDate = ee.Date.fromYMD(??);

// apply the filters
var s2 = s2.filterDate(startDate,endDate) // filter date
.filterBounds(geometry); // filter location

// get the first image
var img = ee.Image(s2.first());

// add image to map
Map.addLayer(img,{min:0,max:3000,bands:"B4,B3,B2"},"image");

link

Advertisements