/[MITgcm]/MITgcm/pkg/exf/exf_readparms.F
ViewVC logotype

Annotation of /MITgcm/pkg/exf/exf_readparms.F

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.12 - (hide annotations) (download)
Thu Oct 9 04:19:19 2003 UTC (20 years, 8 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint51k_post, checkpoint51l_pre, checkpoint51i_post
Branch point for: tg2-branch
Changes since 1.11: +3 -3 lines
 o first check-in for the "branch-genmake2" merge
 o verification suite as run on shelley (gcc 3.2.2):

Wed Oct  8 23:42:29 EDT 2003
                T           S           U           V
G D M    c        m  s        m  s        m  s        m  s
E p a R  g  m  m  e  .  m  m  e  .  m  m  e  .  m  m  e  .
N n k u  2  i  a  a  d  i  a  a  d  i  a  a  d  i  a  a  d
2 d e n  d  n  x  n  .  n  x  n  .  n  x  n  .  n  x  n  .

OPTFILE=NONE

Y Y Y Y 13 16 16 16  0 16 16 16 16 16 16 16 16 13 12  0  0 pass  adjustment.128x64x1
Y Y Y Y 16 16 16 16  0 16 16 16 16 16 16  0  0 16 16  0  0 pass  adjustment.cs-32x32x1
Y Y Y Y 16 16 16 16  0 16 16 16 16 16 16 22  0 16 16 22  0 pass  adjust_nlfs.cs-32x32x1
Y Y Y Y -- 13 13 16 16 13 13 13 13 16 16 16 16 16 16 16 16 N/O   advect_cs
Y Y Y Y -- 22 16 16 16 16 16 16 13 16 16 16 16 16 16 16 16 N/O   advect_xy
Y Y Y Y -- 13 16 13 16 16 16 16 16 16 16 22 16 16 16 16 16 N/O   advect_xz
Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 pass  aim.5l_cs
Y Y Y Y 14 16 16 16 16 16 16 16 16 13 16 16 16 16 16 13 16 pass  aim.5l_Equatorial_Channel
Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 13 16 16 13 13 16 pass  aim.5l_LatLon
Y Y Y Y 13 16 16 16 16 16 16 16 16 16 13 12 13 13 16 13 16 pass  exp0
Y Y Y Y 14 16 16 16 16 16 16 16 22 16 16 16 13 16 16 22 16 pass  exp1
Y Y Y Y 13 13 16 13 16 16 16 16 16 13 13 16 16 13 13 13 13 pass  exp2
Y Y Y Y 16 16 16 16 16 16 16 16 22 16 16 16 16 16 16 16 16 pass  exp4
Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 22 16 16 16 22 16 pass  exp5
Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 pass  front_relax
Y Y Y Y 14 16 16 13 13 16 16 13 13 16 13 13 16 12 13 13 16 pass  global_ocean.90x40x15
Y Y Y Y 10 16 16 13 13 16 13 16 16 13 13 13 13 16 16 13 16 FAIL  global_ocean.cs32x15
Y Y Y Y  6 11 12 13 13 12 13 16 13  9  9  9  9 10  9  9 11 FAIL  global_ocean_pressure
Y Y Y Y 14 16 16 13 16 16 16 13 13 13 13 13 16 12 16 13 16 pass  global_with_exf
Y Y Y Y 14 16 16 16 16 16 16 16 16 11 13 22 13 16 16  9 16 pass  hs94.128x64x5
Y Y Y Y 13 16 16 16 16 16 16 16 16 11 16 16 16 13 16 22 13 pass  hs94.1x64x5
Y Y Y Y 14 16 16 16 16 16 16 16 16 13 16 13 13 16 16 22 13 pass  hs94.cs-32x32x5
Y Y Y Y 10 10 16 13 13 16 16 16 22 16 13 13 13 13 13 22 13 FAIL  ideal_2D_oce
Y Y Y Y  8 16 16 16 16 16 16 16 16 13 13  8 16 16 16 16 16 FAIL  internal_wave
Y Y Y Y 14 16 16 16 16 16 16 16 16 13 13 22 13 13 13 22 16 pass  inverted_barometer
Y Y Y Y 12 16 16 16 16 16 16 16 16 16 13 12 13 13 13 13 13 FAIL  lab_sea
Y Y Y Y 11 16 16 16 16 16 16 16 13 13 13 12 13 16 13 12 13 FAIL  natl_box
Y Y Y Y 16 16 16 16 16 16 16 16 22 16 16 16 16 16 16 16 16 pass  plume_on_slope
Y Y Y Y 13 16 16 16 16 13 16 16 16 16 16 16 16 13 16 16 16 pass  solid-body.cs-32x32x1

1 edhill 1.12 C $Header: /u/u3/gcmpack/MITgcm/pkg/exf/exf_readparms.F,v 1.11.2.1 2003/10/02 18:30:07 adcroft Exp $
2 jmc 1.11 C $Name: $
3 heimbach 1.1
4 edhill 1.12 #include "EXF_OPTIONS.h"
5 heimbach 1.3 #ifdef ALLOW_OBCS
6     # include "OBCS_OPTIONS.h"
7     #endif
8 heimbach 1.1
9 heimbach 1.3 subroutine exf_readparms( mythid )
10 heimbach 1.1
11     c ==================================================================
12     c SUBROUTINE exf_readparms
13     c ==================================================================
14     c
15     c o This routine initialises the package that calculates external
16     c forcing fields for a given timestep of the MITgcmUV. Parameters
17     c for this package are set in "data.externalforcing". Some additional
18 edhill 1.12 c precompiler switches have to be specified in "EXF_OPTIONS.h".
19 heimbach 1.1 c
20     c started: Christian Eckert eckert@mit.edu 30-Jun-1999
21     c
22     c changed: Christian Eckert eckert@mit.edu 11-Jan-2000
23     c - Restructured the code in order to create a package
24     c for the MITgcmUV.
25     c Christian Eckert eckert@mit.edu 12-Feb-2000
26     c - Changed Routine names (package prefix: exf_)
27 heimbach 1.2 c changed: Patrick Heimbach, heimbach@mit.edu 04-May-2000
28 heimbach 1.1 c - changed the handling of precip and sflux with respect
29     c to CPP options ALLOW_BULKFORMULAE and ALLOW_ATM_TEMP
30     c changed: Ralf.Giering@FastOpt.de 25-Mai-20000
31 heimbach 1.2 c - moved relaxation and climatology to extra routines
32 heimbach 1.1 c Patrick Heimbach, heimbach@mit.edu 04-May-2000
33     c - added obcs parameters
34 heimbach 1.2 c changed: Virginie Thierry, vthierry@ucsd.edu 04-June-2001
35     c - added new obcs parameters (for each boundaries)
36 heimbach 1.3 c included runoff D. Stammer, Nov. 25, 2001
37     c included pressure forcing. heimbach@mit.edu 05-Nov-2002
38 dimitri 1.5 c added "repeatPeriod" for cycling of forcing datasets 19-Dec-2002
39 dimitri 1.6 c mods for pkg/seaice: menemenlis@jpl.nasa.gov 20-Dec-2002
40 heimbach 1.1 c
41     c ==================================================================
42     c SUBROUTINE exf_readparms
43     c ==================================================================
44    
45     implicit none
46    
47     c == global variables ==
48    
49     #include "EEPARAMS.h"
50     #include "SIZE.h"
51     #include "cal.h"
52     #include "exf.h"
53     #include "exf_param.h"
54     #include "exf_constants.h"
55    
56     c == routine arguments ==
57    
58     integer mythid
59    
60     c == local variables ==
61    
62     integer i
63    
64     c == external ==
65    
66     integer ilnblnk
67     external ilnblnk
68    
69     c == end of interface ==
70    
71     c Surface flux data.
72     namelist /exf_nml/
73 cheisey 1.4 & repeatPeriod,
74 heimbach 1.1 & hfluxstartdate1, hfluxstartdate2, hfluxperiod,
75     & atempstartdate1, atempstartdate2, atempperiod,
76     & aqhstartdate1, aqhstartdate2, aqhperiod,
77     & sfluxstartdate1, sfluxstartdate2, sfluxperiod,
78 dimitri 1.5 & evapstartdate1, evapstartdate2, evapperiod,
79 heimbach 1.1 & precipstartdate1, precipstartdate2, precipperiod,
80 heimbach 1.3 & runoffstartdate1, runoffstartdate2, runoffperiod,
81 heimbach 1.1 & ustressstartdate1, ustressstartdate2, ustressperiod,
82     & vstressstartdate1, vstressstartdate2, vstressperiod,
83     & uwindstartdate1, uwindstartdate2, uwindperiod,
84     & vwindstartdate1, vwindstartdate2, vwindperiod,
85     & swfluxstartdate1, swfluxstartdate2, swfluxperiod,
86     & lwfluxstartdate1, lwfluxstartdate2, lwfluxperiod,
87 dimitri 1.6 & swdownstartdate1, swdownstartdate2, swdownperiod,
88     & lwdownstartdate1, lwdownstartdate2, lwdownperiod,
89 heimbach 1.2 & obcsNstartdate1, obcsNstartdate2, obcsNperiod,
90     & obcsSstartdate1, obcsSstartdate2, obcsSperiod,
91     & obcsEstartdate1, obcsEstartdate2, obcsEperiod,
92     & obcsWstartdate1, obcsWstartdate2, obcsWperiod,
93 heimbach 1.3 &apressurestartdate1,apressurestartdate2,apressureperiod,
94 heimbach 1.1 & hfluxfile, atempfile, aqhfile,
95 heimbach 1.3 & sfluxfile, precipfile, runofffile,
96 dimitri 1.5 & ustressfile, vstressfile, evapfile,
97 heimbach 1.3 & uwindfile, vwindfile,
98     & swfluxfile, lwfluxfile, apressurefile,
99 dimitri 1.6 & swdownfile, lwdownfile,
100 heimbach 1.3 & exf_iprec, exf_yftype,
101 heimbach 1.8 & exf_inscal_hflux, exf_inscal_sflux,
102     & exf_inscal_ustress, exf_inscal_vstress,
103     & exf_inscal_uwind, exf_inscal_vwind,
104     & exf_inscal_evap, exf_inscal_atemp, exf_inscal_aqh,
105     & exf_inscal_sst, exf_inscal_sss,
106     & exf_inscal_swflux, exf_inscal_lwflux, exf_inscal_precip,
107     & exf_inscal_runoff, exf_inscal_apressure,
108     & exf_inscal_swdown, exf_inscal_lwdown,
109     & exf_outscal_hflux, exf_outscal_ustress, exf_outscal_vstress,
110     & exf_outscal_swflux, exf_outscal_sst,exf_outscal_sss,
111     & exf_outscal_sflux, exf_outscal_apressure,
112 heimbach 1.7 & hfluxconst,
113     & atempconst,
114     & aqhconst,
115     & sfluxconst,
116     & evapconst,
117     & precipconst,
118     & runoffconst,
119     & ustressconst,
120     & vstressconst,
121     & uwindconst,
122     & vwindconst,
123     & swfluxconst,
124     & lwfluxconst,
125     & swdownconst,
126     & lwdownconst,
127 dimitri 1.10 & apressureconst
128 dimitri 1.9 #ifdef USE_EXF_INTERPOLATION
129 jmc 1.11 & ,ustress_lon0, ustress_lon_inc, ustress_lat0, ustress_lat_inc,
130 dimitri 1.9 & ustress_nlon, ustress_nlat,
131 jmc 1.11 & vstress_lon0, vstress_lon_inc, vstress_lat0, vstress_lat_inc,
132 dimitri 1.9 & vstress_nlon, vstress_nlat,
133 jmc 1.11 & hflux_lon0, hflux_lon_inc, hflux_lat0, hflux_lat_inc,
134 dimitri 1.9 & hflux_nlon, hflux_nlat,
135 jmc 1.11 & sflux_lon0, sflux_lon_inc, sflux_lat0, sflux_lat_inc,
136 dimitri 1.9 & sflux_nlon, sflux_nlat,
137 jmc 1.11 & swflux_lon0, swflux_lon_inc, swflux_lat0, swflux_lat_inc,
138 dimitri 1.9 & swflux_nlon, swflux_nlat,
139 jmc 1.11 & runoff_lon0, runoff_lon_inc, runoff_lat0, runoff_lat_inc,
140 dimitri 1.9 & runoff_nlon, runoff_nlat,
141 jmc 1.11 & atemp_lon0, atemp_lon_inc, atemp_lat0, atemp_lat_inc,
142 dimitri 1.9 & atemp_nlon, atemp_nlat,
143 jmc 1.11 & aqh_lon0, aqh_lon_inc, aqh_lat0, aqh_lat_inc,
144 dimitri 1.9 & aqh_nlon, aqh_nlat,
145 jmc 1.11 & evap_lon0, evap_lon_inc, evap_lat0, evap_lat_inc,
146 dimitri 1.9 & evap_nlon, evap_nlat,
147 jmc 1.11 & precip_lon0, precip_lon_inc, precip_lat0, precip_lat_inc,
148 dimitri 1.9 & precip_nlon, precip_nlat,
149 jmc 1.11 & uwind_lon0, uwind_lon_inc, uwind_lat0, uwind_lat_inc,
150 dimitri 1.9 & uwind_nlon, uwind_nlat,
151 jmc 1.11 & vwind_lon0, vwind_lon_inc, vwind_lat0, vwind_lat_inc,
152 dimitri 1.9 & vwind_nlon, vwind_nlat,
153 jmc 1.11 & lwflux_lon0, lwflux_lon_inc, lwflux_lat0, lwflux_lat_inc,
154 dimitri 1.9 & lwflux_nlon, lwflux_nlat,
155 jmc 1.11 & swdown_lon0, swdown_lon_inc, swdown_lat0, swdown_lat_inc,
156 dimitri 1.9 & swdown_nlon, swdown_nlat,
157 jmc 1.11 & lwdown_lon0, lwdown_lon_inc, lwdown_lat0, lwdown_lat_inc,
158 dimitri 1.9 & lwdown_nlon, lwdown_nlat,
159 jmc 1.11 & apressure_lon0,apressure_lon_inc,
160 dimitri 1.9 & apressure_lat0,apressure_lat_inc,
161     & apressure_nlon,apressure_nlat
162     #endif
163 heimbach 1.1
164     _BEGIN_MASTER(mythid)
165    
166     c Set default values.
167    
168     c Calendar data.
169     hfluxstartdate1 = 0
170     hfluxstartdate2 = 0
171     hfluxperiod = 0.0 _d 0
172 heimbach 1.7 hfluxconst = 0.0 _d 0
173 heimbach 1.1
174     atempstartdate1 = 0
175     atempstartdate2 = 0
176     atempperiod = 0.0 _d 0
177 heimbach 1.7 atempconst = 0.0 _d 0
178 heimbach 1.1
179     aqhstartdate1 = 0
180     aqhstartdate2 = 0
181     aqhperiod = 0.0 _d 0
182 heimbach 1.7 aqhconst = 0.0 _d 0
183 heimbach 1.1
184     sfluxstartdate1 = 0
185     sfluxstartdate2 = 0
186     sfluxperiod = 0.0 _d 0
187 heimbach 1.7 sfluxconst = 0.0 _d 0
188 heimbach 1.1
189 dimitri 1.5 evapstartdate1 = 0
190     evapstartdate2 = 0
191     evapperiod = 0.0 _d 0
192 heimbach 1.7 evapconst = 0.0 _d 0
193 dimitri 1.5
194 heimbach 1.1 precipstartdate1 = 0
195     precipstartdate2 = 0
196     precipperiod = 0.0 _d 0
197 heimbach 1.7 precipconst = 0.0 _d 0
198 heimbach 1.1
199 heimbach 1.3 runoffstartdate1 = 0
200     runoffstartdate2 = 0
201     runoffperiod = 0.0 _d 0
202 heimbach 1.7 runoffconst = 0.0 _d 0
203 heimbach 1.3
204 heimbach 1.1 ustressstartdate1 = 0
205     ustressstartdate2 = 0
206     ustressperiod = 0.0 _d 0
207 heimbach 1.7 ustressconst = 0.0 _d 0
208 heimbach 1.1
209     vstressstartdate1 = 0
210     vstressstartdate2 = 0
211     vstressperiod = 0.0 _d 0
212 heimbach 1.7 vstressconst = 0.0 _d 0
213 heimbach 1.1
214     uwindstartdate1 = 0
215     uwindstartdate2 = 0
216     uwindperiod = 0.0 _d 0
217 heimbach 1.7 uwindconst = 0.0 _d 0
218 heimbach 1.1
219     vwindstartdate1 = 0
220     vwindstartdate2 = 0
221     vwindperiod = 0.0 _d 0
222 heimbach 1.7 vwindconst = 0.0 _d 0
223 heimbach 1.1
224     swfluxstartdate1 = 0
225     swfluxstartdate2 = 0
226     swfluxperiod = 0.0 _d 0
227 heimbach 1.7 swfluxconst = 0.0 _d 0
228 heimbach 1.1
229     lwfluxstartdate1 = 0
230     lwfluxstartdate2 = 0
231     lwfluxperiod = 0.0 _d 0
232 heimbach 1.7 lwfluxconst = 0.0 _d 0
233 heimbach 1.1
234 dimitri 1.6 swdownstartdate1 = 0
235     swdownstartdate2 = 0
236     swdownperiod = 0.0 _d 0
237 heimbach 1.7 swdownconst = 0.0 _d 0
238 dimitri 1.6
239     lwdownstartdate1 = 0
240     lwdownstartdate2 = 0
241     lwdownperiod = 0.0 _d 0
242 heimbach 1.7 lwdownconst = 0.0 _d 0
243 dimitri 1.6
244 heimbach 1.2 obcsNstartdate1 = 0
245     obcsNstartdate2 = 0
246     obcsNperiod = 0.0 _d 0
247    
248     obcsSstartdate1 = 0
249     obcsSstartdate2 = 0
250     obcsSperiod = 0.0 _d 0
251    
252     obcsEstartdate1 = 0
253     obcsEstartdate2 = 0
254     obcsEperiod = 0.0 _d 0
255    
256     obcsWstartdate1 = 0
257     obcsWstartdate2 = 0
258     obcsWperiod = 0.0 _d 0
259 heimbach 1.1
260 heimbach 1.3 apressurestartdate1 = 0
261     apressurestartdate2 = 0
262     apressureperiod = 0.0 _d 0
263 heimbach 1.7 apressureconst = 0.0 _d 0
264 cheisey 1.4
265     repeatPeriod = 0.0 _d 0
266    
267 heimbach 1.1 c Data files.
268     hfluxfile = ' '
269     atempfile = ' '
270     aqhfile = ' '
271 dimitri 1.5 evapfile = ' '
272 heimbach 1.1 precipfile = ' '
273     sfluxfile = ' '
274 heimbach 1.3 runofffile = ' '
275 heimbach 1.1 ustressfile = ' '
276     vstressfile = ' '
277     uwindfile = ' '
278     vwindfile = ' '
279     swfluxfile = ' '
280     lwfluxfile = ' '
281 dimitri 1.6 swdownfile = ' '
282     lwdownfile = ' '
283 heimbach 1.3 apressurefile = ' '
284 heimbach 1.1
285     c Initialise the date arrays.
286     do i = 1,4
287     hfluxstartdate(i) = 0
288     atempstartdate(i) = 0
289     aqhstartdate(i) = 0
290 dimitri 1.5 evapstartdate(i) = 0
291 heimbach 1.1 precipstartdate(i) = 0
292     sfluxstartdate(i) = 0
293 heimbach 1.3 runoffstartdate(i) = 0
294 heimbach 1.1 ustressstartdate(i) = 0
295     vstressstartdate(i) = 0
296     uwindstartdate(i) = 0
297     vwindstartdate(i) = 0
298     swfluxstartdate(i) = 0
299     lwfluxstartdate(i) = 0
300 dimitri 1.6 swdownstartdate(i) = 0
301     lwdownstartdate(i) = 0
302 heimbach 1.2 obcsNstartdate(i) = 0
303     obcsSstartdate(i) = 0
304     obcsEstartdate(i) = 0
305     obcsWstartdate(i) = 0
306 heimbach 1.3 apressurestartdate(i)= 0
307 heimbach 1.1 enddo
308    
309     c Initialise file type and field precision
310     exf_iprec = 32
311     exf_yftype = 'RL'
312    
313 dimitri 1.6 c Input scaling factors.
314 heimbach 1.8 exf_inscal_hflux = 1. _d 0
315     exf_inscal_sflux = 1. _d 0
316     exf_inscal_ustress = 1. _d 0
317     exf_inscal_vstress = 1. _d 0
318     exf_inscal_uwind = 1. _d 0
319     exf_inscal_vwind = 1. _d 0
320     exf_inscal_swflux = 1. _d 0
321     exf_inscal_lwflux = 1. _d 0
322     exf_inscal_precip = 1. _d 0
323 dimitri 1.6 exf_inscal_sst = 1. _d 0
324     exf_inscal_sss = 1. _d 0
325 heimbach 1.8 exf_inscal_atemp = 1. _d 0
326     exf_inscal_aqh = 1. _d 0
327     exf_inscal_evap = 1. _d 0
328 dimitri 1.6 exf_inscal_apressure = 1. _d 0
329     cds convert runoff from m/yr to m/s and change sign.
330     exf_inscal_runoff = -1.0/(86400.*365.0)
331 heimbach 1.8 exf_inscal_swdown = 1. _d 0
332     exf_inscal_lwdown = 1. _d 0
333 dimitri 1.6
334     c Output scaling factors.
335 heimbach 1.8 exf_outscal_hflux = 1. _d 0
336     exf_outscal_sflux = 1. _d 0
337     exf_outscal_ustress = 1. _d 0
338     exf_outscal_vstress = 1. _d 0
339     exf_outscal_swflux = 1. _d 0
340 dimitri 1.6 exf_outscal_sst = 1. _d 0
341     exf_outscal_sss = 1. _d 0
342     exf_outscal_apressure= 1. _d 0
343 heimbach 1.3
344 heimbach 1.1 c Check for the availability of the right calendar version.
345     if ( calendarversion .ne. usescalendarversion ) then
346     print*,' exf_readparms: You are not using the appropriate'
347     print*,' version of the calendar package.'
348     print*
349     print*,' You are using Calendar version: ', calendarversion
350     print*,' Please use Calendar version: ', usescalendarversion
351     stop ' stopped in exf_readparms.'
352     endif
353    
354     c Next, read the forcing data file.
355     call nml_filter( 'data.exf', scrunit1, myThid )
356     if (scrunit1 .eq. 0) then
357     stop 'exf_readparms: reading namelist failed'
358     end if
359     read( scrunit1, nml = exf_nml )
360     close( scrunit1 )
361    
362     c Complete the start date specifications for the forcing
363     c fields to get a complete calendar date array.
364    
365     c check for consistency
366    
367     if (.NOT.
368     & (exf_iprec .EQ. 32 .OR. exf_iprec .EQ. 64)
369     & ) then
370     stop 'stop in exf_readparms: value of exf_iprec not allowed'
371     else if (.NOT.
372     & (exf_yftype .EQ. 'RS' .OR.
373     & exf_yftype .EQ. 'RL')
374     & ) then
375     stop 'stop in exf_readparms: value of exf_yftype not allowed'
376     end if
377 dimitri 1.5
378 dimitri 1.6 #ifdef ALLOW_ATM_WIND
379     call cal_FullDate( uwindstartdate1, uwindstartdate2,
380     & uwindstartdate , mythid )
381     call cal_FullDate( vwindstartdate1, vwindstartdate2,
382     & vwindstartdate , mythid )
383     #else
384     call cal_FullDate( ustressstartdate1, ustressstartdate2,
385     & ustressstartdate , mythid )
386     call cal_FullDate( vstressstartdate1, vstressstartdate2,
387     & vstressstartdate , mythid )
388 heimbach 1.3 #endif
389    
390 heimbach 1.1 #ifdef ALLOW_ATM_TEMP
391 dimitri 1.6 call cal_FullDate( atempstartdate1, atempstartdate2,
392     & atempstartdate , mythid )
393     call cal_FullDate( aqhstartdate1, aqhstartdate2,
394     & aqhstartdate , mythid )
395     call cal_FullDate( lwfluxstartdate1, lwfluxstartdate2,
396     & lwfluxstartdate , mythid )
397     call cal_FullDate( precipstartdate1, precipstartdate2,
398     & precipstartdate , mythid )
399 heimbach 1.1 #else
400 dimitri 1.6 call cal_FullDate( hfluxstartdate1, hfluxstartdate2,
401     & hfluxstartdate , mythid )
402     call cal_FullDate( sfluxstartdate1, sfluxstartdate2,
403     & sfluxstartdate , mythid )
404 heimbach 1.1 #endif
405    
406 dimitri 1.6 #if defined(ALLOW_ATM_TEMP) || defined(SHORTWAVE_HEATING)
407     call cal_FullDate( swfluxstartdate1, swfluxstartdate2,
408     & swfluxstartdate , mythid )
409 heimbach 1.1 #endif
410    
411 dimitri 1.6 #ifdef EXF_READ_EVAP
412     call cal_FullDate( evapstartdate1, evapstartdate2,
413     & evapstartdate , mythid )
414 heimbach 1.1 #endif
415    
416 dimitri 1.6 #ifdef ALLOW_RUNOFF
417     call cal_FullDate( runoffstartdate1, runoffstartdate2,
418     & runoffstartdate , mythid )
419 heimbach 1.1 #endif
420    
421 dimitri 1.6 #ifdef ALLOW_DOWNWARD_RADIATION
422     call cal_FullDate( swdownstartdate1, swdownstartdate2,
423     & swdownstartdate , mythid )
424     call cal_FullDate( lwdownstartdate1, lwdownstartdate2,
425     & lwdownstartdate , mythid )
426 heimbach 1.1 #endif
427    
428     #ifdef ALLOW_OBCS
429 heimbach 1.2 #ifdef ALLOW_OBCS_NORTH
430 dimitri 1.6 call cal_FullDate( obcsNstartdate1, obcsNstartdate2,
431     & obcsNstartdate , mythid )
432 heimbach 1.2 #endif
433     #ifdef ALLOW_OBCS_SOUTH
434 dimitri 1.6 call cal_FullDate( obcsSstartdate1, obcsSstartdate2,
435     & obcsSstartdate , mythid )
436 heimbach 1.2 #endif
437     #ifdef ALLOW_OBCS_EAST
438 dimitri 1.6 call cal_FullDate( obcsEstartdate1, obcsEstartdate2,
439     & obcsEstartdate , mythid )
440 heimbach 1.2 #endif
441     #ifdef ALLOW_OBCS_WEST
442 dimitri 1.6 call cal_FullDate( obcsWstartdate1, obcsWstartdate2,
443     & obcsWstartdate , mythid )
444 heimbach 1.3 #endif
445 dimitri 1.6 #endif /* ALLOW_OBCS */
446 heimbach 1.3
447     #ifdef ATMOSPHERIC_LOADING
448 dimitri 1.6 call cal_FullDate(apressurestartdate1,apressurestartdate2,
449     & apressurestartdate , mythid )
450 heimbach 1.1 #endif
451    
452     _END_MASTER( mythid )
453    
454     _BARRIER
455    
456     c-- Summarize the External forcing's setup.
457     call exf_summary( mythid )
458    
459     c-- set climatology parameters
460     call exf_clim_readparms( mythid )
461    
462     c-- summarize climatologic forcing configuration
463     call exf_clim_summary( mythid )
464    
465     end

  ViewVC Help
Powered by ViewVC 1.1.22