Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Let P_1 be a given pixel and P_2 another pixel in your ImageCollection (IC) over a time period. Then, your imageCollection would be consist of several snapshots from each pixel like so: TS_1 = [P11, P12, ..., P1N] and TS_2 = [P21, P22, ..., P2M]. In the IC they might be present like IM = [P11, P21, P2N, P22, P2M]. i.e. the order of the images in the IC might be totally random in time and space (pixels). How do you know your code is being applied to each pixel separately?
why the EVI band is selected above if we are looking at NDVI? and why when EVI is taken out we get the error List (Error) Input array has length 3 on axis 0, but 4 labels provided. earth engine?
Each of these images correspond to a pixel, it is already just one value. It is not a region. So, reduceRegion does not work (It seems). I had tried that one to trick it (currently, line 79): code.earthengine.google.com/1d26adfb351c75380e98a9eace9ffaee
I want an ee.List or vector if you will, that is like L = [sum_1, sum_2, sum_3, ...] where sum_i is the only band value in the image_i in the ImageCollection. You can assume I have only one image with only one band called sum. How can I get the value of sum in the image? Then I can use map for all images in the ImageCollection Thanks