Questions tagged [google-earth-engine]

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

Filter by
Sorted by
Tagged with
2 votes
1 answer
26 views

Google Earth Engine - Blend Error

I have two different DEM images that I am trying to blend. The first is based on SRTM (DEM1) and the second on coastalDEM (DEM2), with different but overlapping areas. When I do var DEMblend = DEM2....
1 vote
1 answer
32 views

Unrecognized arguments to Dictionary constructor

My goal is to create collection of multi-band images, where each band is a constant number value which I've calculated in previous steps. It appears I'm constructing the dictionary incorrectly, ...
1 vote
1 answer
29 views

Convert an array of metadata to GeoTIFF, when the array was synthesized by smaller arrays, that correspond to same size tiles of a bigger image

I wanted to process the metadata of an image from Google Earth Engine (python) and the image was huge, which means I could not download. For this reason and since I know the boundaries, I thought it ...
  • 111
0 votes
0 answers
34 views

GEE: How to create a raster map by month that corresponds to the month of maximum NDVI

I want to select the month of the maximum NDVI during a period for each pixel in Google Earth Engine. I put this code but when I apply the classification, I got this error message (Date (Error) Date: ...
1 vote
1 answer
34 views

Pixel-wise max class count for ImageCollection in GEE

I am working with Dynamic World dataset. The label band gives me the pixelwise landcover class values. For any specific year, ImageCollection.mode() gives me the pixelwise most occurring landcover ...
0 votes
0 answers
96 views

SVM Classifier Probability Output is Opposite of RF and CART Classifiers using Google Earth Engine

I am working on a Peatland Fire Fire Susceptibility Determination on GEE using three classifier algorithms: RF, CART, and SVM. The outputs are fire probability and binary classification (1 = fire, 0 = ...
0 votes
0 answers
42 views

What does this "magnitude" mean? and how can I find the source code of this Ccdc algorithm function?

This Ccdc algorithm (first link below) can output several bands (second link below), and the explanation of the "magnitude" is confusing to me. How can I find the source code of this ...
0 votes
0 answers
36 views

Number.subtract: Parameter 'left' is required in a for loop

I have generated 86 grids covering the study area. I want to count NDVI information on multiple elevation gradients (eg 1300-1500, 1500-1700, etc.) within each grid. I already have a collection of ...
  • 1
1 vote
2 answers
34 views

Creating dynamic masks based on mask value list using Google Earth Engine

I wonder how to create a dynamic mask from a list of values. At the moment, I have it hardcoded as follows: mask = ( clipped.neq(10) .And(clipped.neq(80)) .And(clipped.neq(50)) .And(...
1 vote
1 answer
47 views

Google Earth Engine layers do not update on widget selection

Good afternoon, I'm trying to get a layer selector widget working. The first layer that loads appear to load fine, but when another layer is selected, the map doesn't clear first. In other words, it ...
-1 votes
1 answer
17 views

How to export Trassle cap transformation Index into Google Drive?

I have used the code to calculate Trassle cap transformation Index form of landsat 8 image. I want to export wetness index in google drive but it showing error `"Error: Image....
0 votes
1 answer
107 views

Speckle filter Sentinel 1 in Google Earth Engine

Are radar images already processed with speckle filter and in decibels? Below is my code, I am looking for a way to adapt it to those processes, though I don't know if the speckle can be added before ...
1 vote
1 answer
47 views

How to find hot and cold pixels of Temperature for SEBAL in GEE?

I want to find Hot and Cold pixels for SEBAL model. I created a yearly temperature from Landsat 8 collection. But I am struggling to find min and max values. var image = filtered.first(); print(image);...
0 votes
0 answers
29 views

Calculate the area of pixels with values below 0 in NDVI

I'm relatively new in GEE. I'm trying to calculate areas of different type of classification in GEE and I'm having a problem with it. The script code is: https://code.earthengine.google.com/...
  • 1
0 votes
0 answers
28 views

Manage cloud for the cloud-coverage pixels in Google Earth Engine (GEE)

I am about to extract the surface reflect dataset (sentinel-2) with the monitoring points I uploaded. I found that after cloud removal, I always got the points from the raster (surface reflect) with ...
0 votes
1 answer
17 views

Image (Error) User memory limit exceeded

I was trying download spectral bands. Below show my scrip, the first part do a mask for take off land cover i don't wish. After, i do a date cube, for download the spectral band, where each band is a ...
1 vote
1 answer
39 views

L7 issue with land use classification in Earth Engine

I am trying to classify land use in earth engine with L7 imagery, however a chunk of the region of interest is being left out as seen in the image. The code can be found here: //Set map centre Map....
  • 15
0 votes
1 answer
24 views

Max Pixels error in Monthly NDVI values

I'm trying to find monthly NDVI using Landsat but I'm facing max pixel error in my chart. when I use it to small geometry then code works fine for monthly NDVI but gives max pixels error for larger ...
1 vote
1 answer
30 views

Create a minimum and maximum raster from a stacked raster (series of images) in Google Engine

I am trying to write a script that can output a raster file based on the highest and lowest values ​​found in the list of rasters. It is similar to what r.series does in QGIS-GRASS. How can I do this? ...
0 votes
1 answer
49 views

Google Earth Engine scaling behavior of discrete vs continuous image data

I have a simple question related to how GEE determines continuous vs discrete data, specifically during scaling operations as described here. I am unable to find a proper description of this, but my ...
1 vote
1 answer
71 views

Smoothen the Sentinel-1 Time Series Graph Using Google Earth Engine

In order to study the growth pattern of crops, I tried to smoothen the Sentinel-1 time series graph using the following code but got the error. Error: ImageCollection (Error) ImageCollection.reduce: ...
2 votes
3 answers
64 views

Renaming band names with GeoTIFF in Google Earth Engine

I am trying to rename the band names of my raster stack in GEE. Here is what I have tried so far: var start_date = ee.Date('2020-11-01'); var finish_date = ee.Date('2020-12-01'); var orbit = '...
1 vote
1 answer
59 views

Coefficient of Variation Timeseries in Google Earth Engine

You can build a timeseries for mean or standard deviation band values over a geometry in Google Earth Engine (see code below). However, there does not appear to be an option to plot a timeseries of ...
1 vote
1 answer
66 views

Get value at a given point (latitude/longitude)

I'm working with the RESOLVE Ecoregions 2017 dataset, which is a dataset that depicts 800+ terrestrial ecoregions that represent the Earth. I simply need to specify a given point (longitude and ...
1 vote
1 answer
46 views

Incoming shortwave radiation for SEBAL in GEE

I am trying to create incoming shortwave radiation for SEBAL model in GEE. Unfortunately, the error occurs: <quote Image.select: Pattern 'EARTH_SUN_DISTANCE' did not match any bands. >quote var ...
0 votes
1 answer
21 views

Classifier training failed: 'Only one class.'

I am new to Google Earth Engine and am trying to classify landcover. I keep getting the error of "Classifier training failed: 'Only one class.'." However, I have multiple classes. var ...
  • 1
1 vote
1 answer
88 views

Area under curve of Sentinel-2 time-series using Google Earth Engine

I am working with Sentinel-2 time series in Google Earth Engine (GEE). I would like to calculate the area under the curve (AUC) defined by a smoothed time series using a Savizky-Golay filter. The ...
  • 479
1 vote
1 answer
46 views

Google Earth Engine Error: Computation Timed Out while plotting the NDVI Time Series Graph

I tried to plot the NDVI Time Series graph with the following code. but got this error Error: Computation timed out. Code: // Importing the Shape File of Area: var Dehradun = ee.FeatureCollection('...
0 votes
0 answers
56 views

Linear interpolation for missing dates in Google Earth Engine

I have missing dates with no data which I want to create data for using linear interpolation. Most examples create a masked layer and replace the masked values but its my understanding that to ...
1 vote
1 answer
32 views

Plotting NDVI vs ASPECT in Google Earth Engine

I tried to plot the values of NDVI against the ASPECT. but I'm getting the following error. Error: 1. Array (Error) Reducer.toList, argument 'tupleSize': Invalid type. Expected type: Integer. ...
1 vote
1 answer
31 views

Problem in calculating monthly pixel area chart in GEE

I'm trying to get weekly and monthly pixel area using the same technique which is used in daily bases. But I'm facing the error problem when I map area function on monthly images. Here is the ...
1 vote
1 answer
77 views

Filtering imageCollection to get only images that fully cover a specified geometry

I would like to perform a supervised classification only on the images of the collection that cover the entire geometry Domain. I used ee.Filter.contains but I get an error message in the console: ...
1 vote
1 answer
60 views

TOA for Landsat 8 images

I am trying to create at-sensor albedo for image collection of Landsat 8 for the year 2021. I created a function for that with applying ee.Algorithms.Landsat.TOA. But the error occurs: TOA: Layer ...
0 votes
0 answers
34 views

Apply scale factors to MODIS NDVI in the code to make time series of inter annual average in GEE

I'm new to GEE. I'm working on NDVI time series. I want to know how to multiply all the images inside a ImageCollection by scale factor 0.0001 to get real NDVI values to make chat of inter annual ...
0 votes
0 answers
13 views

Image.classify: Classifier has no training data

function clip(image){ var image_clip = image.clip(corn); return image_clip } //corn,代码编号为0 function setcorn(feature){ var new_feature = feature.set({landcover:"corn",index:0}); ...
0 votes
1 answer
31 views

Memory error in classification using GEE

I'm trying to do LULC from 1983 to 2010 using Landsat 5 image but I'm facing memory error in final classified image. I don't know maybe it is because of my samples. My code is Map.centerObject (...
0 votes
0 answers
37 views

Error: Cannot read the property of Undefined

This is the link to my code https://code.earthengine.google.com/?scriptPath=users%2Fshubhra29yadav%2Fndvi1%3ABreather I'm trying to create a legend which updates its color palette every time a band (...
  • 11
1 vote
1 answer
19 views

How to apply a working GEE code to many line segments with unique ID's (river width application using GSW dataset)

I have been working on a GEE code to estimate effective river widths using the Global Surface Water (GSW) dataset. The code uses two publicly available datasets (GSW and HydroLakes_polygons) and an ...
  • 33
0 votes
1 answer
24 views

Getting User memory error for generation chart

I'm trying to get Pixel area covered by NDSI but when Generate the chart, I get memory error I don't know why it is coming on larger area but not on smaller area. the code is. var allAreas = ...
1 vote
1 answer
42 views

Outgoing longwave radiation for SEBAL

I am finishing to create outgoing longwave radiation for SEBAL. I followed all steps but I have problems with the last equation. function addRout(image) { var t4 = ee.Number(image.select('...
0 votes
2 answers
55 views

How to add cloud cover which is an image property as a band in the image collection using GEE Python API

I am looking for percentage of cloud cover in my study region from landsat images. Here is the code I have got so far: def cloudcover(image): value = image.get("CLOUD_COVER_LAND")...
1 vote
1 answer
15 views

How to define an area in pixels inside a bigger bounding area GEE

I am using Google Earth Engine GEE to extract fire information, here I define a bounding box and I clip to that area, but I need to define a random 450x450 pixels area at random inside it to extract ...
  • 287
0 votes
1 answer
37 views

How to filter Image by date in Earth Engine?

I have found some sets of data, for example GEDI L4B which it says that has images for 2 years between 2019 and 2021. Since this is not an Image Collection, how do I get the values for some specific ...
0 votes
2 answers
42 views

Issue in applying condition expression to all band values in Google Earth engine

I want to apply the following condition statement to all the pixels of an indices image having only 1 band. The condition is as follows- For that first I have calculated the mean value of my image. ...
0 votes
1 answer
33 views

Adding list to Image Properties using Google Earth Engine JavaScript API

I am trying to iterate through an image collection and add a property to each image that is taken from a list. For example I want image 1 in the collection to have the property list item 1. I first ...
1 vote
1 answer
39 views

Error with Temperature for SEBAL

I want to create a layer of surface temperature for SEBAL model. I am using the standard model for LST for Landsat 8. When I run the code the following error occurs: Temperature: Layer error: ...
0 votes
0 answers
40 views

Add the date to an image collection on Google Earth Engine

My code takes a Sentinel 1 grid, classifies the pixels that are water then defines the depth of the water from a DEM. My goal is to plot a time series of a user chosen point of its value (depth in ...
0 votes
1 answer
114 views

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

I am trying to use the functions proposed here: 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 ...
0 votes
1 answer
70 views

Export as CSV after using for loop in GEE

I'm trying to use the for-loop function for a supervised classification over several dates. I have trouble exporting the accuracy metrics that are useful to me in a single CSV file. With my code I can ...
2 votes
0 answers
47 views

How to determine pyramiding policy?

Under scale, Google Earth Engine (GEE) mentions that: For continuous valued images, the pixel values of upper levels of the pyramid are the mean of pixels at the next lower level. For discrete valued ...
  • 666

1 2 3
4
5
91