download_ee_image error when using crs parameter #2097
-
I am writing a python script that downloads an image from GEE using parameters (i.e. geometry, projection) from a reference raster file on my machine. Here is a link to the script. Also here is a link to the reference raster. When I exclude the crs parameter, it seems to download without any issues. However, when I include the crs, I am receiving the following error message being printed repeatedly with different getPixels links.. I have not had this issue before so I am not sure why this is happening. Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Your handling of projection seems overly complicated. I just passed in the roi = ee.Geometry.BBox(-114.2688, 37.1078, -112.8845, 37.8965)
image = ee.Image("NASA/NASADEM_HGT/001").select('elevation')
geemap.download_ee_image(image, "dem.tif", region=roi, scale=30, crs="EPSG:3857") |
Beta Was this translation helpful? Give feedback.
Your handling of projection seems overly complicated. I just passed in the
crs
andscale
parameters, and it works fine.