Add the ability to delay download of files with DataManager.require
#7546
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
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 inDataManager.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
The text was updated successfully, but these errors were encountered: