I need to generate a wave scatter plot(Hs,Tp) showing the probability of occurrence of sea states using a wave climate record sampled every 3 hours a day for a whole year. Does anyone know how to do this? or maybe suggest to me some references?
Judging by the question, I assume this task is with regards to a homework assignment or a similar project. I will therefore not provide an explicit solution, but rather some guiding assistance.
As you've stated, 3-hour sea states are usually defined by their peak wave period $T_p$ and significant wave height $H_s$. If one is to describe the environmental conditions (here waves, but same applies for e.g. wind) for a given location, it is therefore of interest to know the frequency of each $[H_s$, $T_p]$ pair, or in other words, $H_s | T_p$ (i.e. $H_s$ given $T_p$). The date and time the pair occured is actually of no interest, since we're only looking to extract the statistical properties anyway.
The industry standard for displaying such data is in terms of a scatter diagram as shown in Figure 1. Although a scatter plot or a contour plot might be more visually pleasing, a table greatly surpasses them in terms of accurately describing the measured hindcast data. It is then left to the user of the data to extract the data as needed. I will not go into detail on how the data may be further used.
Figure 1: Omni-directional scatter diagram of the Haltenbaken area (Laverton, 2015). Each number represents the amount of occurences of that specific $[H_s$, $T_p]$ pair during the entire measured interval. Sums are displayed on each side for simplicity.
When it comes to creating a scatter diagram directly from hindcast data, I would recommend you to script it in a programming language of your choosing. The psudo-code goes something along the lines of:
for all sea states extract Hs and Tp add 1 (occurence) to the corresponding cell in your 2d array # ..representing the scatter diagram print 2d array to screen or extract to excel
For simplicity, start out with a small sample size of 10-20 to ensure your routine behaves as intended. Then move on to the full dataset.
I have not fully read through the below source, but it will contain more details on the topic as well as references to several other sources as desired. Good luck!
- Laverton, Edward (2015) Modelling of Metocean Conditions for the Purpose of Planning Marine Operations. Master's thesis. url: http://hdl.handle.net/11250/2356251