Matlab routines for calculating Hs from raw pressure signal
Matlab routines for calculating Hs from raw pressure signal
All,
I am looking for matlab routines that can produce a depth corrected estimate of significant wave height from a raw pressure time series.
The data I have was collected with an Aquadopp profiler positioned between 6 and 12 m (depending on the site) and set to measure at 1 Hz. At the time I was more interested in the high resolution velocity measurements, but now would like to estimate Hs.
I have searched the net for such routines, but most are buried in proprietary packages or do not do the depth correction. I understand the principles, but am new enough to matlab that I can pull off the coding myself. I was hoping someone would have a canned routine that I could use (with proper acknowledgement).
Cheers,
Chris
Re: Matlab routines for calculating Hs from raw pressure signal
Hi Chris,
We did have some Matlab scripts that were made by Lee Gordon a few years ago which estiamted standard wave estimates using the standard PUV method (Pressure and horizontal velocity components U and V). There was also a primer for this, however when I just checked the link it was not there. I will hunt this down and get back to you. I suspect that when we moved our forum that it was either lost or the link has changed.
kind regards,
Torstein
Re: Matlab routines for calculating Hs from raw pressure signal
The link found in the Forum thread "Matlab tools for PUV" has been updated. It his is found here: PUV Primer
Re: Matlab routines for calculating Hs from raw pressure signal
Dear All,
I'm looking for the “GetWAP.m” , “GetWAS.m”, and “PlotWAP.m” matlab scripts or something equivalent to plot wave characteristics.
There is no link in the forum to download them.
Can someone provide such matlab scripts?
Thanks
Slim GANA
Ph.D., physical Oceanography
Tunisia
slim.gana@sarost.com or slim.gana@gnet.tn
Re: Matlab routines for calculating Hs from raw pressure signal
Hello Slim,
Attached you will find the three scripts that you requested. Please let me know if you have further questions.
-Torstein
Re: Matlab routines for calculating Hs from raw pressure signal
Previously Torstein Pedersen wrote:
Hello Slim,
Attached you will find the three scripts that you requested. Please let me know if you have further questions.
-Torstein
Thanks Torstein,
I'm going to try these routine and come back for further questions if needed.
Regards
Re: Matlab routines for calculating Hs from raw pressure signal
Sorry,Torstein,
I need your help.
I cannot create the "wapdata" file from the *.wap obtained from quickwave.
Can you shed my light, please?
Thanks
Re: Matlab routines for calculating Hs from raw pressure signal
Hi,
In order to generate the Wapdata you will first need to read the data from the *.WAP file. This is done with the matlab script "getwap.m".
If you type the following in the matlab command window you will get the data you need:
Wapdata = getwap;
-Torstein
Re: Matlab routines for calculating Hs from raw pressure signal
Thanks Torstein
It's works perfectly, now.
Is there any other matlab routines to plot current velocity and direction, please?
Regards
Slim GANA
Re: Matlab routines for calculating Hs from raw pressure signal
Hi, most of the matlab threads seems to have been lost as we moved the forum. Here is one that does coordinate transforms -- http://www.nortek-as.com/forum/software/644656788
We will to spend some time cleaning this all up so we can refresh the Matlab exchange thread.
- Atle Lohrmann

