gee-community/geemap

file_per_band not working

jportolese opened this issue · 1 comments

Environment Information

Sun Mar 26 21:17:46 2023 Eastern Daylight Time
OS Windows CPU(s) 20 Machine AMD64
Architecture 64bit RAM 63.9 GiB Environment Jupyter
Python 3.8.16 (default, Jan 17 2023, 22:25:28) [MSC v.1916 64 bit (AMD64)]
geemap 0.20.1 ee 0.1.339 ipyleaflet 0.17.2
folium 0.13.0 jupyterlab 3.5.3 notebook 6.5.2
ipyevents 2.0.1
Intel(R) oneAPI Math Kernel Library Version 2021.4-Product Build 20210904 for Intel(R) 64 architecture applications

Description

Running through the tutorial #11 to output a subset of an image and the no matter what I do the file_per_band delivers a single file whether it's set to True or False. Trying to subset a single sentinel image by import an image collection and using the collection.first() to only work with the first image in the collection.

geemap.ee_export_image(img, filename = filename, scale=90, region = studyarea, file_per_band=True)
giswqs commented

Thank you for reporting. This bug has been fixed. Update geemap and try again.