/[MITgcm]/MITgcm/pkg/exf/exf_param.h
ViewVC logotype

Annotation of /MITgcm/pkg/exf/exf_param.h

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


Revision 1.10 - (hide annotations) (download)
Thu Aug 7 02:31:29 2003 UTC (20 years, 9 months ago) by dimitri
Branch: MAIN
CVS Tags: checkpoint51k_post, checkpoint51j_post, checkpoint51f_pre, branchpoint-genmake2, checkpoint51i_post, checkpoint51l_pre, checkpoint51h_pre, checkpoint51g_post, checkpoint51f_post, checkpoint51i_pre
Branch point for: branch-genmake2, tg2-branch
Changes since 1.9: +12 -19 lines
File MIME type: text/plain
o Added on-the-fly spatial interpolation capability
    "USE_EXF_INTERPOLATION" to pkg/exf.
  - This is a temporary Cartesian-grid hack until
    the super-duper ESMF coupler becomes available.
  - See verification/global_with_exf/README for usage example.
  - Removed obsolete EXFwindOnBgrid and SEAICEwindOnCgrid
    flags and modified pkg/seaice accordingly.
o Bug fix to pkg/ptracers, pkg/generic_advdiff/gad_calc_rhs.F,
    and pkg/kpp/kpp_transport_ptr.F for dealing with tracer
    non-local transport term.

