1 | ! |
---|
2 | ! $Id: nc_sta.h,v 1.1 2005/01/21 17:02:11 pmarches Exp $ |
---|
3 | ! |
---|
4 | ! This is include file "nc_sta.h". |
---|
5 | ! ==== == ======= ==== ============ |
---|
6 | ! |
---|
7 | ! stafield Number of station fields for output |
---|
8 | ! wrtsta Logical vector with flags for output |
---|
9 | ! indxsta[...] Index of logical flag to output several fields |
---|
10 | ! Grd - grid level |
---|
11 | ! Temp - temp |
---|
12 | ! Salt - Salt |
---|
13 | ! Rho - Density |
---|
14 | ! Vel - u and v components |
---|
15 | ! ncidsta id of station output file |
---|
16 | ! nrecsta step to output station data |
---|
17 | ! sta[...] several reference names of netcdf output |
---|
18 | ! staname station output filename |
---|
19 | ! staposname station input data filename |
---|
20 | |
---|
21 | integer stafield |
---|
22 | parameter(stafield=5) |
---|
23 | integer indxstaGrd, indxstaTemp, indxstaSalt, |
---|
24 | & indxstaRho, indxstaVel |
---|
25 | parameter ( indxstaGrd=1, indxstaTemp=2, |
---|
26 | & indxstaSalt=3, indxstaRho=4, indxstaVel=5) |
---|
27 | |
---|
28 | |
---|
29 | integer ncidsta, nrecsta, staGlevel |
---|
30 | & , staTstep, staTime, staXgrd, staYgrd |
---|
31 | & , staZgrd, staV, staU |
---|
32 | #ifdef SPHERICAL |
---|
33 | & , staLon, staLat |
---|
34 | #else |
---|
35 | & , staX, staY |
---|
36 | #endif |
---|
37 | #ifdef SOLVE3D |
---|
38 | & , staDepth, staDen, staTemp |
---|
39 | # ifdef SALINITY |
---|
40 | & , staSal |
---|
41 | # endif |
---|
42 | #endif |
---|
43 | logical wrtsta(stafield) |
---|
44 | |
---|
45 | common/incscrum_sta/ |
---|
46 | & ncidsta, nrecsta, staGlevel |
---|
47 | & , staTstep, staTime, staXgrd, staYgrd |
---|
48 | & , staZgrd, staV, staU |
---|
49 | #ifdef SPHERICAL |
---|
50 | & , staLon, staLat |
---|
51 | #else |
---|
52 | & , staX, staY |
---|
53 | #endif |
---|
54 | #ifdef SOLVE3D |
---|
55 | & , staDepth, staDen, staTemp |
---|
56 | # ifdef SALINITY |
---|
57 | & , staSal |
---|
58 | # endif |
---|
59 | #endif |
---|
60 | & , wrtsta |
---|
61 | |
---|
62 | |
---|
63 | character*80 staname, staposname |
---|
64 | common /cncscrum_sta/ staname, staposname |
---|