1 |
jmc |
1.13 |
C $Header: /u/gcmpack/MITgcm/pkg/exf/EXF_PARAM.h,v 1.12 2009/06/02 14:59:55 mlosch Exp $ |
2 |
jmc |
1.1 |
C $Name: $ |
3 |
|
|
c |
4 |
|
|
c |
5 |
|
|
c ================================================================== |
6 |
|
|
c HEADER exf_param |
7 |
|
|
c ================================================================== |
8 |
|
|
c |
9 |
|
|
c o Header file for the surface flux data. Used by the external |
10 |
|
|
c forcing package. |
11 |
|
|
c |
12 |
|
|
c started: Christian Eckert eckert@mit.edu 30-Jun-1999 |
13 |
|
|
c |
14 |
|
|
c changed: Christian Eckert eckert@mit.edu 14-Jan-2000 |
15 |
|
|
c - Restructured the original version in order to have a |
16 |
|
|
c better interface to the MITgcmUV. |
17 |
|
|
c |
18 |
|
|
c Christian Eckert eckert@mit.edu 12-Feb-2000 |
19 |
|
|
c - Changed some variables names (package prefix: exf_) |
20 |
|
|
c |
21 |
|
|
c Patrick Heimbach, heimbach@mit.edu 04-May-2000 |
22 |
|
|
c - included exf_iprec, exf_yftype to enable easy |
23 |
|
|
c switch between 32bit/64 bit data format |
24 |
|
|
c |
25 |
|
|
c Patrick Heimbach, heimbach@mit.edu 01-May-2001 |
26 |
|
|
c - added obcs parameters |
27 |
|
|
c |
28 |
|
|
c mods for pkg/seaice: menemenlis@jpl.nasa.gov 20-Dec-2002 |
29 |
|
|
c |
30 |
|
|
c ================================================================== |
31 |
|
|
c HEADER exf_param |
32 |
|
|
c ================================================================== |
33 |
|
|
|
34 |
|
|
c year in seconds |
35 |
|
|
_RL year2sec |
36 |
|
|
|
37 |
|
|
c Calendar data. |
38 |
|
|
_RL repeatPeriod |
39 |
|
|
|
40 |
|
|
c Monitor Frequency (s) |
41 |
|
|
_RL exf_monFreq |
42 |
|
|
|
43 |
|
|
c Drag coefficient scaling factor |
44 |
|
|
_RL exf_scal_BulkCdn |
45 |
|
|
|
46 |
|
|
c Maximum absolute windstress, used to reset unreastically high |
47 |
|
|
c data values |
48 |
|
|
_RL windstressmax |
49 |
|
|
|
50 |
|
|
integer hfluxstartdate1 |
51 |
|
|
integer hfluxstartdate2 |
52 |
|
|
_RL hfluxstartdate |
53 |
|
|
_RL hfluxperiod |
54 |
|
|
_RL hfluxconst |
55 |
|
|
_RL hflux_exfremo_intercept |
56 |
|
|
_RL hflux_exfremo_slope |
57 |
|
|
character*1 hfluxmask |
58 |
|
|
parameter( hfluxmask = 's' ) |
59 |
|
|
|
60 |
|
|
integer atempstartdate1 |
61 |
|
|
integer atempstartdate2 |
62 |
|
|
_RL atempstartdate |
63 |
|
|
_RL atempperiod |
64 |
|
|
_RL atempconst |
65 |
|
|
_RL atemp_exfremo_intercept |
66 |
|
|
_RL atemp_exfremo_slope |
67 |
|
|
character*1 atempmask |
68 |
|
|
parameter( atempmask = 's' ) |
69 |
|
|
|
70 |
|
|
integer aqhstartdate1 |
71 |
|
|
integer aqhstartdate2 |
72 |
|
|
_RL aqhstartdate |
73 |
|
|
_RL aqhperiod |
74 |
|
|
_RL aqhconst |
75 |
|
|
_RL aqh_exfremo_intercept |
76 |
|
|
_RL aqh_exfremo_slope |
77 |
|
|
character*1 aqhmask |
78 |
|
|
parameter( aqhmask = 's' ) |
79 |
|
|
|
80 |
|
|
integer sfluxstartdate1 |
81 |
|
|
integer sfluxstartdate2 |
82 |
|
|
_RL sfluxstartdate |
83 |
|
|
_RL sfluxperiod |
84 |
|
|
_RL sfluxconst |
85 |
|
|
_RL sflux_exfremo_intercept |
86 |
|
|
_RL sflux_exfremo_slope |
87 |
|
|
character*1 sfluxmask |
88 |
|
|
parameter( sfluxmask = 's' ) |
89 |
|
|
|
90 |
|
|
integer evapstartdate1 |
91 |
|
|
integer evapstartdate2 |
92 |
|
|
_RL evapstartdate |
93 |
|
|
_RL evapperiod |
94 |
|
|
_RL evapconst |
95 |
|
|
_RL evap_exfremo_intercept |
96 |
|
|
_RL evap_exfremo_slope |
97 |
|
|
character*1 evapmask |
98 |
|
|
parameter( evapmask = 's' ) |
99 |
|
|
|
100 |
|
|
integer precipstartdate1 |
101 |
|
|
integer precipstartdate2 |
102 |
|
|
_RL precipstartdate |
103 |
|
|
_RL precipperiod |
104 |
|
|
_RL precipconst |
105 |
|
|
_RL precip_exfremo_intercept |
106 |
|
|
_RL precip_exfremo_slope |
107 |
|
|
character*1 precipmask |
108 |
|
|
parameter( precipmask = 's' ) |
109 |
|
|
|
110 |
|
|
integer snowprecipstartdate1 |
111 |
|
|
integer snowprecipstartdate2 |
112 |
|
|
_RL snowprecipstartdate |
113 |
|
|
_RL snowprecipperiod |
114 |
|
|
_RL snowprecipconst |
115 |
|
|
_RL snowprecip_exfremo_intercept |
116 |
|
|
_RL snowprecip_exfremo_slope |
117 |
|
|
character*1 snowprecipmask |
118 |
|
|
parameter( snowprecipmask = 's' ) |
119 |
|
|
|
120 |
|
|
integer runoffstartdate1 |
121 |
|
|
integer runoffstartdate2 |
122 |
|
|
_RL runoffstartdate |
123 |
|
|
_RL runoffperiod |
124 |
|
|
_RL runoffconst |
125 |
|
|
_RL runoff_exfremo_intercept |
126 |
|
|
_RL runoff_exfremo_slope |
127 |
|
|
character*1 runoffmask |
128 |
|
|
parameter( runoffmask = 's' ) |
129 |
|
|
|
130 |
|
|
integer ustressstartdate1 |
131 |
|
|
integer ustressstartdate2 |
132 |
|
|
_RL ustressstartdate |
133 |
|
|
_RL ustressperiod |
134 |
|
|
_RL ustressconst |
135 |
|
|
_RL ustress_exfremo_intercept |
136 |
|
|
_RL ustress_exfremo_slope |
137 |
|
|
character*1 ustressmask |
138 |
|
|
parameter( ustressmask = 'u' ) |
139 |
|
|
|
140 |
|
|
integer vstressstartdate1 |
141 |
|
|
integer vstressstartdate2 |
142 |
|
|
_RL vstressstartdate |
143 |
|
|
_RL vstressperiod |
144 |
|
|
_RL vstressconst |
145 |
|
|
_RL vstress_exfremo_intercept |
146 |
|
|
_RL vstress_exfremo_slope |
147 |
|
|
character*1 vstressmask |
148 |
|
|
parameter( vstressmask = 'v' ) |
149 |
|
|
|
150 |
|
|
integer uwindstartdate1 |
151 |
|
|
integer uwindstartdate2 |
152 |
|
|
_RL uwindstartdate |
153 |
|
|
_RL uwindperiod |
154 |
|
|
_RL uwindconst |
155 |
|
|
_RL uwind_exfremo_intercept |
156 |
|
|
_RL uwind_exfremo_slope |
157 |
|
|
character*1 uwindmask |
158 |
|
|
parameter( uwindmask = 's' ) |
159 |
|
|
|
160 |
|
|
integer vwindstartdate1 |
161 |
|
|
integer vwindstartdate2 |
162 |
|
|
_RL vwindstartdate |
163 |
|
|
_RL vwindperiod |
164 |
|
|
_RL vwindconst |
165 |
|
|
_RL vwind_exfremo_intercept |
166 |
|
|
_RL vwind_exfremo_slope |
167 |
|
|
character*1 vwindmask |
168 |
|
|
parameter( vwindmask = 's' ) |
169 |
|
|
|
170 |
|
|
integer wspeedstartdate1 |
171 |
|
|
integer wspeedstartdate2 |
172 |
|
|
_RL wspeedstartdate |
173 |
|
|
_RL wspeedperiod |
174 |
|
|
_RL wspeedconst |
175 |
|
|
_RL wspeed_exfremo_intercept |
176 |
|
|
_RL wspeed_exfremo_slope |
177 |
|
|
character*1 wspeedmask |
178 |
|
|
parameter( wspeedmask = 's' ) |
179 |
|
|
|
180 |
|
|
integer swfluxstartdate1 |
181 |
|
|
integer swfluxstartdate2 |
182 |
|
|
_RL swfluxstartdate |
183 |
|
|
_RL swfluxperiod |
184 |
|
|
_RL swfluxconst |
185 |
|
|
_RL swflux_exfremo_intercept |
186 |
|
|
_RL swflux_exfremo_slope |
187 |
|
|
character*1 swfluxmask |
188 |
|
|
parameter( swfluxmask = 's' ) |
189 |
|
|
|
190 |
|
|
integer lwfluxstartdate1 |
191 |
|
|
integer lwfluxstartdate2 |
192 |
|
|
_RL lwfluxstartdate |
193 |
|
|
_RL lwfluxperiod |
194 |
|
|
_RL lwfluxconst |
195 |
|
|
_RL lwflux_exfremo_intercept |
196 |
|
|
_RL lwflux_exfremo_slope |
197 |
|
|
character*1 lwfluxmask |
198 |
|
|
parameter( lwfluxmask = 's' ) |
199 |
|
|
|
200 |
|
|
integer swdownstartdate1 |
201 |
|
|
integer swdownstartdate2 |
202 |
|
|
_RL swdownstartdate |
203 |
|
|
_RL swdownperiod |
204 |
|
|
_RL swdownconst |
205 |
|
|
_RL swdown_exfremo_intercept |
206 |
|
|
_RL swdown_exfremo_slope |
207 |
|
|
character*1 swdownmask |
208 |
|
|
parameter( swdownmask = 's' ) |
209 |
|
|
|
210 |
|
|
integer lwdownstartdate1 |
211 |
|
|
integer lwdownstartdate2 |
212 |
|
|
_RL lwdownstartdate |
213 |
|
|
_RL lwdownperiod |
214 |
|
|
_RL lwdownconst |
215 |
|
|
_RL lwdown_exfremo_intercept |
216 |
|
|
_RL lwdown_exfremo_slope |
217 |
|
|
character*1 lwdownmask |
218 |
|
|
parameter( lwdownmask = 's' ) |
219 |
|
|
|
220 |
|
|
integer apressurestartdate1 |
221 |
|
|
integer apressurestartdate2 |
222 |
|
|
_RL apressurestartdate |
223 |
|
|
_RL apressureperiod |
224 |
|
|
_RL apressureconst |
225 |
|
|
_RL apressure_exfremo_intercept |
226 |
|
|
_RL apressure_exfremo_slope |
227 |
|
|
character*1 apressuremask |
228 |
|
|
parameter( apressuremask = 's' ) |
229 |
|
|
|
230 |
gforget |
1.10 |
integer areamaskstartdate1 |
231 |
|
|
integer areamaskstartdate2 |
232 |
|
|
_RL areamaskstartdate |
233 |
|
|
_RL areamaskperiod |
234 |
|
|
_RL areamaskconst |
235 |
|
|
_RL areamask_exfremo_intercept |
236 |
|
|
_RL areamask_exfremo_slope |
237 |
|
|
character*1 areamaskmask |
238 |
|
|
parameter( areamaskmask = 's' ) |
239 |
|
|
|
240 |
heimbach |
1.2 |
c Calendar data. |
241 |
|
|
integer climsststartdate1 |
242 |
|
|
integer climsststartdate2 |
243 |
|
|
_RL climsststartdate |
244 |
|
|
_RL climsstperiod |
245 |
|
|
_RL climsstconst |
246 |
|
|
_RL climsst_exfremo_intercept |
247 |
|
|
_RL climsst_exfremo_slope |
248 |
|
|
character*1 climsstmask |
249 |
|
|
parameter( climsstmask = 's' ) |
250 |
|
|
|
251 |
|
|
integer climsssstartdate1 |
252 |
|
|
integer climsssstartdate2 |
253 |
|
|
_RL climsssstartdate |
254 |
|
|
_RL climsssperiod |
255 |
|
|
_RL climsssconst |
256 |
|
|
_RL climsss_exfremo_intercept |
257 |
|
|
_RL climsss_exfremo_slope |
258 |
|
|
character*1 climsssmask |
259 |
|
|
parameter( climsssmask = 's' ) |
260 |
|
|
|
261 |
|
|
c freezing temperature is the minimum temperature allowed, used |
262 |
|
|
c to reset climatological temperatures fields where they have |
263 |
|
|
c values below climtempfreeze |
264 |
|
|
_RL climtempfreeze |
265 |
|
|
|
266 |
dimitri |
1.9 |
c the following variables are used in conjunction with pkg/obcs |
267 |
|
|
c to describe S/T/U/V open boundary condition files |
268 |
jmc |
1.1 |
integer obcsNstartdate1 |
269 |
|
|
integer obcsNstartdate2 |
270 |
dimitri |
1.9 |
integer obcsSstartdate1 |
271 |
|
|
integer obcsSstartdate2 |
272 |
|
|
integer obcsEstartdate1 |
273 |
|
|
integer obcsEstartdate2 |
274 |
|
|
integer obcsWstartdate1 |
275 |
|
|
integer obcsWstartdate2 |
276 |
jmc |
1.1 |
_RL obcsNstartdate |
277 |
|
|
_RL obcsNperiod |
278 |
|
|
_RL obcsSstartdate |
279 |
|
|
_RL obcsSperiod |
280 |
|
|
_RL obcsEstartdate |
281 |
|
|
_RL obcsEperiod |
282 |
|
|
_RL obcsWstartdate |
283 |
|
|
_RL obcsWperiod |
284 |
|
|
|
285 |
dimitri |
1.9 |
c the following variables are used in conjunction with pkg/obcs |
286 |
|
|
c and pkg/seaice to describe area, heff, hsnow, hsalt, uice, |
287 |
|
|
c and vice open boundary condition files |
288 |
|
|
integer siobNstartdate1 |
289 |
|
|
integer siobNstartdate2 |
290 |
|
|
integer siobSstartdate1 |
291 |
|
|
integer siobSstartdate2 |
292 |
|
|
integer siobEstartdate1 |
293 |
|
|
integer siobEstartdate2 |
294 |
|
|
integer siobWstartdate1 |
295 |
|
|
integer siobWstartdate2 |
296 |
|
|
_RL siobNstartdate |
297 |
|
|
_RL siobNperiod |
298 |
|
|
_RL siobSstartdate |
299 |
|
|
_RL siobSperiod |
300 |
|
|
_RL siobEstartdate |
301 |
|
|
_RL siobEperiod |
302 |
|
|
_RL siobWstartdate |
303 |
|
|
_RL siobWperiod |
304 |
|
|
|
305 |
jmc |
1.1 |
c File names. |
306 |
|
|
character*(128) hfluxfile |
307 |
|
|
character*(128) atempfile |
308 |
|
|
character*(128) aqhfile |
309 |
|
|
character*(128) evapfile |
310 |
|
|
character*(128) precipfile |
311 |
|
|
character*(128) snowprecipfile |
312 |
|
|
character*(128) sfluxfile |
313 |
|
|
character*(128) runofffile |
314 |
|
|
character*(128) ustressfile |
315 |
|
|
character*(128) vstressfile |
316 |
|
|
character*(128) uwindfile |
317 |
|
|
character*(128) vwindfile |
318 |
|
|
character*(128) wspeedfile |
319 |
|
|
character*(128) swfluxfile |
320 |
|
|
character*(128) lwfluxfile |
321 |
|
|
character*(128) swdownfile |
322 |
|
|
character*(128) lwdownfile |
323 |
|
|
character*(128) apressurefile |
324 |
gforget |
1.10 |
character*(128) areamaskfile |
325 |
heimbach |
1.2 |
character*(128) climsstfile |
326 |
|
|
character*(128) climsssfile |
327 |
jmc |
1.1 |
|
328 |
|
|
C useExfYearlyFields :: when set, automatically add extension |
329 |
dimitri |
1.8 |
C _YEAR to input file names; the yearly files need |
330 |
|
|
C to contain all the records that pertain to |
331 |
|
|
C a particular year, including day 1, hour zero |
332 |
jmc |
1.1 |
C twoDigitYear :: when set, use 2-digit year extension YR |
333 |
|
|
C instead of _YEAR for useExfYearlyFields |
334 |
jmc |
1.6 |
C readStressOnAgrid :: read wind-streess located on model-grid, A-grid position |
335 |
|
|
C readStressOnCgrid :: read wind-streess located on model-grid, C-grid position |
336 |
|
|
C stressIsOnCgrid :: ustress & vstress are positioned on Arakawa C-grid |
337 |
jmc |
1.4 |
C useStabilityFct_overIce :: over sea-ice, compute turbulent transfert |
338 |
|
|
C coeff. function of stability (like over |
339 |
|
|
C open ocean) rather than using fixed Coeff. |
340 |
dimitri |
1.7 |
C useRelativeWind :: Subtract U/VVEL or U/VICE from U/VWIND before computing U/VSTRESS |
341 |
jmc |
1.11 |
C noNegativeEvap :: prevent negative evaporation (= sea-surface condensation) |
342 |
dimitri |
1.7 |
|
343 |
jmc |
1.1 |
logical useExfYearlyFields, twoDigitYear |
344 |
|
|
logical useExfCheckRange |
345 |
jmc |
1.6 |
logical readStressOnAgrid |
346 |
|
|
logical readStressOnCgrid |
347 |
|
|
logical stressIsOnCgrid |
348 |
jmc |
1.4 |
logical useStabilityFct_overIce |
349 |
dimitri |
1.7 |
logical useRelativeWind |
350 |
jmc |
1.11 |
logical noNegativeEvap |
351 |
jmc |
1.1 |
|
352 |
|
|
common /exf_param_l/ |
353 |
|
|
& useExfYearlyFields, twoDigitYear, |
354 |
jmc |
1.4 |
& useExfCheckRange, |
355 |
jmc |
1.6 |
& readStressOnAgrid, readStressOnCgrid, |
356 |
dimitri |
1.7 |
& stressIsOnCgrid, useStabilityFct_overIce, |
357 |
jmc |
1.11 |
& useRelativeWind, noNegativeEvap |
358 |
jmc |
1.6 |
common /exf_param_i/ |
359 |
jmc |
1.1 |
& hfluxstartdate1, hfluxstartdate2, |
360 |
|
|
& atempstartdate1, atempstartdate2, |
361 |
|
|
& aqhstartdate1, aqhstartdate2, |
362 |
|
|
& sfluxstartdate1, sfluxstartdate2, |
363 |
|
|
& evapstartdate1, evapstartdate2, |
364 |
|
|
& runoffstartdate1, runoffstartdate2, |
365 |
|
|
& precipstartdate1, precipstartdate2, |
366 |
|
|
& snowprecipstartdate1, snowprecipstartdate2, |
367 |
|
|
& ustressstartdate1, ustressstartdate2, |
368 |
|
|
& vstressstartdate1, vstressstartdate2, |
369 |
|
|
& uwindstartdate1, uwindstartdate2, |
370 |
|
|
& vwindstartdate1, vwindstartdate2, |
371 |
|
|
& wspeedstartdate1, wspeedstartdate2, |
372 |
|
|
& swfluxstartdate1, swfluxstartdate2, |
373 |
|
|
& lwfluxstartdate1, lwfluxstartdate2, |
374 |
|
|
& swdownstartdate1, swdownstartdate2, |
375 |
|
|
& lwdownstartdate1, lwdownstartdate2, |
376 |
|
|
& obcsNstartdate1, obcsNstartdate2, |
377 |
|
|
& obcsSstartdate1, obcsSstartdate2, |
378 |
|
|
& obcsEstartdate1, obcsEstartdate2, |
379 |
|
|
& obcsWstartdate1, obcsWstartdate2, |
380 |
dimitri |
1.9 |
& siobNstartdate1, siobNstartdate2, |
381 |
|
|
& siobSstartdate1, siobSstartdate2, |
382 |
|
|
& siobEstartdate1, siobEstartdate2, |
383 |
|
|
& siobWstartdate1, siobWstartdate2, |
384 |
gforget |
1.10 |
& apressurestartdate1,apressurestartdate2, |
385 |
|
|
& areamaskstartdate1,areamaskstartdate2 |
386 |
jmc |
1.1 |
|
387 |
|
|
common /exf_param_r/ |
388 |
|
|
& year2sec, windstressmax, |
389 |
|
|
& repeatPeriod, exf_monFreq, |
390 |
|
|
& exf_scal_BulkCdn, |
391 |
|
|
& hfluxperiod, hfluxstartdate, |
392 |
|
|
& atempperiod, atempstartdate, |
393 |
|
|
& aqhperiod, aqhstartdate, |
394 |
|
|
& sfluxperiod, sfluxstartdate, |
395 |
|
|
& evapperiod, evapstartdate, |
396 |
|
|
& precipperiod, precipstartdate, |
397 |
|
|
& snowprecipperiod, snowprecipstartdate, |
398 |
|
|
& runoffperiod, runoffstartdate, |
399 |
|
|
& ustressperiod, ustressstartdate, |
400 |
|
|
& vstressperiod, vstressstartdate, |
401 |
|
|
& uwindperiod, uwindstartdate, |
402 |
|
|
& vwindperiod, vwindstartdate, |
403 |
|
|
& wspeedperiod, wspeedstartdate, |
404 |
|
|
& swfluxperiod, swfluxstartdate, |
405 |
|
|
& lwfluxperiod, lwfluxstartdate, |
406 |
|
|
& swdownperiod, swdownstartdate, |
407 |
|
|
& lwdownperiod, lwdownstartdate, |
408 |
|
|
& obcsNperiod, obcsNstartdate, |
409 |
|
|
& obcsSperiod, obcsSstartdate, |
410 |
|
|
& obcsEperiod, obcsEstartdate, |
411 |
|
|
& obcsWperiod, obcsWstartdate, |
412 |
dimitri |
1.9 |
& siobNperiod, siobNstartdate, |
413 |
|
|
& siobSperiod, siobSstartdate, |
414 |
|
|
& siobEperiod, siobEstartdate, |
415 |
|
|
& siobWperiod, siobWstartdate, |
416 |
jmc |
1.1 |
& apressureperiod, apressurestartdate, |
417 |
gforget |
1.10 |
& areamaskperiod, areamaskstartdate, |
418 |
jmc |
1.1 |
& hfluxconst, |
419 |
|
|
& atempconst, |
420 |
|
|
& aqhconst, |
421 |
|
|
& sfluxconst, |
422 |
|
|
& evapconst, |
423 |
|
|
& precipconst, |
424 |
|
|
& snowprecipconst, |
425 |
|
|
& runoffconst, |
426 |
|
|
& ustressconst, |
427 |
|
|
& vstressconst, |
428 |
|
|
& uwindconst, |
429 |
|
|
& vwindconst, |
430 |
|
|
& wspeedconst, |
431 |
|
|
& swfluxconst, |
432 |
|
|
& lwfluxconst, |
433 |
|
|
& swdownconst, |
434 |
|
|
& lwdownconst, |
435 |
gforget |
1.10 |
& apressureconst, |
436 |
|
|
& areamaskconst |
437 |
jmc |
1.1 |
|
438 |
|
|
common /exf_param_trend_removal/ |
439 |
|
|
& hflux_exfremo_intercept, |
440 |
|
|
& atemp_exfremo_intercept, |
441 |
|
|
& aqh_exfremo_intercept, |
442 |
|
|
& sflux_exfremo_intercept, |
443 |
|
|
& evap_exfremo_intercept, |
444 |
|
|
& precip_exfremo_intercept, |
445 |
|
|
& snowprecip_exfremo_intercept, |
446 |
|
|
& runoff_exfremo_intercept, |
447 |
|
|
& ustress_exfremo_intercept, |
448 |
|
|
& vstress_exfremo_intercept, |
449 |
|
|
& uwind_exfremo_intercept, |
450 |
|
|
& vwind_exfremo_intercept, |
451 |
|
|
& wspeed_exfremo_intercept, |
452 |
|
|
& swflux_exfremo_intercept, |
453 |
|
|
& lwflux_exfremo_intercept, |
454 |
|
|
& swdown_exfremo_intercept, |
455 |
|
|
& lwdown_exfremo_intercept, |
456 |
|
|
& apressure_exfremo_intercept, |
457 |
jmc |
1.13 |
& areamask_exfremo_intercept, |
458 |
jmc |
1.1 |
& hflux_exfremo_slope, |
459 |
|
|
& atemp_exfremo_slope, |
460 |
|
|
& aqh_exfremo_slope, |
461 |
|
|
& sflux_exfremo_slope, |
462 |
|
|
& evap_exfremo_slope, |
463 |
|
|
& precip_exfremo_slope, |
464 |
|
|
& snowprecip_exfremo_slope, |
465 |
|
|
& runoff_exfremo_slope, |
466 |
|
|
& ustress_exfremo_slope, |
467 |
|
|
& vstress_exfremo_slope, |
468 |
|
|
& uwind_exfremo_slope, |
469 |
|
|
& vwind_exfremo_slope, |
470 |
|
|
& wspeed_exfremo_slope, |
471 |
|
|
& swflux_exfremo_slope, |
472 |
|
|
& lwflux_exfremo_slope, |
473 |
|
|
& swdown_exfremo_slope, |
474 |
|
|
& lwdown_exfremo_slope, |
475 |
jmc |
1.13 |
& apressure_exfremo_slope, |
476 |
|
|
& areamask_exfremo_slope |
477 |
jmc |
1.1 |
|
478 |
|
|
common /exf_param_c/ |
479 |
|
|
& hfluxfile, |
480 |
|
|
& atempfile, |
481 |
|
|
& aqhfile, |
482 |
|
|
& sfluxfile, |
483 |
|
|
& evapfile, |
484 |
|
|
& precipfile, |
485 |
|
|
& snowprecipfile, |
486 |
|
|
& runofffile, |
487 |
|
|
& ustressfile, |
488 |
|
|
& vstressfile, |
489 |
|
|
& uwindfile, |
490 |
|
|
& vwindfile, |
491 |
|
|
& wspeedfile, |
492 |
|
|
& swfluxfile, |
493 |
|
|
& lwfluxfile, |
494 |
|
|
& swdownfile, |
495 |
|
|
& lwdownfile, |
496 |
gforget |
1.10 |
& apressurefile, |
497 |
|
|
& areamaskfile |
498 |
jmc |
1.1 |
|
499 |
heimbach |
1.2 |
common /exf_clim_i/ |
500 |
|
|
& climsststartdate1, climsststartdate2, |
501 |
|
|
& climsssstartdate1, climsssstartdate2 |
502 |
|
|
|
503 |
|
|
common /exf_clim_c/ |
504 |
|
|
& climsstfile, |
505 |
|
|
& climsssfile |
506 |
|
|
|
507 |
|
|
common /exf_clim_r/ |
508 |
|
|
& climtempfreeze, |
509 |
|
|
& climsstperiod, climsststartdate, |
510 |
|
|
& climsssperiod, climsssstartdate, |
511 |
|
|
& climsstconst, climsssconst, |
512 |
|
|
& climsst_exfremo_intercept, climsst_exfremo_slope, |
513 |
|
|
& climsss_exfremo_intercept, climsss_exfremo_slope, |
514 |
|
|
& exf_inscal_climsst, exf_inscal_climsss |
515 |
|
|
|
516 |
jmc |
1.1 |
c file precision and field type |
517 |
|
|
|
518 |
jmc |
1.6 |
common /exf_param_type/ |
519 |
jmc |
1.1 |
& exf_iprec, |
520 |
mlosch |
1.12 |
& exf_iprec_obcs, |
521 |
jmc |
1.1 |
& exf_yftype |
522 |
|
|
|
523 |
|
|
integer exf_iprec |
524 |
mlosch |
1.12 |
integer exf_iprec_obcs |
525 |
jmc |
1.1 |
character*(2) exf_yftype |
526 |
|
|
|
527 |
|
|
c exf_inscal_* input scaling factors |
528 |
|
|
c exf_offset_atemp input air temperature offset |
529 |
|
|
c (for conversion from C to K, if needed) |
530 |
|
|
c exf_outscale_* output scaling factors |
531 |
|
|
|
532 |
|
|
_RL exf_inscal_hflux |
533 |
|
|
_RL exf_inscal_sflux |
534 |
|
|
_RL exf_inscal_ustress |
535 |
|
|
_RL exf_inscal_vstress |
536 |
|
|
_RL exf_inscal_uwind |
537 |
|
|
_RL exf_inscal_vwind |
538 |
|
|
_RL exf_inscal_wspeed |
539 |
|
|
_RL exf_inscal_swflux |
540 |
|
|
_RL exf_inscal_lwflux |
541 |
|
|
_RL exf_inscal_precip |
542 |
|
|
_RL exf_inscal_snowprecip |
543 |
|
|
_RL exf_inscal_sst |
544 |
|
|
_RL exf_inscal_sss |
545 |
|
|
_RL exf_inscal_atemp |
546 |
|
|
_RL exf_offset_atemp |
547 |
|
|
_RL exf_inscal_aqh |
548 |
|
|
_RL exf_inscal_evap |
549 |
|
|
_RL exf_inscal_apressure |
550 |
|
|
_RL exf_inscal_runoff |
551 |
|
|
_RL exf_inscal_swdown |
552 |
|
|
_RL exf_inscal_lwdown |
553 |
heimbach |
1.2 |
_RL exf_inscal_climsst |
554 |
|
|
_RL exf_inscal_climsss |
555 |
jmc |
1.1 |
|
556 |
|
|
_RL exf_outscal_hflux |
557 |
|
|
_RL exf_outscal_sflux |
558 |
|
|
_RL exf_outscal_ustress |
559 |
|
|
_RL exf_outscal_vstress |
560 |
|
|
_RL exf_outscal_swflux |
561 |
|
|
_RL exf_outscal_sst |
562 |
|
|
_RL exf_outscal_sss |
563 |
|
|
_RL exf_outscal_apressure |
564 |
|
|
|
565 |
|
|
common /exf_param_scal/ |
566 |
|
|
& exf_inscal_hflux |
567 |
|
|
& , exf_inscal_sflux |
568 |
|
|
& , exf_inscal_ustress |
569 |
|
|
& , exf_inscal_vstress |
570 |
|
|
& , exf_inscal_uwind |
571 |
|
|
& , exf_inscal_vwind |
572 |
|
|
& , exf_inscal_wspeed |
573 |
|
|
& , exf_inscal_swflux |
574 |
|
|
& , exf_inscal_lwflux |
575 |
|
|
& , exf_inscal_precip |
576 |
|
|
& , exf_inscal_snowprecip |
577 |
|
|
& , exf_inscal_sst |
578 |
|
|
& , exf_inscal_sss |
579 |
|
|
& , exf_inscal_atemp |
580 |
|
|
& , exf_offset_atemp |
581 |
|
|
& , exf_inscal_aqh |
582 |
|
|
& , exf_inscal_evap |
583 |
|
|
& , exf_inscal_apressure |
584 |
|
|
& , exf_inscal_runoff |
585 |
|
|
& , exf_inscal_swdown |
586 |
|
|
& , exf_inscal_lwdown |
587 |
|
|
& , exf_outscal_hflux |
588 |
|
|
& , exf_outscal_sflux |
589 |
|
|
& , exf_outscal_ustress |
590 |
|
|
& , exf_outscal_vstress |
591 |
|
|
& , exf_outscal_swflux |
592 |
|
|
& , exf_outscal_sst |
593 |
|
|
& , exf_outscal_sss |
594 |
|
|
& , exf_outscal_apressure |
595 |
|
|
|
596 |
|
|
#ifndef USE_EXF_INTERPOLATION |
597 |
|
|
c-- set dummy dimension 1 |
598 |
jmc |
1.5 |
INTEGER exf_interp_bufferSize |
599 |
|
|
PARAMETER( exf_interp_bufferSize = 1 ) |
600 |
jmc |
1.1 |
integer MAX_LAT_INC |
601 |
|
|
parameter(MAX_LAT_INC = 1) |
602 |
|
|
#else |
603 |
jmc |
1.5 |
C To read input data without dynamical allocation (EXF_INTERP_USE_DYNALLOC undef), |
604 |
jmc |
1.6 |
C buffer size currently set to 65000 (allows to read-in a 1x1 global data set) |
605 |
jmc |
1.5 |
INTEGER exf_interp_bufferSize |
606 |
jmc |
1.6 |
PARAMETER( exf_interp_bufferSize = 65000 ) |
607 |
jmc |
1.1 |
c for lat interpolation, arraysize currently set to 2176 max data values |
608 |
|
|
integer MAX_LAT_INC |
609 |
|
|
parameter(MAX_LAT_INC = 2176) |
610 |
|
|
_RL ustress_lon0, ustress_lon_inc |
611 |
|
|
_RL ustress_lat0, ustress_lat_inc(MAX_LAT_INC) |
612 |
|
|
INTEGER ustress_nlon, ustress_nlat |
613 |
|
|
_RL vstress_lon0, vstress_lon_inc |
614 |
|
|
_RL vstress_lat0, vstress_lat_inc(MAX_LAT_INC) |
615 |
|
|
INTEGER vstress_nlon, vstress_nlat |
616 |
|
|
_RL hflux_lon0, hflux_lon_inc |
617 |
|
|
_RL hflux_lat0, hflux_lat_inc(MAX_LAT_INC) |
618 |
|
|
INTEGER hflux_nlon, hflux_nlat |
619 |
|
|
_RL sflux_lon0, sflux_lon_inc |
620 |
|
|
_RL sflux_lat0, sflux_lat_inc(MAX_LAT_INC) |
621 |
|
|
INTEGER sflux_nlon, sflux_nlat |
622 |
|
|
_RL swflux_lon0, swflux_lon_inc |
623 |
|
|
_RL swflux_lat0, swflux_lat_inc(MAX_LAT_INC) |
624 |
|
|
INTEGER swflux_nlon, swflux_nlat |
625 |
|
|
_RL runoff_lon0, runoff_lon_inc |
626 |
|
|
_RL runoff_lat0, runoff_lat_inc(MAX_LAT_INC) |
627 |
|
|
INTEGER runoff_nlon, runoff_nlat |
628 |
|
|
_RL atemp_lon0, atemp_lon_inc |
629 |
|
|
_RL atemp_lat0, atemp_lat_inc(MAX_LAT_INC) |
630 |
|
|
INTEGER atemp_nlon, atemp_nlat |
631 |
|
|
_RL aqh_lon0, aqh_lon_inc |
632 |
|
|
_RL aqh_lat0, aqh_lat_inc(MAX_LAT_INC) |
633 |
|
|
INTEGER aqh_nlon, aqh_nlat |
634 |
|
|
_RL evap_lon0, evap_lon_inc |
635 |
|
|
_RL evap_lat0, evap_lat_inc(MAX_LAT_INC) |
636 |
|
|
INTEGER evap_nlon, evap_nlat |
637 |
|
|
_RL precip_lon0, precip_lon_inc |
638 |
|
|
_RL precip_lat0, precip_lat_inc(MAX_LAT_INC) |
639 |
|
|
INTEGER precip_nlon, precip_nlat |
640 |
|
|
_RL snowprecip_lon0, snowprecip_lon_inc |
641 |
|
|
_RL snowprecip_lat0, snowprecip_lat_inc(MAX_LAT_INC) |
642 |
|
|
INTEGER snowprecip_nlon, snowprecip_nlat |
643 |
|
|
_RL uwind_lon0, uwind_lon_inc |
644 |
|
|
_RL uwind_lat0, uwind_lat_inc(MAX_LAT_INC) |
645 |
|
|
INTEGER uwind_nlon, uwind_nlat |
646 |
|
|
_RL vwind_lon0, vwind_lon_inc |
647 |
|
|
_RL vwind_lat0, vwind_lat_inc(MAX_LAT_INC) |
648 |
|
|
INTEGER vwind_nlon, vwind_nlat |
649 |
|
|
_RL wspeed_lon0, wspeed_lon_inc |
650 |
|
|
_RL wspeed_lat0, wspeed_lat_inc(MAX_LAT_INC) |
651 |
|
|
INTEGER wspeed_nlon, wspeed_nlat |
652 |
|
|
_RL lwflux_lon0, lwflux_lon_inc |
653 |
|
|
_RL lwflux_lat0, lwflux_lat_inc(MAX_LAT_INC) |
654 |
|
|
INTEGER lwflux_nlon, lwflux_nlat |
655 |
|
|
_RL swdown_lon0, swdown_lon_inc |
656 |
|
|
_RL swdown_lat0, swdown_lat_inc(MAX_LAT_INC) |
657 |
|
|
INTEGER swdown_nlon, swdown_nlat |
658 |
|
|
_RL lwdown_lon0, lwdown_lon_inc |
659 |
|
|
_RL lwdown_lat0, lwdown_lat_inc(MAX_LAT_INC) |
660 |
|
|
INTEGER lwdown_nlon, lwdown_nlat |
661 |
|
|
_RL apressure_lon0,apressure_lon_inc |
662 |
|
|
_RL apressure_lat0,apressure_lat_inc(MAX_LAT_INC) |
663 |
|
|
INTEGER apressure_nlon,apressure_nlat |
664 |
gforget |
1.10 |
_RL areamask_lon0,areamask_lon_inc |
665 |
|
|
_RL areamask_lat0,areamask_lat_inc(MAX_LAT_INC) |
666 |
|
|
INTEGER areamask_nlon,areamask_nlat |
667 |
jmc |
1.1 |
|
668 |
|
|
common /exf_interpolation/ |
669 |
|
|
& ustress_lon0, ustress_lon_inc, |
670 |
|
|
& ustress_lat0, ustress_lat_inc, |
671 |
|
|
& ustress_nlon, ustress_nlat, |
672 |
|
|
& vstress_lon0, vstress_lon_inc, |
673 |
|
|
& vstress_lat0, vstress_lat_inc, |
674 |
|
|
& vstress_nlon, vstress_nlat, |
675 |
|
|
& hflux_lon0, hflux_lon_inc, |
676 |
|
|
& hflux_lat0, hflux_lat_inc, |
677 |
|
|
& hflux_nlon, hflux_nlat, |
678 |
|
|
& sflux_lon0, sflux_lon_inc, |
679 |
|
|
& sflux_lat0, sflux_lat_inc, |
680 |
|
|
& sflux_nlon, sflux_nlat, |
681 |
|
|
& swflux_lon0, swflux_lon_inc, |
682 |
|
|
& swflux_lat0, swflux_lat_inc, |
683 |
|
|
& swflux_nlon, swflux_nlat, |
684 |
|
|
& runoff_lon0, runoff_lon_inc, |
685 |
|
|
& runoff_lat0, runoff_lat_inc, |
686 |
|
|
& runoff_nlon, runoff_nlat, |
687 |
|
|
& atemp_lon0, atemp_lon_inc, |
688 |
|
|
& atemp_lat0, atemp_lat_inc, |
689 |
|
|
& atemp_nlon, atemp_nlat, |
690 |
|
|
& aqh_lon0, aqh_lon_inc, |
691 |
|
|
& aqh_lat0, aqh_lat_inc, |
692 |
|
|
& aqh_nlon, aqh_nlat, |
693 |
|
|
& evap_lon0, evap_lon_inc, |
694 |
|
|
& evap_lat0, evap_lat_inc, |
695 |
|
|
& evap_nlon, evap_nlat, |
696 |
|
|
& precip_lon0, precip_lon_inc, |
697 |
|
|
& precip_lat0, precip_lat_inc, |
698 |
|
|
& precip_nlon, precip_nlat, |
699 |
|
|
& snowprecip_lon0, snowprecip_lon_inc, |
700 |
|
|
& snowprecip_lat0, snowprecip_lat_inc, |
701 |
|
|
& snowprecip_nlon, snowprecip_nlat, |
702 |
|
|
& uwind_lon0, uwind_lon_inc, |
703 |
|
|
& uwind_lat0, uwind_lat_inc, |
704 |
|
|
& uwind_nlon, uwind_nlat, |
705 |
|
|
& vwind_lon0, vwind_lon_inc, |
706 |
|
|
& vwind_lat0, vwind_lat_inc, |
707 |
|
|
& vwind_nlon, vwind_nlat, |
708 |
|
|
& wspeed_lon0, wspeed_lon_inc, |
709 |
|
|
& wspeed_lat0, wspeed_lat_inc, |
710 |
|
|
& wspeed_nlon, wspeed_nlat, |
711 |
|
|
& lwflux_lon0, lwflux_lon_inc, |
712 |
|
|
& lwflux_lat0, lwflux_lat_inc, |
713 |
|
|
& lwflux_nlon, lwflux_nlat, |
714 |
|
|
& swdown_lon0, swdown_lon_inc, |
715 |
|
|
& swdown_lat0, swdown_lat_inc, |
716 |
|
|
& swdown_nlon, swdown_nlat, |
717 |
|
|
& lwdown_lon0, lwdown_lon_inc, |
718 |
|
|
& lwdown_lat0, lwdown_lat_inc, |
719 |
|
|
& lwdown_nlon, lwdown_nlat, |
720 |
|
|
& apressure_lon0,apressure_lon_inc, |
721 |
|
|
& apressure_lat0,apressure_lat_inc, |
722 |
gforget |
1.10 |
& apressure_nlon,apressure_nlat, |
723 |
|
|
& areamask_lon0,areamask_lon_inc, |
724 |
|
|
& areamask_lat0,areamask_lat_inc, |
725 |
|
|
& areamask_nlon,areamask_nlat |
726 |
heimbach |
1.2 |
|
727 |
|
|
_RL climsst_lon0, climsst_lon_inc |
728 |
|
|
_RL climsst_lat0, climsst_lat_inc(MAX_LAT_INC) |
729 |
|
|
INTEGER climsst_nlon, climsst_nlat |
730 |
|
|
_RL climsss_lon0, climsss_lon_inc |
731 |
|
|
_RL climsss_lat0, climsss_lat_inc(MAX_LAT_INC) |
732 |
|
|
INTEGER climsss_nlon, climsss_nlat |
733 |
|
|
common /exf_clim_interpolation/ |
734 |
|
|
& climsst_lon0, climsst_lon_inc, |
735 |
|
|
& climsst_lat0, climsst_lat_inc, |
736 |
|
|
& climsst_nlon, climsst_nlat, |
737 |
|
|
& climsss_lon0, climsss_lon_inc, |
738 |
|
|
& climsss_lat0, climsss_lat_inc, |
739 |
|
|
& climsss_nlon, climsss_nlat |
740 |
|
|
|
741 |
jmc |
1.1 |
#endif |