Hello,
I have some azimuth data that vary from 0 through 360 degrees.
I would like to make an IF statement on an azimuth range, for example:
IF AziMin > 45 AND AziMax< 135 THEN 1 ELSE 0
This is nice and easy as long as the range does not cross the North direction (i.e. Azi = 0 AND Azi = 360), but if I want a range like this:
NW to NE, i.e. Azi from 315 degrees to 045 degrees, my simple IF statement above falls apart.
So far I've got as far as using Sine and Cosine functions and combining them, but I'm not making much progress.
any help or suggestions more than welcome.
Rob
Bookmarks