Questions tagged [google-earth-engine]

Google's cloud computing platform for geospatial data & analysis at earthengine.google.com. The processing environment is controlled with javascript code and builds upon objects created for the earth engine.

Filter by
Sorted by
Tagged with
0
votes
1answer
52 views

Output value of a specific latitude and longitude point at Python

Due to my shorten explanation, I edit this question at 2020/01/20. Sorry for answerer of original. I want the TOA reflectance value of a specific latitude / longitude band. I could do this with ...
-2
votes
2answers
53 views

List of band names of image in Python

What is the equivalent of the following syntax of Java in Python? an_image.bandNames() oh well, minimal example for minimal-example-seekers: DDD = [ [-119.6407034633335, 46....
0
votes
0answers
14 views

Creating Sentinel-2 NDVI time series chart in Colab?

What is the equivalent of the following syntax in Python: ui.Chart.image.doySeriesByYear({ imageCollection: collection, bandName: 'NDVI', region: forest,...
0
votes
0answers
8 views

“smile” classifiers in Google Earth Engine

What are the "smile" type classifiers in Google Earth Engine API? I see for example ee.classifier.NaiveBayes and ee.classifier.SmileNaiveBayes with exactly the same description, and I couldn't find ...
2
votes
0answers
23 views

Reduce Regions, some features dont contains centroid of pixel, in consecuence extracts of min or max obtains null value

I have some problems to extract min or max statistcs from stack image to FeatureCollection. ----var results_max = ee.Image(lc_stack).select(bandas).reduceRegions(fc ,ee.Reducer.max(),10); ...
4
votes
0answers
59 views

Calculating water occurrence of Sentinel-1 images in Google Earth Engine

I would like to derive the occurrence of surface water bodies from Sentinel-1 image collection in the Google Earth Engine.In my example I could already compute the water mask using Otsu’s method for ...
-1
votes
0answers
23 views

Google Earth Engine using Python

How should a beginner start learning Google Earth Engine coding with python using colab? I know python, but how do I come to know about the objects of images and image classification.
0
votes
0answers
24 views

Exporting layer image from Google Earth Engine

I have carried out a land cover classification of an image in google earth engine. I want to export the resulting layer. I understand how to export images, but for some reason it won't recognise the ...
0
votes
0answers
15 views

Is there a way to assign the value 1 to pixels with a given property within polygons (in Google Earth Engine)?

I want to detect flooding before the transplanting phase on rice fields. In a false color image (5,6,4) from 2013 from Landsat 8 water appears in purple to (dark)blue colours (which indicates the ...
0
votes
0answers
18 views

Create Earh Engine Dataframe with Python with multiple columns and regions

Dear Stack Overflow members, I am trying to extract data from Earth Engine. So far I have only succeeded to reproduce an example in JS that has a date column and a one-variable column. An example ...
1
vote
0answers
23 views

R cannot find a conda function: Error in instalation of ee_grab

I follow the directions of https://github.com/JesJehle/earthEngineGrabR and try to install ee_grab. However, I always get the following message: Error: Installation problem Error: Error 1 occurred ...
0
votes
0answers
13 views

Strange seriesByRegion Chart behavior on GEE between point and polygon

I want to plot a time-series with GEE. I am able to do that for a point geometry with: var m1 = "NOAA/CFSV2/FOR6H" var poly = fc2 var band1 = '...
0
votes
0answers
21 views

Reconstructing coordinates of exported tiles in Google Earth Engine

Using ee.batch.Export.image.toDrive you can export TFRecords, which contain tiles of images. I would like to obtain the geo coordinates for each tile without reimporting the data into earth engine.
0
votes
0answers
16 views

GEE: Loop through Water Years

I am trying to filter a dataset by water year (Oct 1 - Sep 30) and think there must be a more GEE centric way to do it. Right now I have constructed a list of ee.Filter.date that I manually created. ...
0
votes
0answers
20 views

Extracting mean pixel values of 3x3 to points

In Google Earth Engine, is it possible to extract the mean value of 3x3 block to points? I can extract pixel values to points(scales:30m) with the following code, but I don't know how to get mean ...
0
votes
0answers
32 views

Can't display map using Folium in Google Earth Engine (GEE) Python API

I have been trying to display an interactive map using Folium in a Jupyter notebook, but all I get is an empty result. Could anyone point out what I am missing or where my error is? #Initializing ...
0
votes
1answer
36 views

GEE Python API: Showing image fails

I have been trying to troubleshoot my way through the Python API on GEE but I just cannot figure out the problem. I searched the forums for a similar issue but solutions I found didn't help with the ...
1
vote
1answer
29 views

Unable to use the reduceRegion function of google earth engine in python

I try to convert a javascript google earth engine workflow into python and I face some strange errors. More specifically, I use the below script in order to calculate the mean elevation of a ...
0
votes
0answers
20 views

How to display a feature database in Google Earth Engine?

I am very new in EE and JS, and I am trying to write a script to show a table when the user clicks a feature on the map. I have read about DataTable class, but I am not clear with that, or if ...
0
votes
0answers
15 views

How to change projection of google earth engine code editor display

I would like to change the projection on the code editor display window from EPSG:3857 (maps mercator) to something else like lambert conformal conic. How can I do that? I tried to look for tips on ...
2
votes
1answer
156 views

Error “Array: Parameter 'values' is required”

I'm working on a platform called Google Earth Engine that allows compute heavy analysis of satellite images on a cloud. I have written a code in Javascript that takes two images, use one band inside ...
0
votes
0answers
18 views

how to crawl files from google earth engine generated file link

I am trying to web-crawl some tif image files with a link generated by Google Earth Engine App. The link looks like: https://earthengine.googleapis.com/api/download?docid=...
0
votes
1answer
23 views

How do I group a number of sites (point geometries) together as a feature collection, to perform NDVI change calculations on all the sites?

I am new to stack overflow and javascript, so apologies in advance. The overall aim: calculate the NDVI change over time (inter- and intra-annual) at 8 sites using the landsat 8 image collection. ...
1
vote
1answer
40 views

Is there any code for developing 30 years data for NDVI through landsat?

Is this possible to get 30 years of greenest pixel, NDVI annual mean and median data for a particular coordinate without changing the dates manually for every single year? Currently, I am using the ...
0
votes
0answers
13 views

How to create time series stats as a table for each polygon contained in a feature collection in google earth engine?

I want to reproduce the example given in the GEE documentation (below), but instead of using one image, I want to use a collection. So I have changed 'image' for 'collection' in the example: //Load ...
1
vote
1answer
180 views

How can we develop the google earthengine based app in Python in our local machine?

I read the documentation of google earth engine. And I also see the github repo of the Earthengine api. I am exactly following the documentation. In my project file I added config.py file with my ...
1
vote
0answers
17 views

raster is split in multiple files when exporting to drive from Earth Engine

When I export a raster file to my drive, it gets split into 4 parts. Why is this happening? It might be related to the dimensions attribute, which I don't use. But a default value is not given. I ...
0
votes
0answers
85 views

Using R to process google earth engine data

I want to download the daily tmax from the NASA for a given lat lon (https://developers.google.com/earth-engine/datasets/catalog/NASA_NEX-DCP30_ENSEMBLE_STATS) using the following tutorial https://...
0
votes
0answers
21 views

fsspec + Dask: Access html zip files

Motivation: Download remote sensing data over a relatively small region, but with a deep time dimension. Therefore, I would like to avoid downloading entire MODIS or Landsat Tiles, and just the data ...
0
votes
0answers
39 views

In Google Earth Engine: Most efficiently reduceRegions over each image in ImageCollection, saving mean as a Feature property?

I have a FeatureCollection made up of many (100-200) polygons ('ftr_polygons'). I also have an ImageCollection made up of monthly median Landsat8 bands and indices ('byMonth'). I want to ReduceRegions ...
0
votes
1answer
62 views

Exporting daily climatology data from NEX-GDDP product on Google Earth Engine

I am using NEX-GDDP for obtaining daily climatology (Precipitation, Temp min and Temp max) data of the 21 GCM models in the period 2018-01-01 to 2099-12-31, for certain points. I made this script, for ...
0
votes
1answer
27 views

Chart monthly average NDVI values

I am hoping to obtain monthly averages for NDVI derived from Landsat data and then produce a line chart. I have succeeded in cloudmasking Landsat 8 and adding an NDVI band. Working with code ...
0
votes
0answers
23 views

Google Earth Engine Developers › SAR, Polygons & Stats - Perform median for a stack of dates for each polygon of a shapefile

I have a somehow encumbering task I need to perform in GEE. I have a polygon with field 'Id', approx with 50 features (polygons). For each polygon, I need to perform 1st) the mean of a stack of 6 imgs ...
0
votes
1answer
62 views

how cloud masking is done on Landsat 8 surface reflectance data in Google earth engine?

I want to download cloud-masked Landsat 8 surface reflectance collection from google earth engine. I don't have any idea how to perform a cloud masking algorithm. here's my code: Map.centerObject(...
0
votes
1answer
33 views

Errno 32: Broken pipe when using getMapId()

I am reading a large geojson file containing the footprints of thousands of buildings. This file looks like this: { "type":"FeatureCollection", "features": [ {"type":"Feature","geometry":{"...
0
votes
1answer
43 views

I failed to submit the training operation on the AI platform of GCP

I failed to submit the training operation on the AI platform of GCP.The error is "[email protected] does not have storage.objects.create access to your-bucket-name/fcnndemo/trainer/packages/...
1
vote
0answers
25 views

How to use a “numpy-based” function on a GoogleEarthEngine ImageCollection?

I want to use a specific module for time series break detection (called "bfast", see https://bfast.readthedocs.io/en/latest/index.html) which requires as input a 3D-numpy array. The question is: "How ...
1
vote
1answer
60 views

Integrating Google Earth Enterprise to Android application

I have Google Earth Enterprise installed in an AWS linux instance. I need to add Google Earth Enterprise maps to an Android mobile application. Is there an SDK like the normal Google Maps API for ...
0
votes
0answers
35 views

How to combine raster layers in R with different extents and which do not overlap

I have 2 RasterStacks. These are parts of one AOI, but were separately downloaded from the Google Earth Engine due to being split on different Sentinel-2 scenes. I cannot combine them in QGIS, since ...
0
votes
0answers
39 views

Creating a transparent color within a string palette

I am working within Google Earth Engine and am trying to create a no-color/completely transparent color (no boarder and no fill). Below is a line of code where the first color should be the ...
1
vote
0answers
79 views

How to calculate Tasseled Cap Transformation for Sentinel-2 images (from GEE) with different resolution of bands in R?

I downloaded Sentinel-2 stack from the Google Earth Engine. For the export I used resolution (scale: 10), while some bands there should have resolution 20 m (SWIR) or 60 m(e.g. Cirrus): Export.image....
0
votes
0answers
31 views

Geometry has too many edges (Google Earth Engine). Help me

I have problem during working in Google Earth Engine. I was processing some vector files. And i am getting below code:
1
vote
0answers
50 views

classification: Layer error: Property 'Landscape' of feature '1_1_1_1_00000000000000000002_0' is missing

I am using google earth engine to classify landcover. The training samples are trained in google earth and processed in ArcGIS and then I uploaded the shapefiles as a table in GEE. I specify the ...
0
votes
0answers
18 views

Optimizing googel earth engine cloud cover for sentinel 5p

I am trying to generate cloud free Sentinal 5p images, I have a basic cloud detection code working but it runs very slowly (most likely due to nested map and reduce features). Is there a way to do ...
0
votes
0answers
11 views

Using least cost paths between grid cells to identify “closest” grid cell of interest in Google Earth Engine

I have a grid over a region of interest (feature collection), and I also have a feature collection identifying which grid cells have a population of over 20,000 persons. I am trying to predict ...
0
votes
1answer
63 views

Sum of separate years of image collection data within newly defined grid cells in GEE

I am working in the Google Earth Engine Javascript API and have defined grid cells covering my region of interest. It is: var lat_start = 32.31644; var lat_end = 37.31914; var lon_start = 35.61394; ...
0
votes
0answers
23 views

GEE multiple Landsat swaths into one image for clipping

I am very new to using GEE so I apologize for this "basic" question. I imported shapefiles of Costa Rica and Panama into my GEE Assets panel and then imported Landsat 8 Tier 1 Level 1 data. I ran ...
0
votes
0answers
52 views

How to create cloud free image based off mean reducer in Google Earth Engine?

This is driving me crazy but I know there is a very easy solution to this. There are plenty of things online on how to create cloud free imagery but when I use the MEAN reducer and try to display ...
0
votes
0answers
68 views

Google Earth Engine Export chart as JSON

First of all, I am creating two charts, the first one is named “plotNDVI”, and the second one is the name “chart”. I have problems with both of the charts in the part of export to drive or to cloud (i ...
0
votes
0answers
14 views

Extracting lat/lon values and corresponding band value from 'USDA/NASS/CDL'

Hi everyone, I am wondering whether if it's possible to extract the lat/lon information and the corresponding band values to a text file. The dataset is the 'USDA/NASS/CDL' which represent the ...