1 |
c $Header: /usr/local/gcmpack/MITgcm/pkg/exf/exf_summary.F,v 1.6 2003/10/09 04:19:19 edhill Exp $ |
2 |
|
3 |
#include "EXF_OPTIONS.h" |
4 |
|
5 |
|
6 |
subroutine exf_Summary( |
7 |
I mythid |
8 |
& ) |
9 |
|
10 |
c ================================================================== |
11 |
c SUBROUTINE exf_Summary |
12 |
c ================================================================== |
13 |
c |
14 |
c o List all the settings of the external forcing. |
15 |
c |
16 |
c started: Christian Eckert eckert@mit.edu 11-Jan-1999 |
17 |
c |
18 |
c changed: Christian Eckert eckert@mit.edu 12-Feb-2000 |
19 |
c - changed routine names (package prefix: exf_) |
20 |
c |
21 |
c changed: Patrick Heimbach heimbach@mit.edu 04-May-2000 |
22 |
c - changed the handling of precip and sflux with respect |
23 |
c to CPP options ALLOW_BULKFORMULAE and ALLOW_ATM_TEMP |
24 |
c |
25 |
c changed: Dimitris Menemenlis menemenlis@jpl.nasa.gov 20-Dec-2002 |
26 |
c - modifications for using pkg/exf with pkg/seaice |
27 |
c |
28 |
c ================================================================== |
29 |
c SUBROUTINE exf_Summary |
30 |
c ================================================================== |
31 |
|
32 |
implicit none |
33 |
|
34 |
c == global variables == |
35 |
|
36 |
#include "EEPARAMS.h" |
37 |
#include "SIZE.h" |
38 |
#include "cal.h" |
39 |
#include "exf.h" |
40 |
#include "exf_param.h" |
41 |
|
42 |
c == routine arguments == |
43 |
|
44 |
c mythid - thread number for this instance of the routine. |
45 |
|
46 |
integer mythid |
47 |
|
48 |
c == local variables == |
49 |
|
50 |
integer il |
51 |
|
52 |
character*(max_len_mbuf) msgbuf |
53 |
|
54 |
c == external == |
55 |
|
56 |
integer ilnblnk |
57 |
external ilnblnk |
58 |
|
59 |
c == end of interface == |
60 |
|
61 |
write(msgbuf,'(a)') |
62 |
&' ' |
63 |
call print_message( msgbuf, standardmessageunit, |
64 |
& SQUEEZE_RIGHT , mythid) |
65 |
write(msgbuf,'(a)') |
66 |
&'// =======================================================' |
67 |
call print_message( msgbuf, standardmessageunit, |
68 |
& SQUEEZE_RIGHT , mythid) |
69 |
write(msgbuf,'(a)') |
70 |
&'// External forcing configuration >>> START <<<' |
71 |
call print_message( msgbuf, standardmessageunit, |
72 |
& SQUEEZE_RIGHT , mythid) |
73 |
write(msgbuf,'(a)') |
74 |
&'// =======================================================' |
75 |
call print_message( msgbuf, standardmessageunit, |
76 |
& SQUEEZE_RIGHT , mythid) |
77 |
write(msgbuf,'(a)') |
78 |
&' ' |
79 |
call print_message( msgbuf, standardmessageunit, |
80 |
& SQUEEZE_RIGHT , mythid) |
81 |
write(msgbuf,'(a,a)') |
82 |
&'External forcing version: ',externalforcingversion |
83 |
call print_message( msgbuf, standardmessageunit, |
84 |
& SQUEEZE_RIGHT , mythid) |
85 |
write(msgbuf,'(a,a)') |
86 |
&'Uses Calendar version: ',usescalendarversion |
87 |
call print_message( msgbuf, standardmessageunit, |
88 |
& SQUEEZE_RIGHT , mythid) |
89 |
write(msgbuf,'(a)') |
90 |
&' ' |
91 |
call print_message( msgbuf, standardmessageunit, |
92 |
& SQUEEZE_RIGHT , mythid) |
93 |
|
94 |
c-- Print settings of some CPP flags. |
95 |
|
96 |
#ifdef ALLOW_ATM_TEMP |
97 |
write(msgbuf,'(a)') |
98 |
&'// ALLOW_ATM_TEMP: defined' |
99 |
call print_message( msgbuf, standardmessageunit, |
100 |
& SQUEEZE_RIGHT , mythid) |
101 |
#else |
102 |
write(msgbuf,'(a)') |
103 |
&'// ALLOW_ATM_TEMP: NOT defined' |
104 |
call print_message( msgbuf, standardmessageunit, |
105 |
& SQUEEZE_RIGHT , mythid) |
106 |
#endif |
107 |
|
108 |
#ifdef ALLOW_ATM_WIND |
109 |
write(msgbuf,'(a)') |
110 |
&'// ALLOW_ATM_WIND: defined' |
111 |
call print_message( msgbuf, standardmessageunit, |
112 |
& SQUEEZE_RIGHT , mythid) |
113 |
#else |
114 |
write(msgbuf,'(a)') |
115 |
&'// ALLOW_ATM_WIND: NOT defined' |
116 |
call print_message( msgbuf, standardmessageunit, |
117 |
& SQUEEZE_RIGHT , mythid) |
118 |
#endif |
119 |
|
120 |
#ifdef ALLOW_DOWNWARD_RADIATION |
121 |
write(msgbuf,'(a)') |
122 |
&'// ALLOW_DOWNWARD_RADIATION: defined' |
123 |
call print_message( msgbuf, standardmessageunit, |
124 |
& SQUEEZE_RIGHT , mythid) |
125 |
#else |
126 |
write(msgbuf,'(a)') |
127 |
&'// ALLOW_DOWNWARD_RADIATION: NOT defined' |
128 |
call print_message( msgbuf, standardmessageunit, |
129 |
& SQUEEZE_RIGHT , mythid) |
130 |
#endif |
131 |
|
132 |
#ifdef ALLOW_BULKFORMULAE |
133 |
write(msgbuf,'(a)') |
134 |
&'// ALLOW_BULKFORMULAE: defined' |
135 |
call print_message( msgbuf, standardmessageunit, |
136 |
& SQUEEZE_RIGHT , mythid) |
137 |
#else |
138 |
write(msgbuf,'(a)') |
139 |
&'// ALLOW_BULKFORMULAE: NOT defined' |
140 |
call print_message( msgbuf, standardmessageunit, |
141 |
& SQUEEZE_RIGHT , mythid) |
142 |
#endif |
143 |
|
144 |
c-- For each data set used the summary prints the calendar data |
145 |
c and the corresponding file from which the data will be read. |
146 |
|
147 |
#ifndef ALLOW_ATM_WIND |
148 |
c-- Zonal wind stress. |
149 |
il = ilnblnk(ustressfile) |
150 |
write(msgbuf,'(a)') |
151 |
&' ' |
152 |
call print_message( msgbuf, standardmessageunit, |
153 |
& SQUEEZE_RIGHT , mythid) |
154 |
write(msgbuf,'(a,f12.0)') |
155 |
&' Zonal wind stress forcing starts at ', |
156 |
& ustressstartdate |
157 |
call print_message( msgbuf, standardmessageunit, |
158 |
& SQUEEZE_RIGHT , mythid) |
159 |
write(msgbuf,'(a,f12.0)') |
160 |
&' Zonal wind stress forcing period is ', |
161 |
& ustressperiod |
162 |
call print_message( msgbuf, standardmessageunit, |
163 |
& SQUEEZE_RIGHT , mythid) |
164 |
write(msgbuf,'(a)') |
165 |
&' Zonal wind stress forcing is read from file:' |
166 |
call print_message( msgbuf, standardmessageunit, |
167 |
& SQUEEZE_RIGHT , mythid) |
168 |
write(msgbuf,'(a,a,a)') |
169 |
&' >> ',ustressfile(1:il),' <<' |
170 |
call print_message( msgbuf, standardmessageunit, |
171 |
& SQUEEZE_RIGHT , mythid) |
172 |
|
173 |
c-- Meridional wind stress. |
174 |
il = ilnblnk(vstressfile) |
175 |
write(msgbuf,'(a)') |
176 |
&' ' |
177 |
call print_message( msgbuf, standardmessageunit, |
178 |
& SQUEEZE_RIGHT , mythid) |
179 |
write(msgbuf,'(a,f12.0)') |
180 |
&' Meridional wind stress forcing starts at ', |
181 |
& vstressstartdate |
182 |
call print_message( msgbuf, standardmessageunit, |
183 |
& SQUEEZE_RIGHT , mythid) |
184 |
write(msgbuf,'(a,f12.0)') |
185 |
&' Meridional wind stress forcing period is ', |
186 |
& vstressperiod |
187 |
call print_message( msgbuf, standardmessageunit, |
188 |
& SQUEEZE_RIGHT , mythid) |
189 |
write(msgbuf,'(a)') |
190 |
&' Meridional wind stress forcing is read from file:' |
191 |
call print_message( msgbuf, standardmessageunit, |
192 |
& SQUEEZE_RIGHT , mythid) |
193 |
write(msgbuf,'(a,a,a)') |
194 |
&' >> ',vstressfile(1:il),' <<' |
195 |
call print_message( msgbuf, standardmessageunit, |
196 |
& SQUEEZE_RIGHT , mythid) |
197 |
#endif |
198 |
|
199 |
#ifndef ALLOW_ATM_TEMP |
200 |
c-- Heat flux. |
201 |
il = ilnblnk(hfluxfile) |
202 |
write(msgbuf,'(a)') |
203 |
&' ' |
204 |
call print_message( msgbuf, standardmessageunit, |
205 |
& SQUEEZE_RIGHT , mythid) |
206 |
write(msgbuf,'(a,f12.0)') |
207 |
&' Heat flux forcing starts at ', |
208 |
& hfluxstartdate |
209 |
call print_message( msgbuf, standardmessageunit, |
210 |
& SQUEEZE_RIGHT , mythid) |
211 |
write(msgbuf,'(a,f12.0)') |
212 |
&' Heat flux forcing period is ', |
213 |
& hfluxperiod |
214 |
call print_message( msgbuf, standardmessageunit, |
215 |
& SQUEEZE_RIGHT , mythid) |
216 |
write(msgbuf,'(a)') |
217 |
&' Heat flux forcing is read from file: ' |
218 |
call print_message( msgbuf, standardmessageunit, |
219 |
& SQUEEZE_RIGHT , mythid) |
220 |
write(msgbuf,'(a,a,a)') |
221 |
&' >> ',hfluxfile(1:il),' <<' |
222 |
call print_message( msgbuf, standardmessageunit, |
223 |
& SQUEEZE_RIGHT , mythid) |
224 |
|
225 |
c-- Salt flux. |
226 |
il = ilnblnk(sfluxfile) |
227 |
write(msgbuf,'(a)') |
228 |
&' ' |
229 |
call print_message( msgbuf, standardmessageunit, |
230 |
& SQUEEZE_RIGHT , mythid) |
231 |
write(msgbuf,'(a,f12.0)') |
232 |
&' Salt flux forcing starts at ', |
233 |
& sfluxstartdate |
234 |
call print_message( msgbuf, standardmessageunit, |
235 |
& SQUEEZE_RIGHT , mythid) |
236 |
write(msgbuf,'(a,f12.0)') |
237 |
&' Salt flux forcing period is ', |
238 |
& sfluxperiod |
239 |
call print_message( msgbuf, standardmessageunit, |
240 |
& SQUEEZE_RIGHT , mythid) |
241 |
write(msgbuf,'(a)') |
242 |
&' Salt flux forcing is read from file: ' |
243 |
call print_message( msgbuf, standardmessageunit, |
244 |
& SQUEEZE_RIGHT , mythid) |
245 |
write(msgbuf,'(a,a,a)') |
246 |
&' >> ',sfluxfile(1:il),' <<' |
247 |
call print_message( msgbuf, standardmessageunit, |
248 |
& SQUEEZE_RIGHT , mythid) |
249 |
#endif |
250 |
|
251 |
#if defined(ALLOW_ATM_TEMP) || defined(SHORTWAVE_HEATING) |
252 |
c-- Net shortwave. |
253 |
il = ilnblnk(swfluxfile) |
254 |
write(msgbuf,'(a)') |
255 |
&' ' |
256 |
call print_message( msgbuf, standardmessageunit, |
257 |
& SQUEEZE_RIGHT , mythid) |
258 |
write(msgbuf,'(a,f12.0)') |
259 |
&' Net shortwave flux forcing starts at ', |
260 |
& swfluxstartdate |
261 |
call print_message( msgbuf, standardmessageunit, |
262 |
& SQUEEZE_RIGHT , mythid) |
263 |
write(msgbuf,'(a,f12.0)') |
264 |
&' Net shortwave flux forcing period is ', |
265 |
& swfluxperiod |
266 |
call print_message( msgbuf, standardmessageunit, |
267 |
& SQUEEZE_RIGHT , mythid) |
268 |
write(msgbuf,'(a)') |
269 |
&' Net shortwave flux forcing is read from file:' |
270 |
call print_message( msgbuf, standardmessageunit, |
271 |
& SQUEEZE_RIGHT , mythid) |
272 |
write(msgbuf,'(a,a,a)') |
273 |
&' >> ',swfluxfile(1:il),' <<' |
274 |
call print_message( msgbuf, standardmessageunit, |
275 |
& SQUEEZE_RIGHT , mythid) |
276 |
#endif |
277 |
|
278 |
#ifdef ALLOW_ATM_WIND |
279 |
c-- Zonal wind. |
280 |
il = ilnblnk(uwindfile) |
281 |
write(msgbuf,'(a)') |
282 |
&' ' |
283 |
call print_message( msgbuf, standardmessageunit, |
284 |
& SQUEEZE_RIGHT , mythid) |
285 |
write(msgbuf,'(a,f12.0)') |
286 |
&' Zonal wind forcing starts at ', |
287 |
& uwindstartdate |
288 |
call print_message( msgbuf, standardmessageunit, |
289 |
& SQUEEZE_RIGHT , mythid) |
290 |
write(msgbuf,'(a,f12.0)') |
291 |
&' Zonal wind forcing period is ', |
292 |
& uwindperiod |
293 |
call print_message( msgbuf, standardmessageunit, |
294 |
& SQUEEZE_RIGHT , mythid) |
295 |
write(msgbuf,'(a)') |
296 |
&' Zonal wind forcing is read from file:' |
297 |
call print_message( msgbuf, standardmessageunit, |
298 |
& SQUEEZE_RIGHT , mythid) |
299 |
write(msgbuf,'(a,a,a)') |
300 |
&' >> ',uwindfile(1:il),' <<' |
301 |
call print_message( msgbuf, standardmessageunit, |
302 |
& SQUEEZE_RIGHT , mythid) |
303 |
|
304 |
c-- Meridional wind. |
305 |
il = ilnblnk(vwindfile) |
306 |
write(msgbuf,'(a)') |
307 |
&' ' |
308 |
call print_message( msgbuf, standardmessageunit, |
309 |
& SQUEEZE_RIGHT , mythid) |
310 |
write(msgbuf,'(a,f12.0)') |
311 |
&' Meridional wind forcing starts at ', |
312 |
& vwindstartdate |
313 |
call print_message( msgbuf, standardmessageunit, |
314 |
& SQUEEZE_RIGHT , mythid) |
315 |
write(msgbuf,'(a,f12.0)') |
316 |
&' Meridional wind forcing period is ', |
317 |
& vwindperiod |
318 |
call print_message( msgbuf, standardmessageunit, |
319 |
& SQUEEZE_RIGHT , mythid) |
320 |
write(msgbuf,'(a)') |
321 |
&' Meridional wind forcing is read from file:' |
322 |
call print_message( msgbuf, standardmessageunit, |
323 |
& SQUEEZE_RIGHT , mythid) |
324 |
write(msgbuf,'(a,a,a)') |
325 |
&' >> ',vwindfile(1:il),' <<' |
326 |
call print_message( msgbuf, standardmessageunit, |
327 |
& SQUEEZE_RIGHT , mythid) |
328 |
#endif |
329 |
|
330 |
#ifdef ALLOW_ATM_TEMP |
331 |
c-- Atmospheric temperature. |
332 |
il = ilnblnk(atempfile) |
333 |
write(msgbuf,'(a)') |
334 |
&' ' |
335 |
call print_message( msgbuf, standardmessageunit, |
336 |
& SQUEEZE_RIGHT , mythid) |
337 |
write(msgbuf,'(a,f12.0)') |
338 |
&' Atmospheric temperature starts at ', |
339 |
& atempstartdate |
340 |
call print_message( msgbuf, standardmessageunit, |
341 |
& SQUEEZE_RIGHT , mythid) |
342 |
write(msgbuf,'(a,f12.0)') |
343 |
&' Atmospheric temperature period is ', |
344 |
& atempperiod |
345 |
call print_message( msgbuf, standardmessageunit, |
346 |
& SQUEEZE_RIGHT , mythid) |
347 |
write(msgbuf,'(a)') |
348 |
&' Atmospheric temperature is read from file:' |
349 |
call print_message( msgbuf, standardmessageunit, |
350 |
& SQUEEZE_RIGHT , mythid) |
351 |
write(msgbuf,'(a,a,a)') |
352 |
&' >> ',atempfile(1:il),' <<' |
353 |
call print_message( msgbuf, standardmessageunit, |
354 |
& SQUEEZE_RIGHT , mythid) |
355 |
|
356 |
c-- Atmospheric specific humidity. |
357 |
il = ilnblnk(aqhfile) |
358 |
write(msgbuf,'(a)') |
359 |
&' ' |
360 |
call print_message( msgbuf, standardmessageunit, |
361 |
& SQUEEZE_RIGHT , mythid) |
362 |
write(msgbuf,'(a,f12.0)') |
363 |
&' Atmospheric specific humidity starts at ', |
364 |
& aqhstartdate |
365 |
call print_message( msgbuf, standardmessageunit, |
366 |
& SQUEEZE_RIGHT , mythid) |
367 |
write(msgbuf,'(a,f12.0)') |
368 |
&' Atmospheric specific humidity period is ', |
369 |
& aqhperiod |
370 |
call print_message( msgbuf, standardmessageunit, |
371 |
& SQUEEZE_RIGHT , mythid) |
372 |
write(msgbuf,'(a)') |
373 |
&' Atmospheric specific humidity is read from file:' |
374 |
call print_message( msgbuf, standardmessageunit, |
375 |
& SQUEEZE_RIGHT , mythid) |
376 |
write(msgbuf,'(a,a,a)') |
377 |
&' >> ',aqhfile(1:il),' <<' |
378 |
call print_message( msgbuf, standardmessageunit, |
379 |
& SQUEEZE_RIGHT , mythid) |
380 |
|
381 |
c-- Net longwave. |
382 |
il = ilnblnk(lwfluxfile) |
383 |
write(msgbuf,'(a)') |
384 |
&' ' |
385 |
call print_message( msgbuf, standardmessageunit, |
386 |
& SQUEEZE_RIGHT , mythid) |
387 |
write(msgbuf,'(a,f12.0)') |
388 |
&' Net longwave flux forcing starts at ', |
389 |
& lwfluxstartdate |
390 |
call print_message( msgbuf, standardmessageunit, |
391 |
& SQUEEZE_RIGHT , mythid) |
392 |
write(msgbuf,'(a,f12.0)') |
393 |
&' Net longwave flux forcing period is ', |
394 |
& lwfluxperiod |
395 |
call print_message( msgbuf, standardmessageunit, |
396 |
& SQUEEZE_RIGHT , mythid) |
397 |
write(msgbuf,'(a)') |
398 |
&' Net longwave flux forcing is read from file:' |
399 |
call print_message( msgbuf, standardmessageunit, |
400 |
& SQUEEZE_RIGHT , mythid) |
401 |
write(msgbuf,'(a,a,a)') |
402 |
&' >> ',lwfluxfile(1:il),' <<' |
403 |
call print_message( msgbuf, standardmessageunit, |
404 |
& SQUEEZE_RIGHT , mythid) |
405 |
|
406 |
c-- Precipitation. |
407 |
il = ilnblnk(precipfile) |
408 |
write(msgbuf,'(a)') |
409 |
&' ' |
410 |
call print_message( msgbuf, standardmessageunit, |
411 |
& SQUEEZE_RIGHT , mythid) |
412 |
write(msgbuf,'(a,f12.0)') |
413 |
&' Precipitation data set starts at ', |
414 |
& precipstartdate |
415 |
call print_message( msgbuf, standardmessageunit, |
416 |
& SQUEEZE_RIGHT , mythid) |
417 |
write(msgbuf,'(a,f12.0)') |
418 |
&' Precipitation data period is ', |
419 |
& precipperiod |
420 |
call print_message( msgbuf, standardmessageunit, |
421 |
& SQUEEZE_RIGHT , mythid) |
422 |
write(msgbuf,'(a)') |
423 |
&' Precipitation data is read from file: ' |
424 |
call print_message( msgbuf, standardmessageunit, |
425 |
& SQUEEZE_RIGHT , mythid) |
426 |
write(msgbuf,'(a,a,a)') |
427 |
&' >> ',precipfile(1:il),' <<' |
428 |
call print_message( msgbuf, standardmessageunit, |
429 |
& SQUEEZE_RIGHT , mythid) |
430 |
#endif |
431 |
|
432 |
#ifdef EXF_READ_EVAP |
433 |
c-- Evaporation. |
434 |
write(msgbuf,'(a)') |
435 |
&'// EXF_READ_EVAP: defined' |
436 |
call print_message( msgbuf, standardmessageunit, |
437 |
& SQUEEZE_RIGHT , mythid) |
438 |
il = ilnblnk(evapfile) |
439 |
write(msgbuf,'(a)') |
440 |
&' ' |
441 |
call print_message( msgbuf, standardmessageunit, |
442 |
& SQUEEZE_RIGHT , mythid) |
443 |
write(msgbuf,'(a,f12.0)') |
444 |
&' Evaporation starts at ', |
445 |
& evapstartdate |
446 |
call print_message( msgbuf, standardmessageunit, |
447 |
& SQUEEZE_RIGHT , mythid) |
448 |
write(msgbuf,'(a,f12.0)') |
449 |
&' Evaporation period is ', |
450 |
& evapperiod |
451 |
call print_message( msgbuf, standardmessageunit, |
452 |
& SQUEEZE_RIGHT , mythid) |
453 |
write(msgbuf,'(a)') |
454 |
&' Evaporation is read from file:' |
455 |
call print_message( msgbuf, standardmessageunit, |
456 |
& SQUEEZE_RIGHT , mythid) |
457 |
write(msgbuf,'(a,a,a)') |
458 |
&' >> ',evapfile(1:il),' <<' |
459 |
call print_message( msgbuf, standardmessageunit, |
460 |
& SQUEEZE_RIGHT , mythid) |
461 |
#else |
462 |
write(msgbuf,'(a)') |
463 |
&'// EXF_READ_EVAP: NOT defined' |
464 |
call print_message( msgbuf, standardmessageunit, |
465 |
& SQUEEZE_RIGHT , mythid) |
466 |
#endif |
467 |
|
468 |
#ifdef ALLOW_RUNOFF |
469 |
c-- Runoff. |
470 |
write(msgbuf,'(a)') |
471 |
&'// ALLOW_RUNOFF: defined' |
472 |
call print_message( msgbuf, standardmessageunit, |
473 |
& SQUEEZE_RIGHT , mythid) |
474 |
il = ilnblnk(runofffile) |
475 |
write(msgbuf,'(a)') |
476 |
&' ' |
477 |
call print_message( msgbuf, standardmessageunit, |
478 |
& SQUEEZE_RIGHT , mythid) |
479 |
write(msgbuf,'(a,f12.0)') |
480 |
&' Runnoff starts at ', |
481 |
& runoffstartdate |
482 |
call print_message( msgbuf, standardmessageunit, |
483 |
& SQUEEZE_RIGHT , mythid) |
484 |
write(msgbuf,'(a,f12.0)') |
485 |
&' Runoff period is ', |
486 |
& runoffperiod |
487 |
call print_message( msgbuf, standardmessageunit, |
488 |
& SQUEEZE_RIGHT , mythid) |
489 |
write(msgbuf,'(a)') |
490 |
&' Runoff is read from file:' |
491 |
call print_message( msgbuf, standardmessageunit, |
492 |
& SQUEEZE_RIGHT , mythid) |
493 |
write(msgbuf,'(a,a,a)') |
494 |
&' >> ',runofffile(1:il),' <<' |
495 |
call print_message( msgbuf, standardmessageunit, |
496 |
& SQUEEZE_RIGHT , mythid) |
497 |
#else /* ALLOW_RUNOFF */ |
498 |
write(msgbuf,'(a)') |
499 |
&'// ALLOW_RUNOFF: NOT defined' |
500 |
call print_message( msgbuf, standardmessageunit, |
501 |
& SQUEEZE_RIGHT , mythid) |
502 |
#endif /* ALLOW_RUNOFF */ |
503 |
|
504 |
#ifdef DOWNWARD_RADIATION |
505 |
c-- Downward shortwave. |
506 |
il = ilnblnk(swdownfile) |
507 |
write(msgbuf,'(a)') |
508 |
&' ' |
509 |
call print_message( msgbuf, standardmessageunit, |
510 |
& SQUEEZE_RIGHT , mythid) |
511 |
write(msgbuf,'(a,f12.0)') |
512 |
&' Downward shortwave flux forcing starts at ', |
513 |
& swdownstartdate |
514 |
call print_message( msgbuf, standardmessageunit, |
515 |
& SQUEEZE_RIGHT , mythid) |
516 |
write(msgbuf,'(a,f12.0)') |
517 |
&' Downward shortwave flux forcing period is ', |
518 |
& swdownperiod |
519 |
call print_message( msgbuf, standardmessageunit, |
520 |
& SQUEEZE_RIGHT , mythid) |
521 |
write(msgbuf,'(a)') |
522 |
&' Downward shortwave flux forcing is read from file:' |
523 |
call print_message( msgbuf, standardmessageunit, |
524 |
& SQUEEZE_RIGHT , mythid) |
525 |
write(msgbuf,'(a,a,a)') |
526 |
&' >> ',swdownfile(1:il),' <<' |
527 |
call print_message( msgbuf, standardmessageunit, |
528 |
& SQUEEZE_RIGHT , mythid) |
529 |
|
530 |
c-- Downward longwave. |
531 |
il = ilnblnk(lwdownfile) |
532 |
write(msgbuf,'(a)') |
533 |
&' ' |
534 |
call print_message( msgbuf, standardmessageunit, |
535 |
& SQUEEZE_RIGHT , mythid) |
536 |
write(msgbuf,'(a,f12.0)') |
537 |
&' Downward longwave flux forcing starts at ', |
538 |
& lwdownstartdate |
539 |
call print_message( msgbuf, standardmessageunit, |
540 |
& SQUEEZE_RIGHT , mythid) |
541 |
write(msgbuf,'(a,f12.0)') |
542 |
&' Downward longwave flux forcing period is ', |
543 |
& lwdownperiod |
544 |
call print_message( msgbuf, standardmessageunit, |
545 |
& SQUEEZE_RIGHT , mythid) |
546 |
write(msgbuf,'(a)') |
547 |
&' Downward longwave flux forcing is read from file:' |
548 |
call print_message( msgbuf, standardmessageunit, |
549 |
& SQUEEZE_RIGHT , mythid) |
550 |
write(msgbuf,'(a,a,a)') |
551 |
&' >> ',lwdownfile(1:il),' <<' |
552 |
call print_message( msgbuf, standardmessageunit, |
553 |
& SQUEEZE_RIGHT , mythid) |
554 |
#endif |
555 |
|
556 |
#ifdef ATMOSPHERIC_LOADING |
557 |
c-- Atmospheric pressure. |
558 |
il = ilnblnk(apressurefile) |
559 |
write(msgbuf,'(a)') |
560 |
&' ' |
561 |
call print_message( msgbuf, standardmessageunit, |
562 |
& SQUEEZE_RIGHT , mythid) |
563 |
write(msgbuf,'(a,f12.0)') |
564 |
&' Atmospheric pressure forcing starts at ', |
565 |
& apressurestartdate |
566 |
call print_message( msgbuf, standardmessageunit, |
567 |
& SQUEEZE_RIGHT , mythid) |
568 |
write(msgbuf,'(a,f12.0)') |
569 |
&' Atmospheric pressure forcing period is ', |
570 |
& apressureperiod |
571 |
call print_message( msgbuf, standardmessageunit, |
572 |
& SQUEEZE_RIGHT , mythid) |
573 |
write(msgbuf,'(a)') |
574 |
&' Atmospheric pressureforcing is read from file:' |
575 |
call print_message( msgbuf, standardmessageunit, |
576 |
& SQUEEZE_RIGHT , mythid) |
577 |
write(msgbuf,'(a,a,a)') |
578 |
&' >> ',apressurefile(1:il),' <<' |
579 |
call print_message( msgbuf, standardmessageunit, |
580 |
& SQUEEZE_RIGHT , mythid) |
581 |
#endif |
582 |
|
583 |
write(msgbuf,'(a)') |
584 |
&' ' |
585 |
call print_message( msgbuf, standardmessageunit, |
586 |
& SQUEEZE_RIGHT , mythid) |
587 |
write(msgbuf,'(a)') |
588 |
&'// =======================================================' |
589 |
call print_message( msgbuf, standardmessageunit, |
590 |
& SQUEEZE_RIGHT , mythid) |
591 |
write(msgbuf,'(a)') |
592 |
&'// External forcing configuration >>> END <<<' |
593 |
call print_message( msgbuf, standardmessageunit, |
594 |
& SQUEEZE_RIGHT , mythid) |
595 |
write(msgbuf,'(a)') |
596 |
&'// =======================================================' |
597 |
call print_message( msgbuf, standardmessageunit, |
598 |
& SQUEEZE_RIGHT , mythid) |
599 |
write(msgbuf,'(a)') |
600 |
&' ' |
601 |
call print_message( msgbuf, standardmessageunit, |
602 |
& SQUEEZE_RIGHT , mythid) |
603 |
|
604 |
end |