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
1
vote
1answer
15 views

Export image to assets only have a part?it looks like be cut

I expect the whole image but only got a part: imgs=cloudsort(imgs).map(cloudMaskL457).mosaic(); Export.image.toAsset({ image:imgs.int16().clip(zj), description:'clear', scale:30, ...
0
votes
1answer
10 views

How to make ee.Reducer.mean() give me a float instead of a binary number?

I'd like to reduce the resolution for a binary layer of the max extent of water, and I'd like the resulting layer to represent percent of water pixels. However when I use ee.Reducer.mean() as seen ...
0
votes
0answers
17 views

Qgis/gdal not recognising metadata/spatial reference from drone imagery

I'm trying to ingest drone imagery to QGIS/Google Earth Engine but neither recognises the spatial reference of the images, that is, QGIS/GDAL are not picking up the metadata from the file. The ...
0
votes
0answers
26 views

imageCollection.reduce() functions producing single pixel image when exported using Google Earth Engine Python API

I am trying to find ways to export a single image from an imageCollection and am currently looking at the imageCollection.reduce() functions. In particular, I want to create a single image from an ...
1
vote
1answer
13 views

Python GEE to extract featurecollection timeseries from Landsat imageries

I have a featurecollection for which I need to extract timeseries of NDWI from Landsat imageries. Here is the javascript functional code I used to extract timeseries: https://code.earthengine.google....
0
votes
0answers
32 views

Effect of tileScale setting on reduceRegions statistics

The tileScale setting in Google Earth Engine's ee.FeatureCollection.reduceRegions() effects the results of, in my case, an areal summation of pixels with the scale setting held constant. When summing ...
-1
votes
1answer
27 views

For loop Type Error: 'Dictionary' object is not callable

I am trying to build a for loop in Python which exports images from Google Earth Engine into my Google Drive. The bounding box coordinates for each image are taken from a data frame called DHS. I ...
0
votes
0answers
17 views

Mosaicking masked layers in Google Earth Engine

I'm trying to create a map that shows the last day with snow cover in spring 2019 for each pixel for a certain region by using a collection of Landsat images. First, I masked the cloud cover, ...
0
votes
1answer
20 views

Change date format in download CSV from Time series Chart

I use this script to generate a chart of NDVi vs time. The problem is when I download the series at CSV the date format is hard to work with and is not the same in all the observation. The original ...
0
votes
0answers
5 views

Google Earth Engine: Masking through multiple image collections

I have two COPERNICUS/S5P datasets I want to use, COPERNICUS/S5P/OFFL/L3_NO2 and COPERNICUS/S5P/OFFL/L3_CLOUD. From the NO2 data I want to use 2 bands (cloud_fraction and solar_zenith_angle) to filter ...
1
vote
0answers
19 views

Google Earth Engine - image gap filling in imagecollection

i need to combine MODIS Terra and Aqua collection in a new collection in order to get the max NDSI value by day. The problem is that, for some years, the dataset has some gaps and the join function ...
0
votes
0answers
25 views

Image Collection normalization in google earth engine

I would like to know if it is possible to do automatic radiometric normalization for several images in a time series (an image collection i have created) to a single reference. I have found some ...
0
votes
0answers
9 views

Error extracting GFS data from Google Earth Engine

I would like to extract a few meteorology parameters from two datasets (denoted m1 and m2 in the code below by plotting them on a graph and then exporting the graph to csv. When I use m1 dataset (e.g. ...
0
votes
0answers
10 views

Usa Python requests library to download NOAA GFS and CFSV2 data

I'm using the following Python3 script to download ncdc data from NOAA using their friendly API. req4 = 'https://www.ncdc.noaa.gov/cdo-web/api/v2/data?datasetid=GHCND&datatypeid=PRCP&limit=...
0
votes
0answers
12 views

image visualization in[ jgp/png] python api for google earth engine

I have to represent the processed image from google earth engine obtained in tiff format to jpg/png image. I have an NDVI image and the image visualization parameters have a range of hexadecimal ...
0
votes
0answers
26 views

How to compute a zonal statistics in timeseries images in Google Earth Engine?

I have computed NDVI for January 2018 to December 2018 from Landsat images that give 21 NDVI bands. I have a shapefile with three polygons; I would like to have three time-series NDVI values ...
0
votes
1answer
29 views

Find closest date in list to date of interest with google earth engine

I have created a list of Sentinel 2 images. I have also extracted the date value from the DATATAKE_IDENTIFIER field and pasted it back as a property named "DATE" of ee.Date type for every image of my ...
0
votes
0answers
17 views

powerBi published to web shows website not authorized, for the HTML viewer

After publishing my powerbi project to web, I want to embed a website (google earth engine application) as an embedded html via the html viewer. After loading my project and publishing I find an ...
1
vote
1answer
23 views

Converting an imageCollection into a dictionary with unique label values

I am trying to write a function which will create a dictionary from an image collection using Sentinel 2 data which will contain label/value pairs where the label comes from the MGRS_TILE property ...
0
votes
0answers
62 views

Convert raster to polygon a reclassify NDVI raster on Google Earht Engine

This all the code I am using to estimate the NDVI. Initial values var roi =/* color: #98ff00 *//* displayProperties: [{"type": "rectangle"}] */ ee.Geometry.Polygon( [[[-72.3734130976651, ...
1
vote
0answers
57 views

Exporting Sentinel-2 cloudless image collection from Google Earth Engine

I would like to export a composite cloudless Sentinel-2 image from Google Earth engine which compiles data from 2017 until current. I am looking to export composites for each individual band. ...
0
votes
1answer
36 views

Translating Google Earth Engine to Python API: Spatial joins

I am currently translating my GEE from Javascript to the Python API. One initial problem I have encountered is with spatial joins. I essentially have a shapefile and a series of random points, and I ...
0
votes
1answer
68 views

Reclassify NDVI raster in intervals on Google Earht Engine

Location: var roi = /* color: #d63000 */ee.Geometry.Point([-71.97203347683796, -13.529827050320447]); Collection: var collection = ee.ImageCollection('COPERNICUS/S2') .filter(ee.Filter.lt("...
0
votes
0answers
16 views

Is it possible to get download URLs for each image in image collection using Earth Engine API for python?

I've seen this question asked before but seemed to be focused on exporting to GDrive, I want to export/download the images to my computer rather than google drive. I am trying to download each image ...
0
votes
0answers
43 views

How to fix “Manifests for TfRecord ingestion must have exactly one tileset with exactly one source” in google earth engine

When I tried to upload the .tfrecord and .json file via earthengine command line in google colaboratory, it shows the "Manifests for TfRecord ingestion must have exactly one tileset with exactly one ...
0
votes
1answer
48 views

GEE - Problems in using NASA GLDAS temperature data

I am trying to use NASA GLDAS temperature data for producing annual and long term statistics. Data is 3 hourly and I need to get the max value by day. Then I want to calculate the long term average of ...
0
votes
1answer
12 views

Creating featureCollection histogram with title

I am trying to create histograms from a feature collection based on a property in google earth engine such that I can provide a title and axis titles. the ui.Chart.feature.histogram does not seem to ...
0
votes
0answers
26 views

Pixel resampling on GEE: best practices

I got a bit concerned about the correct (or best practices) on resampling a raster from a pixel resolution (e.g.: 30 meters) to a coarse resolution (927 meters). My question: Is that fine to use ...
0
votes
4answers
81 views

Import data generated by JavaScript into R or Stata

I have been given a csv file that looks like this: id,v2,class 1,1,"{2=22.7, 0=4.8, 3=321}" 2,1,"{2=929.5, 1=11.2, 3=1229.8}" 3,2,"{2=50.9, 1=28.8}" I need to make this tabular -- more specifically, ...
0
votes
1answer
22 views

How to estimate a focal sum

hope your are fine! I am trying to estimate a kernel circle with a focal function summing the raster values, but just found hat there is no image.focal_sum() as I expected. Instead I found the focal_*:...
0
votes
1answer
26 views

Python API to extract closest dated SAR data

I have a google earth engine javascript code to detect water pixel in the closest date SAR imagery. Link of the code: https://code.earthengine.google.com/0a35eea49123a5390b822bac7afc1b0c. I can run ...
0
votes
0answers
23 views

Error generating chart: No features contain non-null values of "system:time_start

I'm trying to make time series using Google Earth Engine. However, I'm getting the error: Error generating chart: No features contain non-null values of "system:time_start" As far as I ...
0
votes
0answers
20 views

How to classify a sentinel 2 image with multiple bands without reaching memory limits?

I'm trying to do a relatively straight forward classification of a fairly small bit of Northern Tanzania using Sentinel 1 and 2 data and polygons drawn in earth engine. This is not a detailed piece of ...
0
votes
0answers
18 views

How to display changes in lake's surface area over time in a polygon bounded region, in a table in earth engine?

The problem statement is that a region of interest is given. I need to find all the lakes in a polygon bounded region using the NDWI index for water bodies, which are at a height of more than 1500m. ...
0
votes
0answers
17 views

Geometry alignment and exporting image problem in google earth engine

I have a multiband image in "Albers_Conical_Equal_Area" projection of size 333x333 pixels and I want to export it out of GEE (in TFRecord format) and read it on my desktop. To define the image ...
0
votes
0answers
16 views

Pass a variable to GEE export function

I want to convert a multiband image to array format and export it out of Google Earth Engine in TFRecord format. The number of bands is not fixed and therefore I have to calculate it and then pass its ...
0
votes
1answer
60 views

Splitting a feature collection by system index in Google Earth Engine?

I am trying to export a large feature collection from GEE. I realize that the Python API allows for this more easily than the Java does, but given a time constraint on my research, I'd like to see if ...
1
vote
1answer
33 views

Image returns w/ different nominalScale() after applying reducer.mean()

I am working on a simple script to get mean value from a ImageCollection(). To do this I am using ImageCollection.reduce(ee.Reducer.mean()). My problem is that the Image returned is coming with a ...
0
votes
1answer
65 views

Scatter Plot between 2 images Google Earth Engine

I have 2 high-resolution images in Google Earth Engine. I want to plot a scatter between these 2 images. But I am getting some error Missing required arguments to function seriesByRegion(): reducer. I ...
0
votes
0answers
37 views

How to visualize an uploaded Image on Google Earth Engine

I have an image, which I have uploaded on Google earth engine under the asset id: "users/chandrakant/Max_RZSC_WGS1984_25km". I want to visualize the data, but I am not able to do that using the code ...
1
vote
0answers
212 views

How to export Tiff images from Google Earth Engine

I am working on the Surface water data in google earth engine. I want to export the tiff files from here and use them in Mapbox. I am trying to export tiff images from google earth engine but My ...
0
votes
1answer
72 views

Exporting image array to TFRecord in Google Earth Engine

I want to convert a collection of 3 Landsat images (each 12 band) to a single image array and then export it in TFRecord format. I used below code. My input collection is named images. imageT is the ...
0
votes
1answer
43 views

How can I find all the lakes in a region (bounded by polgon) in earth engine?

The problem statement is that a region of interest is given. I need to find all the lakes in a polygon bounded region using the NDWI index for water bodies, which are at a height of more than 1500m. ...
0
votes
0answers
30 views

How to count number of points within a buffer in GEE?

I have ten random points ('points') and I am trying to figure out how many landmarks ('landmark') are within a 20 km radius of these points. I tried using the following functions to handle the task: ...
0
votes
0answers
35 views

How to calculate the Soil moisture index from Landsat8 imagery?

I am trying to calculate the soil moisture Index using Landsat 8 imagery. I am wrote a code in google earth engine but I dont know how to add a expresion to calculate the soil Moisture index. Formula ...
1
vote
1answer
22 views

How to solve [FlowExchangeError: redirect_uri_mismatch] / [FlowExchangeError: invalid_grant] on a google app engine app?

I need to make an app via app engine, I am familiarizing with the [demos] (https://github.com/google/earthengine-api/tree/master/demos). I have successfully deployed all of them except for "export-to-...
1
vote
2answers
78 views

Installing earth engine on Ubuntu

I want to install Earth Engine API on Python on Ubuntu 18.04. I have both Python 2.7 and Python 3.6 installed on my system, and I install Earth Engine using both pip and pip3 as instructed (installing ...
0
votes
1answer
36 views

What is the best method for building tabular dataset at pixel ID level with raster and vector data using Google Earth Engine?

I'm new to Earth Engine and am having a difficult time determining what the best method of obtaining tabular data at the pixel level based on raster and vector data inputs and geographic points of ...
0
votes
0answers
29 views

export images in google earth engine en masse with two changes

I am gathering images for a large area in google-earth-engine (GEE) and would like to export them as one task with different names for each image based, this will be based on the location of each ...
0
votes
1answer
20 views

How can I append two featureCollections?

I need to append two (slightly different) featureCollections that have no features in common: one collection describes polygons of one type, the other a different type with no spatial overlap and I ...