/[MITgcm]/MITgcm/pkg/exf/EXF_FIELDS.h
ViewVC logotype

Contents of /MITgcm/pkg/exf/EXF_FIELDS.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.6 - (show annotations) (download)
Fri Nov 7 20:49:04 2008 UTC (15 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint61f, checkpoint61g, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61p
Changes since 1.5: +249 -249 lines
File MIME type: text/plain
fix description of precip (=Total precip) & snowprecip (units of equivalent
 liquid water volume): this is consistent with pkg/thsice (thsice_map_exf.F)
 and did not find an other place where snowprecip was used.

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

  ViewVC Help
Powered by ViewVC 1.1.22