flightconflicts

Tools to analyze conflicts between aircraft.
git clone https://git.eamoncaddigan.net/flightconflicts.git
Log | Files | Refs | README | LICENSE

commit 199f13d8a6f3ec39e7a15c51feec06ee1e781cee
parent 0fbf40cc4b95034e0a8fda35ae9c01c6a9f46958
Author: eamoncaddigan <eamon.caddigan@gmail.com>
Date:   Fri, 20 May 2016 15:30:27 -0400

Better error

Diffstat:
MR/identifyNMAC.R | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/R/identifyNMAC.R b/R/identifyNMAC.R @@ -17,7 +17,7 @@ identifyNMAC <- function(trajectory1, trajectory2) { stop("Both arguments must be instances of flighttrajectory") } if (!isTRUE(all.equal(trajectory1$timestamp, trajectory2$timestamp))) { - stop("Both trajectories must have the same time stamps") + stop("Trajectories must have matching time stamps") } horizontalDistanceFt <- geosphere::distHaversine(cbind(trajectory1$longitude,