Announcement: All noncommercial projects registered to use Earth Engine before April 15, 2025 must verify noncommercial eligibility to maintain Earth Engine access.
[[["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-10-06 UTC."],[[["\u003cp\u003eReturns the number of dimensions in each array band of an image.\u003c/p\u003e\n"],["\u003cp\u003eOutputs 0 for scalar image bands, indicating no dimensions.\u003c/p\u003e\n"],["\u003cp\u003eAccepts an input image and applies the operation on a per-pixel basis.\u003c/p\u003e\n"],["\u003cp\u003eProvides information about the structure of array-based images in Earth Engine.\u003c/p\u003e\n"]]],["The `arrayDimensions()` method determines the number of dimensions in each array band of an image, returning 0 for scalar bands. The examples demonstrate creating a 3-band image, converting it to a 2D array image, and then using `arrayDimensions()` to find the number of dimensions which was 2. Additionaly, it uses the `arrayLengths()` to get the lengths per dimension. The code is presented in both JavaScript and Python, showcasing consistent functionality.\n"],null,[]]