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

Data directory should not be created on import #2018

Closed
Cadair opened this issue Mar 6, 2017 · 2 comments
Closed

Data directory should not be created on import #2018

Cadair opened this issue Mar 6, 2017 · 2 comments
Labels
Effort Medium Requires a moderate time investment Package Novice Requires little knowledge of the internal structure of SunPy Priority Medium Non-urgent action required

Comments

@Cadair
Copy link
Member

Cadair commented Mar 6, 2017

Currently doing import sunpy creates the data directory (default in $HOME/sunpy/data) during import of our config module. This should only be done when the user first downloads data into the directory.

@Cadair Cadair added Effort Medium Requires a moderate time investment Package Novice Requires little knowledge of the internal structure of SunPy Priority Medium Non-urgent action required labels Mar 6, 2017
@nitinkgp23
Copy link
Contributor

nitinkgp23 commented Mar 6, 2017

I am taking up the issue.

@prateekiiest
Copy link
Contributor

prateekiiest commented Mar 6, 2017

@Cadair can you please elaborate?

like in this case
import sunpy.data sunpy.data.download_sample_data()

So what needs to be modified here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Effort Medium Requires a moderate time investment Package Novice Requires little knowledge of the internal structure of SunPy Priority Medium Non-urgent action required
Projects
None yet
Development

No branches or pull requests

3 participants