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.
Separates aggregate inputs (Arrays, Lists, or Dictionaries) into individual items that are then each passed to the specified reducer. When used on dictionaries, the dictionary keys are ignored. Non-aggregated inputs (e.g., Numbers or Strings) are passed to the underlying reducer directly.
Usage
Returns
Reducer.disaggregate(axis)
Reducer
Argument
Type
Details
this: reducer
Reducer
The reducer for which to disaggregate inputs.
axis
Integer, default: null
If specified, indicates an array axis along which to disaggregate. If not specified, arrays are completely disaggregated. Ignored for non-array types.
[[["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-09-19 UTC."],[[["\u003cp\u003eDisaggregates aggregate data structures like arrays, lists, and dictionaries into individual elements for processing by the specified reducer, ignoring dictionary keys.\u003c/p\u003e\n"],["\u003cp\u003eNon-aggregated inputs such as numbers and strings bypass disaggregation and are directly processed by the reducer.\u003c/p\u003e\n"],["\u003cp\u003eOffers an optional \u003ccode\u003eaxis\u003c/code\u003e parameter to specify the dimension along which to disaggregate arrays, enabling partial disaggregation.\u003c/p\u003e\n"],["\u003cp\u003eReturns a new Reducer instance incorporating the disaggregation behavior.\u003c/p\u003e\n"]]],[],null,["# ee.Reducer.disaggregate\n\nSeparates aggregate inputs (Arrays, Lists, or Dictionaries) into individual items that are then each passed to the specified reducer. When used on dictionaries, the dictionary keys are ignored. Non-aggregated inputs (e.g., Numbers or Strings) are passed to the underlying reducer directly.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------------|---------|\n| Reducer.disaggregate`(`*axis*`)` | Reducer |\n\n| Argument | Type | Details |\n|-----------------|------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|\n| this: `reducer` | Reducer | The reducer for which to disaggregate inputs. |\n| `axis` | Integer, default: null | If specified, indicates an array axis along which to disaggregate. If not specified, arrays are completely disaggregated. Ignored for non-array types. |"]]