1 |
dimitri |
1.1.4.3 |
c $Header: /u/gcmpack/MITgcm/pkg/exf/exf_fields.h,v 1.1.4.2 2002/11/07 17:07:56 heimbach Exp $ |
2 |
heimbach |
1.1 |
c |
3 |
|
|
c |
4 |
|
|
c ================================================================== |
5 |
|
|
c HEADER exf_fields |
6 |
|
|
c ================================================================== |
7 |
|
|
c |
8 |
|
|
c o Header file for the surface flux data. |
9 |
|
|
c |
10 |
|
|
c started: Ralf.Giering@FastOpt.de 25-Mai-2000 |
11 |
heimbach |
1.1.4.2 |
c changed: field swap in adj. mode; heimbach@mit.edu 10-Jan-2002 |
12 |
|
|
c included runoff D. Stammer, Nov. 25, 2001 |
13 |
dimitri |
1.1.4.3 |
c included evaporation; menemenlis@jpl.nasa.gov 20-Dec-2002 |
14 |
heimbach |
1.1 |
c |
15 |
|
|
c ================================================================== |
16 |
|
|
c HEADER exf_fields |
17 |
|
|
c ================================================================== |
18 |
|
|
|
19 |
|
|
c Model fields. |
20 |
|
|
|
21 |
|
|
c heat and salt flux. |
22 |
heimbach |
1.1.4.1 |
common /exf_hsflux_r/ hflux, sflux |
23 |
heimbach |
1.1 |
_RL hflux (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
24 |
|
|
_RL sflux (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
25 |
|
|
|
26 |
|
|
c zonal and meridionalwind stress. |
27 |
heimbach |
1.1.4.1 |
common /exf_stress_r/ ustress, vstress |
28 |
heimbach |
1.1 |
_RL ustress (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
29 |
|
|
_RL vstress (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
30 |
|
|
|
31 |
|
|
#ifdef ALLOW_ATM_TEMP |
32 |
|
|
c Use the atmospheric temperature and specific humidity for flux |
33 |
|
|
c estimates. |
34 |
|
|
|
35 |
|
|
c Atmospheric temperature. |
36 |
|
|
_RL atemp (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
37 |
|
|
|
38 |
|
|
c Atmospheric specific humidity. |
39 |
|
|
_RL aqh (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
40 |
|
|
|
41 |
|
|
c Long wave radiative flux. |
42 |
|
|
_RL lwflux (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
43 |
|
|
|
44 |
dimitri |
1.1.4.3 |
c Evaporation. |
45 |
|
|
_RL evap (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
46 |
|
|
|
47 |
heimbach |
1.1 |
c Precipitation. |
48 |
|
|
_RL precip (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
49 |
|
|
|
50 |
dimitri |
1.1.4.3 |
common /exf_atm_temp_r/ atemp, aqh, lwflux, evap, precip |
51 |
heimbach |
1.1 |
|
52 |
|
|
c Short wave radiative flux. |
53 |
|
|
common /exf_swflux_r/ swflux |
54 |
heimbach |
1.1.4.1 |
_RL swflux (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
55 |
heimbach |
1.1 |
|
56 |
|
|
#else |
57 |
|
|
c Do not use the atmospheric temperature and specific humidity for |
58 |
|
|
c flux estimates but given fluxes. |
59 |
|
|
|
60 |
|
|
#ifdef ALLOW_KPP |
61 |
|
|
c Short wave radiative flux. |
62 |
|
|
common /exf_swflux_r/ swflux |
63 |
heimbach |
1.1.4.1 |
_RL swflux (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
64 |
heimbach |
1.1 |
|
65 |
|
|
#endif |
66 |
heimbach |
1.1.4.1 |
|
67 |
|
|
#endif /* ALLOW_ATM_TEMP */ |
68 |
heimbach |
1.1 |
|
69 |
|
|
#ifdef ALLOW_ATM_WIND |
70 |
|
|
c Use the atmospheric winds for flux estimates. |
71 |
|
|
|
72 |
|
|
c Atmospheric zonal and meridional wind |
73 |
heimbach |
1.1.4.1 |
common /exf_atm_wind_r/ uwind, vwind |
74 |
heimbach |
1.1 |
_RL uwind (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
75 |
|
|
_RL vwind (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
76 |
|
|
|
77 |
|
|
#else |
78 |
|
|
c Do not use the atmospheric winds for flux estimates but given |
79 |
|
|
c wind stresses. |
80 |
|
|
|
81 |
heimbach |
1.1.4.1 |
#endif /* ALLOW_ATM_WIND */ |
82 |
heimbach |
1.1 |
|
83 |
heimbach |
1.1.4.1 |
c-- define auxiliary fields for temporal interpolation |
84 |
heimbach |
1.1 |
|
85 |
heimbach |
1.1.4.1 |
#ifdef ALLOW_ATM_TEMP |
86 |
heimbach |
1.1 |
|
87 |
heimbach |
1.1.4.1 |
common /exfl_aqh_r/ aqh0, aqh1 |
88 |
|
|
_RL aqh0(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
89 |
|
|
_RL aqh1(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
90 |
|
|
|
91 |
|
|
common /exfl_atemp_r/ atemp0, atemp1 |
92 |
|
|
_RL atemp0(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
93 |
|
|
_RL atemp1(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
94 |
|
|
|
95 |
dimitri |
1.1.4.3 |
common /exfl_evap_r/ evap0, evap1 |
96 |
|
|
_RL evap0(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
97 |
|
|
_RL evap1(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
98 |
|
|
|
99 |
heimbach |
1.1.4.1 |
common /exfl_precip_r/ precip0, precip1 |
100 |
|
|
_RL precip0(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
101 |
|
|
_RL precip1(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
102 |
|
|
|
103 |
|
|
common /exfl_lwflux_r/ lwflux0, lwflux1 |
104 |
|
|
_RL lwflux0(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
105 |
|
|
_RL lwflux1(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
106 |
|
|
|
107 |
|
|
common /exfl_swflux_r/ swflux0, swflux1 |
108 |
|
|
_RL swflux0(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
109 |
|
|
_RL swflux1(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
110 |
|
|
#else |
111 |
|
|
common /exfl_hflux_r/ hflux0, hflux1 |
112 |
|
|
_RL hflux0(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
113 |
|
|
_RL hflux1(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
114 |
|
|
|
115 |
|
|
common /exfl_sflux_r/ sflux0, sflux1 |
116 |
|
|
_RL sflux0(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
117 |
|
|
_RL sflux1(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
118 |
heimbach |
1.1 |
|
119 |
heimbach |
1.1.4.1 |
#ifdef ALLOW_KPP |
120 |
|
|
common /exfl_swflux_r/ swflux0, swflux1 |
121 |
|
|
_RL swflux0(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
122 |
|
|
_RL swflux1(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
123 |
heimbach |
1.1 |
#endif |
124 |
|
|
#endif |
125 |
|
|
|
126 |
heimbach |
1.1.4.1 |
#ifdef ALLOW_ATM_WIND |
127 |
heimbach |
1.1 |
|
128 |
heimbach |
1.1.4.1 |
common /exfl_uwind_r/ uwind0, uwind1 |
129 |
|
|
_RL uwind0(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
130 |
|
|
_RL uwind1(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
131 |
|
|
|
132 |
|
|
common /exfl_vwind_r/ vwind0, vwind1 |
133 |
|
|
_RL vwind0(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
134 |
|
|
_RL vwind1(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
135 |
|
|
#else |
136 |
|
|
common /exfl_ustress_r/ ustress0, ustress1 |
137 |
|
|
_RL ustress0(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
138 |
|
|
_RL ustress1(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
139 |
|
|
|
140 |
|
|
common /exfl_vstress_r/ vstress0, vstress1 |
141 |
|
|
_RL vstress0(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
142 |
|
|
_RL vstress1(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
143 |
|
|
#endif |
144 |
heimbach |
1.1.4.2 |
|
145 |
|
|
#ifdef ALLOW_RUNOFF |
146 |
dimitri |
1.1.4.3 |
common /exfl_runoff_r/ runoff |
147 |
heimbach |
1.1.4.2 |
_RL runoff (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
148 |
|
|
#endif |
149 |
|
|
|
150 |
|
|
#ifdef ATMOSPHERIC_LOADING |
151 |
|
|
c atmospheric pressure field. |
152 |
|
|
common /exf_apressure_r/ apressure, apressure0, apressure1 |
153 |
|
|
_RL apressure (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
154 |
|
|
_RL apressure0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
155 |
|
|
_RL apressure1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
156 |
|
|
#endif |
157 |
|
|
|