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
0
votes
1 answer

How to export a big image?

I want to export the imagecollection by 'geemap.ee_export_image_collection_to_drive()', and I got this: Error: Exported image is too big (64240321180032 bytes > 64000000000000). (Error code: 3) All the images in collection are useful so it's better…
0
votes
0 answers

reproject and reduce like in Google Earth Engine but in R?

I created 2 max_NDVI collections in Google Earth Engine, one from VIIRS and the other from MODIS. I reproject the VIIRS collection to 500m and then reduce it…
0
votes
1 answer

Can't export my image from Google Earth Engine

I'm aware I'm far from the first person to ask this question, but I found myself likewise perplexed at how to export an image from this godforsaken program, and after trying to parse through a lot of JavaScript that might as well be Greek to me,…
snbelair
  • 21
  • 2
0
votes
1 answer

Boolean calculation: Do 'and' and 'And' share the same meaning in colab?

I have two codes about image mask in Google colab: (1) mask1 = img1.gt(0.5) and img2.lt(1.2) (2) mask2 = img1.gt(0.5).And(img2.lt(1.2)) Are they different? Does mask1 equal mask2?
0
votes
1 answer

Trying to sum all the cells in a map in google earth engine

I am trying to get a number of the sum of all pixels in google earth engine, this is what I tried var PopulationCount = ee.ImageCollection("CIESIN/GPWv411/GPW_Population_Count"); function filterbyyear(image, year) { return…
Derek Corcoran
  • 3,930
  • 2
  • 25
  • 54
0
votes
1 answer

How do I map over individual regions, over a several year timespan, in Google Earth Engine?

I'm new to GEE and am trying to get the average precipitation over a time period 1981-2019 for geometries along a transect. Here is my code: def yearlyRainfall(year): startDate = ee.Date.fromYMD(year, 1, 1) endDate = startDate.advance(1,…
rg64
  • 1
0
votes
1 answer

Summarize Pixel Value in Every Image of an Image Collection in Google Earth Engine

I am a newbie in GEE. I want to calculate a sum / mean of a pixel value (rainfall data from CHIRPS satellite) in one region of every image data in an ImageCollection. Basically i want to calculate the mean daily rainfall in my study area. Here is my…
Kelana
  • 21
  • 2
0
votes
0 answers

How do I generate only positive NDVI values from Google Earth Engine for my study area?

Please, how do get positive values of NDVI for my study area? Please see my Javascript code below. Unfortunately, after running the code, the NDVI chart generated are mostly negative. (See image attached). How do I correct this please? Image of…
0
votes
0 answers

I am trying to calculate a mean LST for year 2000 with both TERRA & AQUA data, I am confused if my code is correct. can someone please check it?

I am very confused if the process I have adopted to calculate the annual LST for a year is correct or not. Also, I am trying to chart the value but I see 'No features contain non-null values of "system:time_start"'. please help me in determining if…
0
votes
1 answer

How do I merge a collection of imagines into a single image then export it

I would like to merge a collection of images (unknown amount) of a polygon into a single image and then export it to google drive for analysis in qgis. This is the code I have tried to us // Define the AOI var aoi =…
0
votes
0 answers

How to change datatype of column in FeatureCollection in GEE

I have FeatureCollection with 4 columns with different datatypes. One of them is "long" which I neet to converte to "Int". The FeatureCollection was imported as shapefiles. I need this column as "Int" to do classification. type:…
0
votes
0 answers

Convert from "list" type to "ee.Image"

I want to add value to list to ee.Image. MODDAY_ext_lst <- select(MODDAY_ext, LST_Day_1km) print(MODDAY_ext_lst) class(MODDAY_ext_lst) Result: > class(MODDAY_ext_lst) [1] "data.frame" > typeof(MODDAY_ext_lst) [1] "list" cal_value <-…
edaasc
  • 3
  • 2
0
votes
0 answers

Check for data availability before calling ee.ImageCollection.filterDate

Hey fellow EE developers! I am currently working with the Dynamic World data set and am analyzing different locations for a set time range (2016-2022). However, at some locations it seems data is missing, so EE returns: Image.eq: If one image has no…
frgoe003
  • 1
  • 1
0
votes
0 answers

"tile_dimensions must be specified for TfRecord export" error in Google Earth Engine

I'm trying to export the images in TFRecords format in Google Earth Engine and I got below error: "tile_dimensions must be specified for TfRecord export" Here is the code var Regoin= imageCollection.filterBounds(geometry); var image=…
0
votes
1 answer

Is there another way to convert ee.Number to float except getInfo()?

Hello friends! Summarization: I got a ee.FeatureCollection containing around 8500 ee.Point-objects. I would like to calculate the distance of these points to a given coordinate, lets say (0.0, 0.0). For this i use the function…
Phil Adam
  • 3
  • 1