Last chance! 50% off unlimited learning
Sale ends in
Convert the Compass direction labels to degrees.
cimis_compass_to_degrees(x)
A vector of compass directions, i.e. the data item labels "DayWindNnw", "DayWindSse", etc. Recognized directions are North-northeast (NNE), East-northeast (ENE), East-southeast (ESE), South-southeast (SSE), South-southwest (SSW), West-southwest (WSW), West-northwest (WNW), and North-northwest (NNW).
A numeric vector of degrees corresponding to the middle azimuth of the corresponding compass direction.
# NOT RUN {
cimis_compass_to_degrees("day-wind-nne")
cimis_compass_to_degrees(c("SSE", "SSW", "wsw", "Wnw", "nnw"))
# }
Run the code above in your browser using DataLab