wnCreatePredObsVectorMap: Make a vector map of observed and forecasted wind fields

Description Usage Arguments Details Value

Description

wnCreateObsPredVectorMap returns a ggmap object of the vector field

Usage

1
2
wnCreatePredObsVectorMap(df, lat, lon, zoom, maptype, colorscale = "discrete",
  axis_labels = TRUE)

Arguments

df

dataframe

lat

center lat of Google Maps image

lon

center lon of Google Maps image

zoom

zoom for Google Maps image (1-20)

maptype

type of Google Maps image (terrain, hybrid, satellite, roadmap)

colorscale

color scale to use for vectors (discrete or continuous)

axis_labels

whether or not to plot axis labels on map (TRUE or FALSE)

Details

This fucntion returns a vector plot of the wind field overlayed on a static Google Maps image. The plot is faceted on forecast name. See vector_plot.R for usage.

Value

ggmap object representation of the wind field


nwagenbrenner/windtools documentation built on May 24, 2019, 10:56 a.m.