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