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
0 answers
11 views

GEE outputs different number of groups for each year when performing grouped area calculation in GEE

I wrote a function that aims to calculate the pixel area of each of 19 land cover classes within a masked image's area (MODIS burned area). I mapped the function over 20 years of land cover and burn ...
KatieGeo's user avatar
0 votes
0 answers
26 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
0 answers
26 views

Mosaicking and exporting image collection in Earth Engine

I'm fairly new in Earth Engine so I would love to get another opinion on what I might be doing wrong here. Essentially my code is taking an image collection, mosaicking the images from the same date ...
RFN's user avatar
  • 1
-3 votes
0 answers
18 views

Wet and dry pixels [closed]

I want Google Earth Engine code that has dry pixels (pixels that are not affected by the flow of the river and have a relatively constant reflection) and points that are affected by the river flow and ...
Fateme Farahani's user avatar
0 votes
0 answers
29 views

Trouble preprocessing data in EE for machine learning,

I'm quite new to Earth Engine/QGIS (don't have an ArcGIS license), and I want to use a simple ML model to estimate ground-level O3 using satellite VCD, NDVI, and meteorological data. I am very lost in ...
pmarfatia's user avatar
-1 votes
0 answers
30 views

Calculating Total Suspended Solids (TSS) from Sentinel-2 Imagery using Google Earth Engine [closed]

I'm working on a project where I need to calculate Total Suspended Solids (TSS) concentrations in water bodies using Sentinel-2. I have developed a workflow that includes cloud masking, water body ...
JHONNY_2178's user avatar
1 vote
2 answers
42 views

error: Too many arguments to function

