check_over_land: Determine if storm is over land or water

View source: R/wind_conversions.R

check_over_landR Documentation

Determine if storm is over land or water

Description

Determines if the storm is over land or water at its observed location. This function finds the closest grid point in the landmask dataframe, then checks if that grid point is over land or water.

Usage

check_over_land(tclat, tclon)

Arguments

tclat

Numeric vector of the value of latitude, in degrees.

tclon

Numeric vector of the absolute value of latitude, in degrees.

Value

A logical vector of whether the storm is over land (TRUE) or water (FALSE)


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