本文就是reducer中进行array数组的获取,以便获取我们想要的最大最小值。这里我们需要知道几个函数:
ee.Array(values, pixelType)
Returns an array with the given coordinates.
返回具有给定坐标的数组。
Arguments:
values (Object):
An existing array to cast, or a number/list of numbers/nested list of numbers of any depth to create an array from. For nested lists, all inner arrays at the same depth must have the same length, and numbers may only be present at the deepest level.
值(对象):
要转换的现有数组,或要从中创建数组的任意深度的数字/数字列表/嵌套数字列表。对于嵌套列表,相同深度的所有内部数组必须具有相同的长度,并且数字只能出现在最深层次。
pixelType (PixelType, default: null):
The type of each number in the values argument. If the pixel type is not provided, it will be inferred from the numbers in 'values'. If there aren't any numbers in 'values', this type must be provided.
像素类型(像素类型,