Questions tagged [google-earth-engine]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

Exporting frequency histogram result for *image collection* as CSV in GEE?

I am trying to export a feature collection of histogram data for an image collection as a table in GEE. The image collection has three bands, NDSI_Snow_Cover, NDVI, and "remapped," which ...
0
votes
0answers
7 views

GEE: Error moving an image collection asset into a folder

When trying to drag and drop an image collection cloud asset into a folder from the Assets browser in Earth Engine Code Editor, I get the following error: Asset error Before trying to move an asset, ...
0
votes
0answers
6 views

Draw multiple charts in one page (or image) in GEE

Is it possible to draw multiple charts in one page/image in Google Earth Engine? Something similar to the .setOnLoadCallback() in Google Charts.
0
votes
0answers
7 views

Google Earth Engine: moving points in a feature collection?

I have a .csv that contains 200 points, with several properties. I've imported this asset as a feature collection. All of these points should be over water, but there is a margin of error (a known ...
1
vote
0answers
9 views

How to Allow Only One Checkbox to be Checked

I want to create a checkbox that allow only One Checkbox to be Checked var checkbox = ui.Checkbox('A', false); checkbox.onChange(function(checked) { if (checked) { Map.onClick(function(coords){ ...
0
votes
1answer
27 views

Google Earth Engine calculation of new Index NDRS

I want to calclulate this index in GEE. I managed to calculate the DRS, but I do not understand how to calculate the NDRS. Can you help? https://code.earthengine.google.com/?scriptPath=users%...
0
votes
1answer
14 views

Generate a time series for a buffer point on Google Earth Engine

I am trying to extract the time series of soil moisture by applying a 500 m radius buffer to the point defined by mapping the bufferPoints function over the FeatureCollection, using the following code:...
1
vote
0answers
7 views

Exporting a table from Earth Engine to Cloud Storage using the npm package

I try to export a table from Google Earth Engine to Cloud storage with a script that runs using NodeJS instead of the code editor. However, when running the script, no file is added to the Cloud ...
0
votes
0answers
18 views

How to plot charts with fixed values from different regions in GEE [closed]

I'm extracting spectral signatures from Sentinel 2 imagery. I need to plot the chart for a certain target area showing the signature of the area and that one of a different reference area. Then I need ...
1
vote
1answer
22 views

Error: "Parameter Element is Required" in Google Earth Engine?

In the below code I want to put elevation average values in to the list but returns error: code link: https://code.earthengine.google.com/6337849ec707ae2e229ba4bdb02e5fff var startDate = '2000-01-01';...
0
votes
1answer
17 views

Google Earth Engine: image no data mask?

I'm pulling GEE images for large areas, for a short time period and with a fairly strict cloud condition. This can leave some parts of the GEE image with gaps where the collection has no images. That'...
1
vote
0answers
28 views

Plotting images from Google Earth Engine?

I am trying to plot GEE images as standalone figures (e.g., JPEG or PNG) for publications, however, I have not been able to find a standard method for doing that. For example, I have a landcover image ...
0
votes
1answer
22 views

Extracting geometry from feature collection in Earth Engine [closed]

I have a feature collection containing thousands of feature. They are categorized into 10 classes. As you can see in the picture, these features are spread irregularly. I need to merge their ...
0
votes
0answers
16 views

Error classification: Layer error: Property 'landcover' of feature '1_1_0_0' is missing [closed]

This is the code about classification: https://code.earthengine.google.com/?scriptPath=users%2Fbecologie1%2Fdefault%3ACLASSIFICATION%20SENTINEL%20(2021)%20Khenchela I get the error Layer error: ...
0
votes
0answers
23 views

Size of a Google Earth Engine filtered dataset within a specific region

I need to know the number of images into a filtered ImageCollection within a certain geometry, namely a multipolygon, to plot them in a chart. The .getInfo() method works (as stated here), but using ...
0
votes
1answer
23 views

How to add Google Earth Engine data to Google Earth

I just found out about the Google Earth Engine Catalogue and there are a few datasets that I want to take a look at. Is there an easy way to display some of these datasets in my desktop version of ...
1
vote
0answers
24 views

Average for each hour of the year over several years with Google Earth Engine

How can I get the average value for each hour of the year for several variables from the era5 data set via Google Earth Engine? This script extracts the hourly values for a set of coordinates. This ...
1
vote
1answer
20 views

Setting column order of chart in Google Earth Engine

The information of month, year and area are stored in a FeatureCollection, and were plotted by ui.Chart.feature.groups. In the chart, however, it is noted that the order of month columns is wrong. How ...
0
votes
1answer
26 views

Why export intermediate results in Google Earth Engine

Google Earth Engine's coding best practice says to export intermediate results. It says Such large samples typically need to be exported. Do not expect such samples to be available interactively (for ...
0
votes
0answers
10 views

Is there a Post-classification Majority Analysis feature on Google Earth Engine for sentinel-2A? [closed]

I have a problem "Layer error: Image.visualize: Cannot provide a palette when visualizing more than one band". if there is can you help me by sending the google earth engine code?
2
votes
0answers
23 views

Checking quality assurance of MOD10A1 NDSI for snow fraction retrieval

I have recently retrieved some snow fraction data over Fennoscandia from GEE for the first time. I realise the script has no quality assurance that is a built-in feature in MODIS imagery normally. ...
3
votes
1answer
36 views

Calculate and extract layer of NDVI change in Google Earth Engine

My experience and expertise in Google Earth Engine are super low. My study area is Sundarban, Bangladesh. I have 2 NDVI from 2 years (2016 & 2017). I want to find the vegetation change by ...
3
votes
1answer
31 views

Earth Engine - Exporting image after object based methods/analysis

I performed object-based methods to calculate a mean (zonal statistics) for connected pixels adapted from this guide: https://developers.google.com/earth-engine/guides/image_objects#label_objects Here ...
1
vote
1answer
37 views

Evaluating classification accuracy and the result of kappa test in Google Earth Engine

I am trying to check the efficiency of the classification. The classification accuracy and kappa test for 2020 are 0 while for 2000 is 1. I am just not able to put my finger on what is incorrect as ...
0
votes
0answers
22 views

Display Sentinel 2 Imagery in Google Earth Engine, but the image looks weird, how can I remove it

This is my code /** * Function to mask clouds using the Sentinel-2 QA band * @param {ee.Image} image Sentinel-2 image * @return {ee.Image} cloud masked Sentinel-2 image */ function maskS2clouds(...
0
votes
0answers
27 views

Exporting data keeps re-attempting [closed]

I am having some trouble exporting my data. I am trying to export the temperature, precipitation, digital elevation, and GLDAS outputs (eight of them) for each of the data points (time, lat, long) in ...
1
vote
1answer
88 views

Visualizing Collection of Pixels as Image in Google Earth Engine

I have a polygon and I want to extract both the value and coordinates of every pixel of a landcover raster within that polygon into a CSV spreadsheet. I will use that to perform computations outside ...
0
votes
1answer
19 views

Manual classification combining bands and defining values in GEE

I would like to perform some manual classification on a single image of S1-data which is fairly simple: either a pixel is classified as 'Water', or it is classified as 'Land'. I did these ...
0
votes
0answers
19 views

multiply() raises a projection error

I would like to plot a modis timeseries using GEE. I would like to scale the values and I am using a custom function to do as I am applying to a ImageCollection. When I run the code the data displays ...
0
votes
1answer
23 views

Help: area code download in Google Earth Engine

I need help exporting this data. I don't know how to make the line of code to download. I think the error is in image: s2,, right? Code: var addEVI = function (image) { var EVI = image.expression( ...
0
votes
0answers
13 views

How to convert NaN pixels to a number in when exporting images in GEE? [closed]

When exporting a clipped image, the area between the image boundary and the image bounding box is set to NaN by GEE. Is there a way to set those to a nodata value instead? I tried img.unmask(ee.Image(-...
1
vote
0answers
25 views

Smoothing/interpolating NDVI to remove missing data and outliers

I want to get the smooth NDVI data and want to remove the outliers, I want to know how can I achieve it. I attach my code, I tried to smooth it with 16 days window, but it still seems to have a sudden ...
0
votes
0answers
16 views

Google Earth Engine's regression residuals are different from the ones calculated with expression

I did regression with linearRegression and got the coefficients and residuals. I use the coefficients to calculate residuals using expersssion. However, the two residuals were different and I don't ...
0
votes
0answers
20 views

Is it possible to generate river lines in Google Earth engine? [closed]

I'm trying to calculate the river lines through the dataset ("WWF/HydroSHEDS/15ACC"), I calculated the centroid of each pixel that is possible to be a river and later I made an ee.Algorithms....
1
vote
1answer
21 views

Landsat 5 EVI in Google Earth Engine

I used this script for Landsat 8 and it worked fine, I've changed the band info for Landsat 5 but now I get this error: ImageCollection (Error) Error in map(ID=0): Image.select: Pattern 'B4' did not ...
1
vote
0answers
9 views

Zoom dependency of GLAD alerts raster layers visualization in Google Earth Engine?

Please see the simple EE code below, which basically displays 2 different layers of information, selected and masked from the GLAD alerts image collection. var all_alerts = ee.ImageCollection('...
2
votes
2answers
85 views

Reducing ImageCollection and calculating percentage of masked pixels in GEE?

I want to reduce an ImageCollection in Google Earth Engine and calculate the percentage of unmasked values for each pixel across the ImageCollection. In the example code the question would be, how ...
0
votes
0answers
19 views

Zonal Statistics od Google Earth Engine returning null

I'm following this example to create zonal statistics for EVI images in Google Earth Engine. In my code (GEE code here) I have a FeatureCollection of points, that creates a 3km buffer for each point, ...
0
votes
0answers
21 views

Dynamically formatting file names for exporting using Google Earth Engine JavaScript API

I'm very new to GEE and JavaScript and I am trying to export multiple landsat 8 satellite images for the same region over time. For example, let's say I want to extract images of the Seattle area from ...
0
votes
0answers
13 views

How to run and export zonal statistics for each feature of a Feature Collection in Google Earth Engine?

I'm building a JS script in GoogleEarthEngine. I am automating the code for many year to get a vegetation index (Enhanced Vegetation Index (EVI)) for each year. (code here). I'm trying to get for each ...
2
votes
1answer
27 views

Why is ImageReducer needed here to extract bands from an image?

I'm using Earth Engine with Python, and while I finally managed to find an answer here that helped me troubleshoot my problem, I am not sure why it worked, and that makes me concerned that I may be ...
-2
votes
0answers
14 views

Produce the ladsat7 gap-filling imagecolletion in GEE? [duplicate]

I want to produce the lansat7(ETM+) time series without scan line corrector(SLC) based on below algorithm, could it be achieved? Building upon this, Genadii Donchyts changed the algorithm for faster ...
1
vote
0answers
24 views

Calculating change area using NDVI in Google Earth Engine

I am new to Google Earth Engine and JavaScript. I am trying to visualize and calculate the changed area from the NDVI of 2 years (Landsat 8 surface reflectance). Can anyone please help me out to ...
0
votes
0answers
27 views

Conducting 'if' conditional and 'for' loop in Google Earth Engine

I'm going to conduct if conditional and for loop in Google Earth Engine. However, the process is completely different to other programming language such as MATLAB. I know about ee.Algorithm.IF and map ...
1
vote
0answers
20 views

Geometry simplification for large scale aggregations in GEE

When aggregating on a large scale in GEE, does geometry simplification matter? For example, when aggregating climate data on 30 km/pixel (e.g. NEX-GDDP), does it make computational sense to change ...
0
votes
0answers
16 views

Generating FeatureCollection with latitudinal stats from ImageCollection

I am a newbie in Earth Engine and I have been trying to get stats about the latitudinal distribution of plant species. I have an ImageCollection with one image for each species and in one band of the ...
0
votes
1answer
27 views

Why the results are often inconsistent using Random forest classification with same data? How to solve "time out"? [closed]

Different validation accuracies often occurs using ee.Classifier.smileRandomForest(10). The parameters are all default (the seed defaults to 0), and the samples and data are the same. How do I control ...
0
votes
1answer
19 views

How can I programatically check the dataset availability date range on a Google Earth Engine Dataset?

I have a script that takes user data and samples various Google Earth Engine Datasets. Some of these requests are outside of the date range of these products and I want to alert the user to this case. ...
-1
votes
0answers
18 views

Why the results are often inconsistent using Random forest classification with same data? How to solove" time out"? [closed]

Different validation accuracies often occurs using ee.Classifier.smileRandomForest(10). The parameters are all default (the seed defaults to 0), and the samples and data are the same. How do I control ...
2
votes
1answer
36 views

Downloading entire image collection of a particular month from 1990-2020 in GEE platform?

I am trying to download ERA-5 daily minimum temperature data of 10 years (2010-2020) for a particular month (at present for November) and a study area (an imported shapefile as WH). I have extracted ...

1
2 3 4 5
78