getDefaultIsThermallingFunction: A function to generate an isThermallingFunction

View source: R/functions.R

getDefaultIsThermallingFunctionR Documentation

A function to generate an isThermallingFunction

Description

A function to generate an isThermallingFunction

Usage

getDefaultIsThermallingFunction(totalAngle = 360, minMeanSpeed = NULL)

Arguments

totalAngle

the cumulative angle that is required to consider an trajectory thermalling

minMeanSpeed

the minimal air speed that is required to decide of a track is thermalling

Value

a function is returned that based on a series of headings returns a logical value to indicate is a track is thermalling or not

Examples

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))

moveWindSpeed documentation built on June 7, 2023, 6:08 p.m.