powered by
Plot a windrose showing the wind speed and direction for a station over a time period.
windrose_period( station, apikey, start = 2000, end = 2010, n_directions = 8, n_speeds = 5, speed_cuts = NA, col_pal = "GnBu", calm_wind = 0, legend_title = "Wind Speed (m/s)" )
Character string as station identifier code (see aemet_stations).
aemet_stations
Character string as personal API key (see https://opendata.aemet.es/centrodedescargas/obtencionAPIKey).
Numeric value as start year (format: %Y).
Numeric value as end year (format: %Y).
Numeric value as number of direction bins to plot (default = 8).
Numeric value as number of equally spaced wind speed bins to plot (default = 5).
Numeric vector containing the cut points for the wind speed intervals, or NA (default).
NA
Character string indicating the name of the brewer.pal.info colour palette to be used for plotting.
brewer.pal.info
Numeric value as the upper limit for wind speed that is considered calm (default = 0).
Character string to be used for the legend title.
a plot.
See more details in the "ggwindrose" function ggwindrose.
ggwindrose
# NOT RUN { windrose_period(station, apikey, start = 2000, end = 2010) # } # NOT RUN { # }
Run the code above in your browser using DataLab