Questions tagged [google-earth-engine]

Google's cloud computing platform for geospatial data & analysis at earthengine.google.com, which can be programmed using either Python or JavaScript client libraries.

Earth Engine has client libraries in both and .

807 questions
0
votes
0 answers

Error in ImageCollection$select() Error in py_get_attr_impl(x, name, silent) : OverflowError: Python int too large to convert to C long

I'm trying to apply $select at a imageCollection object in rgee but I face the error when I source my script: Error in py_get_attr_impl(x, name, silent) : OverflowError: Python int too large to convert to C long When I run every command…
0
votes
0 answers

Getting point coordinates onclick to Python API (Google Earth Engine plugin in QGIS)

I am working with Google Earth Engine plugin in QGIS and trying to get a point geomtry from QGIS to use in the python API code. I wrote some code that needs point coordinates to start the process. I can do that by generating the point inside the…
0
votes
0 answers

Join operation in an ImageCollection

I carried out join operation to help in smoothing out my images in a Landsat ImageCollection by getting at least 3 Images in a specified time window, obtain the median and then adding those images to the ImageCollection. I expected to obtain an…
0
votes
0 answers

Converting Aster L1T data radiance to surface reflectance in Google Earth Engine

I am working with ASTER images and I am trying to convert radiance values to reflectance. Currently, I converted DN values to radiance and I don't know what else to do. Also, I found a Landsat function, but I don't know if it works for this case.…
0
votes
0 answers

BOA: Layer error: List.get: List is empty (index is 0). when trying to transform landsat 8 composite ToA to BoA in Google Earth Engine

I am trying to compute BoA from a Landsat 8 composite image. However, I am getting the following error: BOA: Layer error: List.get: List is empty (index is 0). I would appreciate any…
0
votes
0 answers

Is there a function in Google Earth Engine (javascript) that can compare two lists against one list and storing the correct match in a new list?

I need to compare two lists of items (a,b) to one list (c). If a match is made, store it in a new list and If no match is found, keep the first list's label. Something like below- if a = c, keep a. if a != c, look at b. if b = c, keep b. If b != c,…
0
votes
0 answers

What is the "focal_mean()" morphological operator?

What is mean the "focal_mean" in the morphological operators? What is the algorithm behind this operator? which kernel algorithm is used in this process?
0
votes
0 answers

How to stream data from an URL to Google Earth Engine

I need to overlay live data from an URL (fuclrumapp.com) to overlay this with remote sensing output google earth engine. How can this be achieved? Does this need a pipeline through a different platform, as GEE does not seem to be able to import data…
Philipp R
  • 598
  • 6
  • 22
0
votes
0 answers

Soil Total Nitrogen Index - GEE

I am new to GIS and I need some clarification. There are vegetable indices available in Google Earth Engine like NDVI, EVI, SAVI etc. I need to know, is there any index available to map Soil Total Nitrogen Content? Or is there any way to calculate…
th145
  • 11
  • 2
0
votes
0 answers

Temporal Analysis using SoilGrids -GEE

SoilGrids provides the mapping of different properties of soil. I have executed their sample code on Google Earth Engine and it's working fine: var sand_mean = ee.Image('projects/soilgrids-isric/sand_mean') //print example image metadata and…
th145
  • 11
  • 2
0
votes
1 answer

Constructing a Mathematical Equation for Image Bands in Google Earth Engine

I am struggling with an equation, getting some syntax error in it, The equation is following: formula: (K2 / ln ((K1/TOA_band10)+1)) - 273.15 I am trying to do operation on image bands, but not being able to construct the right code. I have used…
0
votes
1 answer

GEE - Random Forest: how to calculate % variable importance?

I'm trying to calculate the importance (in percentage) of each variable in my model (using smileRandomForest) in GEE. var RFmodel = ee.Classifier.smileRandomForest(1000).train(trainingData, 'classID', predictionBands); var var_imp =…
frib
  • 13
  • 3
0
votes
1 answer

How to calculate SAVI with MODIS in Google Earth Engine (Getting Error: Image.select: Pattern 'B2' did not match any bands.)

I am trying to calculate SAVI vegetation index using MODIS data. But I am getting an error showing: Image.select: Pattern 'B2' did not match any bands. Code: countries = ee.FeatureCollection("USDOS/LSIB_SIMPLE/2017") canada =…
user14
  • 59
  • 1
  • 10
0
votes
0 answers

Color Palette reverses: Assigning specific color to one cluster and a different color to another cluster in KMeans. (GEE - PythonAPI)

I am trying to cluster the image using GEE API into 2 classes and the algorithm is working fine but when I am visualizing, the colors reverse. That is, for year1 -> class1: green, class2: yellow but for year2 the colors revert for the same lines of…
user14
  • 59
  • 1
  • 10
0
votes
1 answer

Applying function to image bands based on table values in Earth Engine?

firstly apologies: I am a beginner in Earth Engine, but googling my question hasn't yielded any results. I have a reasonable amount of experience with other languages/platforms. I have a table of data with headers 'name' and 'value' with N entries,…
jester_thomas
  • 133
  • 1
  • 6