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