1 |
C $Header: /u/gcmpack/MITgcm/pkg/exf/EXF_PARAM.h,v 1.14 2010/02/17 21:16:12 gforget 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 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 |
integer areamaskstartdate1 |
231 |
integer areamaskstartdate2 |
232 |
_RL areamaskstartdate |
233 |
_RL areamaskperiod |
234 |
_RL areamaskTauRelax |
235 |
_RL areamaskconst |
236 |
_RL areamask_exfremo_intercept |
237 |
_RL areamask_exfremo_slope |
238 |
character*1 areamaskmask |
239 |
parameter( areamaskmask = 's' ) |
240 |
|
241 |
c Calendar data. |
242 |
integer climsststartdate1 |
243 |
integer climsststartdate2 |
244 |
_RL climsststartdate |
245 |
_RL climsstperiod |
246 |
_RL climsstTauRelax |
247 |
_RL climsstconst |
248 |
_RL climsst_exfremo_intercept |
249 |
_RL climsst_exfremo_slope |
250 |
character*1 climsstmask |
251 |
parameter( climsstmask = 's' ) |
252 |
|
253 |
integer climsssstartdate1 |
254 |
integer climsssstartdate2 |
255 |
_RL climsssstartdate |
256 |
_RL climsssperiod |
257 |
_RL climsssTauRelax |
258 |
_RL climsssconst |
259 |
_RL climsss_exfremo_intercept |
260 |
_RL climsss_exfremo_slope |
261 |
character*1 climsssmask |
262 |
parameter( climsssmask = 's' ) |
263 |
|
264 |
c freezing temperature is the minimum temperature allowed, used |
265 |
c to reset climatological temperatures fields where they have |
266 |
c values below climtempfreeze |
267 |
_RL climtempfreeze |
268 |
|
269 |
c the following variables are used in conjunction with pkg/obcs |
270 |
c to describe S/T/U/V open boundary condition files |
271 |
integer obcsNstartdate1 |
272 |
integer obcsNstartdate2 |
273 |
integer obcsSstartdate1 |
274 |
integer obcsSstartdate2 |
275 |
integer obcsEstartdate1 |
276 |
integer obcsEstartdate2 |
277 |
integer obcsWstartdate1 |
278 |
integer obcsWstartdate2 |
279 |
_RL obcsNstartdate |
280 |
_RL obcsNperiod |
281 |
_RL obcsSstartdate |
282 |
_RL obcsSperiod |
283 |
_RL obcsEstartdate |
284 |
_RL obcsEperiod |
285 |
_RL obcsWstartdate |
286 |
_RL obcsWperiod |
287 |
|
288 |
c the following variables are used in conjunction with pkg/obcs |
289 |
c and pkg/seaice to describe area, heff, hsnow, hsalt, uice, |
290 |
c and vice open boundary condition files |
291 |
integer siobNstartdate1 |
292 |
integer siobNstartdate2 |
293 |
integer siobSstartdate1 |
294 |
integer siobSstartdate2 |
295 |
integer siobEstartdate1 |
296 |
integer siobEstartdate2 |
297 |
integer siobWstartdate1 |
298 |
integer siobWstartdate2 |
299 |
_RL siobNstartdate |
300 |
_RL siobNperiod |
301 |
_RL siobSstartdate |
302 |
_RL siobSperiod |
303 |
_RL siobEstartdate |
304 |
_RL siobEperiod |
305 |
_RL siobWstartdate |
306 |
_RL siobWperiod |
307 |
|
308 |
c File names. |
309 |
character*(128) hfluxfile |
310 |
character*(128) atempfile |
311 |
character*(128) aqhfile |
312 |
character*(128) evapfile |
313 |
character*(128) precipfile |
314 |
character*(128) snowprecipfile |
315 |
character*(128) sfluxfile |
316 |
character*(128) runofffile |
317 |
character*(128) ustressfile |
318 |
character*(128) vstressfile |
319 |
character*(128) uwindfile |
320 |
character*(128) vwindfile |
321 |
character*(128) wspeedfile |
322 |
character*(128) swfluxfile |
323 |
character*(128) lwfluxfile |
324 |
character*(128) swdownfile |
325 |
character*(128) lwdownfile |
326 |
character*(128) apressurefile |
327 |
character*(128) areamaskfile |
328 |
character*(128) climsstfile |
329 |
character*(128) climsssfile |
330 |
|
331 |
C useExfYearlyFields :: when set, automatically add extension |
332 |
C _YEAR to input file names; the yearly files need |
333 |
C to contain all the records that pertain to |
334 |
C a particular year, including day 1, hour zero |
335 |
C twoDigitYear :: when set, use 2-digit year extension YR |
336 |
C instead of _YEAR for useExfYearlyFields |
337 |
C readStressOnAgrid :: read wind-streess located on model-grid, A-grid position |
338 |
C readStressOnCgrid :: read wind-streess located on model-grid, C-grid position |
339 |
C stressIsOnCgrid :: ustress & vstress are positioned on Arakawa C-grid |
340 |
C useStabilityFct_overIce :: over sea-ice, compute turbulent transfert |
341 |
C coeff. function of stability (like over |
342 |
C open ocean) rather than using fixed Coeff. |
343 |
C useRelativeWind :: Subtract U/VVEL or U/VICE from U/VWIND before computing U/VSTRESS |
344 |
C noNegativeEvap :: prevent negative evaporation (= sea-surface condensation) |
345 |
|
346 |
logical useExfYearlyFields, twoDigitYear |
347 |
logical useExfCheckRange |
348 |
logical readStressOnAgrid |
349 |
logical readStressOnCgrid |
350 |
logical stressIsOnCgrid |
351 |
logical useStabilityFct_overIce |
352 |
logical useRelativeWind |
353 |
logical noNegativeEvap |
354 |
|
355 |
common /exf_param_l/ |
356 |
& useExfYearlyFields, twoDigitYear, |
357 |
& useExfCheckRange, |
358 |
& readStressOnAgrid, readStressOnCgrid, |
359 |
& stressIsOnCgrid, useStabilityFct_overIce, |
360 |
& useRelativeWind, noNegativeEvap |
361 |
common /exf_param_i/ |
362 |
& hfluxstartdate1, hfluxstartdate2, |
363 |
& atempstartdate1, atempstartdate2, |
364 |
& aqhstartdate1, aqhstartdate2, |
365 |
& sfluxstartdate1, sfluxstartdate2, |
366 |
& evapstartdate1, evapstartdate2, |
367 |
& runoffstartdate1, runoffstartdate2, |
368 |
& precipstartdate1, precipstartdate2, |
369 |
& snowprecipstartdate1, snowprecipstartdate2, |
370 |
& ustressstartdate1, ustressstartdate2, |
371 |
& vstressstartdate1, vstressstartdate2, |
372 |
& uwindstartdate1, uwindstartdate2, |
373 |
& vwindstartdate1, vwindstartdate2, |
374 |
& wspeedstartdate1, wspeedstartdate2, |
375 |
& swfluxstartdate1, swfluxstartdate2, |
376 |
& lwfluxstartdate1, lwfluxstartdate2, |
377 |
& swdownstartdate1, swdownstartdate2, |
378 |
& lwdownstartdate1, lwdownstartdate2, |
379 |
& obcsNstartdate1, obcsNstartdate2, |
380 |
& obcsSstartdate1, obcsSstartdate2, |
381 |
& obcsEstartdate1, obcsEstartdate2, |
382 |
& obcsWstartdate1, obcsWstartdate2, |
383 |
& siobNstartdate1, siobNstartdate2, |
384 |
& siobSstartdate1, siobSstartdate2, |
385 |
& siobEstartdate1, siobEstartdate2, |
386 |
& siobWstartdate1, siobWstartdate2, |
387 |
& apressurestartdate1,apressurestartdate2, |
388 |
& areamaskstartdate1,areamaskstartdate2 |
389 |
|
390 |
common /exf_param_r/ |
391 |
& year2sec, windstressmax, |
392 |
& repeatPeriod, exf_monFreq, |
393 |
& exf_scal_BulkCdn, |
394 |
& hfluxperiod, hfluxstartdate, |
395 |
& atempperiod, atempstartdate, |
396 |
& aqhperiod, aqhstartdate, |
397 |
& sfluxperiod, sfluxstartdate, |
398 |
& evapperiod, evapstartdate, |
399 |
& precipperiod, precipstartdate, |
400 |
& snowprecipperiod, snowprecipstartdate, |
401 |
& runoffperiod, runoffstartdate, |
402 |
& ustressperiod, ustressstartdate, |
403 |
& vstressperiod, vstressstartdate, |
404 |
& uwindperiod, uwindstartdate, |
405 |
& vwindperiod, vwindstartdate, |
406 |
& wspeedperiod, wspeedstartdate, |
407 |
& swfluxperiod, swfluxstartdate, |
408 |
& lwfluxperiod, lwfluxstartdate, |
409 |
& swdownperiod, swdownstartdate, |
410 |
& lwdownperiod, lwdownstartdate, |
411 |
& obcsNperiod, obcsNstartdate, |
412 |
& obcsSperiod, obcsSstartdate, |
413 |
& obcsEperiod, obcsEstartdate, |
414 |
& obcsWperiod, obcsWstartdate, |
415 |
& siobNperiod, siobNstartdate, |
416 |
& siobSperiod, siobSstartdate, |
417 |
& siobEperiod, siobEstartdate, |
418 |
& siobWperiod, siobWstartdate, |
419 |
& apressureperiod, apressurestartdate, |
420 |
& areamaskperiod, areamaskstartdate, |
421 |
& hfluxconst, |
422 |
& atempconst, |
423 |
& aqhconst, |
424 |
& sfluxconst, |
425 |
& evapconst, |
426 |
& precipconst, |
427 |
& snowprecipconst, |
428 |
& runoffconst, |
429 |
& ustressconst, |
430 |
& vstressconst, |
431 |
& uwindconst, |
432 |
& vwindconst, |
433 |
& wspeedconst, |
434 |
& swfluxconst, |
435 |
& lwfluxconst, |
436 |
& swdownconst, |
437 |
& lwdownconst, |
438 |
& apressureconst, |
439 |
& areamaskTauRelax, |
440 |
& areamaskconst |
441 |
|
442 |
common /exf_param_trend_removal/ |
443 |
& hflux_exfremo_intercept, |
444 |
& atemp_exfremo_intercept, |
445 |
& aqh_exfremo_intercept, |
446 |
& sflux_exfremo_intercept, |
447 |
& evap_exfremo_intercept, |
448 |
& precip_exfremo_intercept, |
449 |
& snowprecip_exfremo_intercept, |
450 |
& runoff_exfremo_intercept, |
451 |
& ustress_exfremo_intercept, |
452 |
& vstress_exfremo_intercept, |
453 |
& uwind_exfremo_intercept, |
454 |
& vwind_exfremo_intercept, |
455 |
& wspeed_exfremo_intercept, |
456 |
& swflux_exfremo_intercept, |
457 |
& lwflux_exfremo_intercept, |
458 |
& swdown_exfremo_intercept, |
459 |
& lwdown_exfremo_intercept, |
460 |
& apressure_exfremo_intercept, |
461 |
& areamask_exfremo_intercept, |
462 |
& hflux_exfremo_slope, |
463 |
& atemp_exfremo_slope, |
464 |
& aqh_exfremo_slope, |
465 |
& sflux_exfremo_slope, |
466 |
& evap_exfremo_slope, |
467 |
& precip_exfremo_slope, |
468 |
& snowprecip_exfremo_slope, |
469 |
& runoff_exfremo_slope, |
470 |
& ustress_exfremo_slope, |
471 |
& vstress_exfremo_slope, |
472 |
& uwind_exfremo_slope, |
473 |
& vwind_exfremo_slope, |
474 |
& wspeed_exfremo_slope, |
475 |
& swflux_exfremo_slope, |
476 |
& lwflux_exfremo_slope, |
477 |
& swdown_exfremo_slope, |
478 |
& lwdown_exfremo_slope, |
479 |
& apressure_exfremo_slope, |
480 |
& areamask_exfremo_slope |
481 |
|
482 |
common /exf_param_c/ |
483 |
& hfluxfile, |
484 |
& atempfile, |
485 |
& aqhfile, |
486 |
& sfluxfile, |
487 |
& evapfile, |
488 |
& precipfile, |
489 |
& snowprecipfile, |
490 |
& runofffile, |
491 |
& ustressfile, |
492 |
& vstressfile, |
493 |
& uwindfile, |
494 |
& vwindfile, |
495 |
& wspeedfile, |
496 |
& swfluxfile, |
497 |
& lwfluxfile, |
498 |
& swdownfile, |
499 |
& lwdownfile, |
500 |
& apressurefile, |
501 |
& areamaskfile |
502 |
|
503 |
common /exf_clim_i/ |
504 |
& climsststartdate1, climsststartdate2, |
505 |
& climsssstartdate1, climsssstartdate2 |
506 |
|
507 |
common /exf_clim_c/ |
508 |
& climsstfile, |
509 |
& climsssfile |
510 |
|
511 |
common /exf_clim_r/ |
512 |
& climtempfreeze, |
513 |
& climsstperiod, climsststartdate, |
514 |
& climsssperiod, climsssstartdate, |
515 |
& climsstTauRelax, climsssTauRelax, |
516 |
& climsstconst, climsssconst, |
517 |
& climsst_exfremo_intercept, climsst_exfremo_slope, |
518 |
& climsss_exfremo_intercept, climsss_exfremo_slope, |
519 |
& exf_inscal_climsst, exf_inscal_climsss |
520 |
|
521 |
c file precision and field type |
522 |
|
523 |
common /exf_param_type/ |
524 |
& exf_iprec, |
525 |
& exf_iprec_obcs, |
526 |
& exf_yftype |
527 |
|
528 |
integer exf_iprec |
529 |
integer exf_iprec_obcs |
530 |
character*(2) exf_yftype |
531 |
|
532 |
c exf_inscal_* input scaling factors |
533 |
c exf_offset_atemp input air temperature offset |
534 |
c (for conversion from C to K, if needed) |
535 |
c exf_outscale_* output scaling factors |
536 |
|
537 |
_RL exf_inscal_hflux |
538 |
_RL exf_inscal_sflux |
539 |
_RL exf_inscal_ustress |
540 |
_RL exf_inscal_vstress |
541 |
_RL exf_inscal_uwind |
542 |
_RL exf_inscal_vwind |
543 |
_RL exf_inscal_wspeed |
544 |
_RL exf_inscal_swflux |
545 |
_RL exf_inscal_lwflux |
546 |
_RL exf_inscal_precip |
547 |
_RL exf_inscal_snowprecip |
548 |
_RL exf_inscal_sst |
549 |
_RL exf_inscal_sss |
550 |
_RL exf_inscal_atemp |
551 |
_RL exf_offset_atemp |
552 |
_RL exf_inscal_aqh |
553 |
_RL exf_inscal_evap |
554 |
_RL exf_inscal_apressure |
555 |
_RL exf_inscal_runoff |
556 |
_RL exf_inscal_swdown |
557 |
_RL exf_inscal_lwdown |
558 |
_RL exf_inscal_climsst |
559 |
_RL exf_inscal_climsss |
560 |
|
561 |
_RL exf_outscal_hflux |
562 |
_RL exf_outscal_sflux |
563 |
_RL exf_outscal_ustress |
564 |
_RL exf_outscal_vstress |
565 |
_RL exf_outscal_swflux |
566 |
_RL exf_outscal_sst |
567 |
_RL exf_outscal_sss |
568 |
_RL exf_outscal_apressure |
569 |
|
570 |
common /exf_param_scal/ |
571 |
& exf_inscal_hflux |
572 |
& , exf_inscal_sflux |
573 |
& , exf_inscal_ustress |
574 |
& , exf_inscal_vstress |
575 |
& , exf_inscal_uwind |
576 |
& , exf_inscal_vwind |
577 |
& , exf_inscal_wspeed |
578 |
& , exf_inscal_swflux |
579 |
& , exf_inscal_lwflux |
580 |
& , exf_inscal_precip |
581 |
& , exf_inscal_snowprecip |
582 |
& , exf_inscal_sst |
583 |
& , exf_inscal_sss |
584 |
& , exf_inscal_atemp |
585 |
& , exf_offset_atemp |
586 |
& , exf_inscal_aqh |
587 |
& , exf_inscal_evap |
588 |
& , exf_inscal_apressure |
589 |
& , exf_inscal_runoff |
590 |
& , exf_inscal_swdown |
591 |
& , exf_inscal_lwdown |
592 |
& , exf_outscal_hflux |
593 |
& , exf_outscal_sflux |
594 |
& , exf_outscal_ustress |
595 |
& , exf_outscal_vstress |
596 |
& , exf_outscal_swflux |
597 |
& , exf_outscal_sst |
598 |
& , exf_outscal_sss |
599 |
& , exf_outscal_apressure |
600 |
|
601 |
#ifndef USE_EXF_INTERPOLATION |
602 |
c-- set dummy dimension 1 |
603 |
INTEGER exf_interp_bufferSize |
604 |
PARAMETER( exf_interp_bufferSize = 1 ) |
605 |
integer MAX_LAT_INC |
606 |
parameter(MAX_LAT_INC = 1) |
607 |
#else |
608 |
C To read input data without dynamical allocation (EXF_INTERP_USE_DYNALLOC undef), |
609 |
C buffer size currently set to 65000 (allows to read-in a 1x1 global data set) |
610 |
C Increase to 140000 to accommodate for ECMWF-INTERIM |
611 |
INTEGER exf_interp_bufferSize |
612 |
PARAMETER( exf_interp_bufferSize = 140000 ) |
613 |
c for lat interpolation, arraysize currently set to 2176 max data values |
614 |
integer MAX_LAT_INC |
615 |
parameter(MAX_LAT_INC = 2176) |
616 |
_RL ustress_lon0, ustress_lon_inc |
617 |
_RL ustress_lat0, ustress_lat_inc(MAX_LAT_INC) |
618 |
INTEGER ustress_nlon, ustress_nlat |
619 |
_RL vstress_lon0, vstress_lon_inc |
620 |
_RL vstress_lat0, vstress_lat_inc(MAX_LAT_INC) |
621 |
INTEGER vstress_nlon, vstress_nlat |
622 |
_RL hflux_lon0, hflux_lon_inc |
623 |
_RL hflux_lat0, hflux_lat_inc(MAX_LAT_INC) |
624 |
INTEGER hflux_nlon, hflux_nlat |
625 |
_RL sflux_lon0, sflux_lon_inc |
626 |
_RL sflux_lat0, sflux_lat_inc(MAX_LAT_INC) |
627 |
INTEGER sflux_nlon, sflux_nlat |
628 |
_RL swflux_lon0, swflux_lon_inc |
629 |
_RL swflux_lat0, swflux_lat_inc(MAX_LAT_INC) |
630 |
INTEGER swflux_nlon, swflux_nlat |
631 |
_RL runoff_lon0, runoff_lon_inc |
632 |
_RL runoff_lat0, runoff_lat_inc(MAX_LAT_INC) |
633 |
INTEGER runoff_nlon, runoff_nlat |
634 |
_RL atemp_lon0, atemp_lon_inc |
635 |
_RL atemp_lat0, atemp_lat_inc(MAX_LAT_INC) |
636 |
INTEGER atemp_nlon, atemp_nlat |
637 |
_RL aqh_lon0, aqh_lon_inc |
638 |
_RL aqh_lat0, aqh_lat_inc(MAX_LAT_INC) |
639 |
INTEGER aqh_nlon, aqh_nlat |
640 |
_RL evap_lon0, evap_lon_inc |
641 |
_RL evap_lat0, evap_lat_inc(MAX_LAT_INC) |
642 |
INTEGER evap_nlon, evap_nlat |
643 |
_RL precip_lon0, precip_lon_inc |
644 |
_RL precip_lat0, precip_lat_inc(MAX_LAT_INC) |
645 |
INTEGER precip_nlon, precip_nlat |
646 |
_RL snowprecip_lon0, snowprecip_lon_inc |
647 |
_RL snowprecip_lat0, snowprecip_lat_inc(MAX_LAT_INC) |
648 |
INTEGER snowprecip_nlon, snowprecip_nlat |
649 |
_RL uwind_lon0, uwind_lon_inc |
650 |
_RL uwind_lat0, uwind_lat_inc(MAX_LAT_INC) |
651 |
INTEGER uwind_nlon, uwind_nlat |
652 |
_RL vwind_lon0, vwind_lon_inc |
653 |
_RL vwind_lat0, vwind_lat_inc(MAX_LAT_INC) |
654 |
INTEGER vwind_nlon, vwind_nlat |
655 |
_RL wspeed_lon0, wspeed_lon_inc |
656 |
_RL wspeed_lat0, wspeed_lat_inc(MAX_LAT_INC) |
657 |
INTEGER wspeed_nlon, wspeed_nlat |
658 |
_RL lwflux_lon0, lwflux_lon_inc |
659 |
_RL lwflux_lat0, lwflux_lat_inc(MAX_LAT_INC) |
660 |
INTEGER lwflux_nlon, lwflux_nlat |
661 |
_RL swdown_lon0, swdown_lon_inc |
662 |
_RL swdown_lat0, swdown_lat_inc(MAX_LAT_INC) |
663 |
INTEGER swdown_nlon, swdown_nlat |
664 |
_RL lwdown_lon0, lwdown_lon_inc |
665 |
_RL lwdown_lat0, lwdown_lat_inc(MAX_LAT_INC) |
666 |
INTEGER lwdown_nlon, lwdown_nlat |
667 |
_RL apressure_lon0,apressure_lon_inc |
668 |
_RL apressure_lat0,apressure_lat_inc(MAX_LAT_INC) |
669 |
INTEGER apressure_nlon,apressure_nlat |
670 |
_RL areamask_lon0,areamask_lon_inc |
671 |
_RL areamask_lat0,areamask_lat_inc(MAX_LAT_INC) |
672 |
INTEGER areamask_nlon,areamask_nlat |
673 |
|
674 |
common /exf_interpolation/ |
675 |
& ustress_lon0, ustress_lon_inc, |
676 |
& ustress_lat0, ustress_lat_inc, |
677 |
& ustress_nlon, ustress_nlat, |
678 |
& vstress_lon0, vstress_lon_inc, |
679 |
& vstress_lat0, vstress_lat_inc, |
680 |
& vstress_nlon, vstress_nlat, |
681 |
& hflux_lon0, hflux_lon_inc, |
682 |
& hflux_lat0, hflux_lat_inc, |
683 |
& hflux_nlon, hflux_nlat, |
684 |
& sflux_lon0, sflux_lon_inc, |
685 |
& sflux_lat0, sflux_lat_inc, |
686 |
& sflux_nlon, sflux_nlat, |
687 |
& swflux_lon0, swflux_lon_inc, |
688 |
& swflux_lat0, swflux_lat_inc, |
689 |
& swflux_nlon, swflux_nlat, |
690 |
& runoff_lon0, runoff_lon_inc, |
691 |
& runoff_lat0, runoff_lat_inc, |
692 |
& runoff_nlon, runoff_nlat, |
693 |
& atemp_lon0, atemp_lon_inc, |
694 |
& atemp_lat0, atemp_lat_inc, |
695 |
& atemp_nlon, atemp_nlat, |
696 |
& aqh_lon0, aqh_lon_inc, |
697 |
& aqh_lat0, aqh_lat_inc, |
698 |
& aqh_nlon, aqh_nlat, |
699 |
& evap_lon0, evap_lon_inc, |
700 |
& evap_lat0, evap_lat_inc, |
701 |
& evap_nlon, evap_nlat, |
702 |
& precip_lon0, precip_lon_inc, |
703 |
& precip_lat0, precip_lat_inc, |
704 |
& precip_nlon, precip_nlat, |
705 |
& snowprecip_lon0, snowprecip_lon_inc, |
706 |
& snowprecip_lat0, snowprecip_lat_inc, |
707 |
& snowprecip_nlon, snowprecip_nlat, |
708 |
& uwind_lon0, uwind_lon_inc, |
709 |
& uwind_lat0, uwind_lat_inc, |
710 |
& uwind_nlon, uwind_nlat, |
711 |
& vwind_lon0, vwind_lon_inc, |
712 |
& vwind_lat0, vwind_lat_inc, |
713 |
& vwind_nlon, vwind_nlat, |
714 |
& wspeed_lon0, wspeed_lon_inc, |
715 |
& wspeed_lat0, wspeed_lat_inc, |
716 |
& wspeed_nlon, wspeed_nlat, |
717 |
& lwflux_lon0, lwflux_lon_inc, |
718 |
& lwflux_lat0, lwflux_lat_inc, |
719 |
& lwflux_nlon, lwflux_nlat, |
720 |
& swdown_lon0, swdown_lon_inc, |
721 |
& swdown_lat0, swdown_lat_inc, |
722 |
& swdown_nlon, swdown_nlat, |
723 |
& lwdown_lon0, lwdown_lon_inc, |
724 |
& lwdown_lat0, lwdown_lat_inc, |
725 |
& lwdown_nlon, lwdown_nlat, |
726 |
& apressure_lon0,apressure_lon_inc, |
727 |
& apressure_lat0,apressure_lat_inc, |
728 |
& apressure_nlon,apressure_nlat, |
729 |
& areamask_lon0,areamask_lon_inc, |
730 |
& areamask_lat0,areamask_lat_inc, |
731 |
& areamask_nlon,areamask_nlat |
732 |
|
733 |
_RL climsst_lon0, climsst_lon_inc |
734 |
_RL climsst_lat0, climsst_lat_inc(MAX_LAT_INC) |
735 |
INTEGER climsst_nlon, climsst_nlat |
736 |
_RL climsss_lon0, climsss_lon_inc |
737 |
_RL climsss_lat0, climsss_lat_inc(MAX_LAT_INC) |
738 |
INTEGER climsss_nlon, climsss_nlat |
739 |
common /exf_clim_interpolation/ |
740 |
& climsst_lon0, climsst_lon_inc, |
741 |
& climsst_lat0, climsst_lat_inc, |
742 |
& climsst_nlon, climsst_nlat, |
743 |
& climsss_lon0, climsss_lon_inc, |
744 |
& climsss_lat0, climsss_lat_inc, |
745 |
& climsss_nlon, climsss_nlat |
746 |
|
747 |
#endif |