
Applied Math Applied Math Forum 
 LinkBack  Thread Tools  Display Modes 
November 28th, 2016, 08:28 PM  #1 
Newbie Joined: Nov 2016 From: Texas Posts: 1 Thanks: 0  Subtracting Wind Directions to calculate Bias
How can I calculate the difference (WD_Bias) in two wind directions (in degrees) so that the results range from 180 to 180? Below is what I have so far? Does this seem to do what I want or am I missing something else? I seem to be getting sort of funny results. {wind direction: 0 degrees is coming from the North, 90 deg is coming from the East, 180 deg is coming from the south, 270 is coming from the West} WD_Bias = WD_model  WD_obs WD_Bias[WD_Bias>180.]=360.WD_Bias[WD_Bias>180.] WD_Bias[WD_Bias<180.]=WD_Bias[WD_Bias<180.]+360. 

Tags 
bias, calculate, directions, subtracting, wind 
Thread Tools  
Display Modes  

Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
plane + wind bearing problem  triplekite  Algebra  7  October 8th, 2012 11:29 PM 
Question about a curve  1 or 2 directions?  Alamos  Algebra  12  September 5th, 2012 02:09 AM 
bias estimator  PerMortenIvar  Advanced Statistics  1  March 8th, 2012 01:14 PM 
2 Vectors clockwise directions  gtopcu  Algebra  2  October 3rd, 2011 05:04 AM 
plane + wind bearing problem  triplekite  Linear Algebra  0  January 1st, 1970 12:00 AM 