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

root/gliderproc/trunk/MATLAB/opnml/IO_Functions/s2c.m

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

Initial import of Stark code.

Line 
1 %S2C Dartmouth FEM File Standard Filetype (Description).
2 %
3 %       Output format for a 2-D, complex-valued (periodic) scalar field.
4 %
5 %       This filetype is read by the OPNML MATLAB function
6 %       READ_V2R.  Type "help read_v2r" for more information.
7 %
8 %       The .s2c file contains 3 header lines:
9 %          1) The geometric meshname
10 %          2) User-defined file description line
11 %          3) Frequency (radians/sec)
12 %
13 %       Then, there are NN lines of the form:
14 %             I  Samp(I)  Spha(I) 
15 %
16 %       where:  Samp(I)    - scalar amplitude at node I
17 %               Spha(I)    - scalar phase at node I  (degrees)
18 %               I=1,NN     - the outer loop over 2-D horizontal nodes
19 %               NN         - the number of horizontal nodes in the mesh
20 %
21 %      See the document "DATA FILE STANDARDS FOR THE GULF OF MAINE PROJECT"
22 %      for more details.
23
Note: See TracBrowser for help on using the browser.