All Questions
Tagged with landsat-8 google-earth-engine
166 questions
0
votes
2
answers
207
views
Google Earth Engine Error b.call is not function
I'm trying to display landsat 8 with Google Earth Engine that are clipped with my shapefile but there's an error. Is there something wrong with my script?
// Function to mask clouds using the ...
0
votes
1
answer
15
views
White patches on exporting band composite landsat 8 level2 image
I am using google earth engine and want to export landsat 8 (band- 2 to 7) composite but in earth engine image is clear but when i export and open image to arcgis its appear white patches there.
What ...
1
vote
2
answers
197
views
Extracting NDVI and EVI in Alaska (EVI is showing -2 to 2 values)
I am working on extracting NDVI and EVI across the Landsat 8 collection in Alaska. Everything seems to be going swell, except the calculated EVI values are going from -2 to 2 instead of -1 to 1. I ...
0
votes
0
answers
14
views
Ploting a landsurface time series using Landsat8 images on Google Earth Engine
The original code was for MODIS data, but I would like to do a time series with Landsat8 Tier 2 Level 2, which already has the LST values, you just have to apply the scalling factor. I modified the ...
0
votes
0
answers
27
views
Calculate land surface temperature in GEE
I want to calculate the land surface temperature, but when the equation is run, there is an error in the PV equation.
var emissivity = pv.expression('(0.985 *pv)+(0.960 *(1-pv))+ 4 * 0.01 *(pv(1-pv)))'...
0
votes
2
answers
761
views
geetools:batch not working in 2022 Google Earth Engine (GEE) (solved)
I am pretty new to GEE, but somehow find my way to get an imagecollection that I want to export. Then I find geetools:batch with this answer Link.
Objective and Problem: what I want to do is to ...
0
votes
1
answer
378
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 = ...
0
votes
1
answer
28
views
GEE Temporal Collection Landsat 8 C2L2T1 : Error: map(ID=0) Image.multiply: If one image has no bands, the other must also have no bands. Got 0 and 1
I am struggling with an Error of missing Bands from a temporal Landsat8_C2_L2_T1 Image Collection while retrieving the temperature over a time range.(tried it with 1 year and 10 years. same problem.)
...
0
votes
1
answer
64
views
Downloading .csv file with time series of Landsat 8 EVI2 from multiple points using Google Earth Engine
I am trying to download a .csv file with a time series of Landsat 8 EVI2 from multiple points using GEE according to the following code:
var roi = ee.FeatureCollection([
ee.Feature(ee.Geometry.Point([...
1
vote
1
answer
267
views
Subtract two pixels-only- layers using rectangle extent
I have code in GEE that:
calculates the NDVI in a given polygon, from 2000 (based on Landsat 7) and 2019 (Landsat 8)
creates for each one a layer with pixels that their NDVI value is higher than 0.3
...
0
votes
1
answer
961
views
Land cover classification using Google Earth Engine, and involving SAVI and EVI indices
I'm trying to do a land cover classification using Landsat-8 OLI/TIRS. However, I want to involve indexes (SAVI, and EVI) in this classification process. I don't know how to solve this problem. Is ...
0
votes
2
answers
2k
views
Calculating LST from Landsat 8 in Google Earth Engine not showing correct values?
I'm trying to write a code for Land Surface Temperature (LST) from Landsat 8 images in the google earth engine. I have successfully calculated the following steps, NDVI, fractional vegetation (fv), ...
0
votes
1
answer
345
views
Obtaining land surface temperature in Google Earth Engine using GEET and TOA error is showing
I am very new to using GEE and only using for one unit I'm currently doing (only using for two months and I have no coding experience). I am trying to calculate the land surface temperature estimate ...
0
votes
1
answer
285
views
Get monthly NDVI and NDWI median for a year, from Landsat collection Google Earth Engine (GEE)
I am trying to get NDVI and NDWI per month, based on the median of the images in one month. For this, I am using Landsat8 collection an year 2018. I keep getting empty bands for the var monthlyStats. ...
2
votes
2
answers
2k
views
Calculation of brightness temperature in Kelvin from Landsat 8, Band 10
I tried to use expression to obtain the brightness temperature, It is showing some error.
Can anyone help me with this error?
I have used the co-efficient for band 10 given in metadata of Landsat 8,
...
0
votes
2
answers
678
views
Exporting Image Collection - Landsat-8 Surface Temperature (Google Earth Engine)
I've been trying to export the quarterly mean surface temperature derived from Landsat-8. I stumbled upon the batch module of fitoprincipe's. However instead of exporting a single image for each ...
1
vote
1
answer
395
views
Limiting cloud estimation of Landsat8_SR over ROI in GEE
I intend to create an image collection of Landsat-8 surface reflectance not TOA that has 100% free cloud over my Region of Interest (ROI). Not surprisingly the code I have found in the forum ( Filter ...
0
votes
1
answer
52
views
GEE Error : (intermediate value).rename is not a function for extraction of Temperature Condition Index
I'm trying to calculate Temperature Condition Index with LST for a year of 2020. But for the last step my code was error for function .rename. It was in line 127 for .rename('TCI') and the result is:
...
0
votes
0
answers
35
views
How to the image date/ metadata used when using the .median filter in GEE?
I am processing LST, NDVI, NDBI, & UHI data in a 1 year period. I used the .median filter function for filtering the dates.
My question is, how do I know what images to use? I've tried the ...
3
votes
2
answers
2k
views
Exporting GEE satellite imagery to Numpy array
I'm trying to extract LANDSAT-8 images around a lat/lon location, using the Google Earth Engine API for Python.
Specifically, I want to generate a bounding box of 1km by 1km around my point, and ...
0
votes
0
answers
66
views
Google Earth Engine Error: "Layer error: No valid training data were found"
I make a classification of landcover for 13 years from 2010 to 2022, but in 2022 I get "Layer error: No valid training data were found"
//Pemunculan SHP
var shp = ee.FeatureCollection("...
1
vote
1
answer
1k
views
NBR difference in Google Earth Engine
I want to use two NBR images(NBR1 and NBR2) for the differenced Normalized Burn Ratio (dNBR). But I can't identify the error of dNBR output.
Code snippet:
var NBR1 = landsat8_1.expression(
&...
-2
votes
1
answer
52
views
Land cover analysis GEE
I want to do a time series analysis analysis for land cover classification.
For 2024 I am using this dataset COPERNICUS/S2_SR_HARMONIZED
https://developers.google.com/earth-engine/datasets/catalog/...
0
votes
1
answer
314
views
Calculating LST from Landsat 8 in Google Earth Engine display a blank image
Why is it that when the following GEE code is used to calculate the lst of landsat8, the data statistics are correct, between 29°C and 55°C, but the output image is blank and the file is only 14.9MB?
...
0
votes
0
answers
29
views
How to download 5000 Cropped Images From GEE with Dynamic Names?
I have a CSV dataset where 5000 sat image data has been given lat, long, path, row, Date, and Landsat Name. I want to filter out images using date, path, row. Cropped out a 27*27 patch centered around ...
1
vote
1
answer
117
views
Google Earth Engine Landsat NDVI
I'm trying to map deforestation using Landsat NDVI time-series. But unfortunately I can't find the data from 2022 - 2023, on the other side data before that year is available. Can someone explain me ...
2
votes
1
answer
1k
views
Understanding Landsat 8-9 Pixel Quality Assessment (QA_PIXEL) Value Interpretations
Table 6.3 here describes the Landsat 8-9 Pixel Quality Assessment (QA_PIXEL) Value Interpretations.
Value 54596 contains both "clear" and "cirrus". What am I to make of it? A pixel ...
1
vote
2
answers
2k
views
Implementing a classification on Google Earth Engine
I am attempting to implement a classification based from a decision tree (attached as image below) where there are 5 classes. These classes are based off the different water reflectance values in ...
9
votes
2
answers
17k
views
Exported bands must have compatible data types; found inconsistent types: UInt16 and UInt32
What are the possible reasons for this error?
Exported bands must have compatible data types; found inconsistent
types: UInt16 and UInt32
This is the code:
Map.addLayer(PuntoQuellaveco1);
Map....
3
votes
1
answer
825
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 ...
0
votes
1
answer
172
views
Using cloud confidence to create cloud mask from Landsat 8 QA_PIXEL
I want to use the Landsat QA_PIXEl from this dataset to create a cloud mask in GEE. I only want to mask out the areas where there is high confidence that cloud cover is present. Looking at the ...
0
votes
0
answers
222
views
Timelapse in GEE
This code is working and the video is active but only images are there. I couldn't add the date (year) to the images. How can this step be accomplished?
// Define your collection
var collection = (ee....
0
votes
0
answers
91
views
Topo correction
How can I address the problems associated with the hills shadows in GEE, as shown in the screenshot attached? It brings a lot of complication.
AN IMAGE USED
// Filter to 2019 Landsat 8 images over ...
0
votes
1
answer
112
views
Missing Landsat 8 Surface Reflectance Data From August 2017
I was downloading surface reflectance data from GEE from March 1st 2017 to October 31st 2017. I should be getting data every 16 days because of the nature of Landsat 8. However, there is no data in ...
0
votes
0
answers
35
views
Missing Landsat 8 Surface Reflectance Data [duplicate]
I was downloading surface reflectance data from GEE from March 1st 2017 to October 31st 2017. I should be getting data every 16 days because of the nature of Landsat 8. However, there is no data in ...
3
votes
1
answer
689
views
Google Earth Engine - USGS Landsat 8 Level 2, Collection 2, Tier 1 metadata, should it differ from USGS guide?
I have been using "USGS Landsat 8 Level 2, Collection 2, Tier 1" and it's 'ST_ARAN' band and getting unexpected results.
On the GEE docs (https://developers.google.com/earth-engine/datasets/...
0
votes
1
answer
210
views
Downloading EVI from Google Earth Engine
I am trying to download images from Landsat's EVI collection off of Google Earth Engine. I saw another similar post here: EVI or NDVI collection image download that talked about the same issue. One ...
1
vote
2
answers
528
views
Filter out daytime image of LANDSAT 8 using Google Earth Engine
I saw an answer here saying that we should sort by 'system:time_start' but shouldn't that refer to the date (like 2015-05-01) instead of hour of the day? I also tried something like ee.Filter....
1
vote
1
answer
2k
views
Time series chart of EVI (Landsat 8) for a single pixel in GEE
I'm trying to chart out EVI for a single pixel(roi) over time.
Basically trying to do what this link does for NDVI and apply it to the EVI available from landsat 8 imagery, but have no clue how to do ...
0
votes
1
answer
52
views
Visualize mean NDVI for the past 4 years Jan to Dec to distinguish cropland in GEE [closed]
My goal is to perform supervised classification in a large area using Landsat 8 images. Since the area has a lot of vegetation, it is challenging to accurately distinguish agricultural areas. To make ...
0
votes
1
answer
810
views
Illogical Land Surface Temperature value from Landsat 8 Level 2 Collection 2 Tier 1
We have been working on a research about urban heat using Land Surface Temperature (LST) in Google Earth Engine. We analyzed the LST pattern in 2021 by using Landsat 8 Level 2 Collection 2 Tier 1. ...
0
votes
1
answer
33
views
Band calculations and sorting within a specified geometry
I am working on a small geographic area (< 50 km sq.) and am trying to find the 5-10 least cloudy Landsat images for my specified area. The issue I have is that if I simply use:
imageCollection....
0
votes
1
answer
686
views
Scaling satellite imagery before using it in GEE
I want to conduct an analysis on satellite imagery from the Sentinel-2 mission using Google Earth Engine, and after some research I made, I saw that the data always have to be scaled first before ...
0
votes
1
answer
130
views
LANDSAT 7 Surface Reflectance Missing Data For Large Swaths of Area
I am attempting to calculate the Green Chlorophyll Index across districts in Mali during the growing season(5/1-10/1) for the years2010 to 2019. I use Landsat 8 Surface Reflectance data for 2013-2019(...
0
votes
1
answer
162
views
Mask out non-bare soil pixels in Landsat8
I aim to create an Landsat8 image for bare-soil (no vegetation). To do this, I plan to derive the quantile of the bare soil index for each pixel and mask out pixels where the bare soil index has a ...
0
votes
1
answer
35
views
NDSI handling of areas that cross over a pixel
I am using GEE to calculate the NDSI on Landsat8 using a polygon area of 500m.
Since Landsat8 has a 30m pixel resolution, I wondered how the partial pixels are handled in the calculations.
Are they ...
5
votes
2
answers
23k
views
Calculating LST from Landsat 8 in Google Earth Engine?
I'm trying to write a code for Land Surface Temperature (LST) from Landsat 8 images in google earth engine. I'm using the code of this question as a guide and I succeeded at intermediate steps but I ...
4
votes
1
answer
416
views
(GEE) Constant value in Chart after applying scaling factor to LANDSAT
After applying a scaling factor to my LANDSAT collection 2 level 2 data the values seem to be off.
var addNDVI = function(image) {
var ndvi = image.normalizedDifference(['SR_B4', 'SR_B5'])....
1
vote
2
answers
724
views
Does USGS Landsat 8 Collection 2 Tier 1 TOA Reflectance need cloud mask before NDVI computation
For computing the NDVI I want to use USGS Landsat 8 Collection 2 Tier 1 TOA Reflectance LANDSAT/LC08/C02/T1_TOA does it need cloud masking or any other form of ''cleaning'' before I can use it?
0
votes
0
answers
213
views
NDVI values of Landsat 7 and 8 differ for same location and year (GEE)
The NDVI values for the same location and same year differ between Landsat 7 and 8. Even though I would expect a small difference the difference I found is too high.
var collection1 = ee....