Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [google-earth-engine]

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

0
votes
0answers
6 views

Data in GEE vs Downloaded .nc file from Ocean Colour

I'm looking at MODIS Chlor-a data. When comparing the data in GEE with downloading the file and looking at the measurements using SEADAS, I see the data does not match. Could anyone point me at why ...
0
votes
0answers
9 views

GEE night time lights preprocessing problem

I am trying to reproduce some pre-processing steps of night time images. I am trying to calculate the HEP step which takes the average of pixels either side of the pixel of interest, in the vertical ...
0
votes
0answers
16 views

Google Earth Engine plots DOY chart by MODIS tile, not VI composite date

In Google Earth Engine, it is simple to access and plot time series NDVI data from MOD13Q1 using the ui.Chart.image.doySeriesByRegion() function. However, this function plots the mean NDVI value in ...
0
votes
0answers
8 views

Getting label of feature in pre classification feature collection and assimilating it to object created?

I'm trying to write a code on Earth Engine for automatically create vegetation samples areas and associate this samples with the pre classified polygon with one of the "properties" of semiarido ...
0
votes
1answer
10 views

How can I access the different classes after I did a classification in Google Earth Engine

So I ran a Classification with Google Earth Engine, classifying forest and non-forest. After I prepared my ROI and declared some training points for each forest and non-forest (saved in the variable ...
0
votes
0answers
13 views

Compute convex hull of feature collection

I uploaded an asset (which was originally a shape file of points) and imported it into my script as a feature collection. I would like to compute the convex hull of the points, but it seems this ...
0
votes
0answers
18 views

Writing initial and final value difference at trendline Google Earth Engine

How can I write initial and final value difference at trendline? https://code.earthengine.google.com/98d4b0517fde52b98f33ddabd3bfb740 Code copy // Script automatically produced by Collect Earth ...
0
votes
0answers
20 views

What is producing the blue blotches and squiggles from greenest pixel mosaic of Sentinel-2 data

I've filtered Sentinel-2 by a date range and location, run and cloud mask and calculated NDVI, and created a greenest pixel mosaic. There are blue blotches and squiggles produced in a natural color ...
1
vote
1answer
24 views

GEE Export.image.toDrive output not matching bounding box?

I am new to GEE and javascript. Copy-pasting here and there, I managed to put together this code that extracts NDVI from cloud-free Sentinel-2 images on GEE. I created a fusion table from a KML with ...
0
votes
1answer
13 views

Digitize points with attributes

I am new to GEE. I have an application where values can be set then points digitized. I need to programmatically apply the values to fields(properties) while a user is adding points. I don't seem to ...
0
votes
1answer
21 views

Create time series and export it to csv GEE

I'm new to GEE and I'm trying to create time series of MODIS LST for a selected point. I first chose a point on the map and my script is: var POI = geometry; // Get temperature data for 1 year. var ...
0
votes
1answer
26 views

Computation Timed Out Error in Google Earth Engine during running classification

I want to classify and check the accuracy of for identifying the land cover. But it is taking lots of time to execute and finally giving some error like:"Computation Timed out" My code is given below. ...
0
votes
1answer
22 views

Classification based on NDVI values of two images

I want to find the areas where the NDVI value were higher then 0.4 at the end of April and NDVI values were lower then 0.3 at the end of June. I have tried to make it using below demonstrated script, ...
0
votes
1answer
27 views

Adding values from a table to an image band - Google Earth Engine

I'm trying to add values from a table to a cluster image. The cluster image has 50 cluster classes, and my table has 50 values for each cluster class. How do I add the values from that table to the ...
0
votes
0answers
29 views

How to reclassify cluster image based on values from zonal statistics - Google Earth Engine

I have classified an image with 50 clusters (k-means). The next step is to reclassify the image into several meaningful classes (e.g. vegetation, urban, water etc...). I want to take an automated ...
0
votes
0answers
18 views

Color rendering issue: from Code editor platform to Google Earth Engine Python API [on hold]

I have done NDVI on code editor platform. The color and code links are given below: https://code.earthengine.google.co.in/85b906aed53883b305de4881c4921443 I have used Python API of Earth engine to ...
0
votes
0answers
15 views

Band names not exporting when using Python API and Google Earth Engine [closed]

I am using the Python API to work with GEE, but am unable to export the band names from a multiband image. When I check the band names using image.bandNames().getInfo(), they are correct, but once ...
0
votes
0answers
18 views

drainage basin from small river in Earth Engine

do you know is there any way to derive from the STRM 30m dgm and a shapefile of my river the river watershed/drainage-basin? I found WWF HydroSheds datasets for drainage network, flow accumulation etc....
0
votes
1answer
26 views

Estimating Land Surface Temp Using GEET

I am using google earth engine toolbox to estimate land surface temp for landsat 8 imagery. I have been able to run all the necessary calculation without error but when I add the band as a layer all ...
0
votes
1answer
38 views

Classification of NDVI using Google Earth Engine

I want to classify my NDVI raster using training data in Google Earth Engine. For that i am using the following code. But it is returning some error like ndvi is not a usable band. Please help in ...
-1
votes
0answers
14 views

How can values of NDVI be used in LULC classification in google earth engine? [closed]

I need help on using NDVI max, min or std deviation values for doing supervised classification using Google Earth Engine?
1
vote
0answers
30 views

Google Earth Engine Error: Number of pixels requested from Image.load exceeds the maximum allowed

I have created a cumulative cost layer for the U.S. of distance to rivers based on the National Hydrologic Dataset. My source data is a 30 meter resolution image of all rivers with values equal to the ...
0
votes
1answer
94 views

Export data from time-series image collection to a table in Google Earth Engine

On Google Earth Engine, I'd like to accomplish two tasks: extract data from every pixel, across a time-series, within the given geometry bounds and save it as a table. I need a column which prints ...
1
vote
1answer
20 views

Filtering earth engine image collection by image ID

I'm trying to filter an image collection using not bands within each image of the collection, but by pattern matching in the image ID. Using: var dataset_2099 = ee.ImageCollection('NASA/NEX-DCP30') ...
0
votes
1answer
29 views

Preventing Google Earth Engine exporting image with black border?

When I import my image into ArcGIS Desktop I get a black border around the region that didn't exist before in Google Earth Engine (GEE). How can I prevent GEE from doing this when I export an image?
3
votes
1answer
40 views

Creating threshold for NDVI using Google Earth Engine?

I want to create a threshold for the NDVIs in this collection. I would like to say something along the lines of: If pixel is less than 0, assign pixel a value of 0; otherwise assign the pixel a ...
0
votes
1answer
25 views

Sentinel-1 HH band not loading in Google Earth Engine

While importing the VV band in Sentinel-1 datasets from GEE, there is no problem when I use the following lines: var collection = ee.ImageCollection('COPERNICUS/S1_GRD') .filterBounds(...
0
votes
0answers
20 views

Google Earth Engine - problems with exporting a classified image (how to deal with noData)

I'm trying to export a classified image in GEE for analysis in ArcGIS. My image has 50 classifications (0 - 49). My problem is, after inspection in ArcGIS, it seems the border (coloured red, other ...
0
votes
1answer
24 views

Earth Engine: downloaded image contains only 1 pixel after mosaic with python version

I followed the tutorial of getting a free-cloud landsat8 image from the official site with python version. But I got only 1 pixel with the function getDownloadUrl.Here's the code def maskClouds(image)...
0
votes
1answer
30 views

Earth Engine: filtering to non-zero pixels surrounded by only zero value pixels

I'm trying to create a mask of only pixels surrounded by zero-value pixels in the GHSL layer on Google Earth Engine. The layer image would be: ee.Image('JRC/GHSL/P2016/POP_GPW_GLOBE_V1/2015') Anyone ...
0
votes
1answer
23 views

Equation in Google Earth Engine

Recently I have derived a correlation equation between biomass and canopy height using sample tree parameters from field. The equation is Biomass = 0.0001(Height)^ 2.895. I tried to ...
1
vote
0answers
26 views

Using output of unsupervised cluster analysis to train supervised classification for vegetation mapping?

I'm using Google Earth Engine to classify mangrove forests from Landsat imagery to calculate extent. Let's say I perform an unsupervised K-means cluster analysis on a Landsat scene to identify general ...
0
votes
1answer
21 views

Remove border of tiles while Smooth the image by convolving with the boxcar kernel in Google Earth Engine

I am trying to remove the black border of each tiles in Google Earth Engine while doing "Smooth the image by convolving with the boxcar kernel" on sentinel 2. Here's my code https://code.earthengine....
0
votes
1answer
30 views

Is the resolution of MYD13A2/MOD13A2 ( MODIS 16 day 1km Global Vegetation Indices) erroneous in Google Earth Engine?

The MODIS vegetation indices collection shows a resolution of 111319.4 metres in Google Earth Engine when, in fact, it should be 1000 metres. Below is my code: var Veg = ee.ImageCollection("MODIS/...
0
votes
0answers
15 views

Applying cloud mask to Landsat collection with Google Earth Engine? [duplicate]

//Load in data collection from specific satellite, i.e. Landsat 8 surface reflectance in this example var l8 = ee.ImageCollection('LANDSAT/LT05/C01/T1_SR'); How would I apply cloud and shadow ...
0
votes
0answers
18 views

Exporting corrupted image in Google Earth Engine night time luminosity data

I am exporting time series of Landsat and night-time luminosity data from Google Earth Engine, one cleaned composite per year from now back to 2000. I export the yearly images to my Google Drive. I ...
0
votes
1answer
52 views

GEE unsupervised classification (clustering) of Landsat 8 cloud free composite - User memory limit exceeded

Can anyone explain why I am getting the memory limit error when trying to classify using the wekaKMeans algorithm over a cloud-free composite of Bangladesh? I'm trying to differentiate mangrove pixels....
0
votes
0answers
17 views

Creating Image Composites by week in Google Earth Engine

I'm working to produce a time series of NDVI data. For this, I would like to create weekly or monthly composites (the median, for example) of the images in my study area. I have not been able to find ...
2
votes
1answer
22 views

Invoke Google Earth address search from a hyperlinked command in a table cell

I would like to be able to launch a Google Earth search in Windows by clicking a table cell that contains a street address (plus town and US state abbreviation). For example, I have a table in ArcMap ...
0
votes
1answer
54 views

How to specify “system:time_start” in time series charts in Google Earth Engine

I want to plot mean NDVI throughout the period of interest. I have a polygon file loaded in Asset called boundary. var start = ee.Date('2017-05-01'); //Dates of interest var finish = ee.Date('...
2
votes
0answers
86 views

Earth Engine Sentinel-2 atmospheric correction

I want to run some time series analysis on sentinel-2 data in EE for my master thesis. However the algorithms for Sen-2 in EE are scarce. The biggest issue is that there isn't any for atmospheric ...
2
votes
1answer
47 views

Applying a reducer over a very large feature

The problem: How can we work around memory limits to apply a reducer over a large feature? EE's debugging page suggests either setting using tileScale to reduce the size of the tiles used for server-...
3
votes
1answer
42 views

Selecting lossyear polygon of Hansen data

I'm working with Hansen database in Google Earth Engine. I would like to select polygon of two different years for example 2010 and 2011 for a certain area using lossyear map. This is my code: var ...
1
vote
1answer
75 views

Iterating an Earth Engine calculation (reducer) over every country in the world: a simple example

I'm an EE newbie, and would like to create a detailed 'resource' for the following challenge. The problem: What is the best way to iterate a simple calculation (e.g. a Reducer, or a simple user-...
0
votes
1answer
36 views

How to save training data set [pixel values] from earth engine during classification?

Link to Earth Engine code:https://code.earthengine.google.com/4da2d54d1ece4229b76c52a9d921ca70 Below I have pasted my code: function maskS2clouds(image) { var qa = image.select('QA60'); var ...
0
votes
1answer
22 views

Apply .median reducer to image collection over roi EXCLUDING images with high cloud cover. GEE

I'm trying to train an algorithm to detect mangrove forests in several regions around Asia for each year using Landsat 8. When I apply the .median reducer on some image collections over a 1-year ...
1
vote
1answer
28 views

googleearthengine - Code to calculate EVI having rendering issues

Below is the link of my code to calculate EVI in Google Earth engine. It is not giving/rendering color according to the color palette! Please help me in this regard. https://code.earthengine.google....
1
vote
1answer
36 views

Get max or min value

How can I get the max or min value of one image? I don't know what's the function is in GEE. I have to use this for vegetation coverage For example: [1,2,3, 4,5,6, 7,8,9] max:9;min:1
2
votes
1answer
54 views

Comparing current image in collection to previous image in collection using Google Earth Engine

I am wanting to subtract one binary raster from another, for all images in a collection. For example if I have ten images, I want to subtract image 2 from image 1, image 3 from image 2, image 4 from ...
0
votes
1answer
24 views

How to load Landsat imagery over ROI defined as a polygon rather than a point? GEE

In google earth explorer you can load Landsat image around a roi. You can then conduct analysis on this image. I want to expand my region to cover a whole country or continent rather than just the ...