Function to calculate wind shear, code originally from 'flight_drift_calculation_example', and somewhere else before I think - but my code anyway!
Added extraction of v and h accuracy (vertical and horizontal accuracy in metres)
Wind speed at flight height (wind-shear)
Cleaning up slightly
Added code attribution
Function from 'flights_drift_calculation_example.R' to calculate wind direction and speed from u and v wind speed components
Added code to deal with NA values - return NAs if NA in else make calculation
Calculate wind direction and speed (scalar)
Various calculations on different flight vectors
A little formatting