Questions tagged [geemap]

geemap is a Python package for interactive mapping with Google Earth Engine (GEE)

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

Extracting multiple image values to point in GEE - getting empty out put

I am trying to extract values of sentinel-1 descending pass data for a given point location for a given time period. Though there are images in the given location for the given time period, I am ...
  • 1
1 vote
0 answers
33 views
+50

Raster Statistics of Fire Driven Forest Loss within shapefile

I have two inputs, a) shapefile which I am reading in as a geodataframe, b) raster data from - GFW Fire Driven Forest Loss dataset (see: https://glad.umd.edu/dataset/Fire_GFL/ ) import geopandas as ...
  • 273
0 votes
0 answers
31 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
1 answer
33 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
1 answer
34 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 ...
0 votes
0 answers
31 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 vote
1 answer
43 views

Mosaicking NDVI Image Collection by PATH and ROW in Google Earth Engine

I have an image collection of Landsat 7 filtered by a date and PATH and ROW of interest, and I want to know the best way to mosaic all the images (tiles) that have same PATH and ROW into one image. ...
0 votes
1 answer
36 views

Sample regions with Geemap yield empty FeatureCollection

I have feature collection of 200 points and raster which is a result of sum of three bands of an Image. I want to create a table which will show the points (feature collection) and the value these ...
  • 1,819
1 vote
1 answer
34 views

Concatenate image ID to band names for image point sample (Earth Engine)

I am trying to download a point sample of climate information from the TerraClimate collection in GEE. I want the column names to be the concatenation of image ID and band name (a wide table). I tried ...
0 votes
0 answers
56 views

Google Earth Engine: loop raster extraction over image collection and create dataframes (geemap)

I would like to extract a large number of points (approximately 3000) from each image within an image collection, and return a pandas dataframe for each image. The function I'm using to extract raster ...
  • 21
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
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
0 answers
34 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
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 ...
1 vote
1 answer
28 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
50 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 ...
1 vote
1 answer
59 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: // ...
0 votes
0 answers
15 views

geemap load Landsat SR Image incomplete

I used geemap to load Landsat TOA images and SR images of the same area,No matter whether the SR image is showed or downloaded, there are certain areas with Nodata values, but the TOA image does not ...
  • 1
0 votes
1 answer
27 views

Max Pixels error in Monthly NDVI values

I'm trying to find monthly NDVI using Landsat but I'm facing max pixel error in my chart. when I use it to small geometry then code works fine for monthly NDVI but gives max pixels error for larger ...
1 vote
1 answer
33 views

Problem in calculating monthly pixel area chart in GEE

I'm trying to get weekly and monthly pixel area using the same technique which is used in daily bases. But I'm facing the error problem when I map area function on monthly images. Here is the ...
0 votes
1 answer
24 views

Getting User memory error for generation chart

I'm trying to get Pixel area covered by NDSI but when Generate the chart, I get memory error I don't know why it is coming on larger area but not on smaller area. the code is. var allAreas = ...
0 votes
0 answers
75 views

Geemap does not display map in Jupyter Notebook running in Ubuntu

I am trying to display world map using the following command. m = geemap.Map() m.add_data(data, column='POP_EST', scheme='Quantiles', cmap='Blues', legend_title='Population') m in the jupyter ...
0 votes
2 answers
56 views

How to add cloud cover which is an image property as a band in the image collection using GEE Python API

I am looking for percentage of cloud cover in my study region from landsat images. Here is the code I have got so far: def cloudcover(image): value = image.get("CLOUD_COVER_LAND")...
0 votes
1 answer
44 views

Getting Memory limit error in chart generation

I'm trying to generate chart for SPI-12 for 16 days using CDR Dataset but I'm facing memory limit error. My code where I'm facing problem is given as: //Plot SPI-16-Day Chart var spiChart16Days = ui....
1 vote
0 answers
56 views

GEE Python API Map Visualization not working

I am working in Google Collaboratory and the Google Earth Engine Python API Map will not show. It was all working as of 7/6 5pm EST and then 7/7 at 10am it stopped rendering. I have attached my code ...
-2 votes
1 answer
31 views

I'm trying to view four windows in Gee; everything is perfect, but my ui.Map.Linker doesn't work [closed]

// set image var image = ee.Image("LANDSAT/LC8_L1T_TOA/LC81260452014268LGN00"); // function to create map 1 function createMap1() { var map = new ui.Map(); map.addLayer(image.select(['...
0 votes
0 answers
77 views

A function of geemap not working in Google Colab environment

Eecently I have started to write code on Google Colab. I wanted to continue my geemap analyses from there but I could not make use of the function properly. I will show you my lines of code below: ...
  • 11
1 vote
1 answer
94 views

Land Surface Temperature in GEE: ,Creating a Chart with correct values

I have this code below for creating an LST for my region. Then, I create a chart with the mean values. But code gives the LST values in the chart in negative from the range -250 to -293. Now I do not ...
0 votes
0 answers
44 views

Cumulative Cost Mapping- All values are zero

I am trying to calculate cumulative cost of my own area. Here is the script: import ee import geemap ee.Initialize() Map = geemap.Map(center=[41, 29], zoom=9) dataset_jpr = ee.FeatureCollection('...
  • 11
0 votes
0 answers
99 views

The QA band of some Landsat 8 images seems to be invalid

I am quite confused about some invalid qa masks. In some images, the VALUE of the QA band is shown as 21824 (cloudless), but the location is actually covered by cloud. In addition to Landsat images, ...
  • 11
1 vote
0 answers
65 views

Google Earth Engine doesn't preserve functions when exporting with GEE Python API and geemap

I want to export images from a collections locally to integrate them in other application. I want to skip the part where I must download them from my Google drive with some command line. For that I ...
2 votes
1 answer
129 views

"Geometry has too many edges" This is the which keeps on coming on GEE

I am trying to extract the data for the particular country using the shapefile for the province to get the daily precipitation data. But whenever I run the following code error displays: ...
0 votes
0 answers
53 views

Calculating travel time to hospitals via Google Earth Engine Python API

I was trying to run a script (originally written in the JavaScript language) using the Python API. First, I needed to convert the script from JavaScript to Python. Using the geemap package, I was able ...
  • 11
2 votes
0 answers
36 views

Error Showing With Python-"ee.ee_exception.EEException: Image.select: Pattern 'B4' did not match any bands."

I'm working on estimation chlorophyll-a using a Landsat 8 image woth python code and then I’m trying to build an web-app which is using streamlit and geemap library. But my map doesn’t showing when I ...
1 vote
0 answers
382 views

Google Earth Engine, export image to drive returns EEException: Request payload size exceeds the limit: 10485760 bytes

I run a model in GEE and I am trying to export the result using: geemap.ee_export_image_to_drive(classified, description="Test_run_raster.tif", max_pixels=10**13, scale=20, ...
1 vote
1 answer
478 views

Mapped function's arguments cannot be used in client-side operations

I am trying the below code to perform spectral dilation in GEE but gives me an error: spectral dilation: Layer error: A mapped function's arguments cannot be used in client-side operations The code ...
0 votes
1 answer
180 views

Spatial Data on Python - "EEException: Can't encode object"

I'm working on estimation chlorophyll-a using a Landsat 8 image on Python. But the result doesn't showing the image. I've tried to changing it but it doesn't work. I don't know how to fix it. This is ...
0 votes
0 answers
21 views

Selecting admin areas based on calculation from raster / something wrong with filterBounds()

I am having troubles doing the following: Select admin areas that contain a wastewater treatment plant Find admin areas with population above a threshold Intersect the two result to obtain admin ...
  • 1
0 votes
0 answers
75 views

Loading Geotiff images in a local storage to jupyter notebok using geemap

I am trying to use Geotiff images stored in an s3 bucket in my VM. There is a similar thing when using GCP using geemap.load_GeoTIFF() . I am wondering if there is a wrapper function in geemap that ...
2 votes
0 answers
91 views

Sentinel-2 product 2A SCL visualization parameter

I am attempting to mask a Sentinel-2 scene using the SCL layer in a Python API using GEE compatibility. I have managed to visualize the SCL. However I do no think that I am viewing it properly. Does ...
0 votes
1 answer
28 views

Inner join of images using geemap

I have 4 indices: VCI, TCI, PCI, scaledET. I want to derive a drought index as a linear combination of these 4 indices using PCA. The idea here is to find the contribution of each of these indices to ...
1 vote
2 answers
69 views

Pixel artifacts in Google Earth Engine at zoom level under 12

I am trying to visualize forest raster in Google Earth Engine (blue=forest, white=no_forest). However, on zoom levels lower than 12 there are pixel artifacts that look like they are following rivers. ...
  • 41
1 vote
1 answer
222 views

Image collection monthly averages using geemap package

I am trying to convert some code snippets from GEE JavaScript to Python. This code computes the monthly averages of NDVI images given a range of years and a range of months. This is my code in ...
0 votes
1 answer
89 views

Calculate how many pixels=1 in a 3*3 kernel based on GEE

Now, I have a cropland map. It's only one band, 1=cropland,0=Non-cropland. So how to calculate how many pixels=1 in a 3*3 kernel? and then get a map of contain the numbers. eg: [1,0,1], [1,0,1], [...
0 votes
0 answers
54 views

Fitting Line to Shoreline in Google Earth Engine

I need to fit this line to shoreline.I converted the line to vector and I determined the scale factor as 1000 but line doesn't fit the shoreline. When I determined the scale factor as 100,50 or 30 . I ...
  • 3
0 votes
1 answer
195 views

Smoothing Line in Google Earth Engine

How can I get a smoother line? var image = ee.Image('users/cananhamzaolu/KIYI500') var roi = ee.Geometry.Polygon = ([ [31.577169138841125, 41.30667497201365], [33.33498163884112, 41....
  • 3
-1 votes
1 answer
93 views

Image visualization in Google Earth Engine

The image I uploaded to assets looks like this in assets detailer, but when I visualize it, I get a completely black image. I do not know why this is happening.
  • 3
1 vote
0 answers
88 views

How to check if a point is to the north/south of a shape?

I have a shape file of a mountain range and a bunch (about 4000) of coordinates that lie, both north and south of the said mountain range. I want to simply determine whether a given point is to the ...
2 votes
1 answer
243 views

Google Earth Engine EEException: Expected type: String. Actual type: Dictionary<String>

This code selects Sentinel-2 data and de-clouds it using the S2_CLOUD_PROBABILITY data set. Then, cloud-free Sentinel-2 images and NDVI were synthesized.The problem is that the images cannot be ...
  • 23
0 votes
0 answers
257 views

How to visualize concatenated Sentinel 1 and Sentinel 2 imagery in GEE?

I would like to do a fusion approach of Sentinel 1 and Sentinel 2 in GEE I was successfully concatenate Sentinel 1 and Sentinel 2 imagery. However, I have a difficulty in visualizing the fused image ...