/[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.14 - (hide annotations) (download)
Wed Mar 3 05:17:44 2004 UTC (20 years, 3 months ago) by dimitri
Branch: MAIN
CVS Tags: checkpoint52l_pre, hrcube5, checkpoint52l_post
Changes since 1.13: +5 -2 lines
File MIME type: text/plain
o no restoring terms under ice for pkg/seaice
o modfied EXF_EXTERNAL_FLUXES option
o added exf_albedo parameter

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

  ViewVC Help
Powered by ViewVC 1.1.22