Weather Parser¶
- 
delphin_6_automation.file_parsing.weather_parser.ccd_to_list(file_path: str) → list[source]¶ Converts a .ccd file into a dict
- 
delphin_6_automation.file_parsing.weather_parser.dict_to_ccd(weather_dict: dict, folder: str) → bool[source]¶ Takes an weather dict and converts it into a .ccd file
Parameters: - weather_dict – weather dict from mongo_db
 - folder – Folder to where .ccd’s should be placed.
 
Returns: True
- 
delphin_6_automation.file_parsing.weather_parser.list_to_ccd(weather_list: list, parameter_info: dict, file_path: str) → bool[source]¶ Converts a weather list into a Delphin weather file (.ccd)
Parameters: - weather_list – List with hourly weather values
 - parameter_info – Dict with meta data for the weather file. Should contain the following keys: location_name, year, description and intro.
 - file_path – Full file path for where the .ccd file should be saved.
 
Returns: True