/[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.12 - (hide annotations) (download)
Wed Dec 10 19:37:25 2003 UTC (20 years, 5 months ago) by dimitri
Branch: MAIN
CVS Tags: checkpoint52d_post
Branch point for: netcdf-sm0
Changes since 1.11: +2 -1 lines
File MIME type: text/plain
o changes to permit hi-res, cubed-sphere, configuration
  - added useSingleCpuIO capability to mdsio_readfield.F and exf_interp.F
  - added "#undef ALLOW_USE_MPI" support to eesupp/src/scatter_2d.F
  - added pkg/exf/exf_set_uv.F for on-the-fly interpolation and rotation
    of surface winds for the cube
  (A verification experiment, based on global_ocean.cs32x15, but with
   pkg/seaice turned on and with on-the-fly interpolation from the NCEP
   Gaussian grid is described in MITgcm_contrib/high_res_cube/README_ice,
   complete with example surface forcing files and matlab scripts to look
   at the output and compare it with that of global_ocean.cs32x15.)

1 dimitri 1.12 c $Header: /usr/local/gcmpack/MITgcm/pkg/exf/exf_param.h,v 1.11 2003/10/20 06:25:16 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.6 c input and output scaling factors
291 heimbach 1.3
292 heimbach 1.8 _RL exf_inscal_hflux
293     _RL exf_inscal_sflux
294     _RL exf_inscal_ustress
295     _RL exf_inscal_vstress
296     _RL exf_inscal_uwind
297     _RL exf_inscal_vwind
298     _RL exf_inscal_swflux
299     _RL exf_inscal_lwflux
300     _RL exf_inscal_precip
301 dimitri 1.6 _RL exf_inscal_sst
302     _RL exf_inscal_sss
303 heimbach 1.8 _RL exf_inscal_atemp
304     _RL exf_inscal_aqh
305     _RL exf_inscal_evap
306 dimitri 1.6 _RL exf_inscal_apressure
307     _RL exf_inscal_runoff
308 heimbach 1.8 _RL exf_inscal_swdown
309     _RL exf_inscal_lwdown
310    
311     _RL exf_outscal_hflux
312     _RL exf_outscal_sflux
313     _RL exf_outscal_ustress
314     _RL exf_outscal_vstress
315     _RL exf_outscal_swflux
316 dimitri 1.6 _RL exf_outscal_sst
317     _RL exf_outscal_sss
318     _RL exf_outscal_apressure
319 heimbach 1.3
320     common /exf_param_scal/
321 heimbach 1.8 & exf_inscal_hflux
322     & , exf_inscal_sflux
323     & , exf_inscal_ustress
324     & , exf_inscal_vstress
325     & , exf_inscal_uwind
326     & , exf_inscal_vwind
327     & , exf_inscal_swflux
328     & , exf_inscal_lwflux
329     & , exf_inscal_precip
330 dimitri 1.6 & , exf_inscal_sst
331     & , exf_inscal_sss
332 heimbach 1.8 & , exf_inscal_atemp
333     & , exf_inscal_aqh
334     & , exf_inscal_evap
335 dimitri 1.6 & , exf_inscal_apressure
336     & , exf_inscal_runoff
337 heimbach 1.8 & , exf_inscal_swdown
338     & , exf_inscal_lwdown
339     & , exf_outscal_hflux
340     & , exf_outscal_sflux
341     & , exf_outscal_ustress
342     & , exf_outscal_vstress
343     & , exf_outscal_swflux
344 dimitri 1.6 & , exf_outscal_sst
345     & , exf_outscal_sss
346     & , exf_outscal_apressure
347    
348 dimitri 1.9 #ifdef USE_EXF_INTERPOLATION
349     c for lat interpolation, arraysize currently set to 250 max data values
350     integer MAX_LAT_INC
351     parameter(MAX_LAT_INC = 250)
352     _RL ustress_lon0, ustress_lon_inc
353     _RL ustress_lat0, ustress_lat_inc(MAX_LAT_INC)
354     INTEGER ustress_nlon, ustress_nlat
355     _RL vstress_lon0, vstress_lon_inc
356     _RL vstress_lat0, vstress_lat_inc(MAX_LAT_INC)
357     INTEGER vstress_nlon, vstress_nlat
358     _RL hflux_lon0, hflux_lon_inc
359     _RL hflux_lat0, hflux_lat_inc(MAX_LAT_INC)
360     INTEGER hflux_nlon, hflux_nlat
361     _RL sflux_lon0, sflux_lon_inc
362     _RL sflux_lat0, sflux_lat_inc(MAX_LAT_INC)
363     INTEGER sflux_nlon, sflux_nlat
364     _RL swflux_lon0, swflux_lon_inc
365     _RL swflux_lat0, swflux_lat_inc(MAX_LAT_INC)
366     INTEGER swflux_nlon, swflux_nlat
367     _RL runoff_lon0, runoff_lon_inc
368     _RL runoff_lat0, runoff_lat_inc(MAX_LAT_INC)
369     INTEGER runoff_nlon, runoff_nlat
370     _RL atemp_lon0, atemp_lon_inc
371 dimitri 1.10 _RL atemp_lat0, atemp_lat_inc(MAX_LAT_INC)
372 dimitri 1.9 INTEGER atemp_nlon, atemp_nlat
373     _RL aqh_lon0, aqh_lon_inc
374 dimitri 1.10 _RL aqh_lat0, aqh_lat_inc(MAX_LAT_INC)
375 dimitri 1.9 INTEGER aqh_nlon, aqh_nlat
376     _RL evap_lon0, evap_lon_inc
377 dimitri 1.10 _RL evap_lat0, evap_lat_inc(MAX_LAT_INC)
378 dimitri 1.9 INTEGER evap_nlon, evap_nlat
379     _RL precip_lon0, precip_lon_inc
380 dimitri 1.10 _RL precip_lat0, precip_lat_inc(MAX_LAT_INC)
381 dimitri 1.9 INTEGER precip_nlon, precip_nlat
382     _RL uwind_lon0, uwind_lon_inc
383 dimitri 1.10 _RL uwind_lat0, uwind_lat_inc(MAX_LAT_INC)
384 dimitri 1.9 INTEGER uwind_nlon, uwind_nlat
385     _RL vwind_lon0, vwind_lon_inc
386 dimitri 1.10 _RL vwind_lat0, vwind_lat_inc(MAX_LAT_INC)
387 dimitri 1.9 INTEGER vwind_nlon, vwind_nlat
388     _RL lwflux_lon0, lwflux_lon_inc
389 dimitri 1.10 _RL lwflux_lat0, lwflux_lat_inc(MAX_LAT_INC)
390 dimitri 1.9 INTEGER lwflux_nlon, lwflux_nlat
391     _RL swdown_lon0, swdown_lon_inc
392 dimitri 1.10 _RL swdown_lat0, swdown_lat_inc(MAX_LAT_INC)
393 dimitri 1.9 INTEGER swdown_nlon, swdown_nlat
394     _RL lwdown_lon0, lwdown_lon_inc
395 dimitri 1.10 _RL lwdown_lat0, lwdown_lat_inc(MAX_LAT_INC)
396 dimitri 1.9 INTEGER lwdown_nlon, lwdown_nlat
397     _RL apressure_lon0,apressure_lon_inc
398 dimitri 1.10 _RL apressure_lat0,apressure_lat_inc(MAX_LAT_INC)
399 dimitri 1.9 INTEGER apressure_nlon,apressure_nlat
400    
401 dimitri 1.10 common /exf_interpolation/
402 dimitri 1.9 & ustress_lon0, ustress_lon_inc,
403     & ustress_lat0, ustress_lat_inc,
404     & ustress_nlon, ustress_nlat,
405     & vstress_lon0, vstress_lon_inc,
406     & vstress_lat0, vstress_lat_inc,
407     & vstress_nlon, vstress_nlat,
408     & hflux_lon0, hflux_lon_inc,
409     & hflux_lat0, hflux_lat_inc,
410     & hflux_nlon, hflux_nlat,
411     & sflux_lon0, sflux_lon_inc,
412     & sflux_lat0, sflux_lat_inc,
413     & sflux_nlon, sflux_nlat,
414     & swflux_lon0, swflux_lon_inc,
415     & swflux_lat0, swflux_lat_inc,
416     & swflux_nlon, swflux_nlat,
417     & runoff_lon0, runoff_lon_inc,
418     & runoff_lat0, runoff_lat_inc,
419     & runoff_nlon, runoff_nlat,
420 dimitri 1.12 & atemp_lon0, atemp_lon_inc,
421 dimitri 1.9 & atemp_lat0, atemp_lat_inc,
422     & atemp_nlon, atemp_nlat,
423     & aqh_lon0, aqh_lon_inc,
424     & aqh_lat0, aqh_lat_inc,
425     & aqh_nlon, aqh_nlat,
426     & evap_lon0, evap_lon_inc,
427     & evap_lat0, evap_lat_inc,
428     & evap_nlon, evap_nlat,
429     & precip_lon0, precip_lon_inc,
430     & precip_lat0, precip_lat_inc,
431     & precip_nlon, precip_nlat,
432     & uwind_lon0, uwind_lon_inc,
433     & uwind_lat0, uwind_lat_inc,
434     & uwind_nlon, uwind_nlat,
435     & vwind_lon0, vwind_lon_inc,
436     & vwind_lat0, vwind_lat_inc,
437     & vwind_nlon, vwind_nlat,
438     & lwflux_lon0, lwflux_lon_inc,
439     & lwflux_lat0, lwflux_lat_inc,
440     & lwflux_nlon, lwflux_nlat,
441     & swdown_lon0, swdown_lon_inc,
442     & swdown_lat0, swdown_lat_inc,
443     & swdown_nlon, swdown_nlat,
444     & lwdown_lon0, lwdown_lon_inc,
445     & lwdown_lat0, lwdown_lat_inc,
446     & lwdown_nlon, lwdown_nlat,
447     & apressure_lon0,apressure_lon_inc,
448     & apressure_lat0,apressure_lat_inc,
449     & apressure_nlon,apressure_nlat
450     #endif

  ViewVC Help
Powered by ViewVC 1.1.22