Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.Reducer.min
Stay organized with collections
Save and categorize content based on your preferences.
Creates a reducer that outputs the minimum value of its (first) input. If numInputs is greater than one, also outputs the corresponding values of the additional inputs.
Usage | Returns | ee.Reducer.min(numInputs) | Reducer |
Argument | Type | Details | numInputs | Integer, default: 1 | The number of inputs. |
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 2024-07-13 UTC.
[null,null,["Last updated 2024-07-13 UTC."],[[["\u003cp\u003eComputes the minimum value of the primary input and returns it as the output.\u003c/p\u003e\n"],["\u003cp\u003eIf \u003ccode\u003enumInputs\u003c/code\u003e is specified and greater than 1, the reducer also outputs the corresponding values of the additional inputs associated with the minimum value of the primary input.\u003c/p\u003e\n"],["\u003cp\u003eThe reducer is created using \u003ccode\u003eee.Reducer.min()\u003c/code\u003e and accepts an optional \u003ccode\u003enumInputs\u003c/code\u003e argument to specify the number of inputs to consider.\u003c/p\u003e\n"]]],["The `ee.Reducer.min()` function creates a reducer to find the minimum value from its inputs. It accepts an integer `numInputs` argument, defaulting to 1, specifying the number of inputs. If `numInputs` is greater than 1, the reducer outputs the minimum value along with the corresponding values of the additional inputs. It returns a reducer object.\n"],null,["# ee.Reducer.min\n\nCreates a reducer that outputs the minimum value of its (first) input. If numInputs is greater than one, also outputs the corresponding values of the additional inputs.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------------------|---------|\n| `ee.Reducer.min(`*numInputs*`)` | Reducer |\n\n| Argument | Type | Details |\n|-------------|---------------------|-----------------------|\n| `numInputs` | Integer, default: 1 | The number of inputs. |"]]