I am exporting image assets to my google drive as GeoTiffs. Each asset was originally created by clipping an image to a feature and then reprojected to a slightly coarser resolution. Therefore when using the inspector in code editor, pixels not fully covered by the polygon have a weighted value shown in brackets after the absolute pixel value.
I am aware reductions like reduceRegions uses these weightings (unless you specify an unweighted() reduction). But I was wondering if there is a way to use the weightings when exporting an image asset to drive?
Ideally, for this analysis, if the absolute value of a pixel in code editor is 1000 and the pixel weighting shows as 50%, then the value exported to the GeoTIFF in my drive would be 500, whereas currently it seems to remain 1000.
Hopefully the description is clear enough, but say if you need a code example.