windVectors_headwind: Calculate Direct Wind Component

Description Usage Arguments Value See Also Examples

View source: R/windVectors_headwind.R

Description

Function to calculate direct wind component from total wind vector.

Usage

1
2
windVectors_headwind(True_Heading_deg, True_Wind_Direction_From_deg,
  Wind_Speed_kts)

Arguments

True_Heading_deg

True aircraft heading in degrees of bearing (North == 0)

Wind_Speed_kts

Wind speed in knots

True_Wind_Direction_From_Deg

True wind direction (from) in degrees of bearing (North == 0)

Value

Direct wind component in knots (headwind = positive; tailwind = negative)

See Also

windVectors_crosswind

Examples

1
2
3
4
windVectors_headwind(0, 270, 10) # Direct crosswind has no direct wind component
windVectors_headwind(0, 0, 10) # Headwind has a positive value
windVectors_headwind(0, 150, 10) # Tailwind has a negative value
windVectors_headwind(0, 540, 10) # Degree values >=360 can be used (360 == 0)

peconeto/safetydata documentation built on May 24, 2019, 6:14 a.m.