2

First, what does mosaic? Composites all the images in a collection, using the mask. Returns: Image Since mosaic returns an image object, use this function at the end of the process, because if you removes clouds for a single image, you can't fill gaps. Apply mosaic.map(maskClouds) (as ImageCollection) instead maskClouds(mosaic) (as Image). But, is ...


1

This report uses the Forest Discrimination Index (FDI), described by Bunting and Lucas (2006) to create a mask. Essentially, the FDI for worldview2 is NIR2 - (RE + Blue), or band8 - (band6 + band2). You have to play around with the threshold, but here is a function I used in arcGIS Pro. One of the problems is that it will cut out buildings, roads, etc. For ...


1

There is probably a more elegant way, but you can do this using Con, SetNull, and InList, which functions like the in conditional operator you were trying. Con(IsNull(InList("q530_prj_Clip.tif", [2800,2804,2808,2812,6896,6900,6904,6908,2976,2980,2984,2988,3008,3012,3016,3020,7072,7076,7080,7084,7104,7108,7112,7116,2752,2756,2760,2764,3008,3012,3016,3020,...


1

Approach 1: all images in the collection within bounds that have less than 70% Approach 2: keeps all the images within the bounds, but sorts them by descending order (most cloudy first) Approach 3: all images in the collection within bounds that have less than or equal to 70% However, between filterMetadata() (A1) and filter(ee.Filter()) (A3) the result ...


1

Your problem most probably lies with the size of what you are asking Earth Engine to do. If you look at the order. var filtered = clipped.filterDate('2015-07-01','2018-08-30') .filter(ee.Filter.lte('CLOUDY_PIXEL_PERCENTAGE',5)) .map(cloudmask) // do this after you limit and it will be faster .sort('...


1

http://www.gisandbeers.com/generar-imagenes-satelite-sin-nubes/ Landsat and sentinel Cloudness mosaic Cloudness mask is similar as obtained with Principe`s Script, but using median instead min().


Only top voted, non community-wiki answers of a minimum length are eligible