You ask a great question! I just wish there were a simple answer. There are so many factors to consider and plan for it can be very tough. This past Saturday was a good example for me. The morning was very calm, and although the wind was from the south, I was on the downslope of a south facing ridge. The thermals were stronger than the wind, so at my location the "wind" was out of the north for the first 1 1/2 hours, then when the sun warmed things up it did a complete 180 on me. Frustrating.
Another factor that is very hard to play are the eddys and backdrafts that are created when the wind gusts and subsides again. That also can shift things a full 180 degrees back and forth all afternoon. The country I hunt is full of hills, valleys, and draws. Along with treelines the tend to funnel the wind in very different ways than you find in open ground. I have one valley on my property that I have totally given up hunting. I have tried numerous set ups in there and cannot find a spot that the wind won't swirl and give me away everytime.