Questions tagged [google-earth-engine]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
15 views

Using GEE to investigate area of Desert returns wrong area

I am very new at GEE and am trying to investigate how much of Chad is desert using NDVI. I presumed using Reducer.count() to count the number of pixels and then multiplying it by the scale would give ...
0 votes
0 answers
17 views

Conversion of LST from K to F in gee

I'm trying to get LST using Landsat 8. I have successfully generated images for LST in Kelvin. But I need to get images in Fahrenheit. I'm trying to use expression for formula but I don't know How I ...
  • 1
1 vote
0 answers
18 views

Raster Statistics of Fire Driven Forest Loss within shapefile

I have two inputs, a shapefile which I am reading in as a geodataframe, and raster data from - GFW Fire Driven Forest Loss dataset (see: https://glad.umd.edu/dataset/Fire_GFL/ ) From documentation: &...
  • 323
0 votes
0 answers
25 views

How can hourly ERA5 data be converted to daily data?

I'm going to convert the hourly data into average, maximum, and minimum data and then calculate the reference evaporation and transpiration based on that, but finally I get an error. How can I correct ...
0 votes
0 answers
17 views

Mean MNDWI on Landsat 5, landsat 7 and Landsat 8 Harmonization [closed]

I calculated Mean MNDWI on a harmonized image collection of Landsat 5, Landsat 7 and Landsat 8 as well as on each satellite separately but I don't get the same values of MNDWI timeseries. So, I don't ...
-1 votes
0 answers
21 views

NDVI in Google Earth Engine

I want to process NDVI data in Google Earth Engine and finally I use a script like below. var dataset = ee.ImageCollection('LANDSAT/LC08/C01/T1_8DAY_NDVI') .filterDate('2017-01-01', '...
-1 votes
0 answers
21 views

Resample all bands of sentinel image collection to 10 m [closed]

Sentinel bands have a different spatial resolutions (10m, 20m, 60m). I am trying to compute mNDWI (green - swir)/(green+swir). the problem is the two bands in all image collections have different ...
  • 1
0 votes
1 answer
29 views

Reclassifying multiple bands in Google Earth Engine

I'm trying to reclassify multiple bands from my raster. It is a land use raster of the Amazon basin by Mapbiomas. I need to reclassify all 36 bands at once. ## Reclassifying multiple bands raster ...
0 votes
0 answers
13 views

Output of connectedComponents retrieved with Selector Tool and with reduceRegions are different using Google Earth Engine

In Earth Engine, I am trying to extract the random IDs assigned by the connectedComponents tool to the objects (or 'regions') of a LULC dataset at the locations defined by a FeatureCollection. The ...
0 votes
0 answers
13 views

Exporting selected deforestation polygon from Google Earth Engine (Hansen) [closed]

I am trying to export a polygon of a selected area from the Hansen deforestation data set. Whenever I try to export it from Google Earth Engine I get an error message saying: Could not prepare ...
0 votes
1 answer
14 views

Trying to reduce NAIP resolution from 1m GSD to 5m GSD using reduceResolution

I'm trying to reduce the resolution of a NAIP mosaic from 1m GSD to 5m GSD. I get the following error: Image.reduceResolution: The input to reduceResolution does not have a valid default projection. ...
-1 votes
0 answers
18 views

Extract images using centroids

I have a CSV file containing centroids of images I want to extract 256 x 256 images using Google Earth Engine or any other free tool. I had previously extracted these images manually from SAS planet ...
0 votes
0 answers
23 views

Trying to obtain image with max NDVI value for each month of the year across multiple years with Sentinel

For my project, I am trying to obtain a single image for each month that represents the maximum NDVI value for that month across several years. So, basically I want 12 data points across the range of ...
0 votes
1 answer
27 views

How to save mosaiced Landsat8 to Google drive from Google Earth Engine?

I am trying to download Landsat 8 surface reflectance images from Google Earth Engine to Google Drive for a large region. So, I am using mosaic function to stitch multiple scenes using the following ...
0 votes
1 answer
25 views

Google Earth Engine reproject method not giving desired resolution

I want to have raster with 30 m resolution. Using EE's reproject method: lulc.reproject(crs='EPSG:4326', scale=30) (OR) lulc.resample('bilinear').reproject(crs='EPSG:4326', scale=30) Is giving raster ...
  • 147
1 vote
0 answers
24 views

Landsat Collection 2 surface reflectance harmonization

I am using Landsat 5, 7, 8 collection 2 level 2 to extract NDVI time series with GEE. Is it necessary to apply the Landsat ETM+ to OLI Harmonization with the Roy et al. (2016) coefficients to ...
  • 11
0 votes
1 answer
16 views

Earth Engine App: How to load a layer from select dropdown?

I want to create a dropdown menu and when the user selects an item I want it to load that layer. This is my code https://code.earthengine.google.com/dfbb128862bd8a3b0fb2139f5b0f5a28 var layers = { ...
  • 52
0 votes
0 answers
30 views

Resampling images in GEE

I'd like to resample three images into the same scale as the rainfall data in GEE. So far the code below works for Sentinel but not for the soils data which is still in 30 meters. var rainfall = ee....
  • 15
0 votes
1 answer
16 views

Trying to Calculate Built-up Class area using ESA LULC

I am trying to calculate the Built Up class area but not getting the correct result. I am using ESA 10 Meter LULC. ''' var area = ee.FeatureCollection("users/Muhammad_Waqas/District_Boundary"...
0 votes
0 answers
17 views

Use GEE for loop to solve 'collection query aborted after accumulating over 5000 elements'

I have 279 points (https://code.earthengine.google.com/?asset=projects/ee-zhaominyan/assets/2_29UMT), and need to get the surface reflectance of each points from Sentinel-2 for a very long period (...
0 votes
1 answer
41 views

Export all images from VIIRS's ImageCollection from Google Earth Engine to drive

I am trying to export all images of the image collection of VIIRS. I am following the answer from this post. Instead of setting a bounding box as a clipping layer I have a .shp of my study area. When ...
  • 367
0 votes
0 answers
12 views

LANDSAT 7 Surface Reflectance Not Correctly Calculating GCI for Large Swaths of Area

I am attempting to calculate the Green Chlorophyll Index across districts in Mali between 2010 and 2019. I use Landsat 8 Surface Reflectance data for 2013-2019(since LANDSAT 8 began in 2013) and I use ...
0 votes
2 answers
20 views

Map.setCenter using a variable in Google Earth Image

How can I pass a variable to Map.setCenter? I'm trying to use GEE to to view a location that comes from a variable. That is, the following works: var scene = "LC80122482013122LGN01" var ...
  • 1,600
0 votes
0 answers
17 views

Creating vertical gradient legend in Google Earth Engine

I am trying to create two legends in Google Earth Engine. The first one, the horizontal legend is fine, but I can't find a way to properly create the vertical legend. Also, my script seems very long. ...
  • 139
0 votes
0 answers
24 views

Layer error: Computation timed out

I want to run object-based svm classification with Sentinel 1 and Sentinel-2 images, and for that I first segmented the Sentinel-2 images which worked well. But then I wanted to make classification ...
0 votes
0 answers
28 views

Levenberg–Marquardt algorithm in Google Earth Engine for parameter optimization

I have managed to successfully run the model below in Google earth engine, however the parameters α and β are unknown coefficients that need to be determined through optimization based on the ...
  • 15
1 vote
1 answer
28 views

Units of ERA5 Daily Aggregates Google Earth Engine

In Google Earth Engine, ERA5 Daily Aggregates - Latest Climate Reanalysis Produced by ECMWF / Copernicus Climate Change Service Bands show the maximum total_precipitation value of 0.02m which is 20mm. ...
0 votes
0 answers
20 views

What is the date range(0 and 1) under the properties tab of an Image Collection and how do I get it in the DD-MM-YYYY format?

I'd like to know what the date range in the image attached refers to and if it can be obtained in the DD-MM-YYYY format in GEE?
0 votes
1 answer
14 views

What does a S1-GRD Collection contains?

The following code is to filter, clip and select images from the Sentinel-1 GRD Collection in the Google Earth Engine Platform. When I print the image collection, and set the start and end date of 1 ...
0 votes
0 answers
32 views

MODIS LST QC_Day band has masked out areas, why so?

I am trying to compare January's mean composite of MODIS Terra LST 8-Day Global 1km (MOD11A2.061) of the year 2021 processed using two different platforms. The first one is done using python scripts ...
  • 118
-1 votes
1 answer
27 views

Want to take all Januarys from 2000 to 2021 [closed]

var collection = ee.ImageCollection("MODIS/006/MOD09GA") var iniDate = ee.Date.fromYMD(2000,1,1) var endDate = ee.Date.fromYMD(2021,12,30) var mon = collection.filter(ee.Filter....
  • 1
0 votes
1 answer
22 views

Making selection and loading layer using Google Earth Engine JavaScript API

I have created a simple ui.select() menu and want the app to load the desired layer upon selection. This is my code, this code is not working and second thing is that I don't want to do if else ...
  • 52
0 votes
1 answer
17 views

Google Earth Engine band did not match any bands error

I am trying to composite S2 images by different technique but the composites for the 25 and 33 percentiles (ee.Reducer.percentile([XX])) its giving an error : p33: Layer error: Image.select: Pattern '...
1 vote
1 answer
101 views

Earth Engine App: How to Reset Charts Displayed on Map?

I have created an Earth Engine app in which user selects a class from dropdown menu. When a class is selected and load button is clicked chart is displayed on Map as well as other layers. When I ...
  • 52
1 vote
0 answers
23 views

Are the Sentinel-2 images in Google Earth Engine already topographically corrected?

I'd like to know if the Sentinel-2 Level-2A imagery, hosted in Google Earth Engine, was processed to attenuate topographic effects. The dataset description page (https://developers.google.com/earth-...
0 votes
1 answer
29 views

Timelapse only shows single year in Google Earth Engine (ERA5 Daily agg.)

I am trying to make a yearly timelapse of ERA5 Daily aggregates (precipitation) using cartopy but the output gif and images generated show the plots of single year. I am trying to extract the images ...
1 vote
1 answer
24 views

How to create a buffer around a feature present in a feature collection in Google Earth Engine?

I am trying to create a buffer of specific radius around a feature present in a feature collection through the following code: var cellular_data= ee.FeatureCollection("users/jazibimran_farmdar/...
0 votes
1 answer
49 views

GCI and NDVI Uncorrelated in Same Region and Time Period

I am attempting to calculate NDVI and GCI values during the 2019 growing season within districts in Mali. Specifically, I want to take the max of NDVI/GCI values for each pixel over the growing season ...
0 votes
1 answer
51 views

Capture monthly yearly change temperature from CSV in GEE

I did not receive any data from change temperature CSV from my code. How can I correct it? I need to export monthly yearly change temperature in single CSV but I did not receive any data in my CSV. ...
  • 9
0 votes
0 answers
50 views

Sentinel 1 Soil Moisture Calculation using dubious model and topps equation

I'm trying to calculate soil moisture using dubious model and topps model using gee. But I'm finally getting no data values using the topps model. What could be the solution? var roi = table.geometry()...
  • 1
0 votes
1 answer
37 views

Get list of longitude and latitude for non-null pixels in a region (Earth Engine)

I'm trying to extract the pixel's mid point longitude and latitude value in GEE firms dataset where a fire has occurred. I filtered the image collection ee.ImageCollection('FIRMS').filterDate('2020-...
  • 3
0 votes
1 answer
33 views

Plotting ERA 5 Data for Specific Region on Google Earth Engine [closed]

I am trying to plot (show data on interactive map) ERA 5 daily averaged Precipitation, but I can't figure out how can I plot for a specific region (bounding box)? The map shows the data for the whole ...
0 votes
1 answer
33 views

Different MIN values from same year's yearly mean composites: one composite from all images and another from monthly composites

I am comparing (maximum & minimum values) yearly composites (both day & night) of Terra MODIS Daily LST 1 km. I calculated using same images but different approaches - just to see if they have ...
  • 118
0 votes
0 answers
14 views

Snow cover timeseries in GEE - MODIS NSI - shows zero snow in winter in Norway

I want to make a simple time-series of snow cover in a study area in Norway. I modified the script below from another post: Generation of snow cover area time series in GEE using MODIS Snow Cover ...
  • 43
-1 votes
0 answers
17 views

Calculate Hourly Temperature Using ERA 5

I am trying to Download hourly temperature data but no luck. var startDate = ee.Date('2021-11-02'); var endDate = ee.Date('2022-04-15'); // Specify Country names var area = ee.FeatureCollection(&...
0 votes
1 answer
28 views

Export an Landsat image from ImageCollection from GEE to drive

I'm trying to export an Landsat image from GEE to a Drive, but the Export function that I applied gets 14 images (13 contain NoData and 1 the image). This is my code: function applyScaleFactors(image) ...
0 votes
0 answers
12 views

Broken image while producing LULC map using Dynamic World V1 dataset

I am using the dynamic world v1 dataset for creating a LULC map for the Florida Panhandle area. Whenever I take a small time period, I get an incomplete, kind of broken image. I am trying to find the ...
0 votes
1 answer
43 views

How to refresh layers and ui elements in google earth engine app?

I want to create a Google Earth Engine app. When a user selects something from the dropdown element and clicks on the load button I want it to load that particular layer and its label displayed on map....
  • 52
0 votes
1 answer
25 views

NDSI masking values are not coming best

I'm trying to get yearly NDSI using MODIS and within range of 0-1. higher NDSI values indicate snow presence. While my code is showing 0 values in glacier and snow areas, and snows as 1 for areas ...
0 votes
0 answers
30 views

Some methods and modules do not work in Google Earth Engine Python API

I am trying to calculate indices by Python API in VS Code area. The problem is that some methods and modules don't work in the Python area, especially in VSCode. Surprisingly, some methods work on ...

1
2 3 4 5
91