1 |
c $Header: /u/gcmpack/MITgcm/pkg/exf/exf_fields.h,v 1.17 2006/12/21 10:43:57 mlosch Exp $ |
2 |
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 |
c changed: field swap in adj. mode; heimbach@mit.edu 10-Jan-2002 |
12 |
c included runoff D. Stammer, Nov. 25, 2001 |
13 |
c mods for pkg/seaice: menemenlis@jpl.nasa.gov 20-Dec-2002 |
14 |
c |
15 |
c ================================================================== |
16 |
c HEADER exf_fields |
17 |
c ================================================================== |
18 |
c |
19 |
c |
20 |
c Field definitions, units, and sign conventions: |
21 |
c =============================================== |
22 |
c |
23 |
c ustress :: Zonal surface wind stress in N/m^2 |
24 |
c > 0 for increase in uVel, which is west to |
25 |
c east for cartesian and spherical polar grids |
26 |
c Typical range: -0.5 < ustress < 0.5 |
27 |
c Input field |
28 |
c |
29 |
c vstress :: Meridional surface wind stress in N/m^2 |
30 |
c > 0 for increase in vVel, which is south to |
31 |
c north for cartesian and spherical polar grids |
32 |
c Typical range: -0.5 < vstress < 0.5 |
33 |
c Input field |
34 |
c |
35 |
c hflux :: Net upward surface heat flux excluding shortwave in W/m^2 |
36 |
c hflux = latent + sensible + lwflux |
37 |
c > 0 for decrease in theta (ocean cooling) |
38 |
c Typical range: -250 < hflux < 600 |
39 |
c Input field |
40 |
c |
41 |
c sflux :: Net upward freshwater flux in m/s |
42 |
c sflux = evap - precip - runoff |
43 |
c > 0 for increase in salt (ocean salinity) |
44 |
c Typical range: -1e-7 < sflux < 1e-7 |
45 |
c Input field |
46 |
c |
47 |
c swflux :: Net upward shortwave radiation in W/m^2 |
48 |
c swflux = - ( swdown - ice and snow absorption - reflected ) |
49 |
c > 0 for decrease in theta (ocean cooling) |
50 |
c Typical range: -350 < swflux < 0 |
51 |
c Input field |
52 |
c |
53 |
c uwind :: Surface (10-m) zonal wind velocity in m/s |
54 |
c > 0 for increase in uVel, which is west to |
55 |
c east for cartesian and spherical polar grids |
56 |
c Typical range: -10 < uwind < 10 |
57 |
c Input or input/output field |
58 |
c |
59 |
c vwind :: Surface (10-m) meridional wind velocity in m/s |
60 |
c > 0 for increase in vVel, which is south to |
61 |
c north for cartesian and spherical polar grids |
62 |
c Typical range: -10 < vwind < 10 |
63 |
c Input or input/output field |
64 |
c |
65 |
c wspeed :: Surface (10-m) wind speed in m/s |
66 |
c >= 0 sqrt(u^2+v^2) |
67 |
c Typical range: 0 < wspeed < 10 |
68 |
c Input or input/output field |
69 |
c |
70 |
c atemp :: Surface (2-m) air temperature in deg K |
71 |
c Typical range: 200 < atemp < 300 |
72 |
c Input or input/output field |
73 |
c |
74 |
c aqh :: Surface (2m) specific humidity in kg/kg |
75 |
c Typical range: 0 < aqh < 0.02 |
76 |
c Input or input/output field |
77 |
c |
78 |
c lwflux :: Net upward longwave radiation in W/m^2 |
79 |
c lwflux = - ( lwdown - ice and snow absorption - emitted ) |
80 |
c > 0 for decrease in theta (ocean cooling) |
81 |
c Typical range: -20 < lwflux < 170 |
82 |
c Input field |
83 |
c |
84 |
c evap :: Evaporation in m/s |
85 |
c > 0 for increase in salt (ocean salinity) |
86 |
c Typical range: 0 < evap < 2.5e-7 |
87 |
c Input, input/output, or output field |
88 |
c |
89 |
c precip :: Precipitation in m/s |
90 |
c > 0 for decrease in salt (ocean salinity) |
91 |
c Typical range: 0 < precip < 5e-7 |
92 |
c Input or input/output field |
93 |
c |
94 |
c snowprecip :: snow in m/s |
95 |
c > 0 for decrease in salt (ocean salinity) |
96 |
c Typical range: 0 < precip < 5e-7 |
97 |
c Input or input/output field |
98 |
c |
99 |
c runoff :: River and glacier runoff in m/s |
100 |
c > 0 for decrease in salt (ocean salinity) |
101 |
c Typical range: 0 < runoff < ???? |
102 |
c Input or input/output field |
103 |
c |
104 |
c swdown :: Downward shortwave radiation in W/m^2 |
105 |
c > 0 for increase in theta (ocean warming) |
106 |
c Typical range: 0 < swdown < 450 |
107 |
c Input/output field |
108 |
c |
109 |
c lwdown :: Downward longwave radiation in W/m^2 |
110 |
c > 0 for increase in theta (ocean warming) |
111 |
c Typical range: 50 < lwdown < 450 |
112 |
c Input/output field |
113 |
c |
114 |
c apressure :: Atmospheric pressure field in N/m^2 |
115 |
c > 0 for ???? |
116 |
c Typical range: ???? < apressure < ???? |
117 |
c Input field |
118 |
c |
119 |
c hs :: sensible heat flux into ocean in W/m^2 |
120 |
c > 0 for increase in theta (ocean warming) |
121 |
c |
122 |
c hl :: latent heat flux into ocean in W/m^2 |
123 |
c > 0 for increase in theta (ocean warming) |
124 |
c |
125 |
c |
126 |
c NOTES: |
127 |
c ====== |
128 |
c |
129 |
c All surface forcing fields are defined at the center of |
130 |
c each grid (the rVel location in model/inc/GRID.h) with |
131 |
c one exception. When both ALLOW_BULKFORMULAE and |
132 |
c USE_EXF_INTERPOLATION are undefined, ustress and vstress are |
133 |
c defined at the Southwest C-grid U and V points, respectively. |
134 |
c |
135 |
c Input and output units and sign conventions can be customized |
136 |
c using variables exf_inscal_* and exf_outscal_*, which are set |
137 |
c by exf_readparms.F |
138 |
c |
139 |
c Output fields fu, fv, Qnet, Qsw, and EmPmR are |
140 |
c defined in FFIELDS.h |
141 |
c |
142 |
c #ifndef SHORTWAVE_HEATING, hflux includes shortwave, |
143 |
c that is, hflux = latent + sensible + lwflux +swflux |
144 |
c |
145 |
c Arrays *0 and *1 below are used for temporal interpolation. |
146 |
c |
147 |
|
148 |
common /exf_stress_r/ ustress, vstress |
149 |
_RL ustress (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
150 |
_RL vstress (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
151 |
common /exfl_ustress_r/ ustress0, ustress1 |
152 |
_RL ustress0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
153 |
_RL ustress1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
154 |
common /exfl_vstress_r/ vstress0, vstress1 |
155 |
_RL vstress0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
156 |
_RL vstress1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
157 |
|
158 |
common /exf_wspeed_r/ wspeed |
159 |
_RL wspeed (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
160 |
common /exfl_wspeed_r/ wspeed0, wspeed1 |
161 |
_RL wspeed0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
162 |
_RL wspeed1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
163 |
|
164 |
common /exf_atm_wind_r/ uwind, vwind |
165 |
_RL uwind (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
166 |
_RL vwind (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
167 |
common /exfl_uwind_r/ uwind0, uwind1 |
168 |
_RL uwind0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
169 |
_RL uwind1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
170 |
common /exfl_vwind_r/ vwind0, vwind1 |
171 |
_RL vwind0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
172 |
_RL vwind1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
173 |
|
174 |
common /exf_hsflux_r/ hflux, sflux |
175 |
_RL hflux (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
176 |
_RL sflux (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
177 |
common /exfl_hflux_r/ hflux0, hflux1 |
178 |
_RL hflux0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
179 |
_RL hflux1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
180 |
common /exfl_sflux_r/ sflux0, sflux1 |
181 |
_RL sflux0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
182 |
_RL sflux1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
183 |
|
184 |
#ifdef ALLOW_ATM_TEMP |
185 |
common /exf_atm_temp_r/ atemp, aqh, lwflux, precip, snowprecip |
186 |
_RL atemp (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
187 |
_RL aqh (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
188 |
_RL lwflux (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
189 |
_RL precip (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
190 |
_RL snowprecip (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
191 |
common /exfl_atemp_r/ atemp0, atemp1 |
192 |
_RL atemp0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
193 |
_RL atemp1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
194 |
common /exfl_aqh_r/ aqh0, aqh1 |
195 |
_RL aqh0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
196 |
_RL aqh1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
197 |
common /exfl_lwflux_r/ lwflux0, lwflux1 |
198 |
_RL lwflux0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
199 |
_RL lwflux1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
200 |
common /exfl_precip_r/ precip0, precip1 |
201 |
_RL precip0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
202 |
_RL precip1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
203 |
common /exfl_snowprecip_r/ snowprecip0, snowprecip1 |
204 |
_RL snowprecip0(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
205 |
_RL snowprecip1(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
206 |
common /exfl_turb_r/ hs, hl |
207 |
_RL hs (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
208 |
_RL hl (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
209 |
#endif |
210 |
|
211 |
common /exfl_wind_r/ us, cw, sw, sh |
212 |
_RL us (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
213 |
_RL cw (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
214 |
_RL sw (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
215 |
_RL sh (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
216 |
|
217 |
#if defined(ALLOW_ATM_TEMP) || defined(SHORTWAVE_HEATING) |
218 |
common /exf_swflux_r/ swflux |
219 |
_RL swflux (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
220 |
common /exfl_swflux_r/ swflux0, swflux1 |
221 |
_RL swflux0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
222 |
_RL swflux1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
223 |
#endif |
224 |
|
225 |
#if defined(ALLOW_ATM_TEMP) || defined(EXF_READ_EVAP) |
226 |
common /exf_evap/ evap |
227 |
_RL evap (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
228 |
common /exfl_evap_r/ evap0, evap1 |
229 |
_RL evap0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
230 |
_RL evap1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
231 |
#endif |
232 |
|
233 |
#ifdef ALLOW_DOWNWARD_RADIATION |
234 |
common /exf_rad_down_r/ |
235 |
& swdown, lwdown, swdown0, swdown1, lwdown0, lwdown1 |
236 |
_RL swdown (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
237 |
_RL lwdown (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
238 |
_RL swdown0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
239 |
_RL swdown1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
240 |
_RL lwdown0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
241 |
_RL lwdown1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
242 |
#endif |
243 |
|
244 |
#ifdef ATMOSPHERIC_LOADING |
245 |
common /exf_apressure_r/ apressure, apressure0, apressure1 |
246 |
_RL apressure (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
247 |
_RL apressure0(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
248 |
_RL apressure1(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
249 |
#endif |
250 |
|
251 |
#if defined (ALLOW_RUNOFF) || defined (ALLOW_SEAICE) |
252 |
common /exfl_runoff_r/ runoff, runoff0, runoff1 |
253 |
_RL runoff (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
254 |
_RL runoff0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
255 |
_RL runoff1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
256 |
#endif |