I am trying to normalize the values in each band across images in the imageCollection I have filtered.
I tried running this here
var normalized_collection = l1c_collection
.filterDate(start_scene1, end_scene1)
.filter(ee.Filter.lt('CLOUDY_PIXEL_PERCENTAGE', 5))
.map(function(my_image){
var normalized_image = ee.ImageCollection.fromImages(
my_image.bandNames().map(function(name){
name = ee.String(name);
var band = my_image.select(name);
return band.expression(
'(x * slope) + intercept', {
'x': band,
'slope': 0.0342,
'intercept': 0.6494});
})).toBands().rename(my_image.bandNames());
return normalized_image;
});
However, the process returned an Error: User memory limit exceeded.
Is there a workaround to this?