@staticmethod<EOL><INDENT>def _randomize_speed(base_speed: int, sigma: int = None) -> int:<DEDENT>
if sigma is None:<EOL><INDENT>int_sigma = int(base_speed / <NUM_LIT:4>)<EOL><DEDENT>else:<EOL><INDENT>int_sigma = sigma<EOL><DEDENT>val = MissionWeather._gauss(base_speed, int_sigma)<EOL>if val < <NUM_LIT:0>:<EOL><INDENT>return <NUM_LIT:0><EOL><DEDENT>return min(val, <NUM_LIT:50>)<EOL>
Creates a variation in wind speed

Args:
    base_speed: base wind speed
    sigma: sigma value for gaussian variation

Returns: random wind speed