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

GEE: 'Parameter input' error from iterate function when exporting csv to drive

I am new to Google Earth Engine (and do not have a programming background for that matter) and am trying to export a csv to google drive, containing information from a raster brick. The raster brick is derived from a time-series image collection,…
0
votes
0 answers

How to Extract Data for Different Dates in Google Earth Engine

I have a large telemetry dataframe that I am trying to extract MSAVI2 values for. The way my code is currently set up, I believe I am able to correctly calculate an MSAVI2 layer and export a file containing all MSAVI2 values for each telemetry…
0
votes
0 answers

received the following bad status code: 500 Google Earth Engine REST API in Google Colab

I have received the following error when running the same Colab script that has been perfectly operational just a few days ago. 353 if response.status_code != 200: --> 354 raise requests.exceptions.RequestException( 355 …
0
votes
0 answers

How to pass to the outside scope (without console.log) a variable inside an .evaluate callback in google earth engine?

I have this callback inside the .evaluate function on google earth engine: numberServer.evaluate(function(numberClient) { console.log('Client-side primitive data type', typeof numberClient); // number console.log('Client-side number',…
0
votes
1 answer

What's the equivalent of the print() command in Google Earth JavaScript API for standalone Web Application?

The print() on the Google Earth Engine cloud editor just processes the information and prints a value in the console. What's the equivalent on a standalone application JavaScript/HTML application using the google earth api? I've tried using…
0
votes
0 answers

How can I identify chlorophyll and submerged aquatic plants in Google Earth Engine over a small pond?

var collection = ee.FeatureCollection([Sat_samp2]); Export.table.toDrive({ collection:collection , description:'lake' , folder:'ROI' , fileFormat:"SHP"}) Map.addLayer(ROI) Map.centerObject(ROI,16) var IMG =…
0
votes
1 answer

How to process data using JavaScript API for Google Earth Engine on an external application?

I'm using the JavaScript API in an application that I'm building in OutSystems. I imported the API javascript but all the scripts examples that I'm finding create objects. The print(object) command in the console outputs values but I don't know of…
0
votes
0 answers

Export is not defined - Google Earth Engine JavaScript API

I'm trying to use Export function from the Google Earth Engine API but it does not recognize the function. var p1 = ee.Feature(ee.Geometry.Point([-97.44070668220519, 41.93324324360744])); var p2 = ee.Feature(ee.Geometry.Point([-93.92508168220519,…
0
votes
0 answers

Why am I getting "unknown error" with authenticateviaoauth() on google earth engine?

I'm trying this html file that google provides as an example however I got "unknown error"when I run it:
0
votes
1 answer

Google earth ee.data.authenticateViaPopup gets popup always blocked

When I implement the example of google authentication for google earth Javascript API, I got the popup to sign in blocked and I got this message on the console: Cross-Origin-Opener-Policy policy would block the window.closed call. Lv @…
0
votes
0 answers

Google earth engine table export of multiple polygons

I have this script on GEE. I created a graph of time series of NDVI values with Sentinel 2 over multiple polygons (with removing of cloud pixels, overlapping tiles, etc). However, I wanted, instead of 3 graphs for each polygon, to export the values…
0
votes
1 answer

If -1 and +1 = landcover, then make 1 that landcover as well code

I am struggling to create the code where if the previous classified image and the sequential classified image in the image collection are both urban for example, then make the current image class urban at that pixel as well. What I have so far, but…
0
votes
0 answers

I am trying to add the land surface temperature layer to the map

I was asked to represent the land surface temp using google collab (I did using the rectangle), then I was asked again to adjust the map to be on the country boundaries I reused this code and the error appeared is AttributeError: 'Map' object has no…
0
votes
1 answer

Google Earth Engine - IDW: mean and stdDev are null values

I'm trying to perform an interpolation using IDW method. But i'm getting mean and stdDev as null values. I'm trying to make the interpolation of rainfall data acquired on Chirps Data, and after a i need to perform idw to interpolate data. var bahia…
0
votes
0 answers

GEE classification using RF on sentinel 2

I am new to GEE and am struggling with getting classification results. I used the code below https://code.earthengine.google.com/41a8eecb7f430236d9d106ddfc866029 I don't know what am doing wrong. Can someone please assist with getting the…