Above Ground Carbon
Steps
- Call data
- Change color scheme
- Clip to region
- Print results
Global Aboveground and Belowground Biomass Carbon Density Maps
from the year 2010
From NASA
//call the dataset
var dataset = ee.ImageCollection('NASA/ORNL/biomass_carbon_density/v1');
//Call the band - above ground biomass and adjust the min and max - change colors
var visualization = {
bands: ['agb'],
min: -50.0,
max: 80.0,
palette: ['d9f0a3', 'addd8e', '78c679', '41ab5d', '238443', '005a32']
};
//change the map center
Map.setCenter(-60.0, 7.0, 4);
//get the map to render
Map.addLayer(dataset, visualization, 'Aboveground biomass carbon');
first dataset ABG
//call the dataset
var dataset = ee.ImageCollection('NASA/ORNL/biomass_carbon_density/v1');
//Call the band - above ground biomass and adjust the min and max - change colors
var visualization = {
bands: ['agb'],
min: -50.0,
max: 80.0,
palette: ['d9f0a3', 'addd8e', '78c679', '41ab5d', '238443', '005a32']
};
//change the map center
Map.setCenter(-60.0, 7.0, 4);
//get the map to render
Map.addLayer(dataset, visualization, 'Aboveground biomass carbon');
second dataset GPP
//call modis GPP
var dataset = ee.ImageCollection('MODIS/061/MOD17A2H')
.filter(ee.Filter.date('2021-01-01', '2021-05-01'))
.select('Gpp')
.first()
.clip(geometry);
//select GPP band from data
var gpp = dataset.select('Gpp');
//visualize the data
var gppVis = {
min: 0,
max: 600,
palette: ['bbe029', '0a9501', '074b03'],
};
//Center the map
Map.setCenter(6.746, 46.529, 2);
//add the layer
Map.addLayer(gpp, gppVis, 'GPP');
add geometry
AGC
By Britta Ricker
AGC
- 48