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: .select(...).sampleRegions is not a function - How to solve it?

I am trying to perform a supervised land cover classification from Sentinel SR images and get the following error: SR_2018.select(...).sampleRegions is not a function //import shapefile of study area var boundary…
Znerky
  • 1
  • 1
0
votes
1 answer

I want to solve the "system:time_start" error when trying to output GLDAS monthly precipitation to CSV using Google Earth Engine

I am using GoogleEarthEngine to look at precipitation data for the Mekong River basin. The GLDAS data are set every three hours per day. My goal is to extract the GLDAS data from 2000 to 2020 by adding up the data by month. I want to extract the…
0
votes
1 answer

Request payload size exceeds the limit: 4194304 bytes

I am getting this error, as I am trying to export to drive a classified image, which is rather large, since it includes the whole area of New South Wales in Australia. The manual says that in this case it will be exported in many smaller files, but…
0
votes
1 answer

How to find fill values that represent the reason for no data in Google Earth Engine?

I want evapotranspiration data and use the "MOD16A2.006: Terra Net Evapotranspiration 8-Day Global 500m" dataset on Google Earth Engine. In Google Earth Engine, pixels with no calculated ET values have "masked" value. However, according to…
Nwest
  • 5
  • 2
0
votes
1 answer

Create time series of JRC MonthlyHistory surface water observations by region with R + rgee

I'm completely stumped, I'm trying to create a regional time series of JRC MonthlyHistory surface water count observations (by region) using R + rgee. I'm able to download the total observations of the band, but i am unable to filter by specific…
0
votes
1 answer

How to show only one of the clusters in Goole Earth Engine unsupervised classification

Suppose we have the following codes for unsupervised classification. My goal is to identify the water bodies across the area. How can I mask out other classes (clusters) and only map one of the clusters (water bodies)in my results: // Load a…
0
votes
1 answer

GEE:how to understand the parameter 'SCALE' in FUNCTION 'ui.Chart.image.series'?

print(ui.Chart.image.series(col, geometry,ee.Reducer.mean(),20).setOptions({ title: 'TimeSeries analysis', lineWidth: 1, pointSize: 3 })); print(ui.Chart.image.series(col, geometry,ee.Reducer.mean(),200).setOptions({ title: 'TimeSeries…
XIN
  • 1
  • 1
0
votes
1 answer

Google Earth Engine REST API Authentication from Ruby fails

I'm trying to use a service account to make an API request to https://earthengine.googleapis.com/v1alpha/projects/{my-project}:listAssets?key={serviceKey}, but I always get 401 unauthorized. url =…
0
votes
2 answers

GEE joined collection is not working in a function

I am working with two collections of satellite data. I want to select specific bands from "collection 1", join them to "collection 2", and then run a function. Unfortunately, the function does not work with the joined data, although it works for…
0
votes
1 answer

Google Earth Engine : Remove value from S2 NDVI image collection (5 and 95 percentile)

I'm calculating statistics over image collection of NDVI on Sentinel2. I get an image collection of S2_SR over of defined period of time and over a specific area, and then removing clouds. var S2 = ee.ImageCollection('COPERNICUS/S2_SR') …
0
votes
0 answers

How to find the image ID participating in the mosaicing in Google Earth Engine

I want to find the image ID participating in the mosaicing, here is my mosaic process. Just the partial images appearing in the mosaicing result, not all those meet the filter conditions. The color difference of the whole image is too big, I want to…
0
votes
1 answer

Google Earth Engine: Add band to Image Collection with mean value in time

I'm working on timeseries with Google Earth Engine. I'm new to GEE and Javascript. I'm trying to add a band to each image of an image collection with the mean value (IN TIME) of another band of the same collection, i.e. a value obtained with…
Ortenstein
  • 3
  • 1
  • 2
0
votes
1 answer

gee 'sampleRectangle()' returning 1x1 array

I'm facing an issue when trying to use 'sampleRectangle()' function in GEE, it is returning 1x1 arrays and I can't seem to find a workaround. Please, see below a python code in which I'm using an approach posted by Justin Braaten. I suspect there's…
0
votes
1 answer

" image.select(bands).sampleRegions is not a function error. what must i do?

I am trying to conduct a lulc classification on google earth engine using landsat5 data for 2000, but every time it is showing me the error: image.select(bands).sampleRegions is not a function var shp = ee.FeatureCollection(mws) …
0
votes
1 answer

Convert a dictionary with unknown keys to Feature collection in Earh engine

I am having trouble converting some ee.Dictionary (with null-valued keys) returned by sampleRegion in Earth Engine. I am trying to sample a multi-band image across multiple regions, then convert the resulting dictionary to ee.FeatureCollection where…
Liman
  • 1,270
  • 6
  • 12