def apply_to_miz(self, miz):
report = ['<STR_LIT>']<EOL>miz.mission.weather.wind_at_ground_level_dir = self.wind_at_ground_level_dir<EOL>miz.mission.weather.wind_at_ground_level_speed = self.wind_at_ground_level_speed<EOL>miz.mission.weather.wind_at2000_dir = self._randomize_direction(self.wind_dir, <NUM_LIT>)<EOL>miz.mission.weather.wind_at2000_speed = self._randomize_speed(<NUM_LIT:5> + self.wind_at_ground_level_speed * <NUM_LIT:2>)<EOL>miz.mission.weather.wind_at8000_dir = self._randomize_direction(self.wind_dir, <NUM_LIT>)<EOL>miz.mission.weather.wind_at8000_speed = self._randomize_speed(<NUM_LIT:10> + self.wind_at_ground_level_speed * <NUM_LIT:3>)<EOL>miz.mission.weather.turbulence_at_ground_level = self.turbulence<EOL>_ground = f'<STR_LIT>'<EOL>_at2000 = f'<STR_LIT>'<EOL>_at8000 = f'<STR_LIT>'<EOL>_turbulence = f'<STR_LIT>'<EOL>wind = f'<STR_LIT>'f'<STR_LIT>'f'<STR_LIT>'f'<STR_LIT>'f'<STR_LIT>'<EOL>report.append(wind)<EOL>miz.mission.weather.atmosphere_type = <NUM_LIT:0><EOL>miz.mission.weather.qnh = self.qnh<EOL>report.append(f'<STR_LIT>')<EOL>report.append(f'<STR_LIT>')<EOL>miz.mission.weather.visibility = self.visibility<EOL>if self.fog_vis:<EOL><INDENT>miz.mission.weather.fog_thickness = <NUM_LIT:1000><EOL>miz.mission.weather.fog_visibility = self.fog_vis<EOL>miz.mission.weather.fog_enabled = True<EOL><DEDENT>else:<EOL><INDENT>miz.mission.weather.fog_enabled = False<EOL>miz.mission.weather.fog_visibility = <NUM_LIT:0><EOL>miz.mission.weather.fog_thickness = <NUM_LIT:0><EOL><DEDENT>visibility = f'<STR_LIT>'f'<STR_LIT>'f'<STR_LIT>'f'<STR_LIT>'<EOL>report.append(visibility)<EOL>miz.mission.weather.temperature = self.temperature<EOL>report.append(f'<STR_LIT>')<EOL>miz.mission.weather.cloud_density = max(self.force_cloud_density, self.cloud_density)<EOL>miz.mission.weather.cloud_thickness = self.cloud_thickness<EOL>miz.mission.weather.cloud_base = self.cloud_base<EOL>miz.mission.weather.precipitations = self.precipitations<EOL>clouds = f'<STR_LIT>'f'<STR_LIT>'f'<STR_LIT>'f'<STR_LIT>'f'<STR_LIT>'<EOL>report.append(clouds)<EOL>LOGGER.debug('<STR_LIT>', report)<EOL>return True<EOL>
Applies weather to an opened Miz file (the mission will be mutated)

Args:
    miz: source miz

Returns: True