Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.Reducer.setOutputs
Stay organized with collections
Save and categorize content based on your preferences.
Returns a Reducer with the same inputs as the given Reducer, but with outputs renamed and/or removed.
Usage | Returns | Reducer.setOutputs(outputs) | Reducer |
Argument | Type | Details | this: reducer | Reducer | |
outputs | List | The new output names; any output whose name is null or empty will be dropped. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["\u003cp\u003eAllows modification of a Reducer's outputs by renaming or removing them.\u003c/p\u003e\n"],["\u003cp\u003eEmploys the \u003ccode\u003esetOutputs\u003c/code\u003e method, accepting a list of new output names.\u003c/p\u003e\n"],["\u003cp\u003eOutputs with null or empty names specified in the list are removed from the Reducer.\u003c/p\u003e\n"],["\u003cp\u003eReturns a new Reducer instance with the adjusted outputs, leaving the original Reducer unchanged.\u003c/p\u003e\n"]]],[],null,["# ee.Reducer.setOutputs\n\nReturns a Reducer with the same inputs as the given Reducer, but with outputs renamed and/or removed.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------------------|---------|\n| Reducer.setOutputs`(outputs)` | Reducer |\n\n| Argument | Type | Details |\n|-----------------|---------|-------------------------------------------------------------------------------|\n| this: `reducer` | Reducer | |\n| `outputs` | List | The new output names; any output whose name is null or empty will be dropped. |"]]