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

Contents of /MITgcm/pkg/exf/EXF_PARAM.h

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


Revision 1.1 - (show annotations) (download)
Mon Apr 16 23:27:20 2007 UTC (17 years, 1 month ago) by jmc
Branch: MAIN
File MIME type: text/plain
move EXF header files from lower_case.h to UPPER_CASE.h ;
 add missing cvs Header & Name

1 C $Header: $
2 C $Name: $
3 c
4 c
5 c ==================================================================
6 c HEADER exf_param
7 c ==================================================================
8 c
9 c o Header file for the surface flux data. Used by the external
10 c forcing package.
11 c
12 c started: Christian Eckert eckert@mit.edu 30-Jun-1999
13 c
14 c changed: Christian Eckert eckert@mit.edu 14-Jan-2000
15 c - Restructured the original version in order to have a
16 c better interface to the MITgcmUV.
17 c
18 c Christian Eckert eckert@mit.edu 12-Feb-2000
19 c - Changed some variables names (package prefix: exf_)
20 c
21 c Patrick Heimbach, heimbach@mit.edu 04-May-2000
22 c - included exf_iprec, exf_yftype to enable easy
23 c switch between 32bit/64 bit data format
24 c
25 c Patrick Heimbach, heimbach@mit.edu 01-May-2001
26 c - added obcs parameters
27 c
28 c mods for pkg/seaice: menemenlis@jpl.nasa.gov 20-Dec-2002
29 c
30 c ==================================================================
31 c HEADER exf_param
32 c ==================================================================
33
34 c year in seconds
35 _RL year2sec
36
37 c Calendar data.
38 _RL repeatPeriod
39
40 c Monitor Frequency (s)
41 _RL exf_monFreq
42
43 c Sea-water albedo
44 _RL exf_albedo
45 c longwave surface emissivities (ice and snow emissivities are used
46 c in conjunction with thsice/seaice)
47 _RL ocean_emissivity
48 _RL ice_emissivity
49 _RL snow_emissivity
50
51 c Drag coefficient scaling factor
52 _RL exf_scal_BulkCdn
53
54 c Maximum absolute windstress, used to reset unreastically high
55 c data values
56 _RL windstressmax
57
58 integer hfluxstartdate1
59 integer hfluxstartdate2
60 _RL hfluxstartdate
61 _RL hfluxperiod
62 _RL hfluxconst
63 _RL hflux_exfremo_intercept
64 _RL hflux_exfremo_slope
65 character*1 hfluxmask
66 parameter( hfluxmask = 's' )
67
68 integer atempstartdate1
69 integer atempstartdate2
70 _RL atempstartdate
71 _RL atempperiod
72 _RL atempconst
73 _RL atemp_exfremo_intercept
74 _RL atemp_exfremo_slope
75 character*1 atempmask
76 parameter( atempmask = 's' )
77
78 integer aqhstartdate1
79 integer aqhstartdate2
80 _RL aqhstartdate
81 _RL aqhperiod
82 _RL aqhconst
83 _RL aqh_exfremo_intercept
84 _RL aqh_exfremo_slope
85 character*1 aqhmask
86 parameter( aqhmask = 's' )
87
88 integer sfluxstartdate1
89 integer sfluxstartdate2
90 _RL sfluxstartdate
91 _RL sfluxperiod
92 _RL sfluxconst
93 _RL sflux_exfremo_intercept
94 _RL sflux_exfremo_slope
95 character*1 sfluxmask
96 parameter( sfluxmask = 's' )
97
98 integer evapstartdate1
99 integer evapstartdate2
100 _RL evapstartdate
101 _RL evapperiod
102 _RL evapconst
103 _RL evap_exfremo_intercept
104 _RL evap_exfremo_slope
105 character*1 evapmask
106 parameter( evapmask = 's' )
107
108 integer precipstartdate1
109 integer precipstartdate2
110 _RL precipstartdate
111 _RL precipperiod
112 _RL precipconst
113 _RL precip_exfremo_intercept
114 _RL precip_exfremo_slope
115 character*1 precipmask
116 parameter( precipmask = 's' )
117
118 integer snowprecipstartdate1
119 integer snowprecipstartdate2
120 _RL snowprecipstartdate
121 _RL snowprecipperiod
122 _RL snowprecipconst
123 _RL snowprecip_exfremo_intercept
124 _RL snowprecip_exfremo_slope
125 character*1 snowprecipmask
126 parameter( snowprecipmask = 's' )
127
128 integer runoffstartdate1
129 integer runoffstartdate2
130 _RL runoffstartdate
131 _RL runoffperiod
132 _RL runoffconst
133 _RL runoff_exfremo_intercept
134 _RL runoff_exfremo_slope
135 character*1 runoffmask
136 parameter( runoffmask = 's' )
137
138 integer ustressstartdate1
139 integer ustressstartdate2
140 _RL ustressstartdate
141 _RL ustressperiod
142 _RL ustressconst
143 _RL ustress_exfremo_intercept
144 _RL ustress_exfremo_slope
145 character*1 ustressmask
146 parameter( ustressmask = 'u' )
147
148 integer vstressstartdate1
149 integer vstressstartdate2
150 _RL vstressstartdate
151 _RL vstressperiod
152 _RL vstressconst
153 _RL vstress_exfremo_intercept
154 _RL vstress_exfremo_slope
155 character*1 vstressmask
156 parameter( vstressmask = 'v' )
157
158 integer uwindstartdate1
159 integer uwindstartdate2
160 _RL uwindstartdate
161 _RL uwindperiod
162 _RL uwindconst
163 _RL uwind_exfremo_intercept
164 _RL uwind_exfremo_slope
165 character*1 uwindmask
166 parameter( uwindmask = 's' )
167
168 integer vwindstartdate1
169 integer vwindstartdate2
170 _RL vwindstartdate
171 _RL vwindperiod
172 _RL vwindconst
173 _RL vwind_exfremo_intercept
174 _RL vwind_exfremo_slope
175 character*1 vwindmask
176 parameter( vwindmask = 's' )
177
178 integer wspeedstartdate1
179 integer wspeedstartdate2
180 _RL wspeedstartdate
181 _RL wspeedperiod
182 _RL wspeedconst
183 _RL wspeed_exfremo_intercept
184 _RL wspeed_exfremo_slope
185 character*1 wspeedmask
186 parameter( wspeedmask = 's' )
187
188 integer swfluxstartdate1
189 integer swfluxstartdate2
190 _RL swfluxstartdate
191 _RL swfluxperiod
192 _RL swfluxconst
193 _RL swflux_exfremo_intercept
194 _RL swflux_exfremo_slope
195 character*1 swfluxmask
196 parameter( swfluxmask = 's' )
197
198 integer lwfluxstartdate1
199 integer lwfluxstartdate2
200 _RL lwfluxstartdate
201 _RL lwfluxperiod
202 _RL lwfluxconst
203 _RL lwflux_exfremo_intercept
204 _RL lwflux_exfremo_slope
205 character*1 lwfluxmask
206 parameter( lwfluxmask = 's' )
207
208 integer swdownstartdate1
209 integer swdownstartdate2
210 _RL swdownstartdate
211 _RL swdownperiod
212 _RL swdownconst
213 _RL swdown_exfremo_intercept
214 _RL swdown_exfremo_slope
215 character*1 swdownmask
216 parameter( swdownmask = 's' )
217
218 integer lwdownstartdate1
219 integer lwdownstartdate2
220 _RL lwdownstartdate
221 _RL lwdownperiod
222 _RL lwdownconst
223 _RL lwdown_exfremo_intercept
224 _RL lwdown_exfremo_slope
225 character*1 lwdownmask
226 parameter( lwdownmask = 's' )
227
228 integer apressurestartdate1
229 integer apressurestartdate2
230 _RL apressurestartdate
231 _RL apressureperiod
232 _RL apressureconst
233 _RL apressure_exfremo_intercept
234 _RL apressure_exfremo_slope
235 character*1 apressuremask
236 parameter( apressuremask = 's' )
237
238 integer obcsNstartdate1
239 integer obcsNstartdate2
240 _RL obcsNstartdate
241 _RL obcsNperiod
242
243 integer obcsSstartdate1
244 integer obcsSstartdate2
245 _RL obcsSstartdate
246 _RL obcsSperiod
247
248 integer obcsEstartdate1
249 integer obcsEstartdate2
250 _RL obcsEstartdate
251 _RL obcsEperiod
252
253 integer obcsWstartdate1
254 integer obcsWstartdate2
255 _RL obcsWstartdate
256 _RL obcsWperiod
257
258 c File names.
259 character*(128) hfluxfile
260 character*(128) atempfile
261 character*(128) aqhfile
262 character*(128) evapfile
263 character*(128) precipfile
264 character*(128) snowprecipfile
265 character*(128) sfluxfile
266 character*(128) runofffile
267 character*(128) ustressfile
268 character*(128) vstressfile
269 character*(128) uwindfile
270 character*(128) vwindfile
271 character*(128) wspeedfile
272 character*(128) swfluxfile
273 character*(128) lwfluxfile
274 character*(128) swdownfile
275 character*(128) lwdownfile
276 character*(128) apressurefile
277
278 C useExfYearlyFields :: when set, automatically add extension
279 C _YEAR to input file names
280 C twoDigitYear :: when set, use 2-digit year extension YR
281 C instead of _YEAR for useExfYearlyFields
282 logical useExfYearlyFields, twoDigitYear
283 logical useExfCheckRange
284
285 common /exf_param_l/
286 & useExfYearlyFields, twoDigitYear,
287 & useExfCheckRange
288 common /exf_param_i/
289 & hfluxstartdate1, hfluxstartdate2,
290 & atempstartdate1, atempstartdate2,
291 & aqhstartdate1, aqhstartdate2,
292 & sfluxstartdate1, sfluxstartdate2,
293 & evapstartdate1, evapstartdate2,
294 & runoffstartdate1, runoffstartdate2,
295 & precipstartdate1, precipstartdate2,
296 & snowprecipstartdate1, snowprecipstartdate2,
297 & ustressstartdate1, ustressstartdate2,
298 & vstressstartdate1, vstressstartdate2,
299 & uwindstartdate1, uwindstartdate2,
300 & vwindstartdate1, vwindstartdate2,
301 & wspeedstartdate1, wspeedstartdate2,
302 & swfluxstartdate1, swfluxstartdate2,
303 & lwfluxstartdate1, lwfluxstartdate2,
304 & swdownstartdate1, swdownstartdate2,
305 & lwdownstartdate1, lwdownstartdate2,
306 & obcsNstartdate1, obcsNstartdate2,
307 & obcsSstartdate1, obcsSstartdate2,
308 & obcsEstartdate1, obcsEstartdate2,
309 & obcsWstartdate1, obcsWstartdate2,
310 & apressurestartdate1,apressurestartdate2
311
312 common /exf_param_r/
313 & year2sec, windstressmax,
314 & repeatPeriod, exf_monFreq,
315 & exf_albedo, ocean_emissivity,
316 & ice_emissivity, snow_emissivity,
317 & exf_scal_BulkCdn,
318 & hfluxperiod, hfluxstartdate,
319 & atempperiod, atempstartdate,
320 & aqhperiod, aqhstartdate,
321 & sfluxperiod, sfluxstartdate,
322 & evapperiod, evapstartdate,
323 & precipperiod, precipstartdate,
324 & snowprecipperiod, snowprecipstartdate,
325 & runoffperiod, runoffstartdate,
326 & ustressperiod, ustressstartdate,
327 & vstressperiod, vstressstartdate,
328 & uwindperiod, uwindstartdate,
329 & vwindperiod, vwindstartdate,
330 & wspeedperiod, wspeedstartdate,
331 & swfluxperiod, swfluxstartdate,
332 & lwfluxperiod, lwfluxstartdate,
333 & swdownperiod, swdownstartdate,
334 & lwdownperiod, lwdownstartdate,
335 & obcsNperiod, obcsNstartdate,
336 & obcsSperiod, obcsSstartdate,
337 & obcsEperiod, obcsEstartdate,
338 & obcsWperiod, obcsWstartdate,
339 & apressureperiod, apressurestartdate,
340 & hfluxconst,
341 & atempconst,
342 & aqhconst,
343 & sfluxconst,
344 & evapconst,
345 & precipconst,
346 & snowprecipconst,
347 & runoffconst,
348 & ustressconst,
349 & vstressconst,
350 & uwindconst,
351 & vwindconst,
352 & wspeedconst,
353 & swfluxconst,
354 & lwfluxconst,
355 & swdownconst,
356 & lwdownconst,
357 & apressureconst
358
359 common /exf_param_trend_removal/
360 & hflux_exfremo_intercept,
361 & atemp_exfremo_intercept,
362 & aqh_exfremo_intercept,
363 & sflux_exfremo_intercept,
364 & evap_exfremo_intercept,
365 & precip_exfremo_intercept,
366 & snowprecip_exfremo_intercept,
367 & runoff_exfremo_intercept,
368 & ustress_exfremo_intercept,
369 & vstress_exfremo_intercept,
370 & uwind_exfremo_intercept,
371 & vwind_exfremo_intercept,
372 & wspeed_exfremo_intercept,
373 & swflux_exfremo_intercept,
374 & lwflux_exfremo_intercept,
375 & swdown_exfremo_intercept,
376 & lwdown_exfremo_intercept,
377 & apressure_exfremo_intercept,
378 & hflux_exfremo_slope,
379 & atemp_exfremo_slope,
380 & aqh_exfremo_slope,
381 & sflux_exfremo_slope,
382 & evap_exfremo_slope,
383 & precip_exfremo_slope,
384 & snowprecip_exfremo_slope,
385 & runoff_exfremo_slope,
386 & ustress_exfremo_slope,
387 & vstress_exfremo_slope,
388 & uwind_exfremo_slope,
389 & vwind_exfremo_slope,
390 & wspeed_exfremo_slope,
391 & swflux_exfremo_slope,
392 & lwflux_exfremo_slope,
393 & swdown_exfremo_slope,
394 & lwdown_exfremo_slope,
395 & apressure_exfremo_slope
396
397 common /exf_param_c/
398 & hfluxfile,
399 & atempfile,
400 & aqhfile,
401 & sfluxfile,
402 & evapfile,
403 & precipfile,
404 & snowprecipfile,
405 & runofffile,
406 & ustressfile,
407 & vstressfile,
408 & uwindfile,
409 & vwindfile,
410 & wspeedfile,
411 & swfluxfile,
412 & lwfluxfile,
413 & swdownfile,
414 & lwdownfile,
415 & apressurefile
416
417 c file precision and field type
418
419 common /exf_param_type/
420 & exf_iprec,
421 & exf_yftype
422
423 integer exf_iprec
424 character*(2) exf_yftype
425
426 c exf_inscal_* input scaling factors
427 c exf_offset_atemp input air temperature offset
428 c (for conversion from C to K, if needed)
429 c exf_outscale_* output scaling factors
430
431 _RL exf_inscal_hflux
432 _RL exf_inscal_sflux
433 _RL exf_inscal_ustress
434 _RL exf_inscal_vstress
435 _RL exf_inscal_uwind
436 _RL exf_inscal_vwind
437 _RL exf_inscal_wspeed
438 _RL exf_inscal_swflux
439 _RL exf_inscal_lwflux
440 _RL exf_inscal_precip
441 _RL exf_inscal_snowprecip
442 _RL exf_inscal_sst
443 _RL exf_inscal_sss
444 _RL exf_inscal_atemp
445 _RL exf_offset_atemp
446 _RL exf_inscal_aqh
447 _RL exf_inscal_evap
448 _RL exf_inscal_apressure
449 _RL exf_inscal_runoff
450 _RL exf_inscal_swdown
451 _RL exf_inscal_lwdown
452
453 _RL exf_outscal_hflux
454 _RL exf_outscal_sflux
455 _RL exf_outscal_ustress
456 _RL exf_outscal_vstress
457 _RL exf_outscal_swflux
458 _RL exf_outscal_sst
459 _RL exf_outscal_sss
460 _RL exf_outscal_apressure
461
462 common /exf_param_scal/
463 & exf_inscal_hflux
464 & , exf_inscal_sflux
465 & , exf_inscal_ustress
466 & , exf_inscal_vstress
467 & , exf_inscal_uwind
468 & , exf_inscal_vwind
469 & , exf_inscal_wspeed
470 & , exf_inscal_swflux
471 & , exf_inscal_lwflux
472 & , exf_inscal_precip
473 & , exf_inscal_snowprecip
474 & , exf_inscal_sst
475 & , exf_inscal_sss
476 & , exf_inscal_atemp
477 & , exf_offset_atemp
478 & , exf_inscal_aqh
479 & , exf_inscal_evap
480 & , exf_inscal_apressure
481 & , exf_inscal_runoff
482 & , exf_inscal_swdown
483 & , exf_inscal_lwdown
484 & , exf_outscal_hflux
485 & , exf_outscal_sflux
486 & , exf_outscal_ustress
487 & , exf_outscal_vstress
488 & , exf_outscal_swflux
489 & , exf_outscal_sst
490 & , exf_outscal_sss
491 & , exf_outscal_apressure
492
493 #ifndef USE_EXF_INTERPOLATION
494 c-- set dummy dimension 1
495 integer MAX_LAT_INC
496 parameter(MAX_LAT_INC = 1)
497 #else
498 c for lat interpolation, arraysize currently set to 2176 max data values
499 integer MAX_LAT_INC
500 parameter(MAX_LAT_INC = 2176)
501 _RL ustress_lon0, ustress_lon_inc
502 _RL ustress_lat0, ustress_lat_inc(MAX_LAT_INC)
503 INTEGER ustress_nlon, ustress_nlat
504 _RL vstress_lon0, vstress_lon_inc
505 _RL vstress_lat0, vstress_lat_inc(MAX_LAT_INC)
506 INTEGER vstress_nlon, vstress_nlat
507 _RL hflux_lon0, hflux_lon_inc
508 _RL hflux_lat0, hflux_lat_inc(MAX_LAT_INC)
509 INTEGER hflux_nlon, hflux_nlat
510 _RL sflux_lon0, sflux_lon_inc
511 _RL sflux_lat0, sflux_lat_inc(MAX_LAT_INC)
512 INTEGER sflux_nlon, sflux_nlat
513 _RL swflux_lon0, swflux_lon_inc
514 _RL swflux_lat0, swflux_lat_inc(MAX_LAT_INC)
515 INTEGER swflux_nlon, swflux_nlat
516 _RL runoff_lon0, runoff_lon_inc
517 _RL runoff_lat0, runoff_lat_inc(MAX_LAT_INC)
518 INTEGER runoff_nlon, runoff_nlat
519 _RL atemp_lon0, atemp_lon_inc
520 _RL atemp_lat0, atemp_lat_inc(MAX_LAT_INC)
521 INTEGER atemp_nlon, atemp_nlat
522 _RL aqh_lon0, aqh_lon_inc
523 _RL aqh_lat0, aqh_lat_inc(MAX_LAT_INC)
524 INTEGER aqh_nlon, aqh_nlat
525 _RL evap_lon0, evap_lon_inc
526 _RL evap_lat0, evap_lat_inc(MAX_LAT_INC)
527 INTEGER evap_nlon, evap_nlat
528 _RL precip_lon0, precip_lon_inc
529 _RL precip_lat0, precip_lat_inc(MAX_LAT_INC)
530 INTEGER precip_nlon, precip_nlat
531 _RL snowprecip_lon0, snowprecip_lon_inc
532 _RL snowprecip_lat0, snowprecip_lat_inc(MAX_LAT_INC)
533 INTEGER snowprecip_nlon, snowprecip_nlat
534 _RL uwind_lon0, uwind_lon_inc
535 _RL uwind_lat0, uwind_lat_inc(MAX_LAT_INC)
536 INTEGER uwind_nlon, uwind_nlat
537 _RL vwind_lon0, vwind_lon_inc
538 _RL vwind_lat0, vwind_lat_inc(MAX_LAT_INC)
539 INTEGER vwind_nlon, vwind_nlat
540 _RL wspeed_lon0, wspeed_lon_inc
541 _RL wspeed_lat0, wspeed_lat_inc(MAX_LAT_INC)
542 INTEGER wspeed_nlon, wspeed_nlat
543 _RL lwflux_lon0, lwflux_lon_inc
544 _RL lwflux_lat0, lwflux_lat_inc(MAX_LAT_INC)
545 INTEGER lwflux_nlon, lwflux_nlat
546 _RL swdown_lon0, swdown_lon_inc
547 _RL swdown_lat0, swdown_lat_inc(MAX_LAT_INC)
548 INTEGER swdown_nlon, swdown_nlat
549 _RL lwdown_lon0, lwdown_lon_inc
550 _RL lwdown_lat0, lwdown_lat_inc(MAX_LAT_INC)
551 INTEGER lwdown_nlon, lwdown_nlat
552 _RL apressure_lon0,apressure_lon_inc
553 _RL apressure_lat0,apressure_lat_inc(MAX_LAT_INC)
554 INTEGER apressure_nlon,apressure_nlat
555
556 common /exf_interpolation/
557 & ustress_lon0, ustress_lon_inc,
558 & ustress_lat0, ustress_lat_inc,
559 & ustress_nlon, ustress_nlat,
560 & vstress_lon0, vstress_lon_inc,
561 & vstress_lat0, vstress_lat_inc,
562 & vstress_nlon, vstress_nlat,
563 & hflux_lon0, hflux_lon_inc,
564 & hflux_lat0, hflux_lat_inc,
565 & hflux_nlon, hflux_nlat,
566 & sflux_lon0, sflux_lon_inc,
567 & sflux_lat0, sflux_lat_inc,
568 & sflux_nlon, sflux_nlat,
569 & swflux_lon0, swflux_lon_inc,
570 & swflux_lat0, swflux_lat_inc,
571 & swflux_nlon, swflux_nlat,
572 & runoff_lon0, runoff_lon_inc,
573 & runoff_lat0, runoff_lat_inc,
574 & runoff_nlon, runoff_nlat,
575 & atemp_lon0, atemp_lon_inc,
576 & atemp_lat0, atemp_lat_inc,
577 & atemp_nlon, atemp_nlat,
578 & aqh_lon0, aqh_lon_inc,
579 & aqh_lat0, aqh_lat_inc,
580 & aqh_nlon, aqh_nlat,
581 & evap_lon0, evap_lon_inc,
582 & evap_lat0, evap_lat_inc,
583 & evap_nlon, evap_nlat,
584 & precip_lon0, precip_lon_inc,
585 & precip_lat0, precip_lat_inc,
586 & precip_nlon, precip_nlat,
587 & snowprecip_lon0, snowprecip_lon_inc,
588 & snowprecip_lat0, snowprecip_lat_inc,
589 & snowprecip_nlon, snowprecip_nlat,
590 & uwind_lon0, uwind_lon_inc,
591 & uwind_lat0, uwind_lat_inc,
592 & uwind_nlon, uwind_nlat,
593 & vwind_lon0, vwind_lon_inc,
594 & vwind_lat0, vwind_lat_inc,
595 & vwind_nlon, vwind_nlat,
596 & wspeed_lon0, wspeed_lon_inc,
597 & wspeed_lat0, wspeed_lat_inc,
598 & wspeed_nlon, wspeed_nlat,
599 & lwflux_lon0, lwflux_lon_inc,
600 & lwflux_lat0, lwflux_lat_inc,
601 & lwflux_nlon, lwflux_nlat,
602 & swdown_lon0, swdown_lon_inc,
603 & swdown_lat0, swdown_lat_inc,
604 & swdown_nlon, swdown_nlat,
605 & lwdown_lon0, lwdown_lon_inc,
606 & lwdown_lat0, lwdown_lat_inc,
607 & lwdown_nlon, lwdown_nlat,
608 & apressure_lon0,apressure_lon_inc,
609 & apressure_lat0,apressure_lat_inc,
610 & apressure_nlon,apressure_nlat
611 #endif

  ViewVC Help
Powered by ViewVC 1.1.22