I want get 4 objects from histogram of a dataset in 136 line of code. getting one object is ok but for getting 4 objects (NDVI_before_histogram', 'NBR_before_histogram', 'gNDVI_before_histogram','...
Elahe Zafarian's user avatar
0 votes
1 answer
21 views

Overlay Image Date to Landsat Images from a collection

I am trying to extract the date of capture from a range of Landsat images on Google Earth Engine, then overlay that date onto each resepctive image before exporting the image series as a timeline. ...
Joseff Saunders's user avatar
0 votes
0 answers
19 views

FeatureCollection (Error) User memory limit exceeded

I am trying to execute a LULC map for my region of interest and I get the Error: stating User memory limit exceeded. Below is the code: var L8 = ee.ImageCollection("COPERNICUS/S2_SR_HARMONIZED&...
Ankita Varma's user avatar
0 votes
1 answer
16 views

Sentinel-1 query throws error: Collection.geometry: Unable to perform this geometry operation. Please specify a non-zero error margin. (Error code: 3) [closed]

I am trying to pull Sentinel-1 data via GEE for my master thesis and have found the following code to simplify things: https://github.com/adugnag/gee_s1_ard/tree/main/python-api It works perfectly, ...
Manu's user avatar
  • 1
0 votes
0 answers
11 views

Computation Timed Out Error in Google Earth Engine [closed]

I'm new to GEE. I am trying to use random forest classification to identify solar panels in a region of Brazil using a Landsat 8 median image and derived bands. However, the dataset seems to be too ...
Juan's user avatar
  • 1
-1 votes
0 answers
24 views

Project urban growth [closed]

I need to project the urban growth to the future of my city, but I couldn't find a methodology or a tool to use, I think on Dinamica EGO, GEE, or some plugin on a GIS like QGis or ArcMap i could, but ...
Esteban Vera's user avatar
0 votes
0 answers
22 views

Removing Landsat 7 Noise Lines From Single Composite Image in GEE [closed]

I am trying to calculate an average NDVI layer from June through September 2011 using Landsat 7 data. I've been trying to remove the noise lines associated with Lndsat 7 data after 2003 using data ...
Jason Edelkind's user avatar
0 votes
1 answer
13 views

Mask an image with a smaller image in GEE

I'm working with Google Earth Engine images and I would like to know if I can mask an Image with a smaller one. var image = ee.Image("a/big/image") var mask = ee.Image("a/small/binary/...
Pierrick Rambaud's user avatar
-2 votes
1 answer
20 views

Recover GEE repositories [closed]

I recovered my recently deleted Google account. However, I cannot see the repositories I had in GEE. There is a way to recover them?
Javier Martin DSM's user avatar
-1 votes
0 answers
11 views

Prevent timeouts in EarthEngine when apply Image.reduceRegion(ee.Reducer.histogram) on large extents [closed]

I am running into an issue, where the Image.reduceRegion(ee.Reducer.histogram) part of my code times out for large areas or finer scale imagery. Does anyone know if there are ways to optimize this? ...
Hayden Wilson's user avatar
-1 votes
0 answers
16 views

GEE timelapse code not working from drive

When I run the code, it appears complete for my AOI. But when download on drive, I can visualize my AOI just for parts and its incomplete. var Sentinel = ee.ImageCollection('COPERNICUS/...
user248914's user avatar
0 votes
0 answers
18 views

Google Earth Engine updateMask() with a mask of finer resolution gives strange results

It seems updateMask() will keep the projection of the original image. However, masking the original image with a finer resolution image produces strange results in the following calculation. As the ...
QRW's user avatar
  • 53
1 vote
1 answer
40 views

Exporting daily climate values in GEE for points over wide date range

I am new to using Google Earth Engine, but trying to extract climate variables for a wide date range on a large dataset. Example data can be found here: https://code.earthengine.google.com/?asset=...
margaretthughes's user avatar
0 votes
0 answers
21 views

How to export segmented image produced not using GEE images in GEE

I uploaded 6 bands to GEE and implement snic algorithm. I added the segmented image to the map and segments can be seen. However I can’t export this segmented image to drive. Is there any way to ...
user248497's user avatar
0 votes
0 answers
14 views

LST calculation on Google Earth Engine (chunk of data is absent on map)

I am using Google Earth Engine to calculate LST using the Landsat 8 data for Durban, KZN in South Africa. However a chunk of the LST data is absent for a portion of my study area . The true image and ...
Karishta Basidawu's user avatar
0 votes
0 answers
14 views

Google Earth Engine: inconsistent error when exporting to CSV "Error: Execution failed; out of memory. (Error code: 8)"

I have been working in Google Earth Engine to take a feature collection (timeseries_polygons) and then flatten it to export the resulting table to Google Drive as a CSV. I'm running this over hundreds ...
Mae's user avatar
  • 1
-3 votes
0 answers
28 views

LULC PREDICTION MAP IN GEE [closed]

I have made LULC MAPS of 2011 & 2023 In ArcMap 10.5. Now I want to do a prediction map for 2031. In this case, how will I match the color (palette) code of GEE with the LULC maps generated in ...
sougata Maji's user avatar
0 votes
0 answers
39 views

I cannot save the output of snic segmentation

This is my fist algorithm in GEE. I am trying to write snic akgorithm to get 6-band-segmented image. I cannot save the result of snic segmentation to Google Drive. How to I save the segemented image ...
RNM's user avatar
  • 1
-1 votes
0 answers
12 views

How to create a boxplot in GEE using JS code editor?

I have an image with all the required BoxPlot values as an individual band. I want to create a boxplot for each pixel when I click on it. Do you know how I can do that? combinedImage Image (7 bands) ...
Abinash Silwal's user avatar
0 votes
1 answer
26 views

Biweekly means of ERA5 data

I want to download the biweekly means of certain periods May-Sep of ERA5 data within a certain roi. (Mainly just Air/Soil Temp and Precip. The code I provided I just filtered for 2 weeks then applied ....
Ekkehardt Rosasee's user avatar
0 votes
0 answers
18 views

What causes geemap.extract_values_to_points() to produce such inconsistent results?

I'm trying to get the average pixel values over a period of time. I used two methods: (a) using .mean() to reduce ImageCollection first and then extract pixel values from the reduced image. (b) ...
LChen's user avatar
  • 13
1 vote
1 answer
42 views

Measure river width using GEE

I am trying to measure river width using GEE, but everytime this error coming up Feature collection( error) Image.clip: Parameter 'input' is required. // Goal: calculate river centerlines and widths ...
A Roy's user avatar
  • 11
0 votes
0 answers
30 views

Mapping burn severity with Landsat 7 [closed]

Well, in this link: https://www.un-spider.org/advisory-support/recommended-practices/recommended-practice-burn-severity/burn-severity-earth-engine explains that we can obtain the dNBR for mapping burn ...
Esteban Vera's user avatar
0 votes
1 answer
40 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
0 votes
0 answers
24 views

Saving pretrained random forest model for probability predictions in Google Earth Engine

I'm trying to export a pre-trained random forest model as an asset in Google Earth Engine, and then load it back in to predict on new data. The model is trained for binary classification, and I'd like ...
Nissim Lebovits's user avatar
0 votes
0 answers
13 views

Trying to export a time series of EVI values for a large asset in Google Earth Engine

I'm trying to export a time series of EVI data for a large asset containing 40,000 points. I am using the MODIS data. The code that I've written works when I extract data for 5 points, but it's not ...
Lauren's user avatar
  • 1
0 votes
1 answer
41 views

Sample raster (Landsat) using points (preferably using Python or maybe GEE Code editor)

I have a point shapefiles that covers an area of Multiple states and multiple Landsat (NDVI) tiles from a span of May-Sept for 2005, 2010, 2015, 2016, and 2021. Let's just focus on 2005 for now. I ...
Ekkehardt Rosasee's user avatar
0 votes
0 answers
19 views

Python errors using QGIS and Google Earth plugin

I'm new to this and I'm trying to use QGIS with the Google Earth Engine and PlanetScope plugins but I got this message, 2024-06-25T15:43:01 CRITICAL Authentication Manager : Retrieving ...
user247408's user avatar
0 votes
1 answer
18 views

GEE type casting / list creation and access to list-of-lists

I have difficulty in working (interchangeably) between client-side and server-side variables in GEE. I have two lists (defined as client-side variables) : var color_lst = ['604791', 'F648F1', '39a8a7']...
Sina NAKHOSTIN's user avatar
1 vote
0 answers
34 views

Creating a boxplot of monthly maximum NDVI values from Landsat time series on Google Earth Engine

I'm trying to create a boxplot from monthly maximum NDVI values in my study area from 1984 to 2024 using Landsat data. My idea is to plot the months from January to December on the x axis so the boxes ...
piBonacic's user avatar
0 votes
1 answer
26 views

Landsat 5 RGB displaying wrong colours GEE

I'm accessing a Landsat 5 image on GEE from the Collection 2 Tier 2 dataset (tier 1 is not available for these images). I'm displaying in B3/2/1 (i.e. R/G/B) but the white ice and snow shows up as ...
Beardsley's user avatar
  • 435
0 votes
1 answer
42 views

All NDVI Samples over period

I'm trying to extract a dictionary of every single NDVI sample in a given area for a given year. import ee import numpy as np ee.Initialize() point = [29.548087060269182, 34.88359141968356] area = ...
eThernet's user avatar
0 votes
1 answer
18 views

Changing property name within function in Google Earth Engine

I'm working with Dynamic World and am building functions that calculate zonal statistics of different land cover properties over time. In the code below, I have a binary image called for_2017 which is ...
user157564's user avatar
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
0 answers
25 views

Zonal statistics (area of pixels google earth engine) in vector polygon using integer raster

I am trying to calculate zonal statistics from a integer raster within a vector polygon calculating sum of pixels area in google earth engine. For this, I use this script. // Visualization parameters ...
Rakuri's user avatar
  • 1
-1 votes
0 answers
34 views

Extracting individual lakes as separate shapefiles

I created a binary lake mask for the Horn of Africa. How can I export each lake as a separate shapefile? Map.setCenter(42.0, 2.0, 5) var lakeMask = ee.Image("projects/ee-floodsbristol/assets/...
muhammad ali's user avatar
0 votes
0 answers
23 views

Global Flood Database v1 unmask 'jrc_perm_water'

I am using Google Earth Engine to generate mean area flooded in electoral districts of India. What is a good way to remove the values of permanent water from the 'flooded' band and generate aggregate ...
Tarana Chauhan's user avatar
1 vote
1 answer
36 views

GEE - Mean Cloudiness in a given time range, Sentinel producing multiple points for each day

I am trying to create a plot that represents mean cloudiness against day of year using Sentinel-2. As the plot shows, there are multiple points for a given day and it's very choppy. Should Sentinel be ...
eamrl's user avatar
  • 11
1 vote
1 answer
24 views

Using iterate to reclassify an image in Google Earth Engine

I'm currently working on transforming a raw DEM image into a reclassified image based on elevation ranges, assigning specific classes to certain elevation intervals. For instance, elevations between 0 ...
M. Nicolas's user avatar
  • 1,327
1 vote
1 answer
16 views

Google Earth Engine. Converting circular structure to JSON error

I am trying to filter road data from open street map to only roads that fall within a specified region in Earth Engine. The filterBounds commands is printing the following error: Line 24: Converting ...
Obleo Demandre's user avatar
1 vote
1 answer
40 views

How to create the fishnet grid in GEE using JS code editor?

I want to create a 10*10 pixel size grid for my AOI. 1 pixel = 10m var cellSize = 100; // Size of each grid cell // Get the bounds of the AOI var bounds = aoi.geometry().bounds().coordinates().get(0)...
Abinash Silwal's user avatar
0 votes
0 answers
20 views

Adjusting the control panel in GEE

I try to adjust the the size and distance of customized drawing tool control panel, but it failed. Specifically, I want to reduce the size of drawing sympols and control panel and move the control ...
Tuyen's user avatar
  • 211
0 votes
0 answers
14 views

Trying to remove non relevant plot points from a ui.chart.image.series in Google Earth Engine script

I am writing a pretty basic script to calculate the median NDVI in an ROI (in this case titled Naussac) in and then put it in a chart using the ui.chart.image.series function. The chart works, but ...
Gaben's user avatar
  • 1
1 vote
0 answers
29 views

Unexpected output from masked area calculation in Google Earth Engine

Using a 500m MODIS burned area dataset in GEE, I want to find the area burned in a period of time (say, a few months). Specifically, I want to find the area of pixels that have burned one or more ...
KatieGeo's user avatar

1
2 3 4 5
115