I'm processing an image with 6 bands (called D) according to a condition from another layer (forest fraction)
When the condition is met I apply a function to the unmasked pixels and as a last step I unmask my image (D_forest) using the original input D The resulting image is 'incomplete' however. Part of Russia and North America are cut out, and I don't understand how to overcome this issue. Sometime I also get the Error "Layer 2: Tile error: Reprojection output too large (20859x19524 pixels)."
I've tried to export to asset with no success.
output D_forest variable of part of Russia, if I click on the map (see red dot) the inspector will tell me that is masked
here part of the code:
#declare threshold nd apply it to layer var lt_th=80 var condition_FOREST = forest_fraction.select('tree-coverfraction').gt(lt_th); # function bandNames.forEach(function(band) { remove_f[param +'_' + band] = '(1-(('+lt_th+' - b("tree-coverfraction"))/1000)) * b("'+ param +'_' + band + '")'; }); //FOREST var D_forest_selected = D.updateMask(condition_FOREST); var reverseMask = condition_FOREST.not(); var D_forest_unselected =D.updateMask(reverseMask); // combine forest fraction layer and D layer var combinedD_forest = forest_fraction.addBands(D_forest_unselected); // Apply each expression to the combined image individually. var D_forest_done = Object.keys(remove_f).map(function(key) { return combinedD_forest.expression(remove_f[key]).rename(key); }); // cat and unmask layer var D_forest_done = ee.Image.cat(D_forest_done); var D_forest = D_forest_done.unmask(D); Do you know how I could get the D_forest output complete?
Here's the complete link to the script: https://code.earthengine.google.com/8e4e7d04f59323ce915b9b7c75194854

