GEE问题:使用reduceRegion求单点均值过程中出现值不一样的情况如何解决?

2024-06-28 09:44:07 浏览数 (1)

问题简介

我首先将 mean() 函数应用于图像集合,该函数会创建一个图像,其中每个像素都是该像素处所有图像的平均值。然后,对于 Point ROI,我希望将均值带添加到图表中,并显示平均值。问题是它们不同(-8.030 与 -8.524)。

函数

reduceRegion(reducer, geometryscalecrscrsTransformbestEffortmaxPixelstileScale)

Apply a reducer to all the pixels in a specific region.

Either the reducer must have the same number of inputs as the input image has bands, or it must have a single input and will be repeated for each band.

Returns a dictionary of the reducer's outputs.

Arguments:

this:image (Image):

The image to reduce.

reducer (Reducer):

The reducer to apply.

geometry (Geometry, default: null):

The region over which to reduce data. Defaults to the footprint of the image's first band.

scale (Float, default: null):

A nominal scale in meters of the projection to work in.

crs (Projection, default: null):

The projection to work in. If unsp

0 人点赞