I am trying to map a time series of Albedo, and then export it to a video. The mapping works fine, but I am getting the following error on the export:
Error: ImageCollection must have 3 or 4 bands.
But there is only one band in each of the BlackSkyAlbedo features (images).
The code is included below:
//Map over the dataset
var dataset = ee.ImageCollection('MODIS/006/MCD43A3')
.filter(ee.Filter.date('2017-10-01', '2018-05-01'));
var blackSkyAlbedo = dataset.select('Albedo_BSA_Band1');
var blackSkyAlbedoVis = {
min: 0.0,
max: 400.0,
};
Map.setCenter(-111.475, 45.23, 6);
Map.addLayer(blackSkyAlbedo, blackSkyAlbedoVis, 'Black-Sky Albedo');
print(blackSkyAlbedo);
var polygon = ee.Geometry.Rectangle([-118.79,42.50, -106.0,47]);
// Export
Export.video.toDrive({
collection: blackSkyAlbedo,
description: 'blackSkyAlbedo',
dimensions: 720,
framesPerSecond: 12,
region: polygon,
});