/[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.26 - (show annotations) (download)
Mon Jun 19 23:20:48 2006 UTC (17 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint58l_post, checkpoint58m_post, checkpoint58n_post, checkpoint58o_post, checkpoint58k_post, checkpoint58p_post
Changes since 1.25: +6 -3 lines
File MIME type: text/plain
change exf_monitor: - independant of main-monitor (write it's own mnc file)
 - called from the end of S/R EXF_GETFORCING

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

  ViewVC Help
Powered by ViewVC 1.1.22