Skip to main content

Questions tagged [cloudmasking]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
36 views

Sentinel-2 QA60 band missing?

When performing cloud masking for Sentinel-2 images using QA60 band, I found that after February 2024, the QA bands of Sentinel-2 images are all "masked". In this case, I can't perform cloud ...
Chang Zhou's user avatar
0 votes
1 answer
48 views

Cloud Masking for Landsat 8 (LANDSAT/LC08/C02/T1_L2) in Google Earth Engine

I am trying to mask clouds in Landsat 8 surface reflectance imagery but I am getting a white output (Left image below) - the expected imagery is on the right. Below are the lines of code. var image = ...
Godwin Oluwaseyi's user avatar
1 vote
2 answers
112 views

Cloud masking ECOSTRESS LST data

I have downloaded a land surface temperature (LST) raster from ECOSTRESS as well as it's associate cloud mask (you can sign-up for free here and download your own data). NASA's tutorial (minute 31:15) ...
Nikos's user avatar
  • 1,093
0 votes
0 answers
29 views

Extracting QA bits for cloud mask with MOD09GA state 1km band using Google Earth Engine

I'm working on code for detecting fog and low stratus (FLS) using the QA bits from the state_1km band of the MOD09GA.061 product. I'm trying to select pixels classified as clouds (bit 0-1 Cloud State: ...
Andres Arguedas's user avatar
0 votes
1 answer
42 views

Still clouds after cloud masking in MODIS daily reflectance 250m

I try to use "QC_250m" to mask out cloud pixels from MODIS daily reflectance 250m collection, but it did not completely remove cloud pixels. Here is the code var terra = ee.ImageCollection(&...
Tuyen's user avatar
  • 211
0 votes
0 answers
43 views

QGIS - cloud masking and how to mosaic

I have downloaded two Landsat 8 images for the year 2015 (one from May and one from July) from Earth Explorer and they both have minimal cloud cover. I'm at the pre-processing stage, where I want to ...
anonymous's user avatar
0 votes
0 answers
15 views

Cloud Masking and Compositing Landsat SR Timeseries in GEE Python Colab - Fails to Export

I'm trying to create a seasonal (dry/wet) Landsat NDVI time series for multiple sites in an area over a span of approximately 30 years within Google Earth Engine's Python Colab. Each site will have a ...
Ally's user avatar
  • 1
1 vote
1 answer
67 views

Use of bitmask to remove undesired pixels from an image collection

I am using the HSL30 product to download monthly images for a single year. As it is now, I am not accounting for clouds, cloud shadows, snow/ice in the image collection. I would like to remove pixels ...
Nikos's user avatar
  • 1,093
1 vote
1 answer
109 views

Cloud detector s2cloudless run locally is masking non-cloud

I am trying to use the Cloud-detector on locally stored S2-Images in .SAFE format (L1C). I ran the cloud detector and the cloud mask that is returned comes completely wrong. Is there something wrong ...
rrwork___'s user avatar
2 votes
0 answers
90 views

Fmask algorithm identifies buildings as Clouds for Sentinel-2

I am using the Fmask algorithm in order to mask clouds from my Sentinel-2 L1C images. I am doing this in python and I am following the documentation found on their website https://www.pythonfmask.org/...
rrwork___'s user avatar
0 votes
1 answer
311 views

How to mask clouds and shadows for Landsat 5 Collection 2 Level 2 data in Google Earth Engine

I want to create a cloud-free composite for Landsat 5 data and I want the shadows to be masked as well. However, the code only includes the clouds. I am extremely new to this and cannot find any ...
pb8282's user avatar
  • 1
3 votes
1 answer
475 views

Mask Clouds and Cloud Shadow on Landsat 8 images using Google Earth Engine

I'm creating a composite image using Landsat 8 as I want a monthly composite of an area without clouds. I'm having trouble with masking the clouds. I'm using this dataset and I am applying the code ...
rrwork___'s user avatar
0 votes
1 answer
46 views

How to avoid, Tile Error: User memory exceed when trying to preform a Sentinel-2 SR cloud masking with s2cloudless

I am trying to create a 2 cloudless composites of Sentinel-2 imagery over a region of interest that is pretty cloudy. I found an example script in GEE java script API that does a pretty aggressive ...
user231432's user avatar
0 votes
1 answer
55 views

Cloud masking removes buildings and roads [closed]

I'm new to GEE and especially the cloud masking algorithms. I am trying to get a cloudless composite image of an area using ee.Algorithms.Landsat.simpleCloudScore(image) but I'm aware that this method ...
noor's user avatar
  • 1
0 votes
1 answer
50 views

Getting code to export monthly NDVI values

I am trying to export monthly NDVI values for 2007 for my asset 'M2007' which is a mangrove extent shapefile. I've been able to export following the same code, the monthly ndvi values for 2012, apart ...
Erika's user avatar
  • 1
0 votes
1 answer
156 views

s2cloudless sometimes masking out fields

I have implemented the s2cloudless code as written in the official documentation. The only changes I did were: Skipping the step where the median is calculated (I aim to do a time-series analysis); ...
Barbara Perez de Araújo's user avatar
0 votes
1 answer
478 views

Mosaicking cloud removed Sentinel2 imagery using Google Earth Engine [closed]

After struggling the cloud removing part of GEE, I have some questions regarding the mosaicking the result instead of using median(). What I learn about the difference between mosaic and median()/max()...
Cinnamon roll's user avatar
0 votes
1 answer
601 views

Cloud masking problem of Sentinel2 using GEE

I am trying to use Google Earth Engine (GEE) to remove the cloud and replaced it with other sentinel2 images. The codes below start from loading the images, mosaicing them, and applying cloud masking ...
Cinnamon roll's user avatar
1 vote
0 answers
284 views

GEE Temporal Gap Filling - Fill Landsat 7 cloud masked pixels to produce one image

Really new to GEE but trying to learn during my PhD... I am trying to fill the gaps created from cloud masking the Landsat 7 imagery I have. I have filtered by the study area (geometry), the cloud ...
Eleanor Elizabeth Wratten's user avatar
0 votes
1 answer
859 views

Cloud Mask for Landsat 7 Surface Reflectance Collection 2 Level 2 Tier 1

Below is a link to the code I've put together, but I am struggling with creating an updated cloud mask for Landsat collection 2 level 2 tier 1. I want to remove all cloudy pixels and mosaic all the ...
Eleanor Elizabeth Wratten's user avatar
0 votes
1 answer
850 views

How can I use Landsat QA band to mask clouds? (collection 2 level 1)

I am using Landsat 8 and 9 collection 2 level 1 data to calculate land surface temperature in ArcGIS. I want to create a cloud-free image using the QA band. How can I use the QA band to mask any ...
Lea's user avatar
  • 1
2 votes
0 answers
565 views

Mask cloud shadows of Sentinel-2 L1C (TOA reflectance) in GEE

I am trying to automate an analysis in Google Earth Engine using Sentinel-2 imagery. Sentinel-2 L2A (Bottom-of-atmosphere reflectance) imagery is not available in my study area, so I must use L1C (Top-...
kobe1503's user avatar
6 votes
2 answers
3k views

Different methods for masking clouds of Sentinel-2 images in GEE

Working with GEE I noticed that there are different methods for masking cloud pixels in Sentinel-2 images. I would like to clear up some doubts about the different methods. Here are two of the ...
sermomon's user avatar
  • 994
0 votes
1 answer
2k views

What is exactly masked by this Landsat 8 QA Pixel cloud masking procedure in GEE?

I'm aware that there are a lot of questions already on this topic, however, I could not find an answer to my problem. For a project, I need to use a script with a cloud masking procedure written by ...
saQuist's user avatar
  • 826
1 vote
0 answers
36 views

Mapping Cloud Correcting Function using Google Earth Engine [closed]

I'm using the JavaScript API of Google Earth Engine. I'm running code given here and described in the developers forum here. The functions supplied work independently of each other, but at the bottom, ...
Beck's user avatar
  • 301
0 votes
1 answer
2k views

Cloud masking and displaying Sentinel 2 image collection in Google Earth Engine

I am trying to use the functions proposed at Creating Sentinel-2 cloud free, cloud-shadow free composite or scene on Google Earth Engine (GEE)? to mask out clouds in a collection and display the ...
Olga Tutubalina's user avatar
1 vote
0 answers
323 views

Quality Control process for MODIS Leaf Area Index in GEE

I am trying to mask certain features from MODIS LAI image such as cloud cover and image quality. MODIS LAI has two quality control measures - FparLai_QC and FparExtra_QC. I tried doing it with the ...
Anu Rai's user avatar
  • 87
1 vote
0 answers
440 views

Landsat 8 Collection 2 cloud-free mosaics in Earth Engine

I am trying to get cloud-free mosaics from 6-months periods of Landsat 8 Collection 2 Surface Reflectance. So far I've used geetools. My code consists of multiple modules so I can't paste it all here, ...
Jan Pisl's user avatar
  • 736
1 vote
0 answers
491 views

The QA band of some Landsat 8 images seems to be invalid

I am quite confused about some invalid qa masks. In some images, the VALUE of the QA band is shown as 21824 (cloudless), but the location is actually covered by cloud. In addition to Landsat images, ...
Jianzhk's user avatar
  • 21
1 vote
1 answer
1k views

Masking clouds on Landsat8 with Python before NDVI [closed]

I'm new to remote sensing and trying to mask clouds with Python. I'm using the same method in Earth Data Science website (https://www.earthdatascience.org/courses/use-data-open-source-python/...
Hilmi Emre's user avatar
4 votes
1 answer
5k views

How to make a cloud-free composite for Landsat 8 Collection 2 surface reflectance in Earth Engine

Suppose I want to create a cloud-free composite of Landsat 8 Collection 2 surface reflectance images for summer 2021 of Washington state, USA. How can I do it? Here is the code to build the collection ...
Justin Braaten's user avatar
1 vote
1 answer
520 views

Keeping the property system:time_start after applying a cloud mask to a Sentinel-2 level 2A collection in Google Earth Engine

I am using the following collection: 'COPERNICUS/S2_SR' for a project in Google Earth Engine. I used the suggested code to mask clouds (mask2collection). However when I print some images of the ...
Gabriela Chaves's user avatar
1 vote
1 answer
589 views

Landsat 8 Collection 2 anomalies in TIRS1 data (from QA_PIXEL and ST_QA)

I am looking to use Landsat 8 TIRS1 data over a region in the Yukon, Canada and I am getting persistent masked pixels (from the PIXEL_QA or the ST_QA bands) along what appears to be the same Focal ...
ThrushJacket's user avatar
1 vote
1 answer
452 views

Creating mean image from cloud free images over ROI in GEE for the Landsat SR products

I want to filter all the available cloud-free images of the Landsat series of each year separately and find the mean image in Google Earth Engine. As my ROI is very small, I want images that don't ...
Badal's user avatar
  • 329
1 vote
1 answer
463 views

Masking clouds in S2 image collection and then fill null gaps?

I am trying to mask clouds in a Sentinel 2 image collection following this procedure: https://developers.google.com/earth-engine/tutorials/community/sentinel-2-s2cloudless#...
samm's user avatar
  • 13
0 votes
1 answer
48 views

Cloud Mask Assesment without Reference Cloud Mask

We have a cloud mask but we don't have reference data set to assess its accuracy. Without generating a reference dataset by ourselves is it possible to assess the cloud mask's accuracy?? For example; ...
RS_girl's user avatar
  • 139
3 votes
0 answers
890 views

Generation of snow cover area time series in GEE using MODIS Snow Cover product

My aim is to resample MOD10A1/MYD10A1 to the same scale as that of MOD11A1/MYD11A1, mask the image collection to obtain the best pixels, and finally to obtain the time series plot of the total area ...
Vineeth's user avatar
  • 57
1 vote
0 answers
54 views

Displaying the 8-Bit image's bits [closed]

I have an 8-Bit cloud mask derived using cloud masking software from Sentinel-2 L1C and want to visualize each bit separately. Is it possible? If yes, what kind of software can I perform this task? (...
RS_girl's user avatar
  • 139
6 votes
1 answer
4k views

Understanding the Cloud Mask in Google Earth Engine

I would like to understand what the logic of this code is (I know that with this code it is possible to mask the pixels classified as cloud and cloud shadow of Landsat 8 images). I'm still having some ...
Iago Mendes's user avatar
0 votes
0 answers
82 views

MAJA cloud mask TIFF file comparison with shapefile

I have created could mask using MAJA the result is TIFF file. I have a reference mask file which is a shapefile. I would like to see how accurately MAJA can produce the cloud mask as much as possible. ...
RS_girl's user avatar
  • 139
-1 votes
1 answer
1k views

Removing Cloud From Landsat 7/8 using Google Earth Engine?

I am beginner in GEE and trying to apply cloud mask in my study area. I found one code and trying to apply in my area: link: https://code.earthengine.google.com/31b5b21913eefdc05563dfec72c4ee08 I am ...
Muhammad Usman Liaqat's user avatar
3 votes
1 answer
2k views

Displaying the cloud free composite of Sentinel2 using s2cloudless in GEE [closed]

I applied the tutorial for 'Sentinel-2 Cloud Masking with s2cloudless' and have this script in GEE: https://code.earthengine.google.com/c525b3926841d4953e016e64682a4e5c In this tutorial, I do not ...
Paris's user avatar
  • 591
0 votes
1 answer
551 views

Cloud masking the Landsat-8 Surface Reflectance product without using GEE

I have a collection of Landsat8 Collection2 Level2 images (surface reflectance) and I would like to cloud mask those images somehow, so I can further make a time series of NDVI and other remote sensor ...
Stella's user avatar
  • 1
2 votes
0 answers
1k views

Median vs mean in GEE

I applied the cloud masking on Sentinel 2 imagery in GEE. The original image collection without masking clouds is this: First I tried the script exactly as written at the bottom of this page Sentinel-...
Paris's user avatar
  • 591