Questions tagged [google-earth-engine]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

Automating Download of Charts for Entire Mountain Range Dataset [on hold]

I need a way to automate the download of CSVs for a bulk datasets in Earth Engine. More specifically I am working with a script I have written that creates charts of NDVI vs elevation for global ...
1
vote
1answer
29 views

Printing the mean NPP value from MODIS imagery in a specific region?

I am getting started with Google Earth Engine, trying to do something simple: calculate the mean Net Primary Productivity in a region that is defined by a polygon. NPP values are taken from the MODIS ...
0
votes
1answer
60 views

Get a list of all the images that match the conditions in Google Earth Engine (not only the first)?

Normally when I run this code I get the least cloudy image but I want to know what the other images are. I use this code: var image = ee.ImageCollection('COPERNICUS/S2') .filterBounds(...
0
votes
0answers
17 views

Exporting Time Series Data using Google Earth Engine and JavaScript?

I'm new to the GEE platform. How can I create a time series analysis (vegetation indices) of a particular shape? would like to export in table form var OLI = ('LANDSAT/LC08/C01/T1_RT_TOA'); //...
0
votes
0answers
10 views

Are there any datasets available for daily MODIS aerosol data within Google Earth Engine?

I'm new to Google Earth Engine, and I have been unable to find whether or not there are any daily products for aerosol optical depth data for MODIS. I have found a monthly composite, but I have only ...
1
vote
1answer
68 views

Naming various iterations within a loop

I have produced a loop which step-wise applies a mask with increasing threshold to an image. Using the Map.addLayer() feature, I wish to view all outputs however I do not seem to be able to name them ...
0
votes
1answer
206 views

How do I compute the forest area for different regions?

I am currently struggling to compute the forest area of some regions. I am an absolute beginner with Google Earth Engine. I tried it 2 different ways, mostly by copying and editing code I found. ...
0
votes
0answers
25 views

Area measurements in Google Earth

Since Google Earth works in degrees, how does it perform area measurements? Does it momentarily convert to Cartesian coordinates and if yes by what projection and on which datum? Web Mercator has the ...
0
votes
1answer
29 views

Why can't I perform supervised classification using Landsat 8 SR images in Google Earth Engine?

This is the link to the code. https://code.earthengine.google.com/ba342d996547c4fa8151bc99052036cf This error message appears var ColecaoL8 = ee.ImageCollection('LANDSAT/LC08/C01/T1_SR'); var ...
-2
votes
0answers
21 views

Google Earth Engine [on hold]

So, I have seven Landsat 8 32day NDVI composites and five polygons of different areas of interest. I need to calculate mean values within each polygon for all composites and export them in Excel ...
4
votes
2answers
341 views

Is it possible to calculate flow accumulation using google earth engine?

I've done this with PCRaster and ArcGIS in the past but would like to know if there's a way to get it done in Google Earth Engine with the python API? Can you use other python libraries like pyDEM or ...
-2
votes
0answers
16 views

Seeking MODIS Point Collection with more specific Time Of Day for Google Earth Engine?

I am trying to find a more specific time of day (hourly data) for MODIS satellite imagery at specific feature points across the United States with Google Earth Engine, and I am only finding metadata ...
1
vote
0answers
15 views

Why is Earth Engine Export.map.toCloudStorage taking much longer than before?

I've created a script to identify the nth least cloudy mosaic for Sentinel-2 data for a given place and time. A few months ago, I was able to execute an Export.map.toCloudStorage for a visualization ...
0
votes
1answer
38 views

Converting .map() from JavaScript API to Python API?

I wrote this code using the Earth Engine JavaScript API. The code clips the image collection using variable "table," which is a feature collection of about 12,000 points. I get the length of the image ...
0
votes
0answers
14 views

Filter out duplicate Sentinel-2 Images form Earth Engine Image Collection by date

I'm stacking all the images from Sentinel-2A from the L1C image collection, but when viewing the images beforehand, I see that there are duplicates images, same imaging date but different processing ...
-1
votes
2answers
163 views

Difference between two polygons in Earth Engine

I have a reservoir and its buffer (see below). I want to do the difference between the 2 so that my buffer is just a contour around the polygon. I tried the 2 following scripts but cannot get the "...
1
vote
1answer
51 views

Why do original colors in GEE images appear in different colors?

I seek help to understand why colors that I specified in Google Earth Engine (GEE) do not appear in raster objects in R. Let me explain the processes that I have been going through. The following ...
0
votes
0answers
18 views

Stripes in TPI from SRTM 30 DEM

The TPI is calculated with a 150 to 300m annulus in Google Earth Engine. The underlying Elevation-Data from SRTM does not show such striped. I did use raw SRTM from GEE for elevation, no reprojecting ...
1
vote
0answers
23 views

Truncated time series table output over multiple polygons using Google Earth Engine

I'm facing issue to export a CSV table of a time series from multiple polygons in GEE. Using few polygons it works well, but when I'm adding more polygons, the output is truncated. My CSV has Polygon'...
0
votes
1answer
26 views

Code working fine as long as not saved

I am recently facing a strange issue with my code in earth-engine. The moment i save it, it stops working and gives me a simple error of blahblah is not a funtion. But the same code works just fine as ...
-1
votes
0answers
11 views

Getting Dynamic Output in single code using Google Earth Engine? [closed]

I want to calculate NDWI for multiple years for a region. I want two outputs: Yearwise output Aggregated merged output Since the area is big, I wanted to calculate NDWI separately and then the ...
1
vote
2answers
38 views

Printing a list element from a for loop in Earth Engine

I would like to generate a collection of the 3 least cloudy granules for each Sentinel-2 tile within the bounds of a particular shapefile. It seems that this will require a function that iterates on ...
0
votes
0answers
19 views

Earth Engine - Create features for every unmasked raster cell

I have a feature collection of my AOI with patches of same soil classes. And I have a raster image with precipitation data with a cell size of 1000 x 1000 m. Now I try to create a feature collection ...
2
votes
1answer
28 views

Align images with self-defined CRS in Google Earth Engine

I have uploaded a dataset to GEE and I want to align every image in the collection to have the same geographic extent as the first image of this collection. My code so far : var ref_image = ...
-2
votes
0answers
18 views

Google Earth Engine-Why same code but output look slightly different?

I am trying to output a landsat ndwi image. The date of my first output is on 8/28. Today I used the exact same code to output same filterdate and everything, but output turns out slightly different. ...
4
votes
1answer
62 views

Export mosaic to Google Drive, generating more than just one file and can't download this

I'm exporting a mosaic via google earth engine to google drive, however it has generated many files inside a folder. // Create a geometry representing an export region. var roi = ee.FeatureCollection(...
0
votes
1answer
82 views

Calculations with Landsat datasets in Google Earth Engine?

I'm looking to transform my Landsat data-sets to correct for differences in sensors between missions The mathematical function I am hoping to apply is- NDVIL8 = 0.0235 + 0.9723 * NDVIL5,7 But I ...
0
votes
0answers
23 views

Exporting Ui.chart in Google Earth Engine?

I have a project where the user press on a district and then the app shows the temperature a s time series chart. I want to optimize all that calculation and save each chart instead of making the ...
0
votes
0answers
16 views

Long term landuse classification using Landsat and Google Earth Engine? [closed]

I need to produce a landuse classification map for each year from 1984 to 2019 using Landsat data. I have classified the 2019 image using Google Earth Engine. How can I use the training data and code ...
1
vote
1answer
36 views

Summarize Land use changes over time with Google Earth Engine

I'm trying to detect how many times land type has changed between 2001 and 2018 (inclusively). For example, suppose a pixel that was: Forest from 2001 to 2003 Bare ground from 2003 to 2010 ...
0
votes
1answer
184 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 ...
0
votes
1answer
45 views

Exporting band data of a large number of points

I have a question regarding exporting a data from GEE. I am new to coding and GEE. What I would like to achieve is export pixel band data of points a have managed to upload using Fusion Table. Is is ...
-2
votes
0answers
14 views

No tasks appear [closed]

everyone why there are no tasks appear after I run the code?
0
votes
0answers
29 views

Export: Error: Internal error. from Google Earth Engine

I'm attempting to export an image by a time block for a particular census KML using the method below. Earth Engine is kicking back "internal error". As the error is not very helpful, I am having a ...
2
votes
1answer
27 views

NDVI chart of sampled points

I'm working with Sentinel 2 satellite and I have sampled on the map 4 blue points indicating an irrigated areas, and other 4 red points for non-irrigated ones. Then, I have considered 4 collections, ...
1
vote
1answer
33 views

CSV export date format in Earth Engine

When exporting a chart to CSV is there a way to configure the date to day month year (dd-mm-yyyy) format as it is difficult to convert the date in Excel for graphing? Sample of export: when using ...
3
votes
1answer
34 views

Plotting Sentinel 2a images on Earth Engine map shows missing chunks of images interrupting continuous sweeps

I am by no means knowledgable in this field so I apologise for the lack of a better description in the title, but (shown below) it seems that a lot has been masked out. This was taken from a short 5 ...
0
votes
1answer
40 views

Google Earth Engine: How to import data from Google Cloud Storage

I have finished the data process in Google Colab and upload these results to Google Cloud Storage (GCS), and I want to import these files from GCS to Google Earth Engine (GEE) via the python API ...
0
votes
1answer
183 views

g.getOutputs is not a function while Creating a Chart from a Series

I created a Time Series of NDVI from Sentinel 2 Data, now I want to Chart it, using the following code. I get the error g.getOutputs is not a function I never used g.getOutputs, and from what I ...
0
votes
1answer
22 views

Google Earth Engine: Tasseled Cap Index calculation and extraction of the mean value for each polygon of a shapefile

I have been trying to use a shapefile consisting of bounding boxes of cities in order to extract the mean value of the tasseled cap vegetation index. I inserted the shapefile as a FeatureCollection ...
0
votes
1answer
20 views

Landsat image exported from Google Earth Engine not displaying correctly in ArcGIS [closed]

I have run a script to produce a land use classification clipped to my study site using google earth engine. However, when i export the classified image and open it in ArcGIS, the image is cut off at ...
0
votes
1answer
27 views

Adding alternatives to least cloudy image to a collection

I've made a collection of least cloudy images based on the EE tutorial guide, using Landsat 5 data. However, for the area I'm interested in, some of the returned images are not fully covering the area....
1
vote
0answers
16 views

Performing Cayula Cornillon single image edge detection algorithm to detect ocean SST fronts in Google Earth Engine?

I am a newbie in programming. I am working with sst data to find ocean fronts in GEE, but to build the Cayula Cornillon algorithm as in the following paper. Cayula Cornillon. 1992. Edge detection ...
1
vote
1answer
25 views

Is there a Post-classification Majority Analysis feature on Google Earth Engine (Similar to ENVI)?

In ENVI there's a Majority/Minority Analysis function that allows you to to change spurious/"wrongly classified" pixels within a large single class to that class (it also allows you to enter kernel ...
3
votes
0answers
23 views

Calling a function by its name in Earth Engine code-editor

I have a module where I process some raster images according to one of different functions/ statistical models. I am trying to find a way to allow the user to select which function to use. I have ...
0
votes
0answers
21 views

Adding properties values from dictionary to variables in Google Earth Engine?

I want to create separate variables from properties of dictionary object in Google Earth Engine. I been trying with object.get() but it prints that object.get() is not a function. //EXPORTAR var ...
4
votes
1answer
286 views

Google Earth Engine - error when exporting table

I'm trying to export a frequency histogram table of a classified image for a region. function country (image) {var c = image.reduceRegion({ geometry: image.geometry(), reducer: ee.Reducer....
5
votes
1answer
150 views

Chart of cloud cover over time

I am trying to create a graph with the cloud cover over time, per year. The following code gives me a graph, but I don't manage to get the dates on the x-axis line up chronological. Am I doing ...
3
votes
2answers
114 views

Removing clouds from Sentinel 2 Surface Reflectance in Google Earth Engine?

I am trying to get cloud masking to work properly with the 'COPERNICUS/S2_SR' surface reflectance dataset. I can get it to somewhat work with my code below using the TOA dataset 'COPERNICUS/S2'. ...
-2
votes
1answer
45 views

Google Earth Engine: Use multiple bounding boxes to extract mean VI value

I am new to GEE with no prior Javascript knowledge. I am trying to find a way to use multiple bounding boxes (which are in bottom-left point x,y and top-right point x,y) from a csv file in order to ...