On this project you will make calculations and conclusions based on real data collected by the NOAA (The National Oceanic and Atmospheric Administration, an agency of the United States government) on the “Daily Lake Average Surface Water Temperature” of six lakes (Ontario, Erie, Huron, Michigan, Superior, and St. Clair) during the 2020 calendar year. You can find the actual data file here that contains the average temperatures for each day of the year for each of the six lakes. Data were collected between January and December 2020 and are in degrees Celsius.
https://coastwatch.glerl.noaa.gov/ftp/glsea/avgtemps/2020/glsea-temps2020_1024.dat
Days are numbered 1 to 365, 1 being January 1st and December 31st being 365.It is up to you to extract the data from the file and put it into MATLAB. This operationmust be done with MATLAB.
You are to make a report showing tables, graphs and conclusions based on data using MATLAB functionality.
Required elements:
The entire project must be presented as one single script file. Please divide your codes into sections,one for each question, and add text comments to identify which question is answered inthat section. To create the section add a comment that begins with %.
All computations to be done in MATLAB using the imported data file.
1. Calculate the yearly average temperature for each of the lakes, and the yearly averagefor all six lakes put together.2. Indicate which lake is the coldest and which one is the warmest, based on the averageyearly temperatures calculated in step #1. Also indicate which lakes have averagetemperatures above the average of all the lakes and which ones are below that sameaverage.3. Indicate the day and the temperature for the warmest water temperatures for each ofthe lakes. Do the same for the coldest temperatures. In the case of a tie, mention all thedates.4. Indicate the day, lake and temperature of the warmest water temperature overall. Dothe same for the coldest temperature. In the case of a tie, mention all the dates.5. Make a graph of the temperature of each daily average (x=day, y=temp). Make onegraph per lake to show the yearly temperature trends. Label the axes clearly and addtitles to all your graphs. Use script commands to generate the labels and titles for allgraphs.6. Make a single graph of the temperatures (x=day, y=temp) that shows all 6 lines onone graph. Each lake will have a different colour and line type. Title your graph, labelyour axes, and have a legend.7. Calculate the summer average (day 172 to day 265) for all 6 lakes (one average perlake). Is the order from warmest to coldest the same as with the yearly average calculated in step #1?8. Make a graph for summer days only (day 172 to day 265) with all 6 lakes on onegraph. Title your graph, label your axes and have a legend (use the same colours, linetypes, and legend as the graph you made in step #6).9. Calculate the winter average (days 1 to 79 and days 355 to 365) for all 6 lakes (oneaverage per lake). Is the order from warmest to coldest the same as with the yearlyaverage calculated in step #1?10. Make a graph for winter days only (days 1 to 79 and days 355 to 365) with all 6 lakeson one graph. Title your graph, label your axes, and have a legend (use the same colours,line types and legend as the graph you made in step #6).11. Assuming that you can swim comfortably in the lake if the temperature is above 20degrees, calculate the number of days in the year you can swim for each of the 6 lakes.Make pie charts of the percentages of total days of the year that you can swim in thelakes. Make one pie chart per lake and put all 6 on the same figure. Indicate each lakeclearly next to the pie chart in the figure.12. Assuming that lakes freeze when the water falls below 0 degrees. Calculate thenumber of days in the year that the lake is frozen. You must calculate the number ofdays with MATLAB, even if you know that there are none. Your program should workfor years that would have some.13. Re-do question 1 (the 7 yearly averages) but with data from 2019 instead. Make atable of the averages side by side to illustrate the two yearly results. Any notable changes between 2019 and 2020? Can you advance a conclusion why there is a difference (or not)? The data file for 2019 is here:https://coastwatch.glerl.noaa.gov/ftp/glsea/avgtemps/2019/glsea-temps2019_1024.dat
Important notes about the report and its submission:I. All computations and plots are to be done with MATLAB only.II. You are to write a report. Your report must have an introduction about the purposeof the report and its presentation.III. The report must be detailed, well presented and attractive. Don't be afraid to usecolors to emphasize parts of the report. Be creative in the use of tables, graphs andimages.