def __init__(self, file_path):
if file_path is not None:<EOL><INDENT>if not os.path.isfile(file_path):<EOL><INDENT>raise ValueError(<EOL>'<STR_LIT>'.format(file_path))<EOL><DEDENT>if not file_path.lower().endswith('<STR_LIT>'):<EOL><INDENT>raise TypeError('<STR_LIT>'.format(file_path))<EOL><DEDENT>self._file_path = os.path.normpath(file_path)<EOL><DEDENT>self._winter_des_day_dict = {}<EOL>self._summer_des_day_dict = {}<EOL>self._monthly_wind_dirs = []<EOL>if file_path is not None:<EOL><INDENT>self._import_data()<EOL><DEDENT>
Initalize the class.

        Args:
            file_path: Address to a local .stat file.