Mayon Volcano

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


Leave a Reply

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

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

Facebook photo

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

Connecting to %s