add_inflow: Add inflow to direction of surface winds

View source: R/RcppExports.R

add_inflowR Documentation

Add inflow to direction of surface winds

Description

This function adds an inflow angle to the angle of the wind direction. It calculates an inflow angle as a function of the distance from the storm center to a location (Phadke et al. 2003). If the locations is over land, it then adds 20 degrees to this inflow angle to account for the location being over land rather than over water.

Usage

add_inflow(gwd, cdist, Rmax, tclat, glandsea)

Arguments

gwd

A numeric value with the gradient wind direction in polar degrees (e.g., due east is 0 degrees, due north is 90 degrees)

cdist

The distance from the center of the storm to the location at which the wind is being modeled (in kilometers)

Rmax

A numeric value with the radius at which maximum winds occur in kilometers

tclat

A numeric value with latitude in radians

glandsea

A logical value that specifies whether the location at which the wind is being modeled is over land (TRUE) or over water (FALSE)

Details

This function uses equations 11a-c from Phadke et al. (2003).

Value

swd A numeric value with the surface wind direction in polar degrees (e.g., due east is 0, due north is 90)

References

Phadke AC, Martino CD, Cheung KF, and Houston SH. 2003. Modeling of tropical cyclone winds and waves for emergency management. Ocean Engineering 30(4):553-578.


geanders/stormwindmodel documentation built on Sept. 27, 2022, 6:47 a.m.