12 Week 2 Assignment:
Using the WCr_1hr.2012.nc
dataset found in the datasets folder, create a document (word, pdf, notepad, etc.) answering these questions with accompanied figures (no code).
- Subset the data between July 1 and Dec 31.
- Create a scatterplot with a trendline of Shortwave Radiation similar to the air temperature example above. Does this trendline make sense?
- Create a filled density plot of Shortwave Radiation similar to the air temperature example above. Note, you will need to change your binwidth to fit the shortwave dataset. Does this density plot make sense? Why or why not?
- Create a correlation plot of your willow creek 2012 dataset. How does it compare to the 2010 dataset in the tutorial?
Save your plots created in #2, #3, #4, attach them to a document and answer the questions. Submit this document to Canvas.
12.1 Extra Credit - 2 points
Using the WCr_1hr.2010.nc, WCr_1hr.2011.nc and WCr_1hr.2012.nc found in the datasets folder, complete the following
- Fuse together the 3 datasets into one continuous dataframe.
- Resample the data from an hourly to a daily resolution
- Plot Air temperature for your new combined data frame and add a trendline to it.
- Submit to assignment above labeled ‘extra_credit.png’