Intento calcular la temperatura media anual y mensual de la superficie terrestre para tres colecciones de imágenes de landsat8, Landsat5 y landsat7 (las colecciones de imágenes de landsat7 y landsat 5 están fusionadas). El problema es que hay un error:ImageCollection (Error) User memory limit exceeded, cuando intento unir dos colecciones de imágenes con bandas diferentes.
var filter = ee.Filter.equals({
leftField: 'system:index',
rightField: 'system:index'
});
// Create the join.
var simpleJoin = ee.Join.simple();
// Applt join
var thermalband8 = ee.ImageCollection(simpleJoin.apply(landsat8thermal, landsat8EM, filter));
var thermalband82 = ee.ImageCollection(simpleJoin.apply(landsat8EM, landsat8thermal, filter));
print('Joined', thermalband8, thermalband82);
var final_col8 = thermalband8.map(function(img){
// Create a collection with 1 image
var temp = ee.ImageCollection(ee.List([img]));
// Apply join to collection 2
// Resulting collection will have 1 image with exact same date as img
var join = simpleJoin.apply(thermalband82, temp, filter);
// Get resulting image
var i2 = ee.Image(join.first())
return img.addBands(i2)
});
print('band Names:',final_col8);
var LSt8function = function(image){
var LST8EQ=image.expression(
'(Tb/(1 + (0.001145* (Tb / 1.438))*log(Ep)))-273.15', {
'Tb': image.select('Thermal8'),
'Ep': image.select('EM')}).rename('LST8');
return image.addBands(LST8EQ)};
var LST8= final_col8.map(LSt8function);
print('band Names:',LST8);
Map.addLayer(LST8.select('LST8'),{min: -30, max: 32, palette: ['white','blue','green','yellow' ,'red']},'LST8');
He intentado trabajar en ello y el problema no está resuelto, necesito calcular la LST de cada imagen para utilizarla para estimar la temperatura media de la superficie terrestre (anualmente, y estacionalmente)