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
1 answer

Earth Engine Task Management - Cancel all Image export tasks from Python API

I have (~600) earth engine tasks that I'm hoping to cancel automatically because I know they will fail. However, some of my exports are vectors and they will likely succeed. How can I iterate over all running tasks and cancel those that are images?
Sean Carter
  • 121
  • 8
0
votes
1 answer

Get class table (e.g. landcover classes) with Google Earth Engine JavaScript API

How can I get the different Class Tables show in the "Bands" tab on https://developers.google.com/earth-engine/datasets/catalog/MODIS_061_MCD12Q1 with the JavaScript API? If I know the band I would like to use, "LC_Type1", how can I retrieve the…
0
votes
0 answers

Google Earth Engine Python API - Notebook Authenticator Error "Invalid Request"

I want to use google earth engine python API in google colab. When I run the ee.Authenticate() command, a link is given and it asks me for verification code. When I open the link and click on Generate Token. It gives me the error "Invalid…
0
votes
1 answer

Google Earth Engine: Extract a table from LandTrendr outputs

I wrote a code to extract the landover change using the LandTrendr algorithm. As the documentation said I put a code at last to extarct the array which includes the fitted or the original values. However, in my console I only see Image (1 Band) as…
0
votes
1 answer

Rename property with iteration number in Google Earth Engine JavaScript API

I am trying to pass many annual images through the following function to find the mean image value in each feature: var means = function(image){ var out = fun(image) out = out.reduceRegions({ collection: geometry, reducer:…
0
votes
1 answer

Error: reduceRegions is not a function in Google Earth Engine

I'm trying to get population density data from Google Earth Engine but i get an error. Line 17: gpw_roi.reduceRegions is not a function // Load GPW population count dataset var gpw = ee.ImageCollection('CIESIN/GPWv4/population-count'); // Define…
Shadow Walker
  • 979
  • 5
  • 27
  • 51
0
votes
0 answers

Split a polygon into multiple parts using lines in Google Earth Engine

I have a large bounding box geometry, and I am trying to clip it into 5 separate features/geometries using LineStrings that I generated. I am most of the way there but get stuck around line 51 of the code below. Any help would be greatly appreciated…
Ana
  • 421
  • 3
  • 12
0
votes
0 answers

Working on LULC classification by Random Forest Algo. Getting an error when I want to add the chart layer of classified image

I am working on the LULC classification by Random Forest Algorithm using GOOGLE EARTH ENGINE(GEE). I have classified the satellite image into four classes- water, vegetation, bareland and builtup. I want to print the chart of the classified image…
0
votes
1 answer

Cannot generate chart on albedo calculation - GEE

This is my code, i tried to generate the time series chart but the error message show up - "No features contain non-null values of "system:time_start". I use the same function to generate chart in my NDVI time series and works fine. can anyone help…
0
votes
0 answers

export max ndvi date layer as tif

i am trying to export a layer containing ndvi max value and the ndvi max date of each pixel. the visualization layer is good, but when it is exported to tif, i cant use it in GIS software (i use QGIS). the value is nan. here is the snippet of my…
0
votes
0 answers

Issue with authenticating Google Earth Engine in Jupyter notebook

I have a conda environment on my local computer through which I have installed the earthengine-api. If I type python to run python inline, and then do import ee followed by ee.Authenticate(), I am able to authenticate earth engine no problem using…
Ana
  • 421
  • 3
  • 12
0
votes
0 answers

Reproduce Keras AI models in pure Javascript for applications on Google Earth Engine

The question is really straightfoward. My research group is working on the development of different models for identification of outliers in a time series context. They are experimenting with models such as ANN, CNN, and LSTM. Models were produced…
0
votes
1 answer

Unable to export time series from MODIS NDVI in GEE as transforming geometry into requested projection not working

I am trying to acquire MODIS NDVI (MOD13Q1 v061) time series using Google Earth Engine for certain locations for which I have the coordinates. My code looks as follows: ////////// Input // Specify dataset var dataset = 'MODIS/061/MOD13Q1'; //…
0
votes
0 answers

Why does ee.Reducer.linearFit produce only one residual per pixel when applied to an ImageCollection?

I am attempting to create a map of R2 values illustrating the correlation between radiance and NO2 concentrations in Asia. Each pixel on the map should have its own R2. As the first step of this process, I tried to find the residuals of each pixel…
0
votes
0 answers

Chunking Data is slow

I'm using a python api for Google Earth Engine code editor and am working with a very large featureCollection (1.8 billion ish features). I am using ee.FeatureCollection(buildings.toList(chunk,i)) to break the code up and loop over chunks, but as…