Fire count amazonia

Plot a timeseries of fires using FIRMS

Use the code below or click here.

var amazonia = ee.FeatureCollection("users/servirmekong/Temp/amazonia")

var dataset = ee.ImageCollection('FIRMS').select('T21')

var years = ee.List.sequence(2001,2019)

var maps = ee.ImageCollection({
var startDate = ee.Date.fromYMD(year,1,1)
var endDate = ee.Date.fromYMD(year,12,31)
var myImg = dataset.filter(,endDate)).max().gt(100).set("system:time_start",startDate)
return myImg

scale:1000}).setOptions({title: 'Fire count',
lineWidth: 1,
pointSize: 3}));

Map.addLayer(maps.max().clip(amazonia), {min:0,max:1,palette:['red']}, 'Fires');

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