source: anuga_core/source/anuga/shallow_water/structure.h @ 5582

Last change on this file since 5582 was 5348, checked in by jakeman, 15 years ago

added c extension necessary for reading urs files (urs_etx.c and structure.h)

File size: 1.2 KB
Line 
1
2/*** new RWG DEFINITION FOR TIDE GAUGE OUTPUT ***/
3struct tgsrwg
4   {
5   float geolat;
6   float geolon; /* location and water depth in geographic coordinates -180/180/-90/90 */
7   float mcolat;
8   float mcolon;
9   int ig;
10   int ilon;     /* grid point location */
11   int ilat;
12   float z;             /* water depth at this location */
13   float center_lat, center_lon;        /**** center of this array *****/
14   float offset,az,baz;                 /* for arrays this is the distance in km from center of array */
15   float dt;            /* sampling rate for this site */
16   int nt;              /* number of points */
17   char id[16];         /* identifier */
18   };
19
20/*** DEFINITION FOR TIDE GAUGE OUTPUT ***/
21struct tgs
22   {
23   int ista;
24   float geolat,geolon; /* location and water depth in geographic coordinates -180/180/-90/90 */
25   int   ilat,ilon;     /* grid point location */
26
27   float z;             /* water depth at this location */
28
29   float center_lat, center_lon;        /**** center of this array *****/
30   float offset,az,baz;                 /* for arrays this is the distance in km from center of array */
31
32   float dt;            /* sampling rate for this site */
33   int nt;              /* number of points */
34
35   char id[16];         /* identifier */
36   };
37
38
Note: See TracBrowser for help on using the repository browser.