Announcement: All noncommercial projects registered to use Earth Engine before April 15, 2025 must verify noncommercial eligibility to maintain Earth Engine access.
Stay organized with collections
Save and categorize content based on your preferences.
Applies a reducer across all of the images in a collection.
If the reducer has a single input, it will be applied separately to each band of the collection; otherwise it must have the same number of inputs as the collection has bands.
The reducer output names determine the names of the output bands: reducers with multiple inputs will use the output names directly, while reducers with a single input will prefix the output name with the input band name (e.g., '10_mean', '20_mean').
Usage
Returns
ImageCollection.reduce(reducer, parallelScale)
Image
Argument
Type
Details
this: collection
ImageCollection
The image collection to reduce.
reducer
Reducer
The reducer to apply to the given collection.
parallelScale
Float, default: 1
A scaling factor used to limit memory use; using a larger parallelScale (e.g., 2 or 4) may enable computations that run out of memory with the default.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-13 UTC."],[[["Applies a reducer function across all images within an ImageCollection, resulting in a single output Image."],["Reducers can operate on individual bands or multiple bands simultaneously, determining the output band names accordingly."],["Utilizes a parallelScale factor to manage memory consumption during computation."],["Access this functionality via the `ImageCollection.reduce()` method, providing the reducer and optional parallelScale as parameters."]]],[]]