Announcement: All noncommercial projects registered to use Earth Engine before April 15, 2025 must verify noncommercial eligibility to maintain access. If you have not verified by September 26, 2025, your access may be on hold.
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
The gt function compares two numbers and returns 1 if the first number (left) is greater than the second number (right), otherwise it returns 0.
This function can be used with both server-side objects (like ee.Number) and client-side objects (like regular JavaScript numbers) in Earth Engine Code Editor.
To retrieve the result in the Python API, use the .getInfo() method after calling gt.
Returns 1 if and only if the first value is greater than the second.
[[["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 2023-12-06 UTC."],[],[]]