Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prevent the creation of the "Downloads" folder #190

Closed
12rambau opened this issue Dec 2, 2020 · 1 comment
Closed

prevent the creation of the "Downloads" folder #190

12rambau opened this issue Dec 2, 2020 · 1 comment

Comments

@12rambau
Copy link
Member

12rambau commented Dec 2, 2020

in the ee_initialize function, the out_dir folder is initialized as well.
https://github.com/giswqs/geemap/blob/0af4b82e19e6355bac6c0e068f890f707b5bbea5/geemap/common.py#L22

For macOS and windows plateform I guess it doesn't do much as the Downloads (with a capital D) folder already exists. On the other hand, in linux based plateform the downloads are stored in a downloads folder.

Every time I start a geemap I'm actually creating a Downloads folder that I never fill and that is disturbing some of my users.

Is this folder used in an automatic way by the geemap lib afterward ?

Can we think of something that allows people using linux based computer to not have a duplicate downloads folder ?

@giswqs
Copy link
Member

giswqs commented Dec 2, 2020

The reason for creating the Downloads folder was that many functions and tutorial examples download data to the default Downloads folder when users do not set the output folder. Anyway, I just committed code to disable the creation of the Downloads folder.

@giswqs giswqs closed this as completed Dec 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants