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
1
vote
0 answers

aggregate daily values to monthly for each pixel in a polygon using google earth engine

I am processing the NASA NEX-GDDP data on google earth engine for a polygon. This data has three varibales: pr, tasmin, tasmax and is daily resolution. For each day and variable, there are 21 images till 2005 and 42 from 2005 onwards. My goal is to…
89_Simple
  • 3,393
  • 3
  • 39
  • 94
1
vote
0 answers

Sentinel 1 data gaps in swath overlap (not sequential scenes) in Google Earth Engine

I am working on a project using the Sentinel 1 GRD product in Google Earth Engine and I have found a couple examples of missing data, apparently in swath overlaps in the descending orbit. This is not the issue discussed here and explained on the GEE…
brobertsp
  • 71
  • 6
1
vote
1 answer

Normalize image values in Earth Engine

Using the landsat 8, tier 1, TOA Imagery. I noticed that the thermal bands (B10, B11) are ranging from ~230K (Kelvin) to 320K. I need them to be between 0 and 1 instead.
Florian Fasmeyer
  • 795
  • 5
  • 18
1
vote
1 answer

Google Earth Engine Python API, image .and(image2) function

Using the .and(image2) in python gives an 'invalid syntax' error because it confuses it with the boolean operator that returns a boolean. Whereas in earth engine JavaScript, ee.Image.and(image2) returns an ee.Image. What is the Python equivalent for…
Hiba Jamal
  • 43
  • 5
1
vote
1 answer

Downloading Earth Engine images locally

Is there a workaround to be able to download images acquired using Google Earth Engine (either the JS Earth Engine Code online or the Python API) that avoids using Google Drive or Google Cloud? The files I'm trying to download are several GBs each…
1
vote
0 answers

Calculating area of pixels in Google Earth Engine for image collection, then exporting values as CSV

I am trying to calculate the area of water pixels in two scenarios: 1) images where clouds are not masked, 2) images where clouds are masked. Previously, I managed to do this for Landsat 5 and 8 by plotting it as a chart, where I could directly…
catlovingtaco
  • 123
  • 10
1
vote
1 answer

Exporting TFRecords training patches with Google Earth Engine (kernelSize issues)

I've been using GEE to export some training patches from Sentinel-2 to be used in Python. I could make it work, by following the GEE guide https://developers.google.com/earth-engine/tfrecord, and using the Export.image.toDrive function and then I…
1
vote
0 answers

Why can't I write the tensorflow predicted images from google earth engine to google cloud bucket vía google colab?

I've taken the example from https://colab.research.google.com/github/google/earthengine-api/blob/master/python/examples/ipynb/UNET_regression_demo.ipynb but at the "doPrediction(image_base, user_folder, kernel_buffer, region)" part, it throw's me…
1
vote
0 answers

How to export MODIS Albedo time series at multiple points in single csv file in Google Earth Engine?

I have around 50 locations/points (defined by (latitude, longitude)) in a .csv file. How can I import all these points in google earth engine and then export time series of Albedo (or any other sample data) for each point in single .csv file for…
raghav
  • 533
  • 2
  • 11
1
vote
0 answers

Extract number from dictionary in Javascript with Google Earth Engine

I started to learn javascript with Google Earth Engine and I have a problem : var median_computed = Result.reduceRegion({ reducer: ee.Reducer.median(), geometry: aoi.geometry(), scale: 30, maxPixels: 1e9 }); I try to extract the median…
1
vote
1 answer

How to flatten FeatureCollection to a table when reducing Regions

All this gee is new for me. I'm trying to flatten and export a table resulting from reduceRegions. The resulting json is a FeatureCollection but trying to .flatten() will thrown an error. // Import WDPA dataset var dataset =…
Paulo E. Cardoso
  • 5,778
  • 32
  • 42
1
vote
0 answers

how to retrieve Common data for Sentinel-1, Sentinel-2 and Landsat-8 on same study area

I am an amateur to GEE, Can anyone help me the script to retrieve Common data for Sentinel-1, Sentinel-2, or Landsat-8 on the same study area? I require all the three sensor's data for same-day in the same study area. This is for comparing and…
1
vote
2 answers

Iterate over Image Collection Google Earth Enigne

I have written functions that processes all Landsat imagery and calculates NDVI. However, I have 59 GPS points, and I want a NDVI time series output per GPS point. After running my code, it seems that the resulting NDVI values are not per point, but…
kjtheron
  • 191
  • 1
  • 11
1
vote
1 answer

Get image from ee.reduceRegion Google Earth Engine Python

As the function documentation suggests, we know that the reduceRegion() function comes in handy when we get the 'Too many pixels' error due to server restrictions. I'm currently working on Google Colab and my code is the following: image =…
1
vote
1 answer

Export each image of an image collection with visualisation parameters

I would like to export specific images as a geotiff to upload for analysis on QGIS (looking at change over time). I want to be able to export each of the images in the l8_merge collection with true colour bands. I've started with a single image…
Lola
  • 41
  • 2
  • 6