Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [cloud-cover]

in this context cloud cover refers to the fraction of a remote sensing image obscured by clouds. Do not use for questions related to cloud services.

0
votes
0answers
8 views

What are the steps to replace cloud mask areas of sentinel 2B_L2A image by same tile clear sentinel 2A_L2A image in SNAP 6 (Sen2Cor)?

I have done cloud mask for sentinel 2B L2A image in SNAP(Sen2Cor) by creating cloud mask for 10 m resolution using Band Maths for scl_cloud_high_proba, scl_cloud_medium_proba and scl_thin_cirrus ...
1
vote
0answers
17 views

Landsat 8 cloud band: how to understand their (bit) coding?

I am trying to understand how to use the Lansdat 8 cloud quality band. The user guide L8_Surface-Reflectance-Code-LASRC-Product-Guide.pdf does not explain much, but just gives tables (Table 7-1, 7-2 ...
1
vote
1answer
24 views

How can I set multiple values to null in one raster and replace all other values with another raster?

I am working with Landsat8 cloud data (BQA.tiff). I would like to set all medium and high confidence cloud/cloud shadow values (values listed below) to null and replace all other values in this image ...
2
votes
1answer
50 views

What is the difference between .filterMetadata(), ee.Filter.lte() and .sort() in google earth engine?

I am currently trying to obtain images that have less than 70% cloud cover (for example) and I have come across multiple variations of the same. Could you tell me what is the difference between these ...
2
votes
1answer
72 views

Computation Timed out error when creating a cloud-free composite of Sentinel-2

I am trying to create a cloud free-composite that covers my ENTIRE study area using Sentinel-2 data. But, everytime I run this code, I get a Computation Timed out error. I am simply loading an image ...
1
vote
0answers
45 views

Calculate cloud free median value for landsat 5, 7, 8 image collections in GoogleEarthEngine

I have an image collection of Landsat 5, Landsat 7 and Landsat 8 images. I want to calculate the median value of my image collection. Before that I want to exclude all cloudy pixels of my collection, ...
0
votes
2answers
47 views

maskClouds vs filter clouds on Google Earth Engine

On Lab 6: Time series analysis from https://developers.google.com/earth-engine/edu, there is maskClouds: var maskClouds = function(image) { var quality = image.select('BQA'); var cloud01 = ...
0
votes
0answers
35 views

Masking clouds on Landsat8 vs Sentinel2

https://code.earthengine.google.com/dff0d955447b5f0e94998ed2fcd0cf29 Thinking about an adaptation of Landsat time series example to Sentinel 2 instead, I'll say that code has three parts which appear ...
1
vote
1answer
70 views

How to mask out the shadows in Sentinel images using Google Earth Engine

This question is an addition to this question. Rodrigo E. Principe showed how to mask out the clouds as the answer of the asked question. I am wondering if there is a way to mask the shadows as well. ...
2
votes
1answer
100 views

Cloudfree images in small area from Sentinel-2

I have a similar question to this one here: Filter Landsat images base on cloud cover over a region of interest Different from the linked question I would like to find a more general solution that is ...
0
votes
1answer
103 views

Cloud Mask Landsat 7 Tier 2 TOA

I am trying to create a decent cloudfree mosaic of Landsat 7 Tier 2 TOA reflectance around the Amery Iceshelf in Antarctica. I did find a good script for landsat 8 TOA (Apply a cloud mask to a ...
1
vote
0answers
30 views

Geologica data UDM(unusable data mask) have 8 bits per pixel

UNUSABLE DATA MASK FILE(UDM) The unusable data mask file provides information on areas of unusable data within an image (e.g. cloud and non-imaged areas). The pixel size after orthorectification ...
0
votes
1answer
98 views

Apply .median reducer to image collection over roi EXCLUDING images with high cloud cover. GEE

I'm trying to train an algorithm to detect mangrove forests in several regions around Asia for each year using Landsat 8. When I apply the .median reducer on some image collections over a 1-year ...
1
vote
2answers
368 views

Landsat 8 BQA - using cloud confidence to create a cloud mask

I want to use the Landsat BQA (TOA images) to create a cloud mask in GEE. In particular I want to mask out all areas where there is high confidence that cloud cover is present. I have tried to adapt ...
0
votes
0answers
25 views

Where do those cloud data overlay images come from

Certain time-based (rain) cloud data appears on different sites and apps. This gives the impression that the rain and cloud data is available (for free or licensable), and that multiple sites make use ...
1
vote
0answers
182 views

How to preprocess and remove noisy data from Landsat-8 image Bands for ndvi time-series analysis

I'm working on satellite image processing, I'm calculating NDVI for time series analysis and vegetation prediction. I'm having a tough time removing the noisy data like, Cloud coverage Haze Cloud ...
1
vote
1answer
169 views

Quality of median image

I am trying to do supervised land use classification in a certain region. As this region is naturally prone to clouds, I have filtered the image collection on images with less than 10% cloud cover and ...
0
votes
0answers
25 views

Creating cloud feature after applying Landsat8 Cloud Masking [duplicate]

There is a script in GEE to mask cloud: // This example demonstrates the use of the pixel QA band to mask // clouds in surface reflectance (SR) data. It is suitable // for use with any of the ...
0
votes
1answer
231 views

Apply a cloud filter to a Landsat8 collection in Google Earth Engine

I have loaded a collection of landsat8 images bounded by sudanmaps. My goal is to filter out all images that have cloud in it. I tried the method given in Filter Landsat images base on cloud cover ...
0
votes
1answer
215 views

Cloud mask using pixel_qa

I need to create a cloud mask using the pixel_qa band, this is the code that I have so far: var city = ee.Geometry.Point(9.15, 45.18); var landsat8 = ee.ImageCollection('LANDSAT/LC08/C01/T1_SR') // ...
0
votes
0answers
130 views

Masking out cloud cover

How to mask out cloud cover in a LISS 3 image using Erdas Imagine? I did not find the appropriate tool for masking clouds in an image in the Erdas imagine environment.
0
votes
0answers
234 views

MODIS surface water and cloud shadow

I am trying to set up a daily water and cloud detection system and need to use a high temporal resolution. Therefore I intend on using daily MODIS imagery (MOD09GQ). In the water detection, cloud ...
1
vote
1answer
207 views

Masking cloud pixels for NDVI in QGIS

I'm using QGIS to analyze some image of the NOLA area pre- and post-hurricanes. I'd like to calculate NDVI and a couple other indices for the images, but I want to exclude pixels with clouds in them ...
4
votes
1answer
108 views

Chart of cloud cover over time

I am trying to create a graph with the cloud cover over time, per year. The following code gives me a graph, but I don't manage to get the dates on the x-axis line up chronological. Am I doing ...
0
votes
0answers
25 views

Seeking alternative to Cloud pixel, reduce command?

I'm trying to get a pixel value of a collection of 64 images and I saw that the ee.Reduce function was perfect for that but when I run the code it shows up that ee.Reduce is undefined. I tried to find ...
1
vote
1answer
422 views

Cloud cover percentage in Google Earth Engine

I'm doing a project at my university about the Cloud cover percentage in determinate areas in the world. I'm completely new to Google Earth Engine and I'm struggling a lot trying to find a solution ...
1
vote
1answer
601 views

Google Earth Engine - filter landsat by cloud cover over multiple polygons

I want to make a Landsat image collection that is totally cloud free over a SET of polygons. I have about 300 polygons (all within a single Landsat tile). I found this question, which is doing exactly ...
2
votes
1answer
332 views

Cloudless days count with MODIS in Google Earth Engine

I'm trying to estimate the total of clear days in a year with the help of state_1km band in the MOD09GA product. But I'm not sure if it is right, also the possible counts are higher than expected when ...
0
votes
0answers
88 views

Retrieve sentinel2 cloud mask through an API

Have you ever heard about an API to download sentinel2 cloud mask only ? Not all bands but just cloud mask. Because I just want to process a small part of each satellite tile and it's very time ...
0
votes
1answer
630 views

Apply a cloud mask to a Landsat8 collection in Google Earth Engine - time series [duplicate]

I have tried to apply a cloud mask for a landsat 8 collection using code1, code2, and code3 but none will work. code1 encounters the error of not working even after changing var mask = img.select(['...
0
votes
0answers
166 views

Cloud detection in various scenes in R

I have 99 LS8 scenes (mountainous terrain) and before processing them any further I would like to mask out cloudy and snow pixel since they might mess up the topographic correction I have to apply. My ...
2
votes
1answer
2k views

How do I create a Sentinel-2 cloud free, cloud-shadow free composite or scene on Earth Engine (GEE)?

Using this code, I am able to get a cloud-free composite, but it still includes shadows in my image. var collection = ee.ImageCollection("COPERNICUS/S2") .filterBounds(ee.Geometry.Rectangle(-85....
0
votes
0answers
87 views

Is it possible to create an average image of the analyzed period after the removal of the clouds to fill the flaws in the images?

// study area var local = ee.Geometry.Rectangle([-42.2974, -20.5299,-40.9406, -19.1815]); Map.addLayer(local); var landsat8 = ee.ImageCollection('LANDSAT/LC08/C01/T1_SR') // Fmask classification ...
1
vote
0answers
117 views

Finding least cloudy Sentinel-2 granule for non-rectangular ROI and given season in Google Earth Engine

We need to download cloudless Sentinel-2 data for a rather large number of regions of interest (ROIs), which are provided in the form of geojson polygons. Unfortunately, relying on the cloud cover ...
1
vote
1answer
506 views

Google Earth Engine: Finding least cloudy pixel of Landsat 8 images in ROI

I am having trouble cloud-screening Landsat 8 imagery in Google Earth Engine for a country with high cloud cover throughout the year. I have tried various techniques but unfortunately there is a ...
1
vote
1answer
553 views

Remove clouds in Sentinel 2A with R?

I would like to know how to remove clouds (create a cloud mask and its shadows) for Sentinel 2A data, using R (Windows). I have seen Information about this on Python or Matlab, but I work so far only ...
3
votes
1answer
3k views

Sentinel Cloud-free Collection Google Earth Engine Code Editor

I am trying to create and map an image collection (not image or mosaic if that is even possible), where QA60 defines the Cloud-mask. I have written the code below - however, it seems the Jan2016 ...
1
vote
1answer
205 views

What bands should be used to identify clouds using the cloud function of the landsat package in LANDSAT 8 scenes?

I am trying to use the clouds function of the landsat r package to identify clouds in my LANDSAT 8 scene. In the package help, it is said that reflectance bands 1 and 6 should be used: clouds(...
4
votes
2answers
438 views

AWS Sentinel 2 incorrect cloudy pixel percentage

For some tiles with low data coverage percentage metadata and tileInfo contain cloudy pixel percentage value equal 0. Examples: http://sentinel-s2-l1c.s3-website.eu-central-1.amazonaws.com/#tiles/37/...
1
vote
1answer
1k views

Add a 'cloud' band to Sentinel 2 images (GEE)

This script is used to mask out cloud in sentinel 2 images using a threshold for band 4: // Sentinel 2 cloud function var cloudfunction_ST2 = function(image) { // If band 4 is higher than 2500, ...
4
votes
2answers
3k views

Filter Landsat images base on cloud cover over a region of interest

My goal is to create an image collection that has 100% free cloud over a small region of interest, for example a lake. This script filters landsat 8 images based on location and cloud cover: var ...
1
vote
1answer
201 views

Cloud detection based on 4 bands

I have a series of satellite images in 4 bands (red, green, blue and NIR). What is the easiest way to estimate what percentage of each image is covered by clouds? The image is less than 1x1 km with 3-...
2
votes
1answer
571 views

Google Earth Engine. Looking for a way to have information for each location in the mentioned time period based on the non-cloudy layers

I am trying to work with landsat5 in Google Earth Engine and get some information for a list of locations (I have long/lat of the locations and their postal codes in a Fusion Table). I am looking ...
3
votes
2answers
2k views

Do clouds reflect NIR/Red bands

When using Landsat 8 imagery to calculate NDVI, will the NIR and Red bands be affected by cloud cover? In other words, will clouds produce a wrong NDVI calculation?
0
votes
1answer
237 views

Whole image cloud cover for LC8_SR?

I need to filter the LANDSAT/LC8_SR image collection using an assessment of total cloud cover in the entire scene of each image. i.e. each image in the collection is "in" or "out" based on a ...
3
votes
1answer
2k views

Apply cloud mask to sentinel 2 image in SNAP

I want to apply one of the cloud masks in the sentinel 2 file to the sentinel image. The sentinel 2 image I have downloaded features files concerning cirrus and opaque clouds at 10m, 20m and 60m. ...
2
votes
1answer
1k views

Sentinel-2 cloud mask with fmask

I'm trying to run fmask on a Sentinel-2 granule. I downloaded the 3.2 version of Windows stand alone software for Sentinel 2 from https://github.com/prs021/fmask When I try to run fmask by calling the ...
3
votes
1answer
1k views

Google Earth Engine. How to get cloud cover score for each image in image collection?

I want to estimate cloud cover of each image in an image collection + would like to print out results for every image. I can see that cloud cover estimates are available for each image in their ...
1
vote
1answer
754 views

Getting rid of clouds from Landsat using ArcMap?

I want to calculate deforestation using Landsat 2 images. Right now I am using the raster calculator to generate a NDVI image and then the reclassification or Iso Cluster Unsupervised classification ...
2
votes
1answer
95 views

How to interpolate noise values on a landsat image time series using flag data?

I need to create a function to interpolate noise values on a landsat image time series by the mean on a time span of 2 (xt+1 and xt-1). I´m using the fmask product to detect cloud and shadow, then ...