#openair, so openair should be loaded.
#1
library (openair)
#2
#now look at the data file to familiarize yourself with it. This is a real
#data file from a field campaign.
#import the data as you did in class (say that you name the data frame
#mydata)
#3
#this file contains a lot of data you do not need for this homework, so it is
#a good idea to get only the data of interest (say that you name a new data
#frame interestdata).
#For wind roses all you need is date, time, wind speed and #wind direction.
#Read also DOY (see toward the end of this unfinished code to see where you
#can use it).
#4
#rename the columns so that openair can recognize ws and wd but first check
#what are the column names in data frame mydata. A simple way for doing this
#is by clicking the data frame that appears in the Environment window (top
#right, as soon as you run the import () function)
#example with 'date'
#5
#make a basic windrose
#6
#make a windrose with type-month (the data run a span of 5 months)
#7
#choose a date/time range and create a windrose for that
#for example for weekdays 7AM to 7PM (1.e., 7:19)
#hint: create a new dataframe using selectByDate () and then plot the
#windrose for the new dataframe
#8
#create a series of daily wind roses
#hint: use DOY (day of year) from your interestdata dataframe.
#choose one starting DOY and one ending DOY
#hint: use function subset().