All Questions
Tagged with google-earth-engine python
205
questions
0
votes
0
answers
24
views
Keep nan values when resampling using GEE and Python
I'm processing MODIS GPP data using GEE and python. The issue is the resolution of MODIS is very coarse so I need to upsample it using, for instance, bilinar resampling. The problem is MODIS contains ...
0
votes
1
answer
43
views
How can I filter my GEE data to only look at bounds specified by a GeoJSON file?
Forgive me if this is a noob question... because I am one.
I have the following snippet to load some Landsat data:
dataset = ee.ImageCollection('LANDSAT/LE07/C02/T2_L2').filterDate('2017-06-01', '2017-...
0
votes
1
answer
196
views
Get MEAN SOLAR AZIMUTH ANGLE from Sentinel-2 L2A product
I was coding in Google Earth Engine and one of the functions I run for cloud and shadow masking used the MEAN_SOLAR_AZIMUTH_ANGLE property.
shadow_azimuth = ee.Number(90).subtract(ee.Number(img.get('...
0
votes
1
answer
136
views
Using cloud confidence to create cloud mask from Landsat 8 QA_PIXEL
I want to use the Landsat QA_PIXEl from this dataset to create a cloud mask in GEE. I only want to mask out the areas where there is high confidence that cloud cover is present. Looking at the ...
3
votes
1
answer
493
views
Mask Clouds and Cloud Shadow on Landsat 8 images using Google Earth Engine
I'm creating a composite image using Landsat 8 as I want a monthly composite of an area without clouds. I'm having trouble with masking the clouds. I'm using this dataset and I am applying the code ...
0
votes
0
answers
32
views
Band not recognised - seagrass mapping on GEE
// Load Sentinel 2 raw imagery and filter it to all images in 2023.
var S2data = ee.ImageCollection('COPERNICUS/S2_SR')
.filterDate('2023-05-01', '2023-08-01')
.filterBounds(poi)
.filter(...
1
vote
1
answer
74
views
Error when trying to transform ee.Image to vector with Python
I am trying to transform some weather ee.Image to vector format. For context, my final goal is to export data as shapefile, read into GeoPandas and use it as input to a deep learning model, so there ...
0
votes
1
answer
813
views
Total request size (537871149 bytes) must be less than or equal to 50331648 bytes
I try to export images from an image collection in .tif by using this code.
https://colab.research.google.com/drive/1dfIoK5stZcFrtfGDsFLhxIV_VrJNZlxM?usp=sharing
When doing this I got the following ...
0
votes
0
answers
62
views
matrixSolve cannot solve underdetermined system. (Error code: 3)
I'm working with GEE in Python, processing Sentinel 1. After apply Savitzky-Golay filter, like it is applying in this answer writing by Kerste ( https://gis.stackexchange.com/questions/321082/gee-...
0
votes
0
answers
26
views
Problems with dissolved shapefiles in Google Earth Engine
I created a single dissolved polygon shapefile out of a set of smaller polygons in ArcGIS and imported it into Google Earth Engine using geemap (Python API). I wanted to extract values from every ...
0
votes
1
answer
88
views
EEException: Image.bandNames: Parameter 'image' is required
I am trying to compute the NDVI index using the MODIS Landset in Python and to visualize it in a time series chart, but I am facing an error and I cannot understand where is the problem. This is my ...
0
votes
1
answer
136
views
Transferring GeoTIFFs from GCS to GEE. Error: Total area of overlap between input files is too large
I am trying to transfer a batch of images from a bucket in Google Cloud Storage to Earth Engine asset. It is a time series for the same region over 30 years (~15000 images). The problem is that every ...
1
vote
0
answers
86
views
How to retrieve the cloud probabilities of a region in google's Earth Engine
I am trying to retrieve the sentinel-2 cloud probabilities for a specific part (inside a polygon) of specific images (I use Python, and the ee and gee packages). So first I select an image, then I ...
1
vote
1
answer
181
views
Converting datatype of a .png image and exporting it as float image
I am trying to convert my uint8 png image to float datatype. First of all, I have tried many libraries that could transform datatypes but I just could not export it as the last datatype I converted ...
1
vote
1
answer
227
views
Using Python (in Colab), how to convert a multiband ee.Image into an ee.ImageCollection?
I ultimately want to convert an ee.Image to an xarray object so I can further process the data.
I know the library wxee can do that with ee.ImageCollection.wx.to_xarray(). However, it requires an ee....