/[MITgcm]/MITgcm_contrib/ecco_darwin/v2_cs510_Brix/code/EXF_PARAM.h
ViewVC logotype

Annotation of /MITgcm_contrib/ecco_darwin/v2_cs510_Brix/code/EXF_PARAM.h

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


Revision 1.1 - (hide annotations) (download)
Tue Aug 28 14:59:05 2018 UTC (6 years, 11 months ago) by dimitri
Branch: MAIN
File MIME type: text/plain
initial check-in of v2_cs510_Brix
right now it is a shell that is identical to v3_cs510_Brix
we will modify it to match the Brix et al 2015 v2 solution

1 dimitri 1.1 C $Header: /u/gcmpack/MITgcm_contrib/ecco_darwin/v3_cs510_Brix/code/EXF_PARAM.h,v 1.1 2017/11/28 19:50:42 dimitri Exp $
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 Repeat period for forcing fields (s)
38     c For example, for yearly repeat period: repeatPeriod=31556925.
39     c Note: this option is not yet coded for sub-daily
40     c forcing and for leap years but this limitation can be
41     c circumvented by using a 4-year (1461-day) repeatPeriod
42     _RL repeatPeriod
43    
44     c Monitor Frequency (s)
45     _RL exf_monFreq
46    
47     c Drag coefficient scaling factor
48     _RL exf_scal_BulkCdn
49    
50     c Maximum absolute windstress, used to reset unreastically high
51     c data values
52     _RL windstressmax
53    
54     c Description of contents of surface boundary condition files
55     c Note: fieldperiod=0 means input file is one time-constant field
56     c fieldperiod=-12 means input file contains 12 monthly means
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 areamaskstartdate1
239     integer areamaskstartdate2
240     _RL areamaskstartdate
241     _RL areamaskperiod
242     _RL areamaskTauRelax
243     _RL areamaskconst
244     _RL areamask_exfremo_intercept
245     _RL areamask_exfremo_slope
246     character*1 areamaskmask
247     parameter( areamaskmask = 's' )
248    
249     c Calendar data.
250     integer climsststartdate1
251     integer climsststartdate2
252     _RL climsststartdate
253     _RL climsstperiod
254     _RL climsstTauRelax
255     _RL climsstconst
256     _RL climsst_exfremo_intercept
257     _RL climsst_exfremo_slope
258     character*1 climsstmask
259     parameter( climsstmask = 's' )
260    
261     integer climsssstartdate1
262     integer climsssstartdate2
263     _RL climsssstartdate
264     _RL climsssperiod
265     _RL climsssTauRelax
266     _RL climsssconst
267     _RL climsss_exfremo_intercept
268     _RL climsss_exfremo_slope
269     character*1 climsssmask
270     parameter( climsssmask = 's' )
271    
272     integer climustrstartdate1
273     integer climustrstartdate2
274     _RL climustrstartdate
275     _RL climustrperiod
276     _RL climustrTauRelax
277     _RL climustrconst
278     _RL climustr_exfremo_intercept
279     _RL climustr_exfremo_slope
280     character*1 climustrmask
281     parameter( climustrmask = 'u' )
282    
283     integer climvstrstartdate1
284     integer climvstrstartdate2
285     _RL climvstrstartdate
286     _RL climvstrperiod
287     _RL climvstrTauRelax
288     _RL climvstrconst
289     _RL climvstr_exfremo_intercept
290     _RL climvstr_exfremo_slope
291     character*1 climvstrmask
292     parameter( climvstrmask = 'v' )
293    
294     c freezing temperature is the minimum temperature allowed, used
295     c to reset climatological temperatures fields where they have
296     c values below climtempfreeze
297     _RL climtempfreeze
298    
299     c the following variables are used in conjunction
300     c with pkg/icefront to specify sub-glacial runoff
301     integer sgrunoffstartdate1
302     integer sgrunoffstartdate2
303     _RL sgrunoffstartdate
304     _RL sgrunoffperiod
305     _RL sgrunoffconst
306     _RL sgrunoff_exfremo_intercept
307     _RL sgrunoff_exfremo_slope
308     _RL exf_inscal_sgrunoff
309     character*1 sgrunoffmask
310     parameter( sgrunoffmask = 's' )
311    
312     c the following variables are used in conjunction with pkg/obcs
313     c to describe S/T/U/V open boundary condition files
314     integer obcsNstartdate1
315     integer obcsNstartdate2
316     integer obcsSstartdate1
317     integer obcsSstartdate2
318     integer obcsEstartdate1
319     integer obcsEstartdate2
320     integer obcsWstartdate1
321     integer obcsWstartdate2
322     _RL obcsNstartdate
323     _RL obcsNperiod
324     _RL obcsSstartdate
325     _RL obcsSperiod
326     _RL obcsEstartdate
327     _RL obcsEperiod
328     _RL obcsWstartdate
329     _RL obcsWperiod
330    
331     c the following variables are used in conjunction with pkg/obcs
332     c and pkg/seaice to describe area, heff, hsnow, hsalt, uice,
333     c and vice open boundary condition files
334     integer siobNstartdate1
335     integer siobNstartdate2
336     integer siobSstartdate1
337     integer siobSstartdate2
338     integer siobEstartdate1
339     integer siobEstartdate2
340     integer siobWstartdate1
341     integer siobWstartdate2
342     _RL siobNstartdate
343     _RL siobNperiod
344     _RL siobSstartdate
345     _RL siobSperiod
346     _RL siobEstartdate
347     _RL siobEperiod
348     _RL siobWstartdate
349     _RL siobWperiod
350    
351     #ifdef USE_EXFCO2
352     integer apco2startdate1
353     integer apco2startdate2
354     _RL apco2startdate
355     _RL apco2period
356     _RL apco2const
357     _RL apco2_exfremo_intercept
358     _RL apco2_exfremo_slope
359     character*1 apco2mask
360     parameter( apco2mask = 's' )
361     #endif
362    
363    
364     c File names.
365     character*(128) hfluxfile
366     character*(128) atempfile
367     character*(128) aqhfile
368     character*(128) evapfile
369     character*(128) precipfile
370     character*(128) snowprecipfile
371     character*(128) sfluxfile
372     character*(128) runofffile
373     character*(128) ustressfile
374     character*(128) vstressfile
375     character*(128) uwindfile
376     character*(128) vwindfile
377     character*(128) wspeedfile
378     character*(128) swfluxfile
379     character*(128) lwfluxfile
380     character*(128) swdownfile
381     character*(128) lwdownfile
382     character*(128) apressurefile
383     character*(128) areamaskfile
384     character*(128) climsstfile
385     character*(128) climsssfile
386     character*(128) climustrfile
387     character*(128) climvstrfile
388     #ifdef USE_EXFCO2
389     character*(128) apco2file
390     #endif
391    
392    
393     C exf_verbose :: print more messages to STDOUT (e.g., when read new rec)
394     C useExfCheckRange :: check range of input/output field values
395     C useExfYearlyFields :: when set, automatically add extension
396     C _YEAR to input file names; the yearly files need
397     C to contain all the records that pertain to
398     C a particular year, including day 1, hour zero
399     C twoDigitYear :: when set, use 2-digit year extension YR
400     C instead of _YEAR for useExfYearlyFields
401     C readStressOnAgrid :: read wind-streess located on model-grid, A-grid position
402     C readStressOnCgrid :: read wind-streess located on model-grid, C-grid position
403     C stressIsOnCgrid :: ustress & vstress are positioned on Arakawa C-grid
404     C useStabilityFct_overIce :: over sea-ice, compute turbulent transfert
405     C coeff. function of stability (like over
406     C open ocean) rather than using fixed Coeff.
407     C useRelativeWind :: Subtract U/VVEL or U/VICE from U/VWIND before computing U/VSTRESS
408     C noNegativeEvap :: prevent negative evaporation (= sea-surface condensation)
409     C useExfZenAlbedo :: ocean albedo (direct part) may vary with zenith angle (see select_ZenAlbedo)
410     C select_ZenAlbedo :: switch to different methods to compute albedo (direct part)
411     C :: 0 just use exf_albedo
412     C :: 1 use daily mean albedo from exf_zenithangle_table.F
413     C :: 2 use daily mean albedo computed as in pkg/aim_v23
414     C :: 3 use daily variable albedo
415     C useExfZenIncoming :: compute incoming solar radiation along with zenith angle
416    
417     logical exf_verbose
418     logical useExfCheckRange
419     logical useExfYearlyFields, twoDigitYear
420     logical readStressOnAgrid
421     logical readStressOnCgrid
422     logical stressIsOnCgrid
423     logical useStabilityFct_overIce
424     logical useRelativeWind
425     logical noNegativeEvap
426    
427     logical useExfZenAlbedo
428     integer select_ZenAlbedo
429     logical useExfZenIncoming
430    
431     common /exf_param_l/
432     & exf_verbose, useExfCheckRange,
433     & useExfYearlyFields, twoDigitYear,
434     & useExfZenAlbedo, useExfZenIncoming,
435     & readStressOnAgrid, readStressOnCgrid,
436     & stressIsOnCgrid, useStabilityFct_overIce,
437     & useRelativeWind, noNegativeEvap
438     common /exf_param_i/
439     & select_ZenAlbedo,
440     & hfluxstartdate1, hfluxstartdate2,
441     & atempstartdate1, atempstartdate2,
442     & aqhstartdate1, aqhstartdate2,
443     & sfluxstartdate1, sfluxstartdate2,
444     & evapstartdate1, evapstartdate2,
445     & runoffstartdate1, runoffstartdate2,
446     & sgrunoffstartdate1,sgrunoffstartdate2,
447     & precipstartdate1, precipstartdate2,
448     & snowprecipstartdate1, snowprecipstartdate2,
449     & ustressstartdate1, ustressstartdate2,
450     & vstressstartdate1, vstressstartdate2,
451     & uwindstartdate1, uwindstartdate2,
452     & vwindstartdate1, vwindstartdate2,
453     & wspeedstartdate1, wspeedstartdate2,
454     & swfluxstartdate1, swfluxstartdate2,
455     & lwfluxstartdate1, lwfluxstartdate2,
456     & swdownstartdate1, swdownstartdate2,
457     & lwdownstartdate1, lwdownstartdate2,
458     & obcsNstartdate1, obcsNstartdate2,
459     & obcsSstartdate1, obcsSstartdate2,
460     & obcsEstartdate1, obcsEstartdate2,
461     & obcsWstartdate1, obcsWstartdate2,
462     & siobNstartdate1, siobNstartdate2,
463     & siobSstartdate1, siobSstartdate2,
464     & siobEstartdate1, siobEstartdate2,
465     & siobWstartdate1, siobWstartdate2,
466     & apressurestartdate1,apressurestartdate2,
467     & areamaskstartdate1,areamaskstartdate2
468     #ifdef USE_EXFCO2
469     & ,apco2startdate1,apco2startdate2
470     #endif
471    
472     common /exf_param_r/
473     & year2sec, windstressmax,
474     & repeatPeriod, exf_monFreq,
475     & exf_scal_BulkCdn,
476     & hfluxperiod, hfluxstartdate,
477     & atempperiod, atempstartdate,
478     & aqhperiod, aqhstartdate,
479     & sfluxperiod, sfluxstartdate,
480     & evapperiod, evapstartdate,
481     & precipperiod, precipstartdate,
482     & snowprecipperiod, snowprecipstartdate,
483     & runoffperiod, runoffstartdate,
484     & sgrunoffperiod, sgrunoffstartdate,
485     & ustressperiod, ustressstartdate,
486     & vstressperiod, vstressstartdate,
487     & uwindperiod, uwindstartdate,
488     & vwindperiod, vwindstartdate,
489     & wspeedperiod, wspeedstartdate,
490     & swfluxperiod, swfluxstartdate,
491     & lwfluxperiod, lwfluxstartdate,
492     & swdownperiod, swdownstartdate,
493     & lwdownperiod, lwdownstartdate,
494     & obcsNperiod, obcsNstartdate,
495     & obcsSperiod, obcsSstartdate,
496     & obcsEperiod, obcsEstartdate,
497     & obcsWperiod, obcsWstartdate,
498     & siobNperiod, siobNstartdate,
499     & siobSperiod, siobSstartdate,
500     & siobEperiod, siobEstartdate,
501     & siobWperiod, siobWstartdate,
502     & apressureperiod, apressurestartdate,
503     & areamaskperiod, areamaskstartdate,
504     & hfluxconst,
505     & atempconst,
506     & aqhconst,
507     & sfluxconst,
508     & evapconst,
509     & precipconst,
510     & snowprecipconst,
511     & runoffconst,
512     & sgrunoffconst,
513     & ustressconst,
514     & vstressconst,
515     & uwindconst,
516     & vwindconst,
517     & wspeedconst,
518     & swfluxconst,
519     & lwfluxconst,
520     & swdownconst,
521     & lwdownconst,
522     & apressureconst,
523     & areamaskTauRelax,
524     & areamaskconst
525     #ifdef USE_EXFCO2
526     & ,apco2period, apco2startdate
527     & ,apco2const
528     #endif
529    
530    
531     common /exf_param_trend_removal/
532     & hflux_exfremo_intercept,
533     & atemp_exfremo_intercept,
534     & aqh_exfremo_intercept,
535     & sflux_exfremo_intercept,
536     & evap_exfremo_intercept,
537     & precip_exfremo_intercept,
538     & snowprecip_exfremo_intercept,
539     & runoff_exfremo_intercept,
540     & sgrunoff_exfremo_intercept,
541     & ustress_exfremo_intercept,
542     & vstress_exfremo_intercept,
543     & uwind_exfremo_intercept,
544     & vwind_exfremo_intercept,
545     & wspeed_exfremo_intercept,
546     & swflux_exfremo_intercept,
547     & lwflux_exfremo_intercept,
548     & swdown_exfremo_intercept,
549     & lwdown_exfremo_intercept,
550     & apressure_exfremo_intercept,
551     & areamask_exfremo_intercept,
552     & hflux_exfremo_slope,
553     & atemp_exfremo_slope,
554     & aqh_exfremo_slope,
555     & sflux_exfremo_slope,
556     & evap_exfremo_slope,
557     & precip_exfremo_slope,
558     & snowprecip_exfremo_slope,
559     & runoff_exfremo_slope,
560     & sgrunoff_exfremo_slope,
561     & ustress_exfremo_slope,
562     & vstress_exfremo_slope,
563     & uwind_exfremo_slope,
564     & vwind_exfremo_slope,
565     & wspeed_exfremo_slope,
566     & swflux_exfremo_slope,
567     & lwflux_exfremo_slope,
568     & swdown_exfremo_slope,
569     & lwdown_exfremo_slope,
570     & apressure_exfremo_slope,
571     & areamask_exfremo_slope
572     #ifdef USE_EXFCO2
573     & ,apco2_exfremo_intercept,
574     & apco2_exfremo_slope
575     #endif
576    
577    
578     common /exf_param_c/
579     & hfluxfile,
580     & atempfile,
581     & aqhfile,
582     & sfluxfile,
583     & evapfile,
584     & precipfile,
585     & snowprecipfile,
586     & runofffile,
587     & ustressfile,
588     & vstressfile,
589     & uwindfile,
590     & vwindfile,
591     & wspeedfile,
592     & swfluxfile,
593     & lwfluxfile,
594     & swdownfile,
595     & lwdownfile,
596     & apressurefile,
597     & areamaskfile
598     #ifdef USE_EXFCO2
599     & ,apco2file
600     #endif
601    
602     common /exf_clim_i/
603     & climsststartdate1, climsststartdate2,
604     & climsssstartdate1, climsssstartdate2,
605     & climustrstartdate1, climustrstartdate2,
606     & climvstrstartdate1, climvstrstartdate2
607    
608     common /exf_clim_c/
609     & climsstfile,
610     & climsssfile,
611     & climustrfile,
612     & climvstrfile
613    
614     common /exf_clim_r/
615     & climtempfreeze,
616     & climsstperiod, climsststartdate,
617     & climsssperiod, climsssstartdate,
618     & climustrperiod, climustrstartdate,
619     & climvstrperiod, climvstrstartdate,
620     & climsstTauRelax, climsssTauRelax,
621     & climustrTauRelax, climvstrTauRelax,
622     & climsstconst, climsssconst,
623     & climustrconst, climvstrconst,
624     & climsst_exfremo_intercept, climsst_exfremo_slope,
625     & climsss_exfremo_intercept, climsss_exfremo_slope,
626     & climustr_exfremo_intercept, climustr_exfremo_slope,
627     & climvstr_exfremo_intercept, climvstr_exfremo_slope,
628     & exf_inscal_climsst, exf_inscal_climsss,
629     & exf_inscal_climustr, exf_inscal_climvstr
630    
631     c file precision and field type
632    
633     common /exf_param_type/
634     & exf_iprec,
635     & exf_iprec_obcs,
636     & exf_yftype
637    
638     integer exf_iprec
639     integer exf_iprec_obcs
640     character*(2) exf_yftype
641    
642     c exf_inscal_* input scaling factors
643     c exf_offset_atemp input air temperature offset
644     c (for conversion from C to K, if needed)
645     c exf_outscale_* output scaling factors
646    
647     _RL exf_inscal_hflux
648     _RL exf_inscal_sflux
649     _RL exf_inscal_ustress
650     _RL exf_inscal_vstress
651     _RL exf_inscal_uwind
652     _RL exf_inscal_vwind
653     _RL exf_inscal_wspeed
654     _RL exf_inscal_swflux
655     _RL exf_inscal_lwflux
656     _RL exf_inscal_precip
657     _RL exf_inscal_snowprecip
658     _RL exf_inscal_sst
659     _RL exf_inscal_sss
660     _RL exf_inscal_atemp
661     _RL exf_offset_atemp
662     _RL exf_inscal_aqh
663     _RL exf_inscal_evap
664     _RL exf_inscal_apressure
665     _RL exf_inscal_runoff
666     _RL exf_inscal_swdown
667     _RL exf_inscal_lwdown
668     _RL exf_inscal_climsst
669     _RL exf_inscal_climsss
670     _RL exf_inscal_climustr
671     _RL exf_inscal_climvstr
672     #ifdef USE_EXFCO2
673     _RL exf_inscal_apco2
674     #endif
675    
676     _RL exf_outscal_hflux
677     _RL exf_outscal_sflux
678     _RL exf_outscal_ustress
679     _RL exf_outscal_vstress
680     _RL exf_outscal_swflux
681     _RL exf_outscal_sst
682     _RL exf_outscal_sss
683     _RL exf_outscal_apressure
684    
685     #ifdef USE_EXFCO2
686     _RL exf_outscal_apco2
687     #endif
688    
689     common /exf_param_scal/
690     & exf_inscal_hflux
691     & , exf_inscal_sflux
692     & , exf_inscal_ustress
693     & , exf_inscal_vstress
694     & , exf_inscal_uwind
695     & , exf_inscal_vwind
696     & , exf_inscal_wspeed
697     & , exf_inscal_swflux
698     & , exf_inscal_lwflux
699     & , exf_inscal_precip
700     & , exf_inscal_snowprecip
701     & , exf_inscal_sst
702     & , exf_inscal_sss
703     & , exf_inscal_atemp
704     & , exf_offset_atemp
705     & , exf_inscal_aqh
706     & , exf_inscal_evap
707     & , exf_inscal_apressure
708     & , exf_inscal_runoff
709     & , exf_inscal_sgrunoff
710     & , exf_inscal_swdown
711     & , exf_inscal_lwdown
712     & , exf_outscal_hflux
713     & , exf_outscal_sflux
714     & , exf_outscal_ustress
715     & , exf_outscal_vstress
716     & , exf_outscal_swflux
717     & , exf_outscal_sst
718     & , exf_outscal_sss
719     & , exf_outscal_apressure
720     #ifdef USE_EXFCO2
721     & , exf_inscal_apco2
722     & , exf_outscal_apco2
723     #endif
724    
725     #ifndef USE_EXF_INTERPOLATION
726     c-- set dummy dimension 1
727     INTEGER exf_interp_bufferSize
728     PARAMETER( exf_interp_bufferSize = 1 )
729     integer MAX_LAT_INC
730     parameter(MAX_LAT_INC = 1)
731     #else
732     C To read input data without dynamical allocation (EXF_INTERP_USE_DYNALLOC undef),
733     C buffer size currently set to 65000 (allows to read-in a 1x1 global data set)
734     C Increase to 140000 to accommodate for ECMWF-INTERIM
735     INTEGER exf_interp_bufferSize
736     PARAMETER( exf_interp_bufferSize = 140000 )
737     c for lat interpolation, arraysize currently set to 2176 max data values
738     integer MAX_LAT_INC
739     parameter(MAX_LAT_INC = 2176)
740     _RL ustress_lon0, ustress_lon_inc
741     _RL ustress_lat0, ustress_lat_inc(MAX_LAT_INC)
742     INTEGER ustress_nlon, ustress_nlat
743     _RL vstress_lon0, vstress_lon_inc
744     _RL vstress_lat0, vstress_lat_inc(MAX_LAT_INC)
745     INTEGER vstress_nlon, vstress_nlat
746     _RL hflux_lon0, hflux_lon_inc
747     _RL hflux_lat0, hflux_lat_inc(MAX_LAT_INC)
748     INTEGER hflux_nlon, hflux_nlat
749     _RL sflux_lon0, sflux_lon_inc
750     _RL sflux_lat0, sflux_lat_inc(MAX_LAT_INC)
751     INTEGER sflux_nlon, sflux_nlat
752     _RL swflux_lon0, swflux_lon_inc
753     _RL swflux_lat0, swflux_lat_inc(MAX_LAT_INC)
754     INTEGER swflux_nlon, swflux_nlat
755     _RL runoff_lon0, runoff_lon_inc
756     _RL runoff_lat0, runoff_lat_inc(MAX_LAT_INC)
757     INTEGER runoff_nlon, runoff_nlat
758     _RL atemp_lon0, atemp_lon_inc
759     _RL atemp_lat0, atemp_lat_inc(MAX_LAT_INC)
760     INTEGER atemp_nlon, atemp_nlat
761     _RL aqh_lon0, aqh_lon_inc
762     _RL aqh_lat0, aqh_lat_inc(MAX_LAT_INC)
763     INTEGER aqh_nlon, aqh_nlat
764     _RL evap_lon0, evap_lon_inc
765     _RL evap_lat0, evap_lat_inc(MAX_LAT_INC)
766     INTEGER evap_nlon, evap_nlat
767     _RL precip_lon0, precip_lon_inc
768     _RL precip_lat0, precip_lat_inc(MAX_LAT_INC)
769     INTEGER precip_nlon, precip_nlat
770     _RL snowprecip_lon0, snowprecip_lon_inc
771     _RL snowprecip_lat0, snowprecip_lat_inc(MAX_LAT_INC)
772     INTEGER snowprecip_nlon, snowprecip_nlat
773     _RL uwind_lon0, uwind_lon_inc
774     _RL uwind_lat0, uwind_lat_inc(MAX_LAT_INC)
775     INTEGER uwind_nlon, uwind_nlat
776     _RL vwind_lon0, vwind_lon_inc
777     _RL vwind_lat0, vwind_lat_inc(MAX_LAT_INC)
778     INTEGER vwind_nlon, vwind_nlat
779     _RL wspeed_lon0, wspeed_lon_inc
780     _RL wspeed_lat0, wspeed_lat_inc(MAX_LAT_INC)
781     INTEGER wspeed_nlon, wspeed_nlat
782     _RL lwflux_lon0, lwflux_lon_inc
783     _RL lwflux_lat0, lwflux_lat_inc(MAX_LAT_INC)
784     INTEGER lwflux_nlon, lwflux_nlat
785     _RL swdown_lon0, swdown_lon_inc
786     _RL swdown_lat0, swdown_lat_inc(MAX_LAT_INC)
787     INTEGER swdown_nlon, swdown_nlat
788     _RL lwdown_lon0, lwdown_lon_inc
789     _RL lwdown_lat0, lwdown_lat_inc(MAX_LAT_INC)
790     INTEGER lwdown_nlon, lwdown_nlat
791     _RL apressure_lon0,apressure_lon_inc
792     _RL apressure_lat0,apressure_lat_inc(MAX_LAT_INC)
793     INTEGER apressure_nlon,apressure_nlat
794     _RL areamask_lon0,areamask_lon_inc
795     _RL areamask_lat0,areamask_lat_inc(MAX_LAT_INC)
796     INTEGER areamask_nlon,areamask_nlat
797     #ifdef USE_EXFCO2
798     _RL apco2_lon0, apco2_lon_inc
799     _RL apco2_lat0, apco2_lat_inc(MAX_LAT_INC)
800     INTEGER apco2_nlon, apco2_nlat
801     #endif
802    
803     common /exf_interpolation/
804     & ustress_lon0, ustress_lon_inc,
805     & ustress_lat0, ustress_lat_inc,
806     & ustress_nlon, ustress_nlat,
807     & vstress_lon0, vstress_lon_inc,
808     & vstress_lat0, vstress_lat_inc,
809     & vstress_nlon, vstress_nlat,
810     & hflux_lon0, hflux_lon_inc,
811     & hflux_lat0, hflux_lat_inc,
812     & hflux_nlon, hflux_nlat,
813     & sflux_lon0, sflux_lon_inc,
814     & sflux_lat0, sflux_lat_inc,
815     & sflux_nlon, sflux_nlat,
816     & swflux_lon0, swflux_lon_inc,
817     & swflux_lat0, swflux_lat_inc,
818     & swflux_nlon, swflux_nlat,
819     & runoff_lon0, runoff_lon_inc,
820     & runoff_lat0, runoff_lat_inc,
821     & runoff_nlon, runoff_nlat,
822     & atemp_lon0, atemp_lon_inc,
823     & atemp_lat0, atemp_lat_inc,
824     & atemp_nlon, atemp_nlat,
825     & aqh_lon0, aqh_lon_inc,
826     & aqh_lat0, aqh_lat_inc,
827     & aqh_nlon, aqh_nlat,
828     & evap_lon0, evap_lon_inc,
829     & evap_lat0, evap_lat_inc,
830     & evap_nlon, evap_nlat,
831     & precip_lon0, precip_lon_inc,
832     & precip_lat0, precip_lat_inc,
833     & precip_nlon, precip_nlat,
834     & snowprecip_lon0, snowprecip_lon_inc,
835     & snowprecip_lat0, snowprecip_lat_inc,
836     & snowprecip_nlon, snowprecip_nlat,
837     & uwind_lon0, uwind_lon_inc,
838     & uwind_lat0, uwind_lat_inc,
839     & uwind_nlon, uwind_nlat,
840     & vwind_lon0, vwind_lon_inc,
841     & vwind_lat0, vwind_lat_inc,
842     & vwind_nlon, vwind_nlat,
843     & wspeed_lon0, wspeed_lon_inc,
844     & wspeed_lat0, wspeed_lat_inc,
845     & wspeed_nlon, wspeed_nlat,
846     & lwflux_lon0, lwflux_lon_inc,
847     & lwflux_lat0, lwflux_lat_inc,
848     & lwflux_nlon, lwflux_nlat,
849     & swdown_lon0, swdown_lon_inc,
850     & swdown_lat0, swdown_lat_inc,
851     & swdown_nlon, swdown_nlat,
852     & lwdown_lon0, lwdown_lon_inc,
853     & lwdown_lat0, lwdown_lat_inc,
854     & lwdown_nlon, lwdown_nlat,
855     & apressure_lon0,apressure_lon_inc,
856     & apressure_lat0,apressure_lat_inc,
857     & apressure_nlon,apressure_nlat,
858     & areamask_lon0,areamask_lon_inc,
859     & areamask_lat0,areamask_lat_inc,
860     & areamask_nlon,areamask_nlat
861     #ifdef USE_EXFCO2
862     & ,apco2_lon0, apco2_lon_inc,
863     & apco2_lat0, apco2_lat_inc,
864     & apco2_nlon, apco2_nlat
865     #endif
866    
867    
868     _RL climsst_lon0, climsst_lon_inc
869     _RL climsst_lat0, climsst_lat_inc(MAX_LAT_INC)
870     INTEGER climsst_nlon, climsst_nlat
871     _RL climsss_lon0, climsss_lon_inc
872     _RL climsss_lat0, climsss_lat_inc(MAX_LAT_INC)
873     INTEGER climsss_nlon, climsss_nlat
874     _RL climustr_lon0, climustr_lon_inc
875     _RL climustr_lat0, climustr_lat_inc(MAX_LAT_INC)
876     INTEGER climustr_nlon, climustr_nlat
877     _RL climvstr_lon0, climvstr_lon_inc
878     _RL climvstr_lat0, climvstr_lat_inc(MAX_LAT_INC)
879     INTEGER climvstr_nlon, climvstr_nlat
880    
881     common /exf_clim_interpolation/
882     & climsst_lon0, climsst_lon_inc,
883     & climsst_lat0, climsst_lat_inc,
884     & climsst_nlon, climsst_nlat,
885     & climsss_lon0, climsss_lon_inc,
886     & climsss_lat0, climsss_lat_inc,
887     & climsss_nlon, climsss_nlat,
888     & climustr_lon0, climustr_lon_inc,
889     & climustr_lat0, climustr_lat_inc,
890     & climustr_nlon, climustr_nlat,
891     & climvstr_lon0, climvstr_lon_inc,
892     & climvstr_lat0, climvstr_lat_inc,
893     & climvstr_nlon, climvstr_nlat
894    
895     #endif

  ViewVC Help
Powered by ViewVC 1.1.22