code: def wind44(msg):
      
      d = hex2bin(data(msg))
  
      status = int(d[4])
      if not status:
          return None
  
      speed = bin2int(d[5:14])   # knots
      direction = bin2int(d[14:23]) * 180.0 / 256.0  # degree
  
      return round(speed, 0), round(direction, 1)
docs: Wind speed and direction.
  
      Args:
          msg (String): 28 bytes hexadecimal message string
  
      Returns:
          (int, float): speed (kt), direction (degree)