SO503 Honors Modern Methods

Spring 2017

Lab 4: Wind and Storm Surge

Lab Objectives:

1. Call function in external file to make a stick/tadpole plot.

2. Create a table, with formatted print statements (precursor to writing text files).

3. Calculate regression statistics.

There are two Matlab m files tadpole.m. and sticks.m.   These must go into the same directory, and you cannot rename sticks.m  Sticks.m was found with a quick google search.

Get the following data.  You should insure that you get data in Local Standard time.  You should also only use data for the last week in January 2016 (20-31), unless you want the additional complexity of having to come up with a time measure that spans two months.

Cape May New Jersey--they just saw their record storm surge

•  Offshore data, mouth of Delaware Bay: http://www.ndbc.noaa.gov/station_page.php?station=44009   You want  the wind speed and direction, and the barometric pressure (there will be additional data which you can ignore).   The standard meteorological data is collected every hour.  The continuous data (which you will want for the next lab, and will work for this lab) is every 10 minutes, but only has wind data.

• Quality controlled data for 2016 (data descriptions)
• Standard meteorological data
• Continuous winds data:
• 8536110 Cape May, NJ  tides You want 6 minute data, with predicted tide, observed tide, and barometric pressure.  There are some challenges to getting this, noted on the linked page, so you will probably need two different downloads.

You can do any required manipulations of the data file you download in either Matlab or Excel , but the requirements listed below must be done in Matlab and your code must show how they were done.  This data set is relatively short, but your program should be prepared to handle a much larger data set.

Due in the Blackboard dropbox, in a single Word Document.  See the date on the syllabus.  I will grade this and return it before the exam, since these Matlab skills are testable.

• A stick diagram showing the winds for the period 20-31 January of 2016.

• A graph showing the relationship between the tide residual (preliminary minus predicted) and the barometric pressure.

• Compute the correlation coefficient between barometric pressure and wind speed.

• Prepare a table showing the time, wind speed, and direction, for all those times when the wind exceeded 15 m/s, and the wind  was blowing to the NW (between west and north).  Design your Matlab code so that it would be easy to change this value if the wind speeds were much different, or you were interested in something else.  If there are no readings above this speed, adjust the limit so that you have about a dozen readings.

• Discussion of the following points, as a coherent written discussion:

• What the correlation coefficient means in this case.

• What other variables you have which you think would have a high correlation coefficient with the tide residual, and what you would have to do to compute the correlation coefficient for them.

• What the sticks diagram tells you about the wind, and if this offers an improvement over what we did with the GPS data in Excel, Matlab, and the GIS program.

• Acknowledgements of any assistance received.

• An appendix with your Matlab code, with enough comments for someone to understand you (like you if you have to come back to this kind of problem next week or next fall).

• A second appendix showing what manipulations you did with each data set before importing it into Matlab.

## Data sets used in previous years, with links to the web sites with data:

Annapolis data

• http://www.ndbc.noaa.gov/station_page.php?station=tplm2 .  You want  the wind speed and direction, and the barometric pressure (there will be additional data which you can ignore).
• Annapolis tide gauge data at http://tidesandcurrents.noaa.gov/data_menu.shtml?stn=8575512%20Annapolis,%20MD&type=Tide+Data .  You want the predicted level and the preliminary water level, in meters, every 6 minutes, with the NAVD datum.  If there is weather data here, get it in case you discover challenges with integrating the tide gauge data.

Boston data