From ggersbach@dalord.com.au Tue, 18 Dec 2001 17:53:12 +0800
Date: Tue, 18 Dec 2001 17:53:12 +0800
From: Guy Gersbach ggersbach@dalord.com.au
Subject: [Sea-mat] MATLAB Visualisation for EFDC

Hello All,

Has anyone developed a package to visualise data generated from the EFDC
(Environmental Fluid Dynamics Code, John Hamrick) model and if so, would
they be willing to share it?  I'm aware there are many visualisation
packages around (SEA-MAT page for example) but if one has been tailor
made for EFDC I would be interested to hear from you.

Regards,

Guy

__________________________________________________________
Dr Guy Gersbach
Senior Physical Oceanographer=20
D.A. Lord & Associates Pty Ltd		ggersbach@dalord.com.au
PO Box 3172, Broadway			Ph:    	(61+8) 9389 9669
NEDLANDS  WA  6009			Fax:  	(61+8) 9389 9660






From signell@saclantc.nato.int Tue, 18 Dec 2001 16:18:23 +0100
Date: Tue, 18 Dec 2001 16:18:23 +0100
From: Rich Signell signell@saclantc.nato.int
Subject: [Sea-mat] MATLAB Visualisation for EFDC

Guy Gersbach wrote:
> 
> Hello All,
> 
> Has anyone developed a package to visualise data generated from the EFDC
> (Environmental Fluid Dynamics Code, John Hamrick) model and if so, would
> they be willing to share it?  I'm aware there are many visualisation
> packages around (SEA-MAT page for example) but if one has been tailor
> made for EFDC I would be interested to hear from you.

Guy,

The EFDC model uses coordinates identical to POM 
(orthogonal curvilinear coordinates in the horizontal,
sigma in the vertical). 

You can therefore use the Matlab and AVS routines 
developed for POM model visualization at: 

http://woodshole.er.usgs.gov/operations/modeling/omviz/

providing you take the "putcdf.f" subroutine you find there
and replace the references to POM variables with the 
equivalent EFDC variables: 

POM        EFDC
---        ----
DX(I,J)    DX(I,J)
DY(I,J)    DY(I,J)
H(I,J)  => DEPTH(I,J)
...        ...
...        ...

Good Luck,
-- 
Dr. Richard P. Signell                 |  signell@saclantc.nato.int
NATO/SACLANT Undersea Research Centre  |    Tel: (+39) 0187 527 381
Viale San Bartolomeo 400               |    Fax: (+39) 0187 527 331
19138 La Spezia, ITALY  --> From USA/CANADA, use: APO AE 09613-5000





From dtsoulis at yahoo.com  Fri Mar  9 05:58:34 2001
From: dtsoulis at yahoo.com (=?iso-8859-1?q?Dimitrios=20Tsoulis?=)
Date: Fri, 9 Mar 2001 02:58:34 -0800 (PST)
Subject: [Sea-mat] Math - text in Matlab
Message-ID: <20010309105834.25510.qmail@web1403.mail.yahoo.com>

Dear sea-mat members,

this is my first mail to the list, so first of
all I have to introduce muself. My name is Dimitris
Tsoulis and I work in geodesy and gravity field
modelling in particular. I use Matlab, as a standard
tool not only for graphs but for numerical
computations
as well.

My question is: 

What TeX-alike structures are permissible in Matlab?
For example, I want to write in the xlabel of a figure
'\overline{P}_{nm}', but it doesn't work. However,
'P_{nm}' works out fine, which leaves me with the
question. 

Thanks in advance for your help.

best regards

Dimitris





__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/




From AAllen at rdc.uscg.mil  Fri Mar  9 08:36:44 2001
From: AAllen at rdc.uscg.mil (Allen, Art)
Date: Fri, 9 Mar 2001 08:36:44 -0500 
Subject: [Sea-mat] Math - text in Matlab
Message-ID: <7C1ECE6122B7D411A6E000508BAE53CB194F53@rdcex.rdc.uscg.mil>

Dimitris,

This is a good question, "What TeX characters can be used by Matlab?"

The manual suggest that you "See the text String property for a list of
available TeX characters."   Of course, the manual provide zero guidance on
how to do that!

Since, I am using Matlab Release 12, I followed this sequence in the Help
menu.


Using Matlab
        Graphics
              Axes Properties
                  Labeling and Appearance Properties
                        Creating Axes with Specific Characteristics
                            Text
                                  String


and found the following information and table which is partially reproduce
here as a list, which does not include your overline. Sorry.


String                       string

The text string. Specify this property as a quoted string for single-line
strings, or as a cell array of strings or a
padded string matrix for multiline strings. MATLAB displays this string at
the specified location. Vertical slash
characters are not interpreted as linebreaks in text strings, and are drawn
as part of the text string. See the
"Remarks" section for more information.

When the text Interpreter property is Tex (the default), you can use a
subset of TeX commands
embedded in the string to produce special characters such as Greek letters
and mathematical symbols. The
following table lists these characters and the character sequence used to
define them.


Character Sequence and some of the symbols.

\alpha
\upsilon
\sim
~
\beta
\phi
\leq
\gamma
\chi
\infty
\delta
\psi 

\clubsuit
\epsilon
\omega
\diamondsuit
\zeta
\Gamma
\heartsuit
\eta
\Delta
\spadesuit
\theta
\Theta
\leftrightarrow
\vartheta
\Lambda
\leftarrow
\iota
\Xi
\uparrow
\kappa
\Pi
\rightarrow
\lambda
\Sigma
\downarrow
\mu        ?

\Upsilon
\circ    ?
\nu
\Phi
\pm        ?
\xi
\Psi
\geq
\pi
\Omega
\propto
\rho
\forall
\partial
\sigma
\exists
\bullet    ?
\varsigma
\ni
\div        ?
\tau
\cong
\neq
\equiv
\approx
\aleph
\Im
\Re
\wp
\otimes
\oplus
\oslash
\cap
\cup
\supseteq
\supset
\subseteq
\subset
\int
\in
\o
\rfloor
\lceil
\nabla
\lfloor
\cdot        ?
\ldots        ...
\perp
\neg        ?
\prime        ?
\wedge

\times        x
\0
\rceil
\surd
\mid        |
\vee
\varpi
\copyright    ?
\langle
\rangle

Respectively,

Art Allen
U.S. Coast Guard
Research and Development Center
1082 Shennecossett Road
Groton, CT, 06340-6096
(860) 441-2747
(860)441-2792 FAX
 <mailto:aallen at rdc.uscg.mil> aallen at rdc.uscg.mil
 




-----Original Message-----
From: Dimitrios Tsoulis [ mailto:dtsoulis at yahoo.com
<mailto:dtsoulis at yahoo.com> ]
Sent: Friday, March 09, 2001 5:59 AM
To: sea-mat at whoi.edu
Subject: [Sea-mat] Math - text in Matlab



Dear sea-mat members,

this is my first mail to the list, so first of
all I have to introduce muself. My name is Dimitris
Tsoulis and I work in geodesy and gravity field
modelling in particular. I use Matlab, as a standard
tool not only for graphs but for numerical
computations
as well.

My question is:

What TeX-alike structures are permissible in Matlab?
For example, I want to write in the xlabel of a figure
'\overline{P}_{nm}', but it doesn't work. However,
'P_{nm}' works out fine, which leaves me with the
question.

Thanks in advance for your help.

best regards

Dimitris





__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/ <http://personal.mail.yahoo.com/> 


_______________________________________________
Sea-mat maillist  -  Sea-mat at whoi.edu
http://www.whoi.edu/mailman/listinfo/sea-mat
<http://www.whoi.edu/mailman/listinfo/sea-mat> 






From holland at cims.nyu.edu  Wed Apr 11 09:55:11 2001
From: holland at cims.nyu.edu (David M. Holland)
Date: Wed, 11 Apr 2001 09:55:11 -0400
Subject: [Sea-mat] Surface Gravity Waves
Message-ID: <3AD4623E.A76C8740@cims.nyu.edu>

Hi,

I am looking for a Matlab routine  that could be used to demonstrate
properties of surface gravity waves (and/or internal waves) for teaching
purposes.   Thanks.

Cheers, David

--
David Michael Holland
Courant Institute of Mathematical Sciences
251 Mercer Street, Warren Weaver Hall, 907
New York University, MC 0711
New York City, New York, USA, 10012

Title: Assistant Professor Mathematics
Phone: (212) 998-3245
Fax:   (212) 995-4121
Email: holland at cims.nyu.edu
Web:   http://fish.cims.nyu.edu/~holland






From ansorge at physci.uct.ac.za  Fri Jun  8 04:10:15 2001
From: ansorge at physci.uct.ac.za (Isabelle Ansorge)
Date: Fri, 8 Jun 2001 10:10:15 +0200
Subject: [Sea-mat] matlab files
Message-ID: <E158HHa-0001Gl-00@mail1.uct.ac.za>

Hi

I wonder whether you can help me. 

I am using the sw_gvel mfiles (CSIRO Seawater Toolkit on SEAMAT) and 
I was wondering whether you have an mfile that will also calculate 
the angle of flow between a pair of stations as well? 

Thank you for your help
Best wishes
Isabelle Ansorge





From nhogg at whoi.edu  Fri Jun  8 12:36:46 2001
From: nhogg at whoi.edu (Nelson Hogg)
Date: Fri, 08 Jun 2001 12:36:46 -0400
Subject: [Sea-mat] matlab files
References: <E158HHa-0001Gl-00@mail1.uct.ac.za>
Message-ID: <3B20FF1E.3090104@whoi.edu>

We would all like to be able to do that but, unfortunately, the 
information from two stations only allows you to calculate the component 
of flow perpendicular to them. This is just basic physics relating 
coriolis force to pressure gradients There is a routine that calculates 
the angle and distance between two stations (sw_dist, I think).

Nelson Hogg

Isabelle Ansorge wrote:

>Hi
>
>I wonder whether you can help me. 
>
>I am using the sw_gvel mfiles (CSIRO Seawater Toolkit on SEAMAT) and 
>I was wondering whether you have an mfile that will also calculate 
>the angle of flow between a pair of stations as well? 
>
>Thank you for your help
>Best wishes
>Isabelle Ansorge
>
>
>
>_______________________________________________
>Sea-mat maillist  -  Sea-mat at whoi.edu
>http://www.whoi.edu/mailman/listinfo/sea-mat
>






