powered by
A function to generate an isThermallingFunction
getDefaultIsThermallingFunction(totalAngle = 360, minMeanSpeed = NULL)
a function is returned that based on a series of headings returns a logical value to indicate is a track is thermalling or not
the cumulative angle that is required to consider an trajectory thermalling
the minimal air speed that is required to decide of a track is thermalling
fun<-getDefaultIsThermallingFunction(170) fun(1:160) fun(1:190, rep(2,190)) fun<-getDefaultIsThermallingFunction(170, 3) fun(1:190, rep(2,190)) fun(1:190, rep(3.4,190))
Run the code above in your browser using DataLab