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
5 views

Why reduceColumns is not working at all in Google Earth Engine?

I have tried to extract the data in a specific column of my featureCollection using .reduceColumns, but got nothing. Other columns work, but the column "Image_ID" is not working. I thought ...
0
votes
0answers
7 views

Google Earth Engine Visualization: min and max

I am using ERA5-Land Monthly Averaged - ECMWF Climate Reanalysis to calculate the annual potential evaporation globally. However, I cannot visualize the colour palette in my final output. The problem ...
1
vote
1answer
11 views

Select out images from an ImageCollection using a list and make a new collection

I have an image collection that spans multiple years. I have looked at each image in the collection and created a list of the image's indices that I'd like to keep for my future analyses. However, I ...
0
votes
0answers
4 views

More recent availability of DNB VIIRS monthly [closed]

For a project I want to use data more recent than 2021-05-01 of VIIRS Stray Light Corrected Nighttime Day/Night Band Composites Version 1. Ideally on google earth engine, otherwise I am happy to ...
1
vote
1answer
16 views

Creating a Rule in NOAA/CDR/AVHRR/NDVI/V5 to only display NDVI for dense vegetation Google Earth Engine

I'm trying to apply a rule to NOOA NDVI the already classified region to only display dense vegetation areas but it's saying NDVI is not a function. Here is the code: //collecting data using ndvi var ...
0
votes
0answers
10 views

GEE Error - unable to transform geometry to pixel grid

I am trying to convert a feature collection to an image. I can do it and add it to the map without an error, but when I export it, I get the following error: Error: Unable to transform geometry to ...
0
votes
2answers
15 views

Make 0 values transparent or white on Google Earth Engine

I plotted a raster onto Google Earth Engine, with a colour palette, and created a legend as shown. // Pull the package from the GitHub repo which stores colour palettes to be used in GEE // See https:/...
0
votes
1answer
15 views

Scale Factors application not working on GEE PyQGIS

I'm trying to load some Lansadt 7 Collection 2 images on a QGIS project trought the following script: import ee from ee_plugin import Map ecorregiones = ee.FeatureCollection('users/paullcfias/...
0
votes
1answer
24 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
1answer
20 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
14 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
1answer
15 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
17 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
32 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
26 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
11 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
31 views

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

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
23 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
30 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
18 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
24 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
26 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
27 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
21 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
24 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
38 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
35 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 ...
-1
votes
0answers
23 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
29 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
91 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
20 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
26 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
21 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
25 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
10 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
87 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 ...
1
vote
1answer
23 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
22 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
14 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
29 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
2 3 4 5
78