/[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.13 - (hide annotations) (download)
Tue Dec 16 23:28:40 2003 UTC (20 years, 6 months ago) by dimitri
Branch: MAIN
CVS Tags: checkpoint52e_pre, hrcube4, checkpoint52j_post, checkpoint52e_post, checkpoint52j_pre, checkpoint52k_post, checkpoint52f_post, checkpoint52i_post, checkpoint52i_pre, checkpoint52h_pre, checkpoint52f_pre, hrcube_1, hrcube_2, hrcube_3
Changes since 1.12: +7 -2 lines
File MIME type: text/plain
added exf_offset_atemp for Celsius to Kelvin conversion of atemp

1 dimitri 1.13 c $Header: /usr/local/gcmpack/MITgcm/pkg/exf/exf_param.h,v 1.12 2003/12/10 19:37:25 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 dimitri 1.11 _RL hfluxstartdate
39 heimbach 1.1 _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 dimitri 1.11 _RL atempstartdate
47 heimbach 1.1 _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 dimitri 1.11 _RL aqhstartdate
55 heimbach 1.1 _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 dimitri 1.11 _RL sfluxstartdate
63 heimbach 1.1 _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 dimitri 1.11 _RL evapstartdate
71 dimitri 1.5 _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 dimitri 1.11 _RL precipstartdate
79 heimbach 1.1 _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 dimitri 1.11 _RL runoffstartdate
87 heimbach 1.3 _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 dimitri 1.11 _RL ustressstartdate
95 heimbach 1.1 _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 dimitri 1.11 _RL vstressstartdate
103 heimbach 1.1 _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 dimitri 1.11 _RL uwindstartdate
111 heimbach 1.1 _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 dimitri 1.11 _RL vwindstartdate
119 heimbach 1.1 _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 dimitri 1.11 _RL swfluxstartdate
127 heimbach 1.1 _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 dimitri 1.11 _RL lwfluxstartdate
135 heimbach 1.1 _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 dimitri 1.11 _RL swdownstartdate
143 dimitri 1.6 _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 dimitri 1.11 _RL lwdownstartdate
151 dimitri 1.6 _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 dimitri 1.11 _RL obcsNstartdate
159 heimbach 1.2 _RL obcsNperiod
160    
161     integer obcsSstartdate1
162     integer obcsSstartdate2
163 dimitri 1.11 _RL obcsSstartdate
164 heimbach 1.2 _RL obcsSperiod
165    
166     integer obcsEstartdate1
167     integer obcsEstartdate2
168 dimitri 1.11 _RL obcsEstartdate
169 heimbach 1.2 _RL obcsEperiod
170    
171     integer obcsWstartdate1
172     integer obcsWstartdate2
173 dimitri 1.11 _RL obcsWstartdate
174 heimbach 1.2 _RL obcsWperiod
175 heimbach 1.1
176 heimbach 1.3 integer apressurestartdate1
177     integer apressurestartdate2
178 dimitri 1.11 _RL apressurestartdate
179 heimbach 1.3 _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 dimitri 1.11 & apressurestartdate1,apressurestartdate2
224 heimbach 1.1
225     common /exf_param_r/
226 dimitri 1.11 & hfluxperiod, hfluxstartdate,
227     & atempperiod, atempstartdate,
228     & aqhperiod, aqhstartdate,
229     & sfluxperiod, sfluxstartdate,
230     & evapperiod, evapstartdate,
231     & precipperiod, precipstartdate,
232     & runoffperiod, runoffstartdate,
233     & ustressperiod, ustressstartdate,
234     & vstressperiod, vstressstartdate,
235     & uwindperiod, uwindstartdate,
236     & vwindperiod, vwindstartdate,
237     & swfluxperiod, swfluxstartdate,
238     & lwfluxperiod, lwfluxstartdate,
239     & swdownperiod, swdownstartdate,
240     & lwdownperiod, lwdownstartdate,
241     & obcsNperiod, obcsNstartdate,
242     & obcsSperiod, obcsSstartdate,
243     & obcsEperiod, obcsEstartdate,
244     & obcsWperiod, obcsWstartdate,
245     & apressureperiod, apressurestartdate,
246 heimbach 1.7 & hfluxconst,
247     & atempconst,
248     & aqhconst,
249     & sfluxconst,
250     & evapconst,
251     & precipconst,
252     & runoffconst,
253     & ustressconst,
254     & vstressconst,
255     & uwindconst,
256     & vwindconst,
257     & swfluxconst,
258     & lwfluxconst,
259     & swdownconst,
260     & lwdownconst,
261     & apressureconst
262 heimbach 1.1
263     common /exf_param_c/
264     & hfluxfile,
265     & atempfile,
266     & aqhfile,
267     & sfluxfile,
268 dimitri 1.5 & evapfile,
269 heimbach 1.1 & precipfile,
270 heimbach 1.3 & runofffile,
271 heimbach 1.1 & ustressfile,
272     & vstressfile,
273     & uwindfile,
274     & vwindfile,
275     & swfluxfile,
276 heimbach 1.3 & lwfluxfile,
277 dimitri 1.6 & swdownfile,
278     & lwdownfile,
279 heimbach 1.3 & apressurefile
280 heimbach 1.1
281     c file precision and field type
282    
283     common /exf_param_type/
284     & exf_iprec,
285     & exf_yftype
286    
287     integer exf_iprec
288     character*(2) exf_yftype
289 heimbach 1.3
290 dimitri 1.13 c exf_inscal_* input scaling factors
291     c exf_offset_atemp input air temperature offset
292     c (for conversion from C to K, if needed)
293     c exf_outscale_* output scaling factors
294 heimbach 1.3
295 heimbach 1.8 _RL exf_inscal_hflux
296     _RL exf_inscal_sflux
297     _RL exf_inscal_ustress
298     _RL exf_inscal_vstress
299     _RL exf_inscal_uwind
300     _RL exf_inscal_vwind
301     _RL exf_inscal_swflux
302     _RL exf_inscal_lwflux
303     _RL exf_inscal_precip
304 dimitri 1.6 _RL exf_inscal_sst
305     _RL exf_inscal_sss
306 heimbach 1.8 _RL exf_inscal_atemp
307 dimitri 1.13 _RL exf_offset_atemp
308 heimbach 1.8 _RL exf_inscal_aqh
309     _RL exf_inscal_evap
310 dimitri 1.6 _RL exf_inscal_apressure
311     _RL exf_inscal_runoff
312 heimbach 1.8 _RL exf_inscal_swdown
313     _RL exf_inscal_lwdown
314    
315     _RL exf_outscal_hflux
316     _RL exf_outscal_sflux
317     _RL exf_outscal_ustress
318     _RL exf_outscal_vstress
319     _RL exf_outscal_swflux
320 dimitri 1.6 _RL exf_outscal_sst
321     _RL exf_outscal_sss
322     _RL exf_outscal_apressure
323 heimbach 1.3
324     common /exf_param_scal/
325 heimbach 1.8 & exf_inscal_hflux
326     & , exf_inscal_sflux
327     & , exf_inscal_ustress
328     & , exf_inscal_vstress
329     & , exf_inscal_uwind
330     & , exf_inscal_vwind
331     & , exf_inscal_swflux
332     & , exf_inscal_lwflux
333     & , exf_inscal_precip
334 dimitri 1.6 & , exf_inscal_sst
335     & , exf_inscal_sss
336 heimbach 1.8 & , exf_inscal_atemp
337 dimitri 1.13 & , exf_offset_atemp
338 heimbach 1.8 & , exf_inscal_aqh
339     & , exf_inscal_evap
340 dimitri 1.6 & , exf_inscal_apressure
341     & , exf_inscal_runoff
342 heimbach 1.8 & , exf_inscal_swdown
343     & , exf_inscal_lwdown
344     & , exf_outscal_hflux
345     & , exf_outscal_sflux
346     & , exf_outscal_ustress
347     & , exf_outscal_vstress
348     & , exf_outscal_swflux
349 dimitri 1.6 & , exf_outscal_sst
350     & , exf_outscal_sss
351     & , exf_outscal_apressure
352    
353 dimitri 1.9 #ifdef USE_EXF_INTERPOLATION
354     c for lat interpolation, arraysize currently set to 250 max data values
355     integer MAX_LAT_INC
356     parameter(MAX_LAT_INC = 250)
357     _RL ustress_lon0, ustress_lon_inc
358     _RL ustress_lat0, ustress_lat_inc(MAX_LAT_INC)
359     INTEGER ustress_nlon, ustress_nlat
360     _RL vstress_lon0, vstress_lon_inc
361     _RL vstress_lat0, vstress_lat_inc(MAX_LAT_INC)
362     INTEGER vstress_nlon, vstress_nlat
363     _RL hflux_lon0, hflux_lon_inc
364     _RL hflux_lat0, hflux_lat_inc(MAX_LAT_INC)
365     INTEGER hflux_nlon, hflux_nlat
366     _RL sflux_lon0, sflux_lon_inc
367     _RL sflux_lat0, sflux_lat_inc(MAX_LAT_INC)
368     INTEGER sflux_nlon, sflux_nlat
369     _RL swflux_lon0, swflux_lon_inc
370     _RL swflux_lat0, swflux_lat_inc(MAX_LAT_INC)
371     INTEGER swflux_nlon, swflux_nlat
372     _RL runoff_lon0, runoff_lon_inc
373     _RL runoff_lat0, runoff_lat_inc(MAX_LAT_INC)
374     INTEGER runoff_nlon, runoff_nlat
375     _RL atemp_lon0, atemp_lon_inc
376 dimitri 1.10 _RL atemp_lat0, atemp_lat_inc(MAX_LAT_INC)
377 dimitri 1.9 INTEGER atemp_nlon, atemp_nlat
378     _RL aqh_lon0, aqh_lon_inc
379 dimitri 1.10 _RL aqh_lat0, aqh_lat_inc(MAX_LAT_INC)
380 dimitri 1.9 INTEGER aqh_nlon, aqh_nlat
381     _RL evap_lon0, evap_lon_inc
382 dimitri 1.10 _RL evap_lat0, evap_lat_inc(MAX_LAT_INC)
383 dimitri 1.9 INTEGER evap_nlon, evap_nlat
384     _RL precip_lon0, precip_lon_inc
385 dimitri 1.10 _RL precip_lat0, precip_lat_inc(MAX_LAT_INC)
386 dimitri 1.9 INTEGER precip_nlon, precip_nlat
387     _RL uwind_lon0, uwind_lon_inc
388 dimitri 1.10 _RL uwind_lat0, uwind_lat_inc(MAX_LAT_INC)
389 dimitri 1.9 INTEGER uwind_nlon, uwind_nlat
390     _RL vwind_lon0, vwind_lon_inc
391 dimitri 1.10 _RL vwind_lat0, vwind_lat_inc(MAX_LAT_INC)
392 dimitri 1.9 INTEGER vwind_nlon, vwind_nlat
393     _RL lwflux_lon0, lwflux_lon_inc
394 dimitri 1.10 _RL lwflux_lat0, lwflux_lat_inc(MAX_LAT_INC)
395 dimitri 1.9 INTEGER lwflux_nlon, lwflux_nlat
396     _RL swdown_lon0, swdown_lon_inc
397 dimitri 1.10 _RL swdown_lat0, swdown_lat_inc(MAX_LAT_INC)
398 dimitri 1.9 INTEGER swdown_nlon, swdown_nlat
399     _RL lwdown_lon0, lwdown_lon_inc
400 dimitri 1.10 _RL lwdown_lat0, lwdown_lat_inc(MAX_LAT_INC)
401 dimitri 1.9 INTEGER lwdown_nlon, lwdown_nlat
402     _RL apressure_lon0,apressure_lon_inc
403 dimitri 1.10 _RL apressure_lat0,apressure_lat_inc(MAX_LAT_INC)
404 dimitri 1.9 INTEGER apressure_nlon,apressure_nlat
405    
406 dimitri 1.10 common /exf_interpolation/
407 dimitri 1.9 & ustress_lon0, ustress_lon_inc,
408     & ustress_lat0, ustress_lat_inc,
409     & ustress_nlon, ustress_nlat,
410     & vstress_lon0, vstress_lon_inc,
411     & vstress_lat0, vstress_lat_inc,
412     & vstress_nlon, vstress_nlat,
413     & hflux_lon0, hflux_lon_inc,
414     & hflux_lat0, hflux_lat_inc,
415     & hflux_nlon, hflux_nlat,
416     & sflux_lon0, sflux_lon_inc,
417     & sflux_lat0, sflux_lat_inc,
418     & sflux_nlon, sflux_nlat,
419     & swflux_lon0, swflux_lon_inc,
420     & swflux_lat0, swflux_lat_inc,
421     & swflux_nlon, swflux_nlat,
422     & runoff_lon0, runoff_lon_inc,
423     & runoff_lat0, runoff_lat_inc,
424     & runoff_nlon, runoff_nlat,
425 dimitri 1.12 & atemp_lon0, atemp_lon_inc,
426 dimitri 1.9 & atemp_lat0, atemp_lat_inc,
427     & atemp_nlon, atemp_nlat,
428     & aqh_lon0, aqh_lon_inc,
429     & aqh_lat0, aqh_lat_inc,
430     & aqh_nlon, aqh_nlat,
431     & evap_lon0, evap_lon_inc,
432     & evap_lat0, evap_lat_inc,
433     & evap_nlon, evap_nlat,
434     & precip_lon0, precip_lon_inc,
435     & precip_lat0, precip_lat_inc,
436     & precip_nlon, precip_nlat,
437     & uwind_lon0, uwind_lon_inc,
438     & uwind_lat0, uwind_lat_inc,
439     & uwind_nlon, uwind_nlat,
440     & vwind_lon0, vwind_lon_inc,
441     & vwind_lat0, vwind_lat_inc,
442     & vwind_nlon, vwind_nlat,
443     & lwflux_lon0, lwflux_lon_inc,
444     & lwflux_lat0, lwflux_lat_inc,
445     & lwflux_nlon, lwflux_nlat,
446     & swdown_lon0, swdown_lon_inc,
447     & swdown_lat0, swdown_lat_inc,
448     & swdown_nlon, swdown_nlat,
449     & lwdown_lon0, lwdown_lon_inc,
450     & lwdown_lat0, lwdown_lat_inc,
451     & lwdown_nlon, lwdown_nlat,
452     & apressure_lon0,apressure_lon_inc,
453     & apressure_lat0,apressure_lat_inc,
454     & apressure_nlon,apressure_nlat
455     #endif

  ViewVC Help
Powered by ViewVC 1.1.22