1 dimitri 1.10 c $Header: /u/gcmpack/MITgcm/pkg/exf/exf_param.h,v 1.9 2003/08/04 22:53:41 dimitri Exp $
2 heimbach 1.1 c
3     c
4     c ==================================================================
5     c HEADER exf_param
6     c ==================================================================
7     c
8     c o Header file for the surface flux data. Used by the external
9     c forcing package.
10     c
11     c started: Christian Eckert eckert@mit.edu 30-Jun-1999
12     c
13     c changed: Christian Eckert eckert@mit.edu 14-Jan-2000
14     c - Restructured the original version in order to have a
15     c better interface to the MITgcmUV.
16     c
17     c Christian Eckert eckert@mit.edu 12-Feb-2000
18     c - Changed some variables names (package prefix: exf_)
19     c
20     c Patrick Heimbach, heimbach@mit.edu 04-May-2000
21     c - included exf_iprec, exf_yftype to enable easy
22     c switch between 32bit/64 bit data format
23     c
24     c Patrick Heimbach, heimbach@mit.edu 01-May-2001
25     c - added obcs parameters
26     c
27 dimitri 1.6 c mods for pkg/seaice: menemenlis@jpl.nasa.gov 20-Dec-2002
28 dimitri 1.5 c
29 heimbach 1.1 c ==================================================================
30     c HEADER exf_param
31     c ==================================================================
32    
33     c Calendar data.
34 cheisey 1.4 _RL repeatPeriod
35    
36 heimbach 1.1 integer hfluxstartdate1
37     integer hfluxstartdate2
38     integer hfluxstartdate(4)
39     _RL hfluxperiod
40 heimbach 1.7 _RL hfluxconst
41 heimbach 1.1 character*1 hfluxmask
42     parameter( hfluxmask = 's' )
43    
44     integer atempstartdate1
45     integer atempstartdate2
46     integer atempstartdate(4)
47     _RL atempperiod
48 heimbach 1.7 _RL atempconst
49 heimbach 1.1 character*1 atempmask
50     parameter( atempmask = 's' )
51    
52     integer aqhstartdate1
53     integer aqhstartdate2
54     integer aqhstartdate(4)
55     _RL aqhperiod
56 heimbach 1.7 _RL aqhconst
57 heimbach 1.1 character*1 aqhmask
58     parameter( aqhmask = 's' )
59    
60     integer sfluxstartdate1
61     integer sfluxstartdate2
62     integer sfluxstartdate(4)
63     _RL sfluxperiod
64 heimbach 1.7 _RL sfluxconst
65 heimbach 1.1 character*1 sfluxmask
66     parameter( sfluxmask = 's' )
67    
68 dimitri 1.5 integer evapstartdate1
69     integer evapstartdate2
70     integer evapstartdate(4)
71     _RL evapperiod
72 heimbach 1.7 _RL evapconst
73 dimitri 1.5 character*1 evapmask
74     parameter( evapmask = 's' )
75    
76 heimbach 1.1 integer precipstartdate1
77     integer precipstartdate2
78     integer precipstartdate(4)
79     _RL precipperiod
80 heimbach 1.7 _RL precipconst
81 heimbach 1.1 character*1 precipmask
82     parameter( precipmask = 's' )
83    
84 heimbach 1.3 integer runoffstartdate1
85     integer runoffstartdate2
86     integer runoffstartdate(4)
87     _RL runoffperiod
88 heimbach 1.7 _RL runoffconst
89 heimbach 1.3 character*1 runoffmask
90     parameter( runoffmask = 's' )
91    
92 heimbach 1.1 integer ustressstartdate1
93     integer ustressstartdate2
94     integer ustressstartdate(4)
95     _RL ustressperiod
96 heimbach 1.7 _RL ustressconst
97 heimbach 1.1 character*1 ustressmask
98     parameter( ustressmask = 'u' )
99    
100     integer vstressstartdate1
101     integer vstressstartdate2
102     integer vstressstartdate(4)
103     _RL vstressperiod
104 heimbach 1.7 _RL vstressconst
105 heimbach 1.1 character*1 vstressmask
106     parameter( vstressmask = 'v' )
107    
108     integer uwindstartdate1
109     integer uwindstartdate2
110     integer uwindstartdate(4)
111     _RL uwindperiod
112 heimbach 1.7 _RL uwindconst
113 heimbach 1.1 character*1 uwindmask
114     parameter( uwindmask = 'u' )
115    
116     integer vwindstartdate1
117     integer vwindstartdate2
118     integer vwindstartdate(4)
119     _RL vwindperiod
120 heimbach 1.7 _RL vwindconst
121 heimbach 1.1 character*1 vwindmask
122     parameter( vwindmask = 'v' )
123    
124     integer swfluxstartdate1
125     integer swfluxstartdate2
126     integer swfluxstartdate(4)
127     _RL swfluxperiod
128 heimbach 1.7 _RL swfluxconst
129 heimbach 1.1 character*1 swfluxmask
130     parameter( swfluxmask = 's' )
131    
132     integer lwfluxstartdate1
133     integer lwfluxstartdate2
134     integer lwfluxstartdate(4)
135     _RL lwfluxperiod
136 heimbach 1.7 _RL lwfluxconst
137 heimbach 1.1 character*1 lwfluxmask
138     parameter( lwfluxmask = 's' )
139    
140 dimitri 1.6 integer swdownstartdate1
141     integer swdownstartdate2
142     integer swdownstartdate(4)
143     _RL swdownperiod
144 heimbach 1.7 _RL swdownconst
145 dimitri 1.6 character*1 swdownmask
146     parameter( swdownmask = 's' )
147    
148     integer lwdownstartdate1
149     integer lwdownstartdate2
150     integer lwdownstartdate(4)
151     _RL lwdownperiod
152 heimbach 1.7 _RL lwdownconst
153 dimitri 1.6 character*1 lwdownmask
154     parameter( lwdownmask = 's' )
155    
156 heimbach 1.2 integer obcsNstartdate1
157     integer obcsNstartdate2
158     integer obcsNstartdate(4)
159     _RL obcsNperiod
160    
161     integer obcsSstartdate1
162     integer obcsSstartdate2
163     integer obcsSstartdate(4)
164     _RL obcsSperiod
165    
166     integer obcsEstartdate1
167     integer obcsEstartdate2
168     integer obcsEstartdate(4)
169     _RL obcsEperiod
170    
171     integer obcsWstartdate1
172     integer obcsWstartdate2
173     integer obcsWstartdate(4)
174     _RL obcsWperiod
175 heimbach 1.1
176 heimbach 1.3 integer apressurestartdate1
177     integer apressurestartdate2
178     integer apressurestartdate(4)
179     _RL apressureperiod
180 heimbach 1.7 _RL apressureconst
181 heimbach 1.3 character*1 apressuremask
182     parameter( apressuremask = 's' )
183    
184 heimbach 1.1 c File names.
185     character*(128) hfluxfile
186     character*(128) atempfile
187     character*(128) aqhfile
188 dimitri 1.5 character*(128) evapfile
189 heimbach 1.1 character*(128) precipfile
190     character*(128) sfluxfile
191 heimbach 1.3 character*(128) runofffile
192 heimbach 1.1 character*(128) ustressfile
193     character*(128) vstressfile
194     character*(128) uwindfile
195     character*(128) vwindfile
196     character*(128) swfluxfile
197     character*(128) lwfluxfile
198 dimitri 1.6 character*(128) swdownfile
199     character*(128) lwdownfile
200 heimbach 1.3 character*(128) apressurefile
201 heimbach 1.1
202     common /exf_param_i/
203 cheisey 1.4 & repeatPeriod,
204 heimbach 1.2 & hfluxstartdate1, hfluxstartdate2,
205     & atempstartdate1, atempstartdate2,
206     & aqhstartdate1, aqhstartdate2,
207     & sfluxstartdate1, sfluxstartdate2,
208 dimitri 1.5 & evapstartdate1, evapstartdate2,
209 heimbach 1.3 & runoffstartdate1, runoffstartdate2,
210 heimbach 1.2 & precipstartdate1, precipstartdate2,
211     & ustressstartdate1, ustressstartdate2,
212     & vstressstartdate1, vstressstartdate2,
213     & uwindstartdate1, uwindstartdate2,
214     & vwindstartdate1, vwindstartdate2,
215     & swfluxstartdate1, swfluxstartdate2,
216     & lwfluxstartdate1, lwfluxstartdate2,
217 dimitri 1.6 & swdownstartdate1, swdownstartdate2,
218     & lwdownstartdate1, lwdownstartdate2,
219 heimbach 1.2 & obcsNstartdate1, obcsNstartdate2,
220     & obcsSstartdate1, obcsSstartdate2,
221     & obcsEstartdate1, obcsEstartdate2,
222     & obcsWstartdate1, obcsWstartdate2,
223 heimbach 1.3 & apressurestartdate1,apressurestartdate2,
224 heimbach 1.1 & hfluxstartdate,
225     & atempstartdate,
226     & aqhstartdate,
227     & sfluxstartdate,
228 dimitri 1.5 & evapstartdate,
229 heimbach 1.1 & precipstartdate,
230 heimbach 1.3 & runoffstartdate,
231 heimbach 1.1 & ustressstartdate,
232     & vstressstartdate,
233     & uwindstartdate,
234     & vwindstartdate,
235     & swfluxstartdate,
236     & lwfluxstartdate,
237 dimitri 1.6 & swdownstartdate,
238     & lwdownstartdate,
239 heimbach 1.2 & obcsNstartdate,
240     & obcsSstartdate,
241     & obcsEstartdate,
242 heimbach 1.3 & obcsWstartdate,
243     & apressurestartdate
244 heimbach 1.1
245     common /exf_param_r/
246     & hfluxperiod,
247     & atempperiod,
248     & aqhperiod,
249     & sfluxperiod,
250 dimitri 1.5 & evapperiod,
251 heimbach 1.1 & precipperiod,
252 heimbach 1.3 & runoffperiod,
253 heimbach 1.1 & ustressperiod,
254     & vstressperiod,
255     & uwindperiod,
256     & vwindperiod,
257     & swfluxperiod,
258     & lwfluxperiod,
259 dimitri 1.6 & swdownperiod,
260     & lwdownperiod,
261 heimbach 1.2 & obcsNperiod,
262     & obcsSperiod,
263     & obcsEperiod,
264 heimbach 1.3 & obcsWperiod,
265 heimbach 1.7 & apressureperiod,
266     & hfluxconst,
267     & atempconst,
268     & aqhconst,
269     & sfluxconst,
270     & evapconst,
271     & precipconst,
272     & runoffconst,
273     & ustressconst,
274     & vstressconst,
275     & uwindconst,
276     & vwindconst,
277     & swfluxconst,
278     & lwfluxconst,
279     & swdownconst,
280     & lwdownconst,
281     & apressureconst
282 heimbach 1.1
283     common /exf_param_c/
284     & hfluxfile,
285     & atempfile,
286     & aqhfile,
287     & sfluxfile,
288 dimitri 1.5 & evapfile,
289 heimbach 1.1 & precipfile,
290 heimbach 1.3 & runofffile,
291 heimbach 1.1 & ustressfile,
292     & vstressfile,
293     & uwindfile,
294     & vwindfile,
295     & swfluxfile,
296 heimbach 1.3 & lwfluxfile,
297 dimitri 1.6 & swdownfile,
298     & lwdownfile,
299 heimbach 1.3 & apressurefile
300 heimbach 1.1
301     c file precision and field type
302    
303     common /exf_param_type/
304     & exf_iprec,
305     & exf_yftype
306    
307     integer exf_iprec
308     character*(2) exf_yftype
309 heimbach 1.3
310 dimitri 1.6 c input and output scaling factors
311 heimbach 1.3
312 heimbach 1.8 _RL exf_inscal_hflux
313     _RL exf_inscal_sflux
314     _RL exf_inscal_ustress
315     _RL exf_inscal_vstress
316     _RL exf_inscal_uwind
317     _RL exf_inscal_vwind
318     _RL exf_inscal_swflux
319     _RL exf_inscal_lwflux
320     _RL exf_inscal_precip
321 dimitri 1.6 _RL exf_inscal_sst
322     _RL exf_inscal_sss
323 heimbach 1.8 _RL exf_inscal_atemp
324     _RL exf_inscal_aqh
325     _RL exf_inscal_evap
326 dimitri 1.6 _RL exf_inscal_apressure
327     _RL exf_inscal_runoff
328 heimbach 1.8 _RL exf_inscal_swdown
329     _RL exf_inscal_lwdown
330    
331     _RL exf_outscal_hflux
332     _RL exf_outscal_sflux
333     _RL exf_outscal_ustress
334     _RL exf_outscal_vstress
335     _RL exf_outscal_swflux
336 dimitri 1.6 _RL exf_outscal_sst
337     _RL exf_outscal_sss
338     _RL exf_outscal_apressure
339 heimbach 1.3
340     common /exf_param_scal/
341 heimbach 1.8 & exf_inscal_hflux
342     & , exf_inscal_sflux
343     & , exf_inscal_ustress
344     & , exf_inscal_vstress
345     & , exf_inscal_uwind
346     & , exf_inscal_vwind
347     & , exf_inscal_swflux
348     & , exf_inscal_lwflux
349     & , exf_inscal_precip
350 dimitri 1.6 & , exf_inscal_sst
351     & , exf_inscal_sss
352 heimbach 1.8 & , exf_inscal_atemp
353     & , exf_inscal_aqh
354     & , exf_inscal_evap
355 dimitri 1.6 & , exf_inscal_apressure
356     & , exf_inscal_runoff
357 heimbach 1.8 & , exf_inscal_swdown
358     & , exf_inscal_lwdown
359     & , exf_outscal_hflux
360     & , exf_outscal_sflux
361     & , exf_outscal_ustress
362     & , exf_outscal_vstress
363     & , exf_outscal_swflux
364 dimitri 1.6 & , exf_outscal_sst
365     & , exf_outscal_sss
366     & , exf_outscal_apressure
367    
368 dimitri 1.9 #ifdef USE_EXF_INTERPOLATION
369     c for lat interpolation, arraysize currently set to 250 max data values
370     integer MAX_LAT_INC
371     parameter(MAX_LAT_INC = 250)
372     _RL ustress_lon0, ustress_lon_inc
373     _RL ustress_lat0, ustress_lat_inc(MAX_LAT_INC)
374     INTEGER ustress_nlon, ustress_nlat
375     _RL vstress_lon0, vstress_lon_inc
376     _RL vstress_lat0, vstress_lat_inc(MAX_LAT_INC)
377     INTEGER vstress_nlon, vstress_nlat
378     _RL hflux_lon0, hflux_lon_inc
379     _RL hflux_lat0, hflux_lat_inc(MAX_LAT_INC)
380     INTEGER hflux_nlon, hflux_nlat
381     _RL sflux_lon0, sflux_lon_inc
382     _RL sflux_lat0, sflux_lat_inc(MAX_LAT_INC)
383     INTEGER sflux_nlon, sflux_nlat
384     _RL swflux_lon0, swflux_lon_inc
385     _RL swflux_lat0, swflux_lat_inc(MAX_LAT_INC)
386     INTEGER swflux_nlon, swflux_nlat
387     _RL runoff_lon0, runoff_lon_inc
388     _RL runoff_lat0, runoff_lat_inc(MAX_LAT_INC)
389     INTEGER runoff_nlon, runoff_nlat
390     _RL atemp_lon0, atemp_lon_inc
391 dimitri 1.10 _RL atemp_lat0, atemp_lat_inc(MAX_LAT_INC)
392 dimitri 1.9 INTEGER atemp_nlon, atemp_nlat
393     _RL aqh_lon0, aqh_lon_inc
394 dimitri 1.10 _RL aqh_lat0, aqh_lat_inc(MAX_LAT_INC)
395 dimitri 1.9 INTEGER aqh_nlon, aqh_nlat
396     _RL evap_lon0, evap_lon_inc
397 dimitri 1.10 _RL evap_lat0, evap_lat_inc(MAX_LAT_INC)
398 dimitri 1.9 INTEGER evap_nlon, evap_nlat
399     _RL precip_lon0, precip_lon_inc
400 dimitri 1.10 _RL precip_lat0, precip_lat_inc(MAX_LAT_INC)
401 dimitri 1.9 INTEGER precip_nlon, precip_nlat
402     _RL uwind_lon0, uwind_lon_inc
403 dimitri 1.10 _RL uwind_lat0, uwind_lat_inc(MAX_LAT_INC)
404 dimitri 1.9 INTEGER uwind_nlon, uwind_nlat
405     _RL vwind_lon0, vwind_lon_inc
406 dimitri 1.10 _RL vwind_lat0, vwind_lat_inc(MAX_LAT_INC)
407 dimitri 1.9 INTEGER vwind_nlon, vwind_nlat
408     _RL lwflux_lon0, lwflux_lon_inc
409 dimitri 1.10 _RL lwflux_lat0, lwflux_lat_inc(MAX_LAT_INC)
410 dimitri 1.9 INTEGER lwflux_nlon, lwflux_nlat
411     _RL swdown_lon0, swdown_lon_inc
412 dimitri 1.10 _RL swdown_lat0, swdown_lat_inc(MAX_LAT_INC)
413 dimitri 1.9 INTEGER swdown_nlon, swdown_nlat
414     _RL lwdown_lon0, lwdown_lon_inc
415 dimitri 1.10 _RL lwdown_lat0, lwdown_lat_inc(MAX_LAT_INC)
416 dimitri 1.9 INTEGER lwdown_nlon, lwdown_nlat
417     _RL apressure_lon0,apressure_lon_inc
418 dimitri 1.10 _RL apressure_lat0,apressure_lat_inc(MAX_LAT_INC)
419 dimitri 1.9 INTEGER apressure_nlon,apressure_nlat
420    
421 dimitri 1.10 common /exf_interpolation/
422 dimitri 1.9 & ustress_lon0, ustress_lon_inc,
423     & ustress_lat0, ustress_lat_inc,
424     & ustress_nlon, ustress_nlat,
425     & vstress_lon0, vstress_lon_inc,
426     & vstress_lat0, vstress_lat_inc,
427     & vstress_nlon, vstress_nlat,
428     & hflux_lon0, hflux_lon_inc,
429     & hflux_lat0, hflux_lat_inc,
430     & hflux_nlon, hflux_nlat,
431     & sflux_lon0, sflux_lon_inc,
432     & sflux_lat0, sflux_lat_inc,
433     & sflux_nlon, sflux_nlat,
434     & swflux_lon0, swflux_lon_inc,
435     & swflux_lat0, swflux_lat_inc,
436     & swflux_nlon, swflux_nlat,
437     & runoff_lon0, runoff_lon_inc,
438     & runoff_lat0, runoff_lat_inc,
439     & runoff_nlon, runoff_nlat,
440     & atemp_lat0, atemp_lat_inc,
441     & atemp_nlon, atemp_nlat,
442     & aqh_lon0, aqh_lon_inc,
443     & aqh_lat0, aqh_lat_inc,
444     & aqh_nlon, aqh_nlat,
445     & evap_lon0, evap_lon_inc,
446     & evap_lat0, evap_lat_inc,
447     & evap_nlon, evap_nlat,
448     & precip_lon0, precip_lon_inc,
449     & precip_lat0, precip_lat_inc,
450     & precip_nlon, precip_nlat,
451     & uwind_lon0, uwind_lon_inc,
452     & uwind_lat0, uwind_lat_inc,
453     & uwind_nlon, uwind_nlat,
454     & vwind_lon0, vwind_lon_inc,
455     & vwind_lat0, vwind_lat_inc,
456     & vwind_nlon, vwind_nlat,
457     & lwflux_lon0, lwflux_lon_inc,
458     & lwflux_lat0, lwflux_lat_inc,
459     & lwflux_nlon, lwflux_nlat,
460     & swdown_lon0, swdown_lon_inc,
461     & swdown_lat0, swdown_lat_inc,
462     & swdown_nlon, swdown_nlat,
463     & lwdown_lon0, lwdown_lon_inc,
464     & lwdown_lat0, lwdown_lat_inc,
465     & lwdown_nlon, lwdown_nlat,
466     & apressure_lon0,apressure_lon_inc,
467     & apressure_lat0,apressure_lat_inc,
468     & apressure_nlon,apressure_nlat
469     #endif

  ViewVC Help
Powered by ViewVC 1.1.22