NCCOOS Trac Projects: Top | Web | Platforms | Processing | Viz | Sprints | Sandbox | (Wind)

root/gliderproc/trunk/MATLAB/opnml/html/4.IO_Functions/read_trn2.html

Revision 495 (checked in by cbc, 12 years ago)

Initial import of Stark code.

Line 
1 <TITLE>/</TITLE>
2 <BODY>
3 <A HREF = "index.html">[Index for ./IO_Functions]</A>
4 <A HREF = "../index.html">[Return to Master Index]</A>
5 <H1>read_trn2</H1>
6 <H2>(./IO_Functions/read_trn2.m)</H2>
7 <HR><H3>Function Synopsis</H3>
8 <pre>data=read_trn(trnname)</pre>
9 <HR><H3>Help text</H3>
10 <pre>
11
12  <A HREF = "../4.IO_Functions/read_trn.html">READ_TRN</A> read a .trn file as output from the OPNML transect code
13
14  data=<A HREF = "../4.IO_Functions/read_trn.html">read_trn</A>(trnname);         
15
16           If trnname is omitted, <A HREF = "../4.IO_Functions/read_trn.html">READ_TRN</A> enables a file browser
17           with which the user can specify the .trn file.
18
19           Otherwise, <A HREF = "../4.IO_Functions/read_trn.html">READ_TRN</A> takes a input the filename of the
20           transect data file, including the .trn suffix.
21
22           The columns of the returned data part are:
23              
24               Dist.    Depths    Normal   Parallel   Vert.
25               along      at       Vel.      Vel.     Vel.
26               trans   Stations
27                (X)       (Y)      (Vn)      (Vp)      (W)
28
29           Read the &quot;man&quot; page for TRANSECT (type &quot;man transect&quot; at a UNIX
30           prompt) for the format specifics of a .trn file.
31
32           In order to plot the results of a transect, an element list
33           corresponding to the number of horizontal and vertical
34           stations must be generated.  This list is output by TRANSECT,
35           either as &quot;trans.ele&quot; or &quot;ftn99&quot;.  Alternatively, this list can
36           be generated within MATLAB
37           with the OPNML/MATLAB routine ELGEN.  The element list can also
38           be generated with the OPNML binary code &quot;elgen&quot;. 
39
40           Make sure a semi-colon is used at the end of the command;
41           otherwise <A HREF = "../4.IO_Functions/read_trn.html">READ_TRN</A> will return the data part to the screen.
42
43  Call as: data=<A HREF = "../4.IO_Functions/read_trn.html">read_trn</A>(trnname);
44
45 </pre>
46 <HR>
47 Produced by <A HREF="http://www.nd.edu/Courses/kantor/matlab/mat2html">mat2html</A> on Tue Feb  2 16:15:45 EST 1999
48 <BR>
49 Cross-Directory links are: OFF<BR>
50 </BODY>
Note: See TracBrowser for help on using the browser.