I am trying to plot a wind rose plot of a site using openair
package in R
. The code snippet is:
windRose(df, type = "season", paddle = F, key.position = "right")
and the plot is:
We know, this package openair
considers seasons DJF as winter, MAM as spring and so on. However, in this region another categorization for seasons is commonly used as follows:
- winter: Dec Jan Feb
- Pre-monsoon: Mar Apr May Jun15 (i.e. till 15th of June)
- Monsoon: 15Jun Jul Aug Sep (i.e. from 15th of June)
- Post-monsoon: Oct Nov.
I am new in R, hence finding difficulty to plot the wind rose with the later categorization and putting the titles accordingly. I would highly appreciate any help.
Thanks!
Function
windRose
has an argument "type" which accepts a custom character or factor vector to facet (and label) the plot by.windRose(your_data,...,type="my_custom_season")