ncsw_data.source.base¶
The ncsw_data.source.base package initialization module.
Submodules¶
Classes¶
The data source base class. |
Package Contents¶
- class ncsw_data.source.base.DataSourceBase(logger: logging.Logger | None = None)¶
Bases:
abc.ABCThe data source base class.
The __init__ method of the class.
- Parameters:
logger – The logger. The value None indicates that the logger should not be utilized.
- property logger: logging.Logger | None¶
Get the value of the logger.
- Returns:
The value of the logger.
- abstractmethod download(**kwargs) None¶
Download the data from the data source.
- abstractmethod extract(**kwargs) None¶
Extract the data from the data source.
- abstractmethod format(**kwargs) None¶
Format the data from the data source.