et_dist_along_path.RdThis function provides a convienant wrapper to
alongTrackDistance. Per that documentation, this measures
the distance along the great circle defined by the path_* inputs to the point(s)
on that path nearest the point(s) defined by latitude and longitude.
Note that the input point(s) need not be on the path
et_dist_along_path(latitude, longitude, path_latitude1, path_longitude1, path_latitude2, path_longitude2)
| latitude | numeric vector of latitudes [degrees] |
|---|---|
| longitude | numeric vector of longitudes [degrees] corresponding with latitude |
| path_latitude1 | numeric vector of latitudes [degrees] |
| path_longitude1 | numeric vector of longitudes [degrees] corresponding with path_latitude1 |
| path_latitude2 | numeric vector of latitudes [degrees] |
| path_longitude2 | numeric vector of longitudes [degrees] corresponding with path_latitude2 |
numeric, distance along path in nautical miles