View source: R/SeaSondeRCS_MUSIC.R
seasonder_MUSICBearing2GeographicalBearing | R Documentation |
This function converts MUSIC bearings (relative to the antenna) into geographic bearings using the antenna's bearing information from a SeaSondeRAPM
object.
seasonder_MUSICBearing2GeographicalBearing(bearings, seasonder_apm_object)
bearings |
A list of numeric vectors containing MUSIC bearings in degrees. Each vector corresponds to a set of bearings relative to the antenna. |
seasonder_apm_object |
A |
The geographic bearing is calculated by:
Multiplying the MUSIC bearings by -1 to invert their direction.
Adjusting the angles to the range [0, 360) using modulo 360.
Adding the antenna bearing to each value and wrapping the result to the range [0, 360) again using modulo 360.
The formula for each bearing is: geo_bearing = ((-1 * music_bearing \\\%\\\% 360) + antenna_bearing) \\\%\\\% 360
.
A list of numeric vectors containing the geographic bearings in degrees.
seasonder_getSeaSondeRAPM_AntennaBearing
%>%
map
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.