Example #1
0
 def clean(self):
     """Clean the original data file."""
     DataPipeline.clean(self)
     if os.path.exists(self._download_file):
         self._new_file_list.append(self._clean_file)
         logger.info_green("Cleaning weather data.")
         self._preprocess(input_file=self._download_file,
                          output_file=self._clean_file)
     else:
         logger.warning(
             f"Not found downloaded weather data: {self._download_file}.")
Example #2
0
 def clean(self):
     logger.info_green("Cleaning weather data")
     DataPipeline.clean(self)
     self._new_file_list.append(self._clean_file)
     self._preprocess(output_file=self._clean_file)
Example #3
0
 def clean(self):
     """Clean the original data file."""
     logger.info_green("Cleaning weather data.")
     DataPipeline.clean(self)
     self._new_file_list.append(self._clean_file)
     self._preprocess(output_file=self._clean_file)