-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Environment Information
Description
There was no response when I used geemap.download_ee_image to download the image.
The progress bar isn't updating; it's as if it never started.
What I Did
This is my code
import ee
import geemap
Map = geemap.Map()
start = ee.ImageCollection('MODIS/061/MCD12C1').filterDate('2001-01-01', '2001-12-31').first().select('Majority_Land_Cover_Type_1')
for yr in range(2002,2024):
sy = str(yr)
igbpLandCover = ee.ImageCollection('MODIS/061/MCD12C1').filterDate(sy+'-01-01', sy+'-12-31').first().select('Majority_Land_Cover_Type_1')
mask = igbpLandCover.eq(start)
start = start.updateMask(mask)
mask = start.gt(0).And(start.lt(15))
landuse = start.updateMask(mask)
roi = geemap.shp_to_ee(r'C:\Users\A1827\Desktop\New-AI\ai.shp').geometry()
file_var = r'C:\Users\A1827\Desktop\New-AI/landuse.tif'
geemap.download_ee_image(landuse, file_var, region=roi, scale=5000, crs='epsg:4326')
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working