wind encoding