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

Add the ability to delay download of files with DataManager.require #7546

Open
Cadair opened this issue Apr 3, 2024 · 0 comments
Open

Add the ability to delay download of files with DataManager.require #7546

Cadair opened this issue Apr 3, 2024 · 0 comments
Labels
data Affects the data submodule Effort Medium Requires a moderate time investment Feature Request New feature wanted! Package Novice Requires little knowledge of the internal structure of SunPy Priority Low Slow action required

Comments

@Cadair
Copy link
Member

Cadair commented Apr 3, 2024

Describe the feature

Sometimes knowledge of what files are required by a function is conditional on the arguments to that function. It would therefore be useful if DataManager.require could optionally not download the data, that step being done in DataManager.get instead.

This would prevent the need for workarounds like this:

https://github.com/HinodeXRT/xrtpy/blob/660a539f3d6c7ee1e4596e86d4fdbbed5d74871e/xrtpy/image_correction/remove_lightleak.py#L213-L226

@Cadair Cadair added Feature Request New feature wanted! data Affects the data submodule labels Apr 3, 2024
@nabobalis nabobalis added Package Novice Requires little knowledge of the internal structure of SunPy Priority Low Slow action required Effort Medium Requires a moderate time investment labels Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data Affects the data submodule Effort Medium Requires a moderate time investment Feature Request New feature wanted! Package Novice Requires little knowledge of the internal structure of SunPy Priority Low Slow action required
Projects
None yet
Development

No branches or pull requests

2 participants