Matlab routines for calculating Hs from raw pressure signal

by Chris Finelli last modified Nov 19, 2008 08:21 PM
Up to Waves

Matlab routines for calculating Hs from raw pressure signal

Posted by Chris Finelli at January 18. 2008

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

Current state: Being created

Re: Matlab routines for calculating Hs from raw pressure signal

Posted by Torstein Pedersen at January 21. 2008

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

Current state: Being created

Re: Matlab routines for calculating Hs from raw pressure signal

Posted by Torstein Pedersen at January 28. 2008

The link found in the Forum thread "Matlab tools for PUV" has been updated.   It his is found here: PUV Primer

Current state: Being created

Re: Matlab routines for calculating Hs from raw pressure signal

Posted by Estelle Richard at November 15. 2008

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

Posted by Torstein Pedersen at November 17. 2008

Hello Slim,

Attached you will find the three scripts that you requested.  Please let me know if you have further questions.

 

-Torstein

Attachments

Re: Matlab routines for calculating Hs from raw pressure signal

Posted by Estelle Richard at November 18. 2008

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

Posted by Estelle Richard at November 18. 2008

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

Posted by Torstein Pedersen at November 18. 2008

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

Posted by Estelle Richard at November 18. 2008

Thanks Torstein

It's works perfectly, now.

Is there any other matlab routines to plot current velocity and direction, please?

Regards

Slim GANA

slim.gana@sarost.com

Re: Matlab routines for calculating Hs from raw pressure signal

Posted by Atle Lohrmann at November 19. 2008

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

Powered by Ploneboard
Document Actions
Log in


Forgot your password?
New user?