From mauricio.mata at furg.br  Thu Jun 21 11:56:36 2001
From: mauricio.mata at furg.br (Mauricio M. Mata)
Date: Thu, 21 Jun 2001 12:56:36 -0300
Subject: [Sea-mat] spec. interp.
Message-ID: <00c601c0fa6a$c08394a0$4ee384c8@ocfis.furg.br>



Hello all,

Has anyone got a 'Spectral Interpolation' m-file to fill gaps in a time
series spectrally? (something similar as in the EPIC package).

Cheers

Mauricio

----------------------------------------------------------------------------
---------------
Mauricio M. Mata
FURG - Departamento de Fisica
Cx. Postal 474
Rio Grande (RS), BRASIL 96201-900
Tel: +55(53)2336643  Fax: +55(53)2336619





From mauricio.mata at furg.br  Thu Jun 21 11:49:08 2001
From: mauricio.mata at furg.br (Mauricio M. Mata)
Date: Thu, 21 Jun 2001 12:49:08 -0300
Subject: [Sea-mat] spec. interp.
Message-ID: <008801c0fa69$b5f646a0$4ee384c8@ocfis.furg.br>

Hello all,

Has anyone got a 'Spectral Interpolation' m-file to fill gaps in a time series spectrally? (something similar as in the EPIC package).

Cheers

Mauricio

-------------------------------------------------------------------------------------------
Mauricio M. Mata
FURG - Departamento de Fisica
Cx. Postal 474
Rio Grande (RS), BRASIL 96201-900
Tel: +55(53)2336643  Fax: +55(53)2336619
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.whoi.edu/pipermail/sea-mat/attachments/20010621/d39c2e49/attachment.html 

From jpx at usgs.gov  Thu Jun 21 15:27:12 2001
From: jpx at usgs.gov (Xu, Jingping)
Date: Thu, 21 Jun 2001 12:27:12 -0700
Subject: [Sea-mat] spec. interp.
Message-ID: <a05001903b757f959c7c3@[130.118.20.140]>

  As parts of CMGTooL (A Matlab based oceanographic data processing 
and display package) developed in the Coastal and Marine Geology of 
U.S. Geological Survey, I have adapted the Fortran codes into mfiles. 
If anyone is interested, I can send you the routines through email.
Cheers.

-Jingping

At 12:56 PM -0300 6/21/01, Mauricio M. Mata wrote:
>Hello all,
>
>Has anyone got a 'Spectral Interpolation' m-file to fill gaps in a time
>series spectrally? (something similar as in the EPIC package).
>
>Cheers
>
>Mauricio
>
>----------------------------------------------------------------------------
>---------------
>Mauricio M. Mata
>FURG - Departamento de Fisica
>Cx. Postal 474
>Rio Grande (RS), BRASIL 96201-900
>Tel: +55(53)2336643  Fax: +55(53)2336619
>
>
>
>_______________________________________________
>Sea-mat maillist  -  Sea-mat at whoi.edu
>http://www.whoi.edu/mailman/listinfo/sea-mat
-- 
-------------------------------------------------------------------
Xu, Jingping               Email: jpx at usgs.gov
USGS,  MS-999        Phone: 650-329-5283
345 Middlefield Road     Fax: 650-329-5190
Menlo Park, CA 94025
-------------------------------------------------------------------





From ngalbraith at whoi.edu  Fri Jul 13 10:45:37 2001
From: ngalbraith at whoi.edu (NGalbraith)
Date: Fri, 13 Jul 2001 10:45:37 -0400
Subject: [Sea-mat] FWD: static magnetic field question
Message-ID: <3B4F0991.D20D1825@whoi.edu>

Please send any replies to this query to  
  mohamadakl at hotmail.com

> I am looking for a MATLAB code that represents a numerical 
> solution for calculating static magnetic fields in 3D iteratively.  
> Is this code available by chance.  
> 
> If you don't have a clue, would you please tell me who I can ask?
> Thanks,
> Waiting for your reply.
> Mohamad Akl
>  

*********************************************************************
* Nan Galbraith                         MS 29                       *
* Woods Hole Oceanographic Institution  Woods Hole, MA 02543        *
*********************************************************************




From ngalbraith at whoi.edu  Fri Jul 20 16:03:58 2001
From: ngalbraith at whoi.edu (NGalbraith)
Date: Fri, 20 Jul 2001 16:03:58 -0400
Subject: [Sea-mat] [Fwd: matlab mixed layer depth]
Message-ID: <3B588EAE.E66767B0@whoi.edu>

Please reply to vagostin at u.washington.edu

"Vera N. Agostini" wrote:
> 
> Hello,
> I am a graduate student at the University of Washington and 
> I am looking for a Matlab tool to calculate mixed layer depth. 
> I could not locate it on your web-site; do you know where I 
> could find one?

> Thank you!
> Vera Agostini
 
*********************************************************************
* Nan Galbraith                         MS 29                       *
* Woods Hole Oceanographic Institution  Woods Hole, MA 02543        *
*********************************************************************




From aperlin at OCE.ORST.EDU  Fri Jul 20 18:10:54 2001
From: aperlin at OCE.ORST.EDU (Alexander Perlin)
Date: Fri, 20 Jul 2001 15:10:54 -0700
Subject: [Sea-mat] coastal-trapped waves
Message-ID: <5.1.0.14.2.20010720150504.00b2bc30@pop.oce.orst.edu>

Hello all,

I'm looking for a Matlab version of WHOI Fortran program for computing 
properties of coastal-trapped waves over the continental shelf and slope. 
Does such a version exist? If not, is it possible to get Fortran code?

Thank you,
Alexander.



****************************************************
Alexander Perlin
College of Oceanic & Atmos. Sci.
104 Ocean Admin. Bldg.
Oregon State University
Corvallis, OR 97331-5503
ph: 541-737-2990 fx: 541-737-2064
e-mail: aperlin at oce.orst.edu
http://mixing.oce.orst.edu/people/perlin/
****************************************************





From XuZ at mar.dfo-mpo.gc.ca  Mon Jul 23 11:13:32 2001
From: XuZ at mar.dfo-mpo.gc.ca (Xu, Zhigang)
Date: Mon, 23 Jul 2001 12:13:32 -0300
Subject: [Sea-mat] coastal-trapped waves
Message-ID: <DB99E25A3974D411B8860090273F1A783549E4@msgmarbio03.bio.dfo.ca>

Hi, Alexander, 

    Have we met on the data assimilation workshop in 99 lecture by Professor
A. Bennett your school? I guess so. 

    I have just recently made a matlab program from scratch to calculate the
eigenvalues/egienfunctions for barotropic trapped waves on the continental
shelf/slope. It numerically solves the following eigen value problem:

           [ P(x) Y'  ]' + Q(x)Y = lambda F1(x) Y + lambda^2 F2(x) Y,   for
x=x(2:N-1)
           A(1) Y(1) + A(2) Y'(1) =lambda A(3) Y(1)
for x=x(1)
           B(1) Y(N) +B(2)Y'(N) = lambda B(3) Y(N)
for x=x(N)

where 
      x                     is the on-off shore direction co-ordinate, and
seaward positively; x(1)coast, x(N)=offshore end
 
      Y                    are the complex amplitude of the trapped waves
(to be solved as eigenfunctions)
 
     P(x)  and Q(x)  are arbitrary function of x;  for our coastal trapped
waves, they should be  water depth, say h(x),  and (sigma^2-f^2)/g
respectively (sigma is the frequency, and f and g are the Coriolis and
gravitational parameters) 

    lambda             are the eigvenvalues in interest (to be solved), it
can represent the alongshore wave numbers 

    F1(x) and F2(x)  are again two functions of x;  as far as the coastal
trapped wave concerns, 
                            they should be taken as F1(x)= f/(sigma h' ) and
F2(x)=h(x)

     A(1), A(2), A(3), B(1), B(2) and B(3)  are two groups of  arbitrary
(but should be meaningful) constants, to allow for  different types of
boundary conditions at the coast and at the deep sea end. For example,  if
you supply A(1:3) with [0 1 f/sigma] and B(1:3) with [1 0 0] then you will
have specified no-flux condition at the coast and clamp condition at the
deep sea side.  

     Upon you specify the coefficient functions and constants, the program
will give you all the possible alonshore wave numbers and amplitude
structures in the on-offshore direction per frequency. So if you run the
program for a range of frequencies, you can have dispersion curves. Possible
evanescent modes will also be among the outputs. 

     This program is not a translation of the WHOI Fortran code; it was made
from scratch, because for me it is easier to make it from scratch once you  
realise that the above ODE's can be discretized  to form  a general
eigenvalue problem things become quite easy with the matlab eigen functions.
I  have obtained interesting results with the program on double Kelvin waves
on the Newfoundland shelves.  But the program is not polished yet,
everything to me here is in a rush. I am planing  to make another program
for a baroclinic counterpart later on, and to polish them together before I
can contribute to our community. But if you are interested at this stage, I
can supply it to you first and facilitate you in using it. This way I can
also have your valuable feedback as well.

Regards!

Zhigang


Dr. Zhigang Xu
Research Scientist
Coastal Ocean Science, Ocean Sciences Division
Bedford Institute of Oceanography
P. O. Box 1006
Dartmouth, N.S. B2Y 4A2
Tel. 902-426-2307, Fax 902-426-6927
Office Email: xuz at mar.dfo-mpo.gc.ca   
 
 
 

> -----Original Message-----
> From:	Alexander Perlin [SMTP:aperlin at OCE.ORST.EDU]
> Sent:	Friday, July 20, 2001 7:11 PM
> To:	sea-mat at whoi.edu
> Subject:	[Sea-mat] coastal-trapped waves
> 
> Hello all,
> 
> I'm looking for a Matlab version of WHOI Fortran program for computing 
> properties of coastal-trapped waves over the continental shelf and slope. 
> Does such a version exist? If not, is it possible to get Fortran code?
> 
> Thank you,
> Alexander.
> 
> 
> 
> ****************************************************
> Alexander Perlin
> College of Oceanic & Atmos. Sci.
> 104 Ocean Admin. Bldg.
> Oregon State University
> Corvallis, OR 97331-5503
> ph: 541-737-2990 fx: 541-737-2064
> e-mail: aperlin at oce.orst.edu
> http://mixing.oce.orst.edu/people/perlin/
> ****************************************************
> 
> 
> 
> _______________________________________________
> Sea-mat maillist  -  Sea-mat at whoi.edu
> http://www.whoi.edu/mailman/listinfo/sea-mat




From dasaro at kraken.apl.washington.edu  Thu Aug 23 11:28:09 2001
From: dasaro at kraken.apl.washington.edu (Eric D'Asaro)
Date: Thu, 23 Aug 2001 08:28:09 -0700
Subject: [Sea-mat] Matlab Version of Spice
In-Reply-To: <200108231340.PAA06836@stardust.ifremer.fr>
Message-ID: <l0313030bb7aad05bbfb5@[192.168.123.134]>

Pierre:
Here is a matlab version of your spice code, which correctly returns the
check values
that you gave me.   I have taken the liberty of
sending it to the WHOI Matlab code collection.  If you don't like that,
send them a message to trash it.  sea-mat at whoi.edu

Eric
-------------- next part --------------
%function spice(s,t)
%A P. Flament
%T A state variable for characterizing water masses and their diffusive
stability: spiciness
%J Progr. Oceanog.
%D 2001
%O (in press, SOEST contr. 5323)
%expression of spiciness
% Check values
% p t s = 0 0 35  -> spice = 0 by design
% p t s = 0 20 35	-> spice = 3.32118
% p t s = 0 10 35	-> spice = 1.13119


function sp=spice(s,t)	%/* pressure can only be 0 in this version  */

b=zeros(6,5)*NaN;

b(1,1) = 0;
b(1,2) = 7.7442e-001;
b(1,3) = -5.85e-003;
b(1,4) = -9.84e-004;
b(1,5) = -2.06e-004;

b(2,1) = 5.1655e-002;
b(2,2) = 2.034e-003;
b(2,3) = -2.742e-004;
b(2,4) = -8.5e-006;
b(2,5) = 1.36e-005;

b(3,1) = 6.64783e-003;
b(3,2) = -2.4681e-004;
b(3,3) = -1.428e-005;
b(3,4) = 3.337e-005;
b(3,5) = 7.894e-006;

b(4,1) = -5.4023e-005;
b(4,2) = 7.326e-006;
b(4,3) = 7.0036e-006;
b(4,4) = -3.0412e-006;
b(4,5) = -1.0853e-006;

b(5,1) = 3.949e-007;
b(5,2) = -3.029e-008;
b(5,3) = -3.8209e-007;
b(5,4) = 1.0012e-007;
b(5,5) = 4.7133e-008;

b(6,1) = -6.36e-010;
b(6,2) = -1.309e-009;
b(6,3) = 6.048e-009;
b(6,4) = -1.1409e-009;
b(6,5) = -6.676e-010;

s=(s-35.);
sp=0.;

T=1.;
for i=1:6

	S=1.;
	for j=1:5

		sp=sp+b(i,j)*T.*S;
		S=S.*s;
	end
	T=T.*t;
end

-------------- next part --------------
Eric A. D'Asaro
Professor, School of Oceanography
Applied Physics Laboratory, University of Washington
1013 NE 40th Str, Seattle, WA 98105

Work: 206 685 2982  (Ineffective!)
FAX: 206 543 6785   Home: 206 524 5267
dasaro at apl.washington.edu  (Best!)
http://poseidon.apl.washington.edu/~dasaro/HOME/

From johnson at cwr.uwa.edu.au  Sat Sep  1 01:24:02 2001
From: johnson at cwr.uwa.edu.au (David Johnson)
Date: Sat, 1 Sep 2001 13:24:02 +0800
Subject: [Sea-mat] Matlab toolbox for directional wave analysis
Message-ID: <002b01c132a6$502cae70$4c8e5f82@cwr.uwa.edu.au>

Dear Sea-Mat,

I have written a toolbox, DIWASP, which calculates directional wave spectra
from field data. This is freely available to any ocean science people out
there who might find it useful.
The toolbox homepage is
http://www.cwr.uwa.edu.au/~johnson/diwasp/diwasp.html
and downloads of .zip and tar.gz files are available from there
There is a manual which (I hope) explains how it works fairly clearly and
some sample data with a short tutorial.
Any feedback appreciated as long-term goal is to keep improving package as a
resource for the oceanographic community

Regards
David Johnson

David Johnson
Coastal Oceanography Group
Centre for Water Research
University of Western Australia
35 Stirling Highway
Crawley, Perth   WA   6009
Australia






From df217 at cam.ac.uk  Thu Sep 27 08:45:18 2001
From: df217 at cam.ac.uk (Daniela Flocco)
Date: Thu, 27 Sep 2001 13:45:18 +0100
Subject: [Sea-mat] ode solutions
Message-ID: <3BB31F5E.2010707@cam.ac.uk>

hi,
I am having some trouble in solving a differential equation.  it is fine 
if I want to sole it with constant parameters, but I need them to change 
on a daily base. I don't know how to call the m-script in a for loop 
with various settings of the parameters.
does anyone ever sorted this problem? or there is some function that I 
don't know?

thank you

daniela

-- 
--------------------------------------------------------------
Daniela Flocco
Sea Ice & Polar Oceanography Group
SCOTT POLAR RESEARCH INSTITUTE
University of Cambridge
Lensfield Road
Cambridge, UK
CB2 1ER
Tel: +44 (0) 1223 336570
Fax: +44 (0) 1223 336549
E-Mail: df217 at cam.ac.uk
---------------------------------------------------------------





From ggersbach at dalord.com.au  Tue Dec 18 04:53:12 2001
From: ggersbach at dalord.com.au (Guy Gersbach)
Date: Tue, 18 Dec 2001 17:53:12 +0800
Subject: [Sea-mat] MATLAB Visualisation for EFDC
Message-ID: <B5834F0AE3858D4D8DB7AF872078BB76DE28@vortex.dalord.com.au>

Hello All,

Has anyone developed a package to visualise data generated from the EFDC
(Environmental Fluid Dynamics Code, John Hamrick) model and if so, would
they be willing to share it?  I'm aware there are many visualisation
packages around (SEA-MAT page for example) but if one has been tailor
made for EFDC I would be interested to hear from you.

Regards,

Guy

__________________________________________________________
Dr Guy Gersbach
Senior Physical Oceanographer 
D.A. Lord & Associates Pty Ltd		ggersbach at dalord.com.au
PO Box 3172, Broadway			Ph:    	(61+8) 9389 9669
NEDLANDS  WA  6009			Fax:  	(61+8) 9389 9660






From signell at saclantc.nato.int  Tue Dec 18 10:18:23 2001
From: signell at saclantc.nato.int (Rich Signell)
Date: Tue, 18 Dec 2001 16:18:23 +0100
Subject: [Sea-mat] MATLAB Visualisation for EFDC
References: <B5834F0AE3858D4D8DB7AF872078BB76DE28@vortex.dalord.com.au>
Message-ID: <3C1F5E3F.4C764386@saclantc.nato.int>

Guy Gersbach wrote:
> 
> Hello All,
> 
> Has anyone developed a package to visualise data generated from the EFDC
> (Environmental Fluid Dynamics Code, John Hamrick) model and if so, would
> they be willing to share it?  I'm aware there are many visualisation
> packages around (SEA-MAT page for example) but if one has been tailor
> made for EFDC I would be interested to hear from you.

Guy,

The EFDC model uses coordinates identical to POM 
(orthogonal curvilinear coordinates in the horizontal,
sigma in the vertical). 

You can therefore use the Matlab and AVS routines 
developed for POM model visualization at: 

http://woodshole.er.usgs.gov/operations/modeling/omviz/

providing you take the "putcdf.f" subroutine you find there
and replace the references to POM variables with the 
equivalent EFDC variables: 

POM        EFDC
---        ----
DX(I,J)    DX(I,J)
DY(I,J)    DY(I,J)
H(I,J)  => DEPTH(I,J)
...        ...
...        ...

Good Luck,
-- 
Dr. Richard P. Signell                 |  signell at saclantc.nato.int
NATO/SACLANT Undersea Research Centre  |    Tel: (+39) 0187 527 381
Viale San Bartolomeo 400               |    Fax: (+39) 0187 527 331
19138 La Spezia, ITALY  --> From USA/CANADA, use: APO AE 09613-5000





From dtsoulis at yahoo.com  Fri Mar  9 05:58:34 2001
From: dtsoulis at yahoo.com (=?iso-8859-1?q?Dimitrios=20Tsoulis?=)
Date: Fri, 9 Mar 2001 02:58:34 -0800 (PST)
Subject: [Sea-mat] Math - text in Matlab
Message-ID: <20010309105834.25510.qmail@web1403.mail.yahoo.com>

Dear sea-mat members,

this is my first mail to the list, so first of
all I have to introduce muself. My name is Dimitris
Tsoulis and I work in geodesy and gravity field
modelling in particular. I use Matlab, as a standard
tool not only for graphs but for numerical
computations
as well.

My question is: 

What TeX-alike structures are permissible in Matlab?
For example, I want to write in the xlabel of a figure
'\overline{P}_{nm}', but it doesn't work. However,
'P_{nm}' works out fine, which leaves me with the
question. 

Thanks in advance for your help.

best regards

Dimitris





__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/




From AAllen at rdc.uscg.mil  Fri Mar  9 08:36:44 2001
From: AAllen at rdc.uscg.mil (Allen, Art)
Date: Fri, 9 Mar 2001 08:36:44 -0500 
Subject: [Sea-mat] Math - text in Matlab
Message-ID: <7C1ECE6122B7D411A6E000508BAE53CB194F53@rdcex.rdc.uscg.mil>

Dimitris,

This is a good question, "What TeX characters can be used by Matlab?"

The manual suggest that you "See the text String property for a list of
available TeX characters."   Of course, the manual provide zero guidance on
how to do that!

Since, I am using Matlab Release 12, I followed this sequence in the Help
menu.


Using Matlab
        Graphics
              Axes Properties
                  Labeling and Appearance Properties
                        Creating Axes with Specific Characteristics
                            Text
                                  String


and found the following information and table which is partially reproduce
here as a list, which does not include your overline. Sorry.


String                       string

The text string. Specify this property as a quoted string for single-line
strings, or as a cell array of strings or a
padded string matrix for multiline strings. MATLAB displays this string at
the specified location. Vertical slash
characters are not interpreted as linebreaks in text strings, and are drawn
as part of the text string. See the
"Remarks" section for more information.

When the text Interpreter property is Tex (the default), you can use a
subset of TeX commands
embedded in the string to produce special characters such as Greek letters
and mathematical symbols. The
following table lists these characters and the character sequence used to
define them.


Character Sequence and some of the symbols.

\alpha
\upsilon
\sim
~
\beta
\phi
\leq
\gamma
\chi
\infty
\delta
\psi 

\clubsuit
\epsilon
\omega
\diamondsuit
\zeta
\Gamma
\heartsuit
\eta
\Delta
\spadesuit
\theta
\Theta
\leftrightarrow
\vartheta
\Lambda
\leftarrow
\iota
\Xi
\uparrow
\kappa
\Pi
\rightarrow
\lambda
\Sigma
\downarrow
\mu        ?

\Upsilon
\circ    ?
\nu
\Phi
\pm        ?
\xi
\Psi
\geq
\pi
\Omega
\propto
\rho
\forall
\partial
\sigma
\exists
\bullet    ?
\varsigma
\ni
\div        ?
\tau
\cong
\neq
\equiv
\approx
\aleph
\Im
\Re
\wp
\otimes
\oplus
\oslash
\cap
\cup
\supseteq
\supset
\subseteq
\subset
\int
\in
\o
\rfloor
\lceil
\nabla
\lfloor
\cdot        ?
\ldots        ...
\perp
\neg        ?
\prime        ?
\wedge

\times        x
\0
\rceil
\surd
\mid        |
\vee
\varpi
\copyright    ?
\langle
\rangle

Respectively,

Art Allen
U.S. Coast Guard
Research and Development Center
1082 Shennecossett Road
Groton, CT, 06340-6096
(860) 441-2747
(860)441-2792 FAX
 <mailto:aallen at rdc.uscg.mil> aallen at rdc.uscg.mil
 




-----Original Message-----
From: Dimitrios Tsoulis [ mailto:dtsoulis at yahoo.com
<mailto:dtsoulis at yahoo.com> ]
Sent: Friday, March 09, 2001 5:59 AM
To: sea-mat at whoi.edu
Subject: [Sea-mat] Math - text in Matlab



Dear sea-mat members,

this is my first mail to the list, so first of
all I have to introduce muself. My name is Dimitris
Tsoulis and I work in geodesy and gravity field
modelling in particular. I use Matlab, as a standard
tool not only for graphs but for numerical
computations
as well.

My question is:

What TeX-alike structures are permissible in Matlab?
For example, I want to write in the xlabel of a figure
'\overline{P}_{nm}', but it doesn't work. However,
'P_{nm}' works out fine, which leaves me with the
question.

Thanks in advance for your help.

best regards

Dimitris





__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/ <http://personal.mail.yahoo.com/> 


_______________________________________________
Sea-mat maillist  -  Sea-mat at whoi.edu
http://www.whoi.edu/mailman/listinfo/sea-mat
<http://www.whoi.edu/mailman/listinfo/sea-mat> 






From holland at cims.nyu.edu  Wed Apr 11 09:55:11 2001
From: holland at cims.nyu.edu (David M. Holland)
Date: Wed, 11 Apr 2001 09:55:11 -0400
Subject: [Sea-mat] Surface Gravity Waves
Message-ID: <3AD4623E.A76C8740@cims.nyu.edu>

Hi,

I am looking for a Matlab routine  that could be used to demonstrate
properties of surface gravity waves (and/or internal waves) for teaching
purposes.   Thanks.

Cheers, David

--
David Michael Holland
Courant Institute of Mathematical Sciences
251 Mercer Street, Warren Weaver Hall, 907
New York University, MC 0711
New York City, New York, USA, 10012

Title: Assistant Professor Mathematics
Phone: (212) 998-3245
Fax:   (212) 995-4121
Email: holland at cims.nyu.edu
Web:   http://fish.cims.nyu.edu/~holland






From ansorge at physci.uct.ac.za  Fri Jun  8 04:10:15 2001
From: ansorge at physci.uct.ac.za (Isabelle Ansorge)
Date: Fri, 8 Jun 2001 10:10:15 +0200
Subject: [Sea-mat] matlab files
Message-ID: <E158HHa-0001Gl-00@mail1.uct.ac.za>

Hi

I wonder whether you can help me. 

I am using the sw_gvel mfiles (CSIRO Seawater Toolkit on SEAMAT) and 
I was wondering whether you have an mfile that will also calculate 
the angle of flow between a pair of stations as well? 

Thank you for your help
Best wishes
Isabelle Ansorge





From nhogg at whoi.edu  Fri Jun  8 12:36:46 2001
From: nhogg at whoi.edu (Nelson Hogg)
Date: Fri, 08 Jun 2001 12:36:46 -0400
Subject: [Sea-mat] matlab files
References: <E158HHa-0001Gl-00@mail1.uct.ac.za>
Message-ID: <3B20FF1E.3090104@whoi.edu>

We would all like to be able to do that but, unfortunately, the 
information from two stations only allows you to calculate the component 
of flow perpendicular to them. This is just basic physics relating 
coriolis force to pressure gradients There is a routine that calculates 
the angle and distance between two stations (sw_dist, I think).

Nelson Hogg

Isabelle Ansorge wrote:

>Hi
>
>I wonder whether you can help me. 
>
>I am using the sw_gvel mfiles (CSIRO Seawater Toolkit on SEAMAT) and 
>I was wondering whether you have an mfile that will also calculate 
>the angle of flow between a pair of stations as well? 
>
>Thank you for your help
>Best wishes
>Isabelle Ansorge
>
>
>
>_______________________________________________
>Sea-mat maillist  -  Sea-mat at whoi.edu
>http://www.whoi.edu/mailman/listinfo/sea-mat
>






From mauricio.mata at furg.br  Thu Jun 21 11:56:36 2001
From: mauricio.mata at furg.br (Mauricio M. Mata)
Date: Thu, 21 Jun 2001 12:56:36 -0300
Subject: [Sea-mat] spec. interp.
Message-ID: <00c601c0fa6a$c08394a0$4ee384c8@ocfis.furg.br>



Hello all,

Has anyone got a 'Spectral Interpolation' m-file to fill gaps in a time
series spectrally? (something similar as in the EPIC package).

Cheers

Mauricio

----------------------------------------------------------------------------
---------------
Mauricio M. Mata
FURG - Departamento de Fisica
Cx. Postal 474
Rio Grande (RS), BRASIL 96201-900
Tel: +55(53)2336643  Fax: +55(53)2336619





From mauricio.mata at furg.br  Thu Jun 21 11:49:08 2001
From: mauricio.mata at furg.br (Mauricio M. Mata)
Date: Thu, 21 Jun 2001 12:49:08 -0300
Subject: [Sea-mat] spec. interp.
Message-ID: <008801c0fa69$b5f646a0$4ee384c8@ocfis.furg.br>

Hello all,

Has anyone got a 'Spectral Interpolation' m-file to fill gaps in a time series spectrally? (something similar as in the EPIC package).

Cheers

Mauricio

-------------------------------------------------------------------------------------------
Mauricio M. Mata
FURG - Departamento de Fisica
Cx. Postal 474
Rio Grande (RS), BRASIL 96201-900
Tel: +55(53)2336643  Fax: +55(53)2336619
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.whoi.edu/pipermail/sea-mat/attachments/20010621/d39c2e49/attachment-0001.html 

From jpx at usgs.gov  Thu Jun 21 15:27:12 2001
From: jpx at usgs.gov (Xu, Jingping)
Date: Thu, 21 Jun 2001 12:27:12 -0700
Subject: [Sea-mat] spec. interp.
Message-ID: <a05001903b757f959c7c3@[130.118.20.140]>

  As parts of CMGTooL (A Matlab based oceanographic data processing 
and display package) developed in the Coastal and Marine Geology of 
U.S. Geological Survey, I have adapted the Fortran codes into mfiles. 
If anyone is interested, I can send you the routines through email.
Cheers.

-Jingping

At 12:56 PM -0300 6/21/01, Mauricio M. Mata wrote:
>Hello all,
>
>Has anyone got a 'Spectral Interpolation' m-file to fill gaps in a time
>series spectrally? (something similar as in the EPIC package).
>
>Cheers
>
>Mauricio
>
>----------------------------------------------------------------------------
>---------------
>Mauricio M. Mata
>FURG - Departamento de Fisica
>Cx. Postal 474
>Rio Grande (RS), BRASIL 96201-900
>Tel: +55(53)2336643  Fax: +55(53)2336619
>
>
>
>_______________________________________________
>Sea-mat maillist  -  Sea-mat at whoi.edu
>http://www.whoi.edu/mailman/listinfo/sea-mat
-- 
-------------------------------------------------------------------
Xu, Jingping               Email: jpx at usgs.gov
USGS,  MS-999        Phone: 650-329-5283
345 Middlefield Road     Fax: 650-329-5190
Menlo Park, CA 94025
-------------------------------------------------------------------





From ngalbraith at whoi.edu  Fri Jul 13 10:45:37 2001
From: ngalbraith at whoi.edu (NGalbraith)
Date: Fri, 13 Jul 2001 10:45:37 -0400
Subject: [Sea-mat] FWD: static magnetic field question
Message-ID: <3B4F0991.D20D1825@whoi.edu>

Please send any replies to this query to  
  mohamadakl at hotmail.com

> I am looking for a MATLAB code that represents a numerical 
> solution for calculating static magnetic fields in 3D iteratively.  
> Is this code available by chance.  
> 
> If you don't have a clue, would you please tell me who I can ask?
> Thanks,
> Waiting for your reply.
> Mohamad Akl
>  

*********************************************************************
* Nan Galbraith                         MS 29                       *
* Woods Hole Oceanographic Institution  Woods Hole, MA 02543        *
*********************************************************************




From ngalbraith at whoi.edu  Fri Jul 20 16:03:58 2001
From: ngalbraith at whoi.edu (NGalbraith)
Date: Fri, 20 Jul 2001 16:03:58 -0400
Subject: [Sea-mat] [Fwd: matlab mixed layer depth]
Message-ID: <3B588EAE.E66767B0@whoi.edu>

Please reply to vagostin at u.washington.edu

"Vera N. Agostini" wrote:
> 
> Hello,
> I am a graduate student at the University of Washington and 
> I am looking for a Matlab tool to calculate mixed layer depth. 
> I could not locate it on your web-site; do you know where I 
> could find one?

> Thank you!
> Vera Agostini
 
*********************************************************************
* Nan Galbraith                         MS 29                       *
* Woods Hole Oceanographic Institution  Woods Hole, MA 02543        *
*********************************************************************




From aperlin at OCE.ORST.EDU  Fri Jul 20 18:10:54 2001
From: aperlin at OCE.ORST.EDU (Alexander Perlin)
Date: Fri, 20 Jul 2001 15:10:54 -0700
Subject: [Sea-mat] coastal-trapped waves
Message-ID: <5.1.0.14.2.20010720150504.00b2bc30@pop.oce.orst.edu>

Hello all,

I'm looking for a Matlab version of WHOI Fortran program for computing 
properties of coastal-trapped waves over the continental shelf and slope. 
Does such a version exist? If not, is it possible to get Fortran code?

Thank you,
Alexander.



****************************************************
Alexander Perlin
College of Oceanic & Atmos. Sci.
104 Ocean Admin. Bldg.
Oregon State University
Corvallis, OR 97331-5503
ph: 541-737-2990 fx: 541-737-2064
e-mail: aperlin at oce.orst.edu
http://mixing.oce.orst.edu/people/perlin/
****************************************************





From XuZ at mar.dfo-mpo.gc.ca  Mon Jul 23 11:13:32 2001
From: XuZ at mar.dfo-mpo.gc.ca (Xu, Zhigang)
Date: Mon, 23 Jul 2001 12:13:32 -0300
Subject: [Sea-mat] coastal-trapped waves
Message-ID: <DB99E25A3974D411B8860090273F1A783549E4@msgmarbio03.bio.dfo.ca>

Hi, Alexander, 

    Have we met on the data assimilation workshop in 99 lecture by Professor
A. Bennett your school? I guess so. 

    I have just recently made a matlab program from scratch to calculate the
eigenvalues/egienfunctions for barotropic trapped waves on the continental
shelf/slope. It numerically solves the following eigen value problem:

           [ P(x) Y'  ]' + Q(x)Y = lambda F1(x) Y + lambda^2 F2(x) Y,   for
x=x(2:N-1)
           A(1) Y(1) + A(2) Y'(1) =lambda A(3) Y(1)
for x=x(1)
           B(1) Y(N) +B(2)Y'(N) = lambda B(3) Y(N)
for x=x(N)

where 
      x                     is the on-off shore direction co-ordinate, and
seaward positively; x(1)coast, x(N)=offshore end
 
      Y                    are the complex amplitude of the trapped waves
(to be solved as eigenfunctions)
 
     P(x)  and Q(x)  are arbitrary function of x;  for our coastal trapped
waves, they should be  water depth, say h(x),  and (sigma^2-f^2)/g
respectively (sigma is the frequency, and f and g are the Coriolis and
gravitational parameters) 

    lambda             are the eigvenvalues in interest (to be solved), it
can represent the alongshore wave numbers 

    F1(x) and F2(x)  are again two functions of x;  as far as the coastal
trapped wave concerns, 
                            they should be taken as F1(x)= f/(sigma h' ) and
F2(x)=h(x)

     A(1), A(2), A(3), B(1), B(2) and B(3)  are two groups of  arbitrary
(but should be meaningful) constants, to allow for  different types of
boundary conditions at the coast and at the deep sea end. For example,  if
you supply A(1:3) with [0 1 f/sigma] and B(1:3) with [1 0 0] then you will
have specified no-flux condition at the coast and clamp condition at the
deep sea side.  

     Upon you specify the coefficient functions and constants, the program
will give you all the possible alonshore wave numbers and amplitude
structures in the on-offshore direction per frequency. So if you run the
program for a range of frequencies, you can have dispersion curves. Possible
evanescent modes will also be among the outputs. 

     This program is not a translation of the WHOI Fortran code; it was made
from scratch, because for me it is easier to make it from scratch once you  
realise that the above ODE's can be discretized  to form  a general
eigenvalue problem things become quite easy with the matlab eigen functions.
I  have obtained interesting results with the program on double Kelvin waves
on the Newfoundland shelves.  But the program is not polished yet,
everything to me here is in a rush. I am planing  to make another program
for a baroclinic counterpart later on, and to polish them together before I
can contribute to our community. But if you are interested at this stage, I
can supply it to you first and facilitate you in using it. This way I can
also have your valuable feedback as well.

Regards!

Zhigang


Dr. Zhigang Xu
Research Scientist
Coastal Ocean Science, Ocean Sciences Division
Bedford Institute of Oceanography
P. O. Box 1006
Dartmouth, N.S. B2Y 4A2
Tel. 902-426-2307, Fax 902-426-6927
Office Email: xuz at mar.dfo-mpo.gc.ca   
 
 
 

> -----Original Message-----
> From:	Alexander Perlin [SMTP:aperlin at OCE.ORST.EDU]
> Sent:	Friday, July 20, 2001 7:11 PM
> To:	sea-mat at whoi.edu
> Subject:	[Sea-mat] coastal-trapped waves
> 
> Hello all,
> 
> I'm looking for a Matlab version of WHOI Fortran program for computing 
> properties of coastal-trapped waves over the continental shelf and slope. 
> Does such a version exist? If not, is it possible to get Fortran code?
> 
> Thank you,
> Alexander.
> 
> 
> 
> ****************************************************
> Alexander Perlin
> College of Oceanic & Atmos. Sci.
> 104 Ocean Admin. Bldg.
> Oregon State University
> Corvallis, OR 97331-5503
> ph: 541-737-2990 fx: 541-737-2064
> e-mail: aperlin at oce.orst.edu
> http://mixing.oce.orst.edu/people/perlin/
> ****************************************************
> 
> 
> 
> _______________________________________________
> Sea-mat maillist  -  Sea-mat at whoi.edu
> http://www.whoi.edu/mailman/listinfo/sea-mat




From dasaro at kraken.apl.washington.edu  Thu Aug 23 11:28:09 2001
From: dasaro at kraken.apl.washington.edu (Eric D'Asaro)
Date: Thu, 23 Aug 2001 08:28:09 -0700
Subject: [Sea-mat] Matlab Version of Spice
In-Reply-To: <200108231340.PAA06836@stardust.ifremer.fr>
Message-ID: <l0313030bb7aad05bbfb5@[192.168.123.134]>

Pierre:
Here is a matlab version of your spice code, which correctly returns the
check values
that you gave me.   I have taken the liberty of
sending it to the WHOI Matlab code collection.  If you don't like that,
send them a message to trash it.  sea-mat at whoi.edu

Eric
-------------- next part --------------
%function spice(s,t)
%A P. Flament
%T A state variable for characterizing water masses and their diffusive
stability: spiciness
%J Progr. Oceanog.
%D 2001
%O (in press, SOEST contr. 5323)
%expression of spiciness
% Check values
% p t s = 0 0 35  -> spice = 0 by design
% p t s = 0 20 35	-> spice = 3.32118
% p t s = 0 10 35	-> spice = 1.13119


function sp=spice(s,t)	%/* pressure can only be 0 in this version  */

b=zeros(6,5)*NaN;

b(1,1) = 0;
b(1,2) = 7.7442e-001;
b(1,3) = -5.85e-003;
b(1,4) = -9.84e-004;
b(1,5) = -2.06e-004;

b(2,1) = 5.1655e-002;
b(2,2) = 2.034e-003;
b(2,3) = -2.742e-004;
b(2,4) = -8.5e-006;
b(2,5) = 1.36e-005;

b(3,1) = 6.64783e-003;
b(3,2) = -2.4681e-004;
b(3,3) = -1.428e-005;
b(3,4) = 3.337e-005;
b(3,5) = 7.894e-006;

b(4,1) = -5.4023e-005;
b(4,2) = 7.326e-006;
b(4,3) = 7.0036e-006;
b(4,4) = -3.0412e-006;
b(4,5) = -1.0853e-006;

b(5,1) = 3.949e-007;
b(5,2) = -3.029e-008;
b(5,3) = -3.8209e-007;
b(5,4) = 1.0012e-007;
b(5,5) = 4.7133e-008;

b(6,1) = -6.36e-010;
b(6,2) = -1.309e-009;
b(6,3) = 6.048e-009;
b(6,4) = -1.1409e-009;
b(6,5) = -6.676e-010;

s=(s-35.);
sp=0.;

T=1.;
for i=1:6

	S=1.;
	for j=1:5

		sp=sp+b(i,j)*T.*S;
		S=S.*s;
	end
	T=T.*t;
end

-------------- next part --------------
Eric A. D'Asaro
Professor, School of Oceanography
Applied Physics Laboratory, University of Washington
1013 NE 40th Str, Seattle, WA 98105

Work: 206 685 2982  (Ineffective!)
FAX: 206 543 6785   Home: 206 524 5267
dasaro at apl.washington.edu  (Best!)
http://poseidon.apl.washington.edu/~dasaro/HOME/

From johnson at cwr.uwa.edu.au  Sat Sep  1 01:24:02 2001
From: johnson at cwr.uwa.edu.au (David Johnson)
Date: Sat, 1 Sep 2001 13:24:02 +0800
Subject: [Sea-mat] Matlab toolbox for directional wave analysis
Message-ID: <002b01c132a6$502cae70$4c8e5f82@cwr.uwa.edu.au>

Dear Sea-Mat,

I have written a toolbox, DIWASP, which calculates directional wave spectra
from field data. This is freely available to any ocean science people out
there who might find it useful.
The toolbox homepage is
http://www.cwr.uwa.edu.au/~johnson/diwasp/diwasp.html
and downloads of .zip and tar.gz files are available from there
There is a manual which (I hope) explains how it works fairly clearly and
some sample data with a short tutorial.
Any feedback appreciated as long-term goal is to keep improving package as a
resource for the oceanographic community

Regards
David Johnson

David Johnson
Coastal Oceanography Group
Centre for Water Research
University of Western Australia
35 Stirling Highway
Crawley, Perth   WA   6009
Australia






From df217 at cam.ac.uk  Thu Sep 27 08:45:18 2001
From: df217 at cam.ac.uk (Daniela Flocco)
Date: Thu, 27 Sep 2001 13:45:18 +0100
Subject: [Sea-mat] ode solutions
Message-ID: <3BB31F5E.2010707@cam.ac.uk>

hi,
I am having some trouble in solving a differential equation.  it is fine 
if I want to sole it with constant parameters, but I need them to change 
on a daily base. I don't know how to call the m-script in a for loop 
with various settings of the parameters.
does anyone ever sorted this problem? or there is some function that I 
don't know?

thank you

daniela

-- 
--------------------------------------------------------------
Daniela Flocco
Sea Ice & Polar Oceanography Group
SCOTT POLAR RESEARCH INSTITUTE
University of Cambridge
Lensfield Road
Cambridge, UK
CB2 1ER
Tel: +44 (0) 1223 336570
Fax: +44 (0) 1223 336549
E-Mail: df217 at cam.ac.uk
---------------------------------------------------------------





From ggersbach at dalord.com.au  Tue Dec 18 04:53:12 2001
From: ggersbach at dalord.com.au (Guy Gersbach)
Date: Tue, 18 Dec 2001 17:53:12 +0800
Subject: [Sea-mat] MATLAB Visualisation for EFDC
Message-ID: <B5834F0AE3858D4D8DB7AF872078BB76DE28@vortex.dalord.com.au>

Hello All,

Has anyone developed a package to visualise data generated from the EFDC
(Environmental Fluid Dynamics Code, John Hamrick) model and if so, would
they be willing to share it?  I'm aware there are many visualisation
packages around (SEA-MAT page for example) but if one has been tailor
made for EFDC I would be interested to hear from you.

Regards,

Guy

__________________________________________________________
Dr Guy Gersbach
Senior Physical Oceanographer 
D.A. Lord & Associates Pty Ltd		ggersbach at dalord.com.au
PO Box 3172, Broadway			Ph:    	(61+8) 9389 9669
NEDLANDS  WA  6009			Fax:  	(61+8) 9389 9660






From signell at saclantc.nato.int  Tue Dec 18 10:18:23 2001
From: signell at saclantc.nato.int (Rich Signell)
Date: Tue, 18 Dec 2001 16:18:23 +0100
Subject: [Sea-mat] MATLAB Visualisation for EFDC
References: <B5834F0AE3858D4D8DB7AF872078BB76DE28@vortex.dalord.com.au>
Message-ID: <3C1F5E3F.4C764386@saclantc.nato.int>

Guy Gersbach wrote:
> 
> Hello All,
> 
> Has anyone developed a package to visualise data generated from the EFDC
> (Environmental Fluid Dynamics Code, John Hamrick) model and if so, would
> they be willing to share it?  I'm aware there are many visualisation
> packages around (SEA-MAT page for example) but if one has been tailor
> made for EFDC I would be interested to hear from you.

Guy,

The EFDC model uses coordinates identical to POM 
(orthogonal curvilinear coordinates in the horizontal,
sigma in the vertical). 

You can therefore use the Matlab and AVS routines 
developed for POM model visualization at: 

http://woodshole.er.usgs.gov/operations/modeling/omviz/

providing you take the "putcdf.f" subroutine you find there
and replace the references to POM variables with the 
equivalent EFDC variables: 

POM        EFDC
---        ----
DX(I,J)    DX(I,J)
DY(I,J)    DY(I,J)
H(I,J)  => DEPTH(I,J)
...        ...
...        ...

Good Luck,
-- 
Dr. Richard P. Signell                 |  signell at saclantc.nato.int
NATO/SACLANT Undersea Research Centre  |    Tel: (+39) 0187 527 381
Viale San Bartolomeo 400               |    Fax: (+39) 0187 527 331
19138 La Spezia, ITALY  --> From USA/CANADA, use: APO AE 09613-5000





From dtsoulis at yahoo.com  Fri Mar  9 05:58:34 2001
From: dtsoulis at yahoo.com (=?iso-8859-1?q?Dimitrios=20Tsoulis?=)
Date: Fri, 9 Mar 2001 02:58:34 -0800 (PST)
Subject: [Sea-mat] Math - text in Matlab
Message-ID: <20010309105834.25510.qmail@web1403.mail.yahoo.com>

Dear sea-mat members,

this is my first mail to the list, so first of
all I have to introduce muself. My name is Dimitris
Tsoulis and I work in geodesy and gravity field
modelling in particular. I use Matlab, as a standard
tool not only for graphs but for numerical
computations
as well.

My question is: 

What TeX-alike structures are permissible in Matlab?
For example, I want to write in the xlabel of a figure
'\overline{P}_{nm}', but it doesn't work. However,
'P_{nm}' works out fine, which leaves me with the
question. 

Thanks in advance for your help.

best regards

Dimitris





__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/




From AAllen at rdc.uscg.mil  Fri Mar  9 08:36:44 2001
From: AAllen at rdc.uscg.mil (Allen, Art)
Date: Fri, 9 Mar 2001 08:36:44 -0500 
Subject: [Sea-mat] Math - text in Matlab
Message-ID: <7C1ECE6122B7D411A6E000508BAE53CB194F53@rdcex.rdc.uscg.mil>

Dimitris,

This is a good question, "What TeX characters can be used by Matlab?"

The manual suggest that you "See the text String property for a list of
available TeX characters."   Of course, the manual provide zero guidance on
how to do that!

Since, I am using Matlab Release 12, I followed this sequence in the Help
menu.


Using Matlab
        Graphics
              Axes Properties
                  Labeling and Appearance Properties
                        Creating Axes with Specific Characteristics
                            Text
                                  String


and found the following information and table which is partially reproduce
here as a list, which does not include your overline. Sorry.


String                       string

The text string. Specify this property as a quoted string for single-line
strings, or as a cell array of strings or a
padded string matrix for multiline strings. MATLAB displays this string at
the specified location. Vertical slash
characters are not interpreted as linebreaks in text strings, and are drawn
as part of the text string. See the
"Remarks" section for more information.

When the text Interpreter property is Tex (the default), you can use a
subset of TeX commands
embedded in the string to produce special characters such as Greek letters
and mathematical symbols. The
following table lists these characters and the character sequence used to
define them.


Character Sequence and some of the symbols.

\alpha
\upsilon
\sim
~
\beta
\phi
\leq
\gamma
\chi
\infty
\delta
\psi 

\clubsuit
\epsilon
\omega
\diamondsuit
\zeta
\Gamma
\heartsuit
\eta
\Delta
\spadesuit
\theta
\Theta
\leftrightarrow
\vartheta
\Lambda
\leftarrow
\iota
\Xi
\uparrow
\kappa
\Pi
\rightarrow
\lambda
\Sigma
\downarrow
\mu        ?

\Upsilon
\circ    ?
\nu
\Phi
\pm        ?
\xi
\Psi
\geq
\pi
\Omega
\propto
\rho
\forall
\partial
\sigma
\exists
\bullet    ?
\varsigma
\ni
\div        ?
\tau
\cong
\neq
\equiv
\approx
\aleph
\Im
\Re
\wp
\otimes
\oplus
\oslash
\cap
\cup
\supseteq
\supset
\subseteq
\subset
\int
\in
\o
\rfloor
\lceil
\nabla
\lfloor
\cdot        ?
\ldots        ...
\perp
\neg        ?
\prime        ?
\wedge

\times        x
\0
\rceil
\surd
\mid        |
\vee
\varpi
\copyright    ?
\langle
\rangle

Respectively,

Art Allen
U.S. Coast Guard
Research and Development Center
1082 Shennecossett Road
Groton, CT, 06340-6096
(860) 441-2747
(860)441-2792 FAX
 <mailto:aallen at rdc.uscg.mil> aallen at rdc.uscg.mil
 




-----Original Message-----
From: Dimitrios Tsoulis [ mailto:dtsoulis at yahoo.com
<mailto:dtsoulis at yahoo.com> ]
Sent: Friday, March 09, 2001 5:59 AM
To: sea-mat at whoi.edu
Subject: [Sea-mat] Math - text in Matlab



Dear sea-mat members,

this is my first mail to the list, so first of
all I have to introduce muself. My name is Dimitris
Tsoulis and I work in geodesy and gravity field
modelling in particular. I use Matlab, as a standard
tool not only for graphs but for numerical
computations
as well.

My question is:

What TeX-alike structures are permissible in Matlab?
For example, I want to write in the xlabel of a figure
'\overline{P}_{nm}', but it doesn't work. However,
'P_{nm}' works out fine, which leaves me with the
question.

Thanks in advance for your help.

best regards

Dimitris





__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/ <http://personal.mail.yahoo.com/> 


_______________________________________________
Sea-mat maillist  -  Sea-mat at whoi.edu
http://www.whoi.edu/mailman/listinfo/sea-mat
<http://www.whoi.edu/mailman/listinfo/sea-mat> 






From holland at cims.nyu.edu  Wed Apr 11 09:55:11 2001
From: holland at cims.nyu.edu (David M. Holland)
Date: Wed, 11 Apr 2001 09:55:11 -0400
Subject: [Sea-mat] Surface Gravity Waves
Message-ID: <3AD4623E.A76C8740@cims.nyu.edu>

Hi,

I am looking for a Matlab routine  that could be used to demonstrate
properties of surface gravity waves (and/or internal waves) for teaching
purposes.   Thanks.

Cheers, David

--
David Michael Holland
Courant Institute of Mathematical Sciences
251 Mercer Street, Warren Weaver Hall, 907
New York University, MC 0711
New York City, New York, USA, 10012

Title: Assistant Professor Mathematics
Phone: (212) 998-3245
Fax:   (212) 995-4121
Email: holland at cims.nyu.edu
Web:   http://fish.cims.nyu.edu/~holland






From ansorge at physci.uct.ac.za  Fri Jun  8 04:10:15 2001
From: ansorge at physci.uct.ac.za (Isabelle Ansorge)
Date: Fri, 8 Jun 2001 10:10:15 +0200
Subject: [Sea-mat] matlab files
Message-ID: <E158HHa-0001Gl-00@mail1.uct.ac.za>

Hi

I wonder whether you can help me. 

I am using the sw_gvel mfiles (CSIRO Seawater Toolkit on SEAMAT) and 
I was wondering whether you have an mfile that will also calculate 
the angle of flow between a pair of stations as well? 

Thank you for your help
Best wishes
Isabelle Ansorge





From nhogg at whoi.edu  Fri Jun  8 12:36:46 2001
From: nhogg at whoi.edu (Nelson Hogg)
Date: Fri, 08 Jun 2001 12:36:46 -0400
Subject: [Sea-mat] matlab files
References: <E158HHa-0001Gl-00@mail1.uct.ac.za>
Message-ID: <3B20FF1E.3090104@whoi.edu>

We would all like to be able to do that but, unfortunately, the 
information from two stations only allows you to calculate the component 
of flow perpendicular to them. This is just basic physics relating 
coriolis force to pressure gradients There is a routine that calculates 
the angle and distance between two stations (sw_dist, I think).

Nelson Hogg

Isabelle Ansorge wrote:

>Hi
>
>I wonder whether you can help me. 
>
>I am using the sw_gvel mfiles (CSIRO Seawater Toolkit on SEAMAT) and 
>I was wondering whether you have an mfile that will also calculate 
>the angle of flow between a pair of stations as well? 
>
>Thank you for your help
>Best wishes
>Isabelle Ansorge
>
>
>
>_______________________________________________
>Sea-mat maillist  -  Sea-mat at whoi.edu
>http://www.whoi.edu/mailman/listinfo/sea-mat
>






From mauricio.mata at furg.br  Thu Jun 21 11:56:36 2001
From: mauricio.mata at furg.br (Mauricio M. Mata)
Date: Thu, 21 Jun 2001 12:56:36 -0300
Subject: [Sea-mat] spec. interp.
Message-ID: <00c601c0fa6a$c08394a0$4ee384c8@ocfis.furg.br>



Hello all,

Has anyone got a 'Spectral Interpolation' m-file to fill gaps in a time
series spectrally? (something similar as in the EPIC package).

Cheers

Mauricio

----------------------------------------------------------------------------
---------------
Mauricio M. Mata
FURG - Departamento de Fisica
Cx. Postal 474
Rio Grande (RS), BRASIL 96201-900
Tel: +55(53)2336643  Fax: +55(53)2336619





From mauricio.mata at furg.br  Thu Jun 21 11:49:08 2001
From: mauricio.mata at furg.br (Mauricio M. Mata)
Date: Thu, 21 Jun 2001 12:49:08 -0300
Subject: [Sea-mat] spec. interp.
Message-ID: <008801c0fa69$b5f646a0$4ee384c8@ocfis.furg.br>

Hello all,

Has anyone got a 'Spectral Interpolation' m-file to fill gaps in a time series spectrally? (something similar as in the EPIC package).

Cheers

Mauricio

-------------------------------------------------------------------------------------------
Mauricio M. Mata
FURG - Departamento de Fisica
Cx. Postal 474
Rio Grande (RS), BRASIL 96201-900
Tel: +55(53)2336643  Fax: +55(53)2336619
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.whoi.edu/pipermail/sea-mat/attachments/20010621/d39c2e49/attachment-0002.html 

From jpx at usgs.gov  Thu Jun 21 15:27:12 2001
From: jpx at usgs.gov (Xu, Jingping)
Date: Thu, 21 Jun 2001 12:27:12 -0700
Subject: [Sea-mat] spec. interp.
Message-ID: <a05001903b757f959c7c3@[130.118.20.140]>

  As parts of CMGTooL (A Matlab based oceanographic data processing 
and display package) developed in the Coastal and Marine Geology of 
U.S. Geological Survey, I have adapted the Fortran codes into mfiles. 
If anyone is interested, I can send you the routines through email.
Cheers.

-Jingping

At 12:56 PM -0300 6/21/01, Mauricio M. Mata wrote:
>Hello all,
>
>Has anyone got a 'Spectral Interpolation' m-file to fill gaps in a time
>series spectrally? (something similar as in the EPIC package).
>
>Cheers
>
>Mauricio
>
>----------------------------------------------------------------------------
>---------------
>Mauricio M. Mata
>FURG - Departamento de Fisica
>Cx. Postal 474
>Rio Grande (RS), BRASIL 96201-900
>Tel: +55(53)2336643  Fax: +55(53)2336619
>
>
>
>_______________________________________________
>Sea-mat maillist  -  Sea-mat at whoi.edu
>http://www.whoi.edu/mailman/listinfo/sea-mat
-- 
-------------------------------------------------------------------
Xu, Jingping               Email: jpx at usgs.gov
USGS,  MS-999        Phone: 650-329-5283
345 Middlefield Road     Fax: 650-329-5190
Menlo Park, CA 94025
-------------------------------------------------------------------





From ngalbraith at whoi.edu  Fri Jul 13 10:45:37 2001
From: ngalbraith at whoi.edu (NGalbraith)
Date: Fri, 13 Jul 2001 10:45:37 -0400
Subject: [Sea-mat] FWD: static magnetic field question
Message-ID: <3B4F0991.D20D1825@whoi.edu>

Please send any replies to this query to  
  mohamadakl at hotmail.com

> I am looking for a MATLAB code that represents a numerical 
> solution for calculating static magnetic fields in 3D iteratively.  
> Is this code available by chance.  
> 
> If you don't have a clue, would you please tell me who I can ask?
> Thanks,
> Waiting for your reply.
> Mohamad Akl
>  

*********************************************************************
* Nan Galbraith                         MS 29                       *
* Woods Hole Oceanographic Institution  Woods Hole, MA 02543        *
*********************************************************************




From ngalbraith at whoi.edu  Fri Jul 20 16:03:58 2001
From: ngalbraith at whoi.edu (NGalbraith)
Date: Fri, 20 Jul 2001 16:03:58 -0400
Subject: [Sea-mat] [Fwd: matlab mixed layer depth]
Message-ID: <3B588EAE.E66767B0@whoi.edu>

Please reply to vagostin at u.washington.edu

"Vera N. Agostini" wrote:
> 
> Hello,
> I am a graduate student at the University of Washington and 
> I am looking for a Matlab tool to calculate mixed layer depth. 
> I could not locate it on your web-site; do you know where I 
> could find one?

> Thank you!
> Vera Agostini
 
*********************************************************************
* Nan Galbraith                         MS 29                       *
* Woods Hole Oceanographic Institution  Woods Hole, MA 02543        *
*********************************************************************




From aperlin at OCE.ORST.EDU  Fri Jul 20 18:10:54 2001
From: aperlin at OCE.ORST.EDU (Alexander Perlin)
Date: Fri, 20 Jul 2001 15:10:54 -0700
Subject: [Sea-mat] coastal-trapped waves
Message-ID: <5.1.0.14.2.20010720150504.00b2bc30@pop.oce.orst.edu>

Hello all,

I'm looking for a Matlab version of WHOI Fortran program for computing 
properties of coastal-trapped waves over the continental shelf and slope. 
Does such a version exist? If not, is it possible to get Fortran code?

Thank you,
Alexander.



****************************************************
Alexander Perlin
College of Oceanic & Atmos. Sci.
104 Ocean Admin. Bldg.
Oregon State University
Corvallis, OR 97331-5503
ph: 541-737-2990 fx: 541-737-2064
e-mail: aperlin at oce.orst.edu
http://mixing.oce.orst.edu/people/perlin/
****************************************************





From XuZ at mar.dfo-mpo.gc.ca  Mon Jul 23 11:13:32 2001
From: XuZ at mar.dfo-mpo.gc.ca (Xu, Zhigang)
Date: Mon, 23 Jul 2001 12:13:32 -0300
Subject: [Sea-mat] coastal-trapped waves
Message-ID: <DB99E25A3974D411B8860090273F1A783549E4@msgmarbio03.bio.dfo.ca>

Hi, Alexander, 

    Have we met on the data assimilation workshop in 99 lecture by Professor
A. Bennett your school? I guess so. 

    I have just recently made a matlab program from scratch to calculate the
eigenvalues/egienfunctions for barotropic trapped waves on the continental
shelf/slope. It numerically solves the following eigen value problem:

           [ P(x) Y'  ]' + Q(x)Y = lambda F1(x) Y + lambda^2 F2(x) Y,   for
x=x(2:N-1)
           A(1) Y(1) + A(2) Y'(1) =lambda A(3) Y(1)
for x=x(1)
           B(1) Y(N) +B(2)Y'(N) = lambda B(3) Y(N)
for x=x(N)

where 
      x                     is the on-off shore direction co-ordinate, and
seaward positively; x(1)coast, x(N)=offshore end
 
      Y                    are the complex amplitude of the trapped waves
(to be solved as eigenfunctions)
 
     P(x)  and Q(x)  are arbitrary function of x;  for our coastal trapped
waves, they should be  water depth, say h(x),  and (sigma^2-f^2)/g
respectively (sigma is the frequency, and f and g are the Coriolis and
gravitational parameters) 

    lambda             are the eigvenvalues in interest (to be solved), it
can represent the alongshore wave numbers 

    F1(x) and F2(x)  are again two functions of x;  as far as the coastal
trapped wave concerns, 
                            they should be taken as F1(x)= f/(sigma h' ) and
F2(x)=h(x)

     A(1), A(2), A(3), B(1), B(2) and B(3)  are two groups of  arbitrary
(but should be meaningful) constants, to allow for  different types of
boundary conditions at the coast and at the deep sea end. For example,  if
you supply A(1:3) with [0 1 f/sigma] and B(1:3) with [1 0 0] then you will
have specified no-flux condition at the coast and clamp condition at the
deep sea side.  

     Upon you specify the coefficient functions and constants, the program
will give you all the possible alonshore wave numbers and amplitude
structures in the on-offshore direction per frequency. So if you run the
program for a range of frequencies, you can have dispersion curves. Possible
evanescent modes will also be among the outputs. 

     This program is not a translation of the WHOI Fortran code; it was made
from scratch, because for me it is easier to make it from scratch once you  
realise that the above ODE's can be discretized  to form  a general
eigenvalue problem things become quite easy with the matlab eigen functions.
I  have obtained interesting results with the program on double Kelvin waves
on the Newfoundland shelves.  But the program is not polished yet,
everything to me here is in a rush. I am planing  to make another program
for a baroclinic counterpart later on, and to polish them together before I
can contribute to our community. But if you are interested at this stage, I
can supply it to you first and facilitate you in using it. This way I can
also have your valuable feedback as well.

Regards!

Zhigang


Dr. Zhigang Xu
Research Scientist
Coastal Ocean Science, Ocean Sciences Division
Bedford Institute of Oceanography
P. O. Box 1006
Dartmouth, N.S. B2Y 4A2
Tel. 902-426-2307, Fax 902-426-6927
Office Email: xuz at mar.dfo-mpo.gc.ca   
 
 
 

> -----Original Message-----
> From:	Alexander Perlin [SMTP:aperlin at OCE.ORST.EDU]
> Sent:	Friday, July 20, 2001 7:11 PM
> To:	sea-mat at whoi.edu
> Subject:	[Sea-mat] coastal-trapped waves
> 
> Hello all,
> 
> I'm looking for a Matlab version of WHOI Fortran program for computing 
> properties of coastal-trapped waves over the continental shelf and slope. 
> Does such a version exist? If not, is it possible to get Fortran code?
> 
> Thank you,
> Alexander.
> 
> 
> 
> ****************************************************
> Alexander Perlin
> College of Oceanic & Atmos. Sci.
> 104 Ocean Admin. Bldg.
> Oregon State University
> Corvallis, OR 97331-5503
> ph: 541-737-2990 fx: 541-737-2064
> e-mail: aperlin at oce.orst.edu
> http://mixing.oce.orst.edu/people/perlin/
> ****************************************************
> 
> 
> 
> _______________________________________________
> Sea-mat maillist  -  Sea-mat at whoi.edu
> http://www.whoi.edu/mailman/listinfo/sea-mat




From dasaro at kraken.apl.washington.edu  Thu Aug 23 11:28:09 2001
From: dasaro at kraken.apl.washington.edu (Eric D'Asaro)
Date: Thu, 23 Aug 2001 08:28:09 -0700
Subject: [Sea-mat] Matlab Version of Spice
In-Reply-To: <200108231340.PAA06836@stardust.ifremer.fr>
Message-ID: <l0313030bb7aad05bbfb5@[192.168.123.134]>

Pierre:
Here is a matlab version of your spice code, which correctly returns the
check values
that you gave me.   I have taken the liberty of
sending it to the WHOI Matlab code collection.  If you don't like that,
send them a message to trash it.  sea-mat at whoi.edu

Eric
-------------- next part --------------
%function spice(s,t)
%A P. Flament
%T A state variable for characterizing water masses and their diffusive
stability: spiciness
%J Progr. Oceanog.
%D 2001
%O (in press, SOEST contr. 5323)
%expression of spiciness
% Check values
% p t s = 0 0 35  -> spice = 0 by design
% p t s = 0 20 35	-> spice = 3.32118
% p t s = 0 10 35	-> spice = 1.13119


function sp=spice(s,t)	%/* pressure can only be 0 in this version  */

b=zeros(6,5)*NaN;

b(1,1) = 0;
b(1,2) = 7.7442e-001;
b(1,3) = -5.85e-003;
b(1,4) = -9.84e-004;
b(1,5) = -2.06e-004;

b(2,1) = 5.1655e-002;
b(2,2) = 2.034e-003;
b(2,3) = -2.742e-004;
b(2,4) = -8.5e-006;
b(2,5) = 1.36e-005;

b(3,1) = 6.64783e-003;
b(3,2) = -2.4681e-004;
b(3,3) = -1.428e-005;
b(3,4) = 3.337e-005;
b(3,5) = 7.894e-006;

b(4,1) = -5.4023e-005;
b(4,2) = 7.326e-006;
b(4,3) = 7.0036e-006;
b(4,4) = -3.0412e-006;
b(4,5) = -1.0853e-006;

b(5,1) = 3.949e-007;
b(5,2) = -3.029e-008;
b(5,3) = -3.8209e-007;
b(5,4) = 1.0012e-007;
b(5,5) = 4.7133e-008;

b(6,1) = -6.36e-010;
b(6,2) = -1.309e-009;
b(6,3) = 6.048e-009;
b(6,4) = -1.1409e-009;
b(6,5) = -6.676e-010;

s=(s-35.);
sp=0.;

T=1.;
for i=1:6

	S=1.;
	for j=1:5

		sp=sp+b(i,j)*T.*S;
		S=S.*s;
	end
	T=T.*t;
end

-------------- next part --------------
Eric A. D'Asaro
Professor, School of Oceanography
Applied Physics Laboratory, University of Washington
1013 NE 40th Str, Seattle, WA 98105

Work: 206 685 2982  (Ineffective!)
FAX: 206 543 6785   Home: 206 524 5267
dasaro at apl.washington.edu  (Best!)
http://poseidon.apl.washington.edu/~dasaro/HOME/

From johnson at cwr.uwa.edu.au  Sat Sep  1 01:24:02 2001
From: johnson at cwr.uwa.edu.au (David Johnson)
Date: Sat, 1 Sep 2001 13:24:02 +0800
Subject: [Sea-mat] Matlab toolbox for directional wave analysis
Message-ID: <002b01c132a6$502cae70$4c8e5f82@cwr.uwa.edu.au>

Dear Sea-Mat,

I have written a toolbox, DIWASP, which calculates directional wave spectra
from field data. This is freely available to any ocean science people out
there who might find it useful.
The toolbox homepage is
http://www.cwr.uwa.edu.au/~johnson/diwasp/diwasp.html
and downloads of .zip and tar.gz files are available from there
There is a manual which (I hope) explains how it works fairly clearly and
some sample data with a short tutorial.
Any feedback appreciated as long-term goal is to keep improving package as a
resource for the oceanographic community

Regards
David Johnson

David Johnson
Coastal Oceanography Group
Centre for Water Research
University of Western Australia
35 Stirling Highway
Crawley, Perth   WA   6009
Australia






From df217 at cam.ac.uk  Thu Sep 27 08:45:18 2001
From: df217 at cam.ac.uk (Daniela Flocco)
Date: Thu, 27 Sep 2001 13:45:18 +0100
Subject: [Sea-mat] ode solutions
Message-ID: <3BB31F5E.2010707@cam.ac.uk>

hi,
I am having some trouble in solving a differential equation.  it is fine 
if I want to sole it with constant parameters, but I need them to change 
on a daily base. I don't know how to call the m-script in a for loop 
with various settings of the parameters.
does anyone ever sorted this problem? or there is some function that I 
don't know?

thank you

daniela

-- 
--------------------------------------------------------------
Daniela Flocco
Sea Ice & Polar Oceanography Group
SCOTT POLAR RESEARCH INSTITUTE
University of Cambridge
Lensfield Road
Cambridge, UK
CB2 1ER
Tel: +44 (0) 1223 336570
Fax: +44 (0) 1223 336549
E-Mail: df217 at cam.ac.uk
---------------------------------------------------------------





From ggersbach at dalord.com.au  Tue Dec 18 04:53:12 2001
From: ggersbach at dalord.com.au (Guy Gersbach)
Date: Tue, 18 Dec 2001 17:53:12 +0800
Subject: [Sea-mat] MATLAB Visualisation for EFDC
Message-ID: <B5834F0AE3858D4D8DB7AF872078BB76DE28@vortex.dalord.com.au>

Hello All,

Has anyone developed a package to visualise data generated from the EFDC
(Environmental Fluid Dynamics Code, John Hamrick) model and if so, would
they be willing to share it?  I'm aware there are many visualisation
packages around (SEA-MAT page for example) but if one has been tailor
made for EFDC I would be interested to hear from you.

Regards,

Guy

__________________________________________________________
Dr Guy Gersbach
Senior Physical Oceanographer 
D.A. Lord & Associates Pty Ltd		ggersbach at dalord.com.au
PO Box 3172, Broadway			Ph:    	(61+8) 9389 9669
NEDLANDS  WA  6009			Fax:  	(61+8) 9389 9660






From signell at saclantc.nato.int  Tue Dec 18 10:18:23 2001
From: signell at saclantc.nato.int (Rich Signell)
Date: Tue, 18 Dec 2001 16:18:23 +0100
Subject: [Sea-mat] MATLAB Visualisation for EFDC
References: <B5834F0AE3858D4D8DB7AF872078BB76DE28@vortex.dalord.com.au>
Message-ID: <3C1F5E3F.4C764386@saclantc.nato.int>

Guy Gersbach wrote:
> 
> Hello All,
> 
> Has anyone developed a package to visualise data generated from the EFDC
> (Environmental Fluid Dynamics Code, John Hamrick) model and if so, would
> they be willing to share it?  I'm aware there are many visualisation
> packages around (SEA-MAT page for example) but if one has been tailor
> made for EFDC I would be interested to hear from you.

Guy,

The EFDC model uses coordinates identical to POM 
(orthogonal curvilinear coordinates in the horizontal,
sigma in the vertical). 

You can therefore use the Matlab and AVS routines 
developed for POM model visualization at: 

http://woodshole.er.usgs.gov/operations/modeling/omviz/

providing you take the "putcdf.f" subroutine you find there
and replace the references to POM variables with the 
equivalent EFDC variables: 

POM        EFDC
---        ----
DX(I,J)    DX(I,J)
DY(I,J)    DY(I,J)
H(I,J)  => DEPTH(I,J)
...        ...
...        ...

Good Luck,
-- 
Dr. Richard P. Signell                 |  signell at saclantc.nato.int
NATO/SACLANT Undersea Research Centre  |    Tel: (+39) 0187 527 381
Viale San Bartolomeo 400               |    Fax: (+39) 0187 527 331
19138 La Spezia, ITALY  --> From USA/CANADA, use: APO AE 09613-5000





