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