Skip to main content

Questions tagged [google-earth-engine]

Google's cloud computing platform for geospatial data & analysis at earthengine.google.com.

Filter by
Sorted by
Tagged with
0 votes
1 answer
17 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: ...
Aulia Sabita's user avatar
1 vote
0 answers
17 views

Distribution of SMAP L4 product delay

According to the NSIDC webpage, there is an average delay of SMAP L4 images of 2 days and 16 hours. I am however more interested in the distribution of this delay. When looking through images in the ...
Daniel Svendsen's user avatar
0 votes
0 answers
26 views

Export every Sentinel 2 image over a region of interest, not just the median

I'm trying to export Sentinel 2 images over a region of interest from 2010 to 2020 and I require every image and not just the median. I've tried using the following code : var dataset = ee....
Tejas Prasad's user avatar
0 votes
1 answer
20 views

Supervised classification ALOS-PALSAR Google Earth Engine

I need to create a supervised classification for flood detection with ALOS PALSAR in Google Earth Engine. How can I do this?
Paula Torres's user avatar
0 votes
1 answer
33 views

How to extract the mean value of a band in each image in a image collection in Google Earth Engine

I am trying to extract the mean value of a band in all of the images of a image collection so I can then plot the values in a box plot to find outliers etc. So far I have created a function that ...
Ben Watson's user avatar
0 votes
1 answer
18 views

GEE - Filter by list of partial PRODUCT_ID properties

I got a list of partial PRODUCT_IDS, like: var partials = ['S2B_MSIL2A_20210807T075609', 'S2B_MSIL2A_20210827T075609'] How do I filter a collection with that list? There are 2 functions: var ...
Flash Thunder's user avatar
0 votes
0 answers
13 views

Earth Engine Double Slider [duplicate]

I'm trying to make a UI component similar to the ui.Slider() component in Earth Engine, but I need it to have two sliders, so it can define a range between two numbers. I can make it work with two ...
Dave Morris's user avatar
1 vote
1 answer
30 views

Using reducer in GEE without changing nominal scale

I loaded the MAPSPAM dataset into my Google Earth Engine asset, meaning that I have the total planted surface of each pixel for many commodities. This value is absolute and computed over 5 minutes arc ...
Pierrick Rambaud's user avatar
1 vote
1 answer
24 views

Radiation Vegetation Index generated as completely white color

I was trying to perform the Radiation Vegetation Index (RVI) using Sentinel 1 SAR data. The code ran well but the image generated is completely white. Need help in regarding solving this issue. The ...
Arindam Chattaraj's user avatar
0 votes
1 answer
23 views

Error trying to calculate the NDVI of about 20 cities in the USA in GEE

I am new to GEE. I am trying to calculate the NDVI of about 20 cities in the USA. However, I keep getting this error: Error: User memory limit exceeded. (Error code: 3) I don't know how to solve it. ...
Mingfei's user avatar
0 votes
1 answer
35 views

What does SIZE in glcmTexture function in GEE mean?

I´m using entropy and GLCM function of Google Earth Engine.This is my code var roi = ee.Geometry.Polygon( [[[118.82488789073328, 31.189561414050857], [118.82488789073328, 31....
jingda's user avatar
  • 1
0 votes
1 answer
55 views

Tasks are "submitted to server"... but never "running on server"?

Yesterday afternoon, I submit a few tasks to Google Earth Engine and they ran just fine. Yesterday night, I submitted a few more. This morning, they look like there has been no progress done - they ...
Ana Catarina Vitorino's user avatar
0 votes
1 answer
69 views

Iteration of daily Fire Weather Index (FWI) calculations for the region of interest in Google Earth Engine

I decided to find out how the FWI index works for operational monitoring of the fire situation in the region. This is my first project on Google Engine and my programming knowledge leaves much to be ...
Mikita Rahouski's user avatar
0 votes
1 answer
26 views

Google Earth Engine empty list issue

I am intended to apply moving average function on a list of area values but the code returns empty list? Anyone has any idea? the code link: https://code.earthengine.google.com/...
AmirHossein Ahrari's user avatar
0 votes
0 answers
11 views

Getting black parts of the exported image using Export.toDrive

I am trying to export images from an image collection, the exported image is black with no values appearing in arcgis pro Here is my code: polygon = ee.Geometry.Polygon([xMin, yMin, xMax, yMin, xMin, ...
Lara's user avatar
  • 1
0 votes
0 answers
23 views

Find all connected pixels in GEE

I have two burned area maps in Google Earth Engine. I want to find and extract the pixels spatially connected to the previous year's burned area. Hereafter, I want to extract all the pixels spatially ...
Thomas's user avatar
  • 925
0 votes
0 answers
27 views

Mapping monthly max mean temperature

I need to map and determine the monthly mean max temperature for my study area between 2013 and 2023. The following code works, but I am confident that the result is not the monthly mean during the ...
Aldridge Nyasha's user avatar
0 votes
0 answers
30 views

Downloaded images and thumbnails much larger than specified area of interest using Google Earth Engine JavaScript API

I am a novice with Google Earth Engine. The aim of my code is to enable Sentinel-2 images (along with an NDVI layer) to be downloaded for a specified time period for a specified area of interest (aoi)....
leckos's user avatar
  • 1
0 votes
0 answers
9 views

For including in the calculations after cloud masking done in the image

First part of the code creating the test variables. var cloudShadowBitMask = 1 << 3; // pushes "1" 3 spaces to the left 001000 var cloudsBitMask = 1 << 5; // pushes "1"...
Kavitha Devi Ramkumar's user avatar
0 votes
0 answers
40 views

Earth Engine client library not initialized when using a dask cluster and xarray?

I'm trying to test running a simple math operation client-side using xee, an xarray extension for the Google Earth Engine API. When I set up the Dask client and run the compute() method I keep getting ...
Adriano Matos's user avatar
0 votes
0 answers
30 views

HTTPError: HTTP Error 403: Forbidden after entering ee.Authenticate() token code

This is my first time using geemap and ee libraries. I have followed every step and wrote the code below: import geemap import ee ee.Authenticate() After getting the token code from the pop-up ...
Sam Q's user avatar
  • 1
-1 votes
1 answer
15 views

Clip a imagecollection with a feature of the AOI shape

I calculated the NDWI with values greater than 0. On the other hand, I loaded a shape, like AOI, which contain diferents ponds if one with an id. I would like to clip the NDWI imagecollection with the ...
Lua Vita's user avatar
0 votes
1 answer
30 views

Using regular expressions to select multiple variables for a function in GEE

In GEE I'm using Awesome GEE's ESRI LULC Dataset to map out and mask water areas for the years 2017 to 2022. Due to it being an Image Collection of multiple dynamic years, I had to filter, mosaic, and ...
Needs_Caffeine's user avatar
0 votes
1 answer
24 views

Restricting to region of interest in GEE

I'm using the following code to visualise and export a monthly mean of satellite data. How can I restrict the analysis to a small region? I tried creating a rectangular geometry and adding ....
Simon Hales's user avatar
1 vote
3 answers
67 views

Why do I have EVI values out of the range?

I'm using Landsat 5 and 8 images to calculate EVI in Google Earth Engine. For what I read, the range of EVI is between -1 and +1 but I get values higher than +1 in all the EVI images. I need to ...
Sarahi Flores's user avatar
0 votes
0 answers
68 views

Topographic correction

I am trying to code the topographic correction and I get this error: "Image (Error) Image.constant: Parameter 'value' is required." I have seen a similar script for an entire collection, ...
djebbouri mohammed's user avatar
0 votes
2 answers
37 views

I can't get this GEE app to work when I publish it

I am very new to GEE. After the app is published, I access it through the link and get a flat map centered in the USA without any of the options programmed in the script. It's basically a study on 12 ...
Martín Francia's user avatar
0 votes
0 answers
18 views

Extract maximal, temperature with corresponding date using the for loop on GEE

I saw code which permitted me to extract maximal temperature from ERA-5 hourly data, so for each hour i have the maximal temperature and corresponding date. Now from this result i want to extract only ...
Technologies Future's user avatar
-1 votes
1 answer
24 views

Error generating chart: Image.parseExpression: Expression contains undeclared variables: [max] for vci, and tci [closed]

I have a problem creating the chart and there is error message expression undeclared variables var geometry = /* color: #d63000 */ /* displayProperties: [ { "type": &...
iqbalhabibie habibie's user avatar
0 votes
1 answer
49 views

xee: Total request size (56623104 bytes) must be less than or equal to 50331648 bytes

I am using xee, an extension of xarray to work with data from Google Earth Engine. I am trying to test computing NDVI through an xarray of Landsat imagery, but I keep getting this error. EEException: ...
Adriano Matos's user avatar
0 votes
1 answer
37 views

Why are two layers merged in GEE and how to seperate them?

I have flooded and permanent water layer selection through the following code: jrcSurfaceWater = ee.ImageCollection('JRC/GSW1_3/YearlyHistory') \ .filter(ee.Filter.calendarRange(...
M Waqar Anwar's user avatar
0 votes
0 answers
28 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 ...
primamuliaa's user avatar
0 votes
1 answer
41 views

Google Earth Engine - Filter Sentinel 1 by time not date

So I'm trying to filter sentinel-1 data in Google Earth Engine by time specifically rather than date. I'm trying to avoid morning acquisitions. So I know that the acquisition start time is contained ...
Mícheál's user avatar
  • 147
0 votes
0 answers
33 views

Evaluation of NO2 extraction code

I have two blocks of NO2 extraction code but they give different results. I can't figure out why and I'm not sure which one is correct. How do I determine this? First code: // Import the example ...
CS_RT's user avatar
  • 15
-1 votes
1 answer
22 views

Cannot export NDVI map to google drive on Google Earth Engine

I am trying to export an image of NDVI before a wildfire to my Google Drive but it keeps failing and I am unsure of what the issue is. the variable burntsite is a polygon I drew. var prefire = ee....
carpet's user avatar
  • 1
1 vote
1 answer
22 views

Delete/rename legacy accesss

How can I rename/delete legacy asset in Google Earth Engine? I made a mistake in naming it but I cannot see an icon to delete or even rename it.
FDRR's user avatar
  • 11
0 votes
1 answer
64 views

Image.gt: If one image has no bands, the other must also have no bands. Got 0 and 1 using Landsat 8

I am getting error Image.gt: If one image has no bands, the other must also have no bands. Got 0 and 1.: var imageCollection = ee.ImageCollection("LANDSAT/LC08/C02/T2_L2"), geometry = ...
iqbalhabibie habibie's user avatar
0 votes
1 answer
32 views

Error generating chart: No features contain non-null values of "system:time_start" from Landsat 8 image

I am getting Error generating chart: No features contain non-null values of "system:time_start" building a monthly landsat LST: var geometry = /* color: #d63000 */ /* ...
iqbalhabibie habibie's user avatar
0 votes
0 answers
39 views

Forest cover around GPS coordinates

I am trying to use the technique described in this thread: Calculating forest cover in given area/radius using Google Earth Engine Following is the code used to calculate forest cover around given GPS ...
Aung's user avatar
  • 1
1 vote
0 answers
46 views

Google Earth Engine Dividing Geometry Into 4 or 8 equal parts [closed]

I have a geometry in Google Earth Engine. It's basically extent of Landsat tile. For downloading an image in parts I want to break the geometry into parts. I have used covering grid, fishnet (geemap) ...
MS09's user avatar
  • 145
0 votes
1 answer
38 views

Flood: Layer error: Image.lt: If one image has no bands, the other must also have no bands. Got 0 and 1

I'm trying to copy the code of the video below but for my area Greece. It's about the Daniel flood. https://www.youtube.com/watch?v=hIoVwsAb_Pk&ab_channel=GeomaticsEngineering I write the code as ...
Evangelia Beli's user avatar
0 votes
1 answer
23 views

Producing image depicting number of days to value > 0 at each pixel in an ImageCollection with daily values of NDVI for North America

New to GEE but excited to learn more about it. I have produced NDVI values from the 'LANDSAT/LC08/C02/T1_L2' ImageCollection including every available day in 2022. I fitted a harmonic regression to ...
Charles's user avatar
0 votes
1 answer
59 views

Get the exact lat/lon, in some projection e.g. EPSG:4326, of each SMAP pixel in an image

Description I am extracting one single image from the image collection ee.ImageCollection("NASA/SMAP/SPL4SMGP/007") and clipping it with some ee.Geometry.Rectangle. When exporting with ...
Daniel Svendsen's user avatar
1 vote
0 answers
52 views

Connecting Planet imagery orders to Google Earth Engine

I am using the various guides available on the Planet website, which I find to be insufficient and often conflicting. I have a student user account with Planet, maybe thats my issue? I've setup within ...
Cecil's user avatar
  • 11
0 votes
1 answer
45 views

Using ee.Image.stratifiedSample with .smileRandomForest produces type error (python)

Can you advise me on how to correctly use .stratifiedSample to prep input for .smileRandomForest, using Google Earth Engine (GEE) Python API? I'm trying to create training data with .stratifiedSample. ...
user2748630's user avatar
1 vote
0 answers
24 views

Pattern 'VH' did not match any bands : Sentinel 1 between 2014 and 2017

I'm trying to use Sentinel 1 images on GEE in order to compute RVI between 2014 and 2017. While I'm seeing the VH band after 2017 I don't get any between 2014 and 2017. Does anyone have an idea of the ...
Aurélien Lengrand's user avatar
0 votes
1 answer
38 views

Google Earth Engine Error: "ee.ImageCollection(...).subtract is not a function"

I'm getting the error 'subtract is not a function', when I try to substract two images from each other, and eventually get the difference in the NDVI. Both images have an NDVI band with an NDVI value. ...
leoleo's user avatar
  • 3
0 votes
1 answer
31 views

How to continuously add bands to an image of an ImageCollection in Google Earth Engine

Consider the following code for Google Earth Engine: var sample_list = ee.List([0, 1, 2, 3]); var sample_bandNames = ee.List(['B1', 'B2', 'B3', 'B4']); var sample_function = function(image) { var ...
magus_e's user avatar
  • 15
0 votes
0 answers
44 views

Integrating Google Earth Engine (GEE) data into a Flutter app

How do I display Relative humidity map image produced by a GEE JS file in a Flutter App? I want to take country name and time as a user input and display the image accordingly. Link to the GEE file: ...
Bean's user avatar
  • 13
0 votes
0 answers
21 views

Google Earth Engine - Code won't run past September 2020

I have some code which can be found here. It calculates an environmental stress index coral reef regions using Google Earth Engine. I've tried to calculate some new data recently but I realised it won'...
mikejwilliamson's user avatar