New answers tagged

0

The code works, I had no problem running it with an extra filter. Since you didn't filter by region, the code could crash because it's iterating over the whole collection for that date range (thousands of images). Another thing, Sentinel-2's scale factor is 0.0001, not 0.001. So the first function and the image collection definition need small adjustments: ...


3

Your stepList.map(...) function is returning some images with no bands (and therefore no band names B4, B3, B2 that the evi function is looking for). Here I have added a valid property to each image in the collection based on whether it has bands, then filter the collection on that property. // Import landsat imagery. Create function to cloud mask from // ...


Top 50 recent answers are included