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
1 answer
25 views

Export list (properties of image) from GEE

I tried to export a list, which is the values from the image from gee. I tried both Export.image.toDrive() and Export.table.toDrive(). But they don't work. Below are the codes I am using (an example ...
0 votes
2 answers
61 views

Calculate distance to target pixels in Google Earth Engine

I am having a water body raster in the form "0" as water pixels values and rest of the area is "masked". I want to have my output in the form of an image such that each point in ...
0 votes
0 answers
14 views

Monthly and yearly images visualization [duplicate]

I'm trying to get monthly and yearly images of MODIS Snow and also I have converted images into monthly and yearly too. Now I want to get visualization of all images by monthly and yearly but I don't ...
0 votes
1 answer
35 views

Google Earth Engine - Extracting Sentinel 1

I am trying to extract values of Sentinel 1 and Sentinel 2 images at polygon locations. For Sentinel 2 it works perfectly, for Sentinel 1 I only get empty feature collections back (see code below). ...
0 votes
1 answer
68 views

How to split a polygon shapefile into small polygons using Python

I have a polygon shapefile and want to divide them into very small regions using python. This is being done as Google Earth Engine does not download data over large areas, hence I want to divide the ...
  • 147
0 votes
0 answers
31 views

Get all monthly and yearly collection images into single time

I'm doing MODIS Snow mapping for monthly and yearly but every time I need to write again and again code for separate month and year when I take median for each. But I want to get all images within ...
0 votes
2 answers
51 views

Google Earth Engine: running NDVI analysis by month

How would I go about making my analysis values per month rather than per year Create date filter and vector of years for analysis var date_filter = ee.Filter.date('2010-06-22', '2022-06-22'); ...
  • 1
0 votes
0 answers
23 views

Google Earth Engine exports empty files

I'm using Google Earth Engine's JavaScript API to process and export a set of Sentinel-2 images. I'd like to export the whole ImageCollection, and have successfully done so with a similar dataset ...
  • 181
0 votes
0 answers
17 views

Supervised Classification gives "Directory(error)" ans "SR_B1" missing error in GEE

I am trying to run supervised classification on single date, cloud free, Landsat 5 collection 2 level 2 image. I have imported the point shapefiles of different classes with class values and have ...
0 votes
1 answer
28 views

Cloud masking function giving null values

I'm trying to do cloud masking using sentinel but As you can observe, there are pixels that are ‘black’ (or dark) especially on the cloud areas. These are potential pixels with ‘NULL’ values (values ...
0 votes
1 answer
62 views

Extract specific pixel's values in all bands of multiband image [closed]

Earlier related post here: (Extract Median Value of composite but keep associated pixel data) Reposting for additional clarity and refined question. Datasets: Multiband Image with bands ['NDVI', 'Red',...
1 vote
1 answer
27 views

MODIS NDSI Monthly Map

I'm trying to map monthly NDSI map using MODIS dataset but when I clip it to my area using Snow band, it is showing the band is not found. Here is the code: Map.centerObject(area) var dataCollection = ...
0 votes
1 answer
24 views

Print Image pixel values for coordinates from asset

I managed to get value for single pixel with this code, but I would like to get this value for every coordinates from this asset - https://code.earthengine.google.com/?asset=users/jakubhrouda/nandu. I ...
  • 1
0 votes
1 answer
25 views

Creating pixel specific list using Google Earth Engine

I want to create a layer that would have a pixel-specific list based on another layer. In this hypothetical scenario, the first layer contains the day when a change happened. Then, I want to create a ...
  • 59
0 votes
1 answer
34 views

In Google Earth Engine (GEE) what is the difference between ConfusionMatrix() and errorMatrix()?

In the process of evaluating the classification of a satellite image, it is verified that the GEE has two available commands: ConfusionMatrix() and errorMatrix(). In some literature I see that both ...
0 votes
1 answer
26 views

In Google Earth Engine, task - batch - DownloadTo is not downloading the images

I'm running a piece of code that get some satellite images, clip them, and then save the clipped area to a folder in my Google Drive. The code runs with no errors (after debugging), but when I go and ...
0 votes
0 answers
84 views

Exporting average annual/monthly NDVI using Google Earth Engine

I referred to the code to export NDVI from GEE, but the console always says: Error generating chart: No features contain non-null values of "system:time_start". code link: https://code....
  • 1
0 votes
0 answers
27 views

Classification assessment supervised in Google Earth Engine: training samples or validation samples?

I'm using a supervised classification on the GEE and I have to evaluate my results. I came across some terms that I didn't understand their application. According to the official GEE bibliography, in ...
0 votes
1 answer
37 views

What does Soil Moisture Profile (%) mean in NASA-USDA Enhanced SMAP Global Soil Moisture Data in Google Earth Engine? How is the % calculated?

What does Soil Moisture Profile (%) mean in NASA-USDA Enhanced SMAP Global Soil Moisture Data in Google Earth Engine? How is the % calculated? I searched a lot but did not find the equation or ...
  • 1
0 votes
1 answer
48 views

How does "ee.reducer.mean()" work when applying a mask over an image if the spatial resoultions of the image and the mask aren't the same? [closed]

I am trying to calculate NDVI using MODIS images over corn fields. But I'd like to mask the areas which are not corn. The spatial resolution of MODIS images is 250m, but the resolution of the cropland ...
0 votes
1 answer
33 views

How to download large amounts of data directly on my PC without using Google Drive? or How to get Google Drive more then 12 Tb? [closed]

I have an algorithm for creating winter snow composites. I want to process Sentinel-2 data for a large area and download the result.
0 votes
0 answers
43 views

To know the forest cover, forest loss and forest gain in Bangladesh

I wish to know the forest cover, forest loss, and forest gain in Bangladesh from 2000 to 2020. For this, I have used the 'UMD/hansen/global_forest_change_2021_v1_9' collection from Hansen's global ...
1 vote
1 answer
29 views

ee.reducer.max - derive which image contained the max value?

I am using rgee for the Google Earth Engine API in R to reduce an image collection and obtain the max value for each cell - this works fine. Is there an equivalent function to "which.max" R ...
  • 13
1 vote
1 answer
27 views

GEE error Dictionary.set: Parameter 'value' is required

I'm attempting to calculate the proportion of landcover classes for each county in Oregon in GEE and export values as a CSV, but I get the following error: Error: Error in map(ID=00000000000000000000):...
1 vote
0 answers
22 views

Mapping Cloud Correcting Function using Google Earth Engine [closed]

I'm using the JavaScript API of Google Earth Engine. I'm running code given here and described in the developers forum here. The functions supplied work independently of each other, but at the bottom, ...
  • 181
2 votes
1 answer
83 views

How current are near real time MODIS products maintained by GEE (MOD09GQ) ? What is the update frequency?

I'm trying to compute a near real time time series of MODIS daily NDVI from MOD09GQ for an area of interest. I was using some download tools that got deprecated and are no longer supported (MODIStsp ...
0 votes
0 answers
34 views

Sample S2 images, getting the closes pixel for nodata

I got something like this: var cld = require('users/fitoprincipe/geetools:cloud_masks'); function quick_cld(img){ return cld.sclMask(['cloud_low', 'cloud_medium', 'cloud_high', 'shadow'])(img) } ...
1 vote
1 answer
41 views

Creating time-series chart out of list in Google Earth Engine

I have reduced a band/variable of daily image collection to monthly collection. The function returns a list containing objects with 2 properties. Like this I want to plot a time-series chart of all ...
0 votes
1 answer
166 views

Error: Projection: The CRS of a map projection could not be parsed. (Error code: 3)

I transferred the image I exported from Google Earth Engine to QGIS. I am getting projection error in my work. Anyone have an idea about this? When I want to export in WGS 84 EPSG:7030 I get the error ...
0 votes
1 answer
49 views

How to use Buffer on a Feature Collection?

I'm working in GEE and trying to create a buffer around the coastal_saltmarsh Feature Collection imports(imported as table). However, GEE allows the use of buffer only on a Feature or Geometry(ee....
0 votes
1 answer
26 views

Error reducing daily image collection to monthly and making a time-series chart in Google Earth Engine

I am new to GEE and don't know lots of concepts. I am trying to make a time-series chart of an image collection that I have reduced "Daily NASA Earth Exchange Global Climate Projections" ...
0 votes
1 answer
32 views

Computed values outside of expected range (Earth Engine)

I'm working with an NDVI (normalized difference vegetation index) time series. NDVI is expected to have a range [-1, 1]. My analysis, which applies a Whittaker Smoothing algorithm, is producing values ...
  • 11
0 votes
0 answers
25 views

How to add a straight line to ScatterChart?

I need to add a straight line in a ui.Chart of ScatterChart type but I didn't find any reference in the docs. The closest I've found is the trendlines option, but this is not what I really need. ...
0 votes
1 answer
24 views

How to remove MODIS LST scenes from image collection that have no unmasked pixels in study area?

I am trying to get image collection of MODIS daily LST for monsoon season for a region that often has cloudy days. Filtering MODIS collection with filterBounds seems unable to remove scenes that have ...
  • 118
0 votes
1 answer
97 views

How to fix Google Earth Engine image.getDownloadURL pixel grid dimensions limit

I have created a small UI in which user will download the image when clicks on the download viewport button. But for some reason it gives me this error. How to fix it? Line 15: Pixel grid dimensions (...
0 votes
1 answer
17 views

Masking out areas for a value range

I would like to remove areas which are less than (mean value)*0.8 and the (mean value)*1.2 and would like to keep rest of the data. While trying different things my code became much more complicated ...
0 votes
0 answers
15 views

Why this LST code does not give full area coverage?

I am new to GEE. However, I am using the following code for LST measurement. But When I use the code, I see there is Landsat image covering the whole area but the LST layer doesn't get the area ...
  • 1
0 votes
0 answers
179 views

Sentinel-2 L2A extracted band values different for EarthEngine Sen2Cor vs standalone Sen2Cor

I'm experimenting with a research project comparing Sen2Cor against ACOLITE using band values extracted from lake center points. I've downloaded the latest standalone version of Sen2Cor, used it to ...
0 votes
1 answer
20 views

Forming a new layer that is the common area between two other layers on Google Earth Engine

My aim is to find the above-ground biomass of Mangrove forests in specific districts. I was able to map the layers on each other and find the average biomass of the total area but was not able to ...
  • 13
1 vote
1 answer
29 views

Concatenating export file name in Google Earth Engine?

I am exporting an image from google earth engine and I want the export file name to be a string I created and concatenate the image metaData (date) with it. var date = image.get('system:index'); var ...
1 vote
1 answer
18 views

How to find an the actual value from a band in Google Earth Engine

I'm trying to find the Mean aboveground biomass density (MU) of a specific region from a dataset and print the value. I was able to print the area of the biomass but was not able to print the biomass ...
  • 13
0 votes
1 answer
32 views

Why this LST code for Landsat 7 is not working?

I am trying to calculate LST from landsat 7, Band ST_B6, using the following code https://code.earthengine.google.com/8e6c7e6060b8e658c9985d4f4f05f30f imagen.multiply is not a function;is not a ...
  • 1
0 votes
1 answer
48 views

mosaic.map is not a function

I'm trying to find NDVI of cropland that I have masked from ESA and mosaiced it with Sentinel but I'm facing error of mosaic.map is not a function when I try to find NDVI map and NDVI chart for ...
0 votes
0 answers
18 views

How can import via Python scripts evapotranspiration from GEE into QGIS

I have tried it with the following script in QGIS, unfortunately unsuccessfully. I get no error message and can see an entry at the layer overview, but without content. Here is my script: import ee ...
  • 51
0 votes
1 answer
34 views

Correlation Chart Series Error in Google Earth Engine?

I'm going to get correlation series between LAI and FAPAR using NOAA AVHRR data by the below code in Google Earth Engine but returns error. Does anyone has idea? Error message: Error generating chart: ...
1 vote
1 answer
53 views

How do I invert a raster mask in Google Earth Engine?

I have a raster binary mask created from DEM. From that I want to mask another image. I want the values 0 to be one or in simple words invert the mask. How to achieve this? This is my code: // ...
1 vote
1 answer
29 views

How to preserve feature properties when using flatten() in Earth Engine?

In the code below (from here), I want to export countiesClimate to Drive as a shapefile. To do this I first use flatten() to convert a feature collection of feature collections to a feature collection ...
  • 43
0 votes
0 answers
18 views

Extract points with forecasts from dataset 'NOAA/GFS0P25' to save in a dataframe and plot in python GEE API

I am trying to get temperature forecast data from the GFS collection to a dataframe for graphing and export. I have only been able to do it with a single point but I would like to do it with a series ...
0 votes
1 answer
32 views

How to mask a raster image with classified image class mask?

I have classified an image having a class by the name lights. It has value equal to zero. I select the mask by using var lights_mask = classified_image.eq(0).selfMask(); //binary mask Now I want to ...
0 votes
1 answer
37 views

Apply a function with a loop for in imagecollection

I am trying to apply a mask to a imagecollection, I want to a apply this mask image a image, because if I apply the mask to the whole collection, I cant extract values by points. I am using a mask of ...

1 2
3
4 5
91