DownloaderBase#
- class sunpy.data.data_manager.downloader.DownloaderBase[source]#
Bases:
objectBase class for remote data manager downloaders.
Methods Summary
download(url, path)Downloads a file.
Methods Documentation
- abstractmethod download(url, path)[source]#
Downloads a file.
- Parameters:
url (
str) – URL of the file to be downloaded.path (
pathlib.Pathorstr) – Path where the file should be downloaded to.
- Raises:
DownloaderError – DownloaderError is raised when download errors.