def get_wind_speed(self, n=3):
        '''
        Populates the self.wind_speed property

        Based on the information in Rs232_Comms_v120.pdf document

        Medians n measurements.  This isn't mentioned specifically by the manual
        but I'm guessing it won't hurt.
        '''
        if self.logger:
            self.logger.info('Getting wind speed')
        if self.wind_speed_enabled():
            values = []
            for i in range(0, n):
                result = self.query('V!')
                if result:
                    value = float(result[0])
                    if self.logger:
                        self.logger.debug('  Wind Speed Query = {:.1f}'.format(value))
                    values.append(value)
            if 3 >= len(values):
                self.wind_speed = np.median(values) * u.km / u.hr
                if self.logger:
                    self.logger.info('  Wind speed = {:.1f}'.format(self.wind_speed))
            else:
                self.wind_speed = None
        else:
            self.wind_speed = None
        return self.wind_speed
dataset/ETHPy150Open panoptes/POCS/scripts/read_weather.py/AAGCloudSensor.get_wind_speed/swapped operands of `>=`