source: LMDZ6/trunk/libf/phylmd/ecrad/ifsrrtm/rrtm_kgb1.F90 @ 5423

Last change on this file since 5423 was 4773, checked in by idelkadi, 13 months ago
  • Update of Ecrad in LMDZ The same organization of the Ecrad offline version is retained in order to facilitate the updating of Ecrad in LMDZ and the comparison between online and offline results. version 1.6.1 of Ecrad (https://github.com/lguez/ecrad.git)
  • Implementation of the double call of Ecrad in LMDZ


File size: 22.3 KB
Line 
1SUBROUTINE RRTM_KGB1(CDIRECTORY)
2
3!     Originally by Eli J. Mlawer, Atmospheric & Environmental Research.
4!     BAND 1:  10-250 cm-1 (low - H2O; high - H2O)
5!     Reformatted for F90 by JJMorcrette, ECMWF
6!     R. Elkhatib 12-10-2005 Split for faster and more robust compilation.
7!     G.Mozdzynski March 2011 read constants from files
8!     ABozzo May 2013 update to RRTMG v4.85
9!     band 1:  10-350 cm-1
10!     T. Wilhelmsson and K. Yessad (Oct 2013) Geometry and setup refactoring.
11!     F. Vana  05-Mar-2015  Support for single precision
12!     ------------------------------------------------------------------
13
14USE PARKIND1  ,ONLY : JPRB
15USE YOMHOOK   ,ONLY : LHOOK,   DR_HOOK, JPHOOK
16USE YOMLUN    ,ONLY : NULRAD, NULOUT
17USE MPL_MODULE,ONLY : MPL_BROADCAST
18USE YOMTAG    ,ONLY : MTAGRAD
19USE YOMMP0    ,ONLY : NPROC, MYPROC
20
21USE YOERRTO1 , ONLY : KAO     ,KBO     ,SELFREFO   ,FRACREFAO ,&
22 & FRACREFBO  ,FORREFO, KAO_MN2, KBO_MN2, KAO_D, KBO_D
23
24!     ------------------------------------------------------------------
25
26IMPLICIT NONE
27
28CHARACTER(LEN=*), INTENT(IN) :: CDIRECTORY
29
30CHARACTER(LEN=512) :: CLF1
31
32REAL(KIND=JPHOOK) :: ZHOOK_HANDLE
33
34#include "abor1.intfb.h"
35
36IF (LHOOK) CALL DR_HOOK('RRTM_KGB1',0,ZHOOK_HANDLE)
37
38IF( MYPROC==1 )THEN
39  CLF1 = TRIM(CDIRECTORY) // "/RADRRTM"
40  WRITE(NULOUT,'(a,a)') 'Reading RRTMG longwave data file ', TRIM(CLF1)
41  OPEN(NULRAD,FILE=TRIM(CLF1),FORM="UNFORMATTED",ACTION="READ",ERR=1000,CONVERT='BIG_ENDIAN')
42
43  READ(NULRAD,ERR=1001) KAO_D,KBO_D
44  ! Convert the data into model actual precision.
45  KAO = REAL(KAO_D,JPRB)
46  KBO = REAL(KBO_D,JPRB)
47ENDIF
48IF( NPROC>1 )THEN
49  CALL MPL_BROADCAST (KAO,MTAGRAD,1,CDSTRING='RRTM_KGB1:')
50  CALL MPL_BROADCAST (KBO,MTAGRAD,1,CDSTRING='RRTM_KGB1:')
51ENDIF
52
53! Planck fraction mapping level: P = 212.7250 mbar, T = 223.06 K
54FRACREFAO(:) = (/ &
55 & 2.1227E-01_JPRB,1.8897E-01_JPRB,1.3934E-01_JPRB,1.1557E-01_JPRB,9.5282E-02_JPRB,8.3359E-02_JPRB, &
56 & 6.5333E-02_JPRB,5.2016E-02_JPRB,3.4272E-02_JPRB,4.0257E-03_JPRB,3.1857E-03_JPRB,2.6014E-03_JPRB, &
57 & 1.9141E-03_JPRB,1.2612E-03_JPRB,5.3169E-04_JPRB,7.6476E-05_JPRB/)
58
59! Planck fraction mapping level: P = 212.7250 mbar, T = 223.06 K
60! These Planck fractions were calculated using lower atmosphere
61! parameters.
62FRACREFBO(:) = (/ &
63 & 2.1227E-01_JPRB,1.8897E-01_JPRB,1.3934E-01_JPRB,1.1557E-01_JPRB,9.5282E-02_JPRB,8.3359E-02_JPRB, &
64 & 6.5333E-02_JPRB,5.2016E-02_JPRB,3.4272E-02_JPRB,4.0257E-03_JPRB,3.1857E-03_JPRB,2.6014E-03_JPRB, &
65 & 1.9141E-03_JPRB,1.2612E-03_JPRB,5.3169E-04_JPRB,7.6476E-05_JPRB/)
66
67!     The array FORREFO contains the coefficient of the water vapor
68!     foreign-continuum (including the energy term).  The first
69!     index refers to reference temperature (296,260,224,260) and
70!     pressure (970,475,219,3 mbar) levels.  The second index
71!     runs over the g-channel (1 to 16).
72
73      FORREFO(1,:) = (/ &
74     & 3.6742E-02_JPRB,1.0664E-01_JPRB,2.6132E-01_JPRB,2.7906E-01_JPRB,2.8151E-01_JPRB,2.7465E-01_JPRB, &
75     & 2.8530E-01_JPRB,2.9123E-01_JPRB,3.0697E-01_JPRB,3.1801E-01_JPRB,3.2444E-01_JPRB,2.7746E-01_JPRB, &
76     & 3.1994E-01_JPRB,2.9750E-01_JPRB,2.1226E-01_JPRB,1.2847E-01_JPRB/)
77      FORREFO(2,:) = (/ &
78     & 4.0450E-02_JPRB,1.1085E-01_JPRB,2.9205E-01_JPRB,3.1934E-01_JPRB,3.1739E-01_JPRB,3.1450E-01_JPRB, &
79     & 3.2797E-01_JPRB,3.2223E-01_JPRB,3.3099E-01_JPRB,3.4800E-01_JPRB,3.4046E-01_JPRB,3.5700E-01_JPRB, &
80     & 3.8264E-01_JPRB,3.6679E-01_JPRB,3.3481E-01_JPRB,3.2113E-01_JPRB/)
81      FORREFO(3,:) = (/ &
82     & 4.6952E-02_JPRB,1.1999E-01_JPRB,3.1473E-01_JPRB,3.7015E-01_JPRB,3.6913E-01_JPRB,3.6352E-01_JPRB, &
83     & 3.7754E-01_JPRB,3.7402E-01_JPRB,3.7113E-01_JPRB,3.7720E-01_JPRB,3.8365E-01_JPRB,4.0876E-01_JPRB, &
84     & 4.2968E-01_JPRB,4.4186E-01_JPRB,4.3468E-01_JPRB,4.7083E-01_JPRB/)
85      FORREFO(4,:) = (/ &
86     & 7.0645E-02_JPRB,1.6618E-01_JPRB,2.8516E-01_JPRB,3.1819E-01_JPRB,3.0131E-01_JPRB,2.9552E-01_JPRB, &
87     & 2.8972E-01_JPRB,2.9348E-01_JPRB,2.8668E-01_JPRB,2.8483E-01_JPRB,2.8130E-01_JPRB,2.7757E-01_JPRB, &
88     & 2.9735E-01_JPRB,3.1684E-01_JPRB,3.0681E-01_JPRB,3.6778E-01_JPRB/)
89
90
91!     ------------------------------------------------------------------
92
93!     The array KAO contains absorption coefs at the 16 chosen g-values
94!     for a range of pressure levels > ~100mb and temperatures.  The first
95!     index in the array, JT, which runs from 1 to 5, corresponds to
96!     different temperatures.  More specifically, JT = 3 means that the
97!     data are for the corresponding TREF for this  pressure level,
98!     JT = 2 refers to the temperatureTREF-15, JT = 1 is for TREF-30,
99!     JT = 4 is for TREF+15, and JT = 5 is for TREF+30.  The second
100!     index, JP, runs from 1 to 13 and refers to the corresponding
101!     pressure level in PREF (e.g. JP = 1 is for a pressure of 1053.63 mb). 
102!     The third index, IG, goes from 1 to 16, and tells us which
103!     g-interval the absorption coefficients are for.
104
105
106
107!     The array KBO contains absorption coefs at the 16 chosen g-values
108!     for a range of pressure levels < ~100mb and temperatures. The first
109!     index in the array, JT, which runs from 1 to 5, corresponds to
110!     different temperatures.  More specifically, JT = 3 means that the
111!     data are for the reference temperature TREF for this pressure
112!     level, JT = 2 refers to the temperature TREF-15, JT = 1 is for
113!     TREF-30, JT = 4 is for TREF+15, and JT = 5 is for TREF+30. 
114!     The second index, JP, runs from 13 to 59 and refers to the JPth
115!     reference pressure level (see taumol.f for the value of these
116!     pressure levels in mb).  The third index, IG, goes from 1 to 16,
117!     and tells us which g-interval the absorption coefficients are for.
118
119
120
121     KAO_MN2(:, 1) = (/ &
122     & 5.12042E-08_JPRB, 5.51239E-08_JPRB, 5.93436E-08_JPRB, 6.38863E-08_JPRB, 6.87767E-08_JPRB, &
123     & 7.40415E-08_JPRB, 7.97093E-08_JPRB, 8.58110E-08_JPRB, 9.23797E-08_JPRB, 9.94513E-08_JPRB, &
124     & 1.07064E-07_JPRB, 1.15260E-07_JPRB, 1.24083E-07_JPRB, 1.33581E-07_JPRB, 1.43807E-07_JPRB, &
125     & 1.54815E-07_JPRB, 1.66666E-07_JPRB, 1.79424E-07_JPRB, 1.93159E-07_JPRB/)
126      KAO_MN2(:, 2) = (/ &
127     & 2.30938E-07_JPRB, 2.41696E-07_JPRB, 2.52955E-07_JPRB, 2.64738E-07_JPRB, 2.77071E-07_JPRB, &
128     & 2.89978E-07_JPRB, 3.03486E-07_JPRB, 3.17623E-07_JPRB, 3.32419E-07_JPRB, 3.47904E-07_JPRB, &
129     & 3.64111E-07_JPRB, 3.81072E-07_JPRB, 3.98824E-07_JPRB, 4.17402E-07_JPRB, 4.36846E-07_JPRB, &
130     & 4.57196E-07_JPRB, 4.78494E-07_JPRB, 5.00784E-07_JPRB, 5.24112E-07_JPRB/)
131      KAO_MN2(:, 3) = (/ &
132     & 6.70458E-07_JPRB, 7.04274E-07_JPRB, 7.39795E-07_JPRB, 7.77109E-07_JPRB, 8.16304E-07_JPRB, &
133     & 8.57476E-07_JPRB, 9.00724E-07_JPRB, 9.46154E-07_JPRB, 9.93876E-07_JPRB, 1.04400E-06_JPRB, &
134     & 1.09666E-06_JPRB, 1.15197E-06_JPRB, 1.21008E-06_JPRB, 1.27111E-06_JPRB, 1.33522E-06_JPRB, &
135     & 1.40256E-06_JPRB, 1.47331E-06_JPRB, 1.54761E-06_JPRB, 1.62567E-06_JPRB/)
136      KAO_MN2(:, 4) = (/ &
137     & 1.84182E-06_JPRB, 1.89203E-06_JPRB, 1.94360E-06_JPRB, 1.99658E-06_JPRB, 2.05101E-06_JPRB, &
138     & 2.10692E-06_JPRB, 2.16435E-06_JPRB, 2.22335E-06_JPRB, 2.28396E-06_JPRB, 2.34622E-06_JPRB, &
139     & 2.41017E-06_JPRB, 2.47587E-06_JPRB, 2.54337E-06_JPRB, 2.61270E-06_JPRB, 2.68392E-06_JPRB, &
140     & 2.75708E-06_JPRB, 2.83224E-06_JPRB, 2.90944E-06_JPRB, 2.98875E-06_JPRB/)
141      KAO_MN2(:, 5) = (/ &
142     & 3.41996E-06_JPRB, 3.32758E-06_JPRB, 3.23770E-06_JPRB, 3.15024E-06_JPRB, 3.06515E-06_JPRB, &
143     & 2.98235E-06_JPRB, 2.90180E-06_JPRB, 2.82341E-06_JPRB, 2.74715E-06_JPRB, 2.67294E-06_JPRB, &
144     & 2.60074E-06_JPRB, 2.53049E-06_JPRB, 2.46214E-06_JPRB, 2.39563E-06_JPRB, 2.33092E-06_JPRB, &
145     & 2.26796E-06_JPRB, 2.20670E-06_JPRB, 2.14709E-06_JPRB, 2.08910E-06_JPRB/)
146      KAO_MN2(:, 6) = (/ &
147     & 3.38746E-06_JPRB, 3.25966E-06_JPRB, 3.13669E-06_JPRB, 3.01836E-06_JPRB, 2.90449E-06_JPRB, &
148     & 2.79491E-06_JPRB, 2.68947E-06_JPRB, 2.58801E-06_JPRB, 2.49037E-06_JPRB, 2.39642E-06_JPRB, &
149     & 2.30601E-06_JPRB, 2.21902E-06_JPRB, 2.13530E-06_JPRB, 2.05475E-06_JPRB, 1.97723E-06_JPRB, &
150     & 1.90264E-06_JPRB, 1.83086E-06_JPRB, 1.76179E-06_JPRB, 1.69532E-06_JPRB/)
151      KAO_MN2(:, 7) = (/ &
152     & 3.17530E-06_JPRB, 3.07196E-06_JPRB, 2.97199E-06_JPRB, 2.87527E-06_JPRB, 2.78170E-06_JPRB, &
153     & 2.69118E-06_JPRB, 2.60360E-06_JPRB, 2.51887E-06_JPRB, 2.43690E-06_JPRB, 2.35759E-06_JPRB, &
154     & 2.28087E-06_JPRB, 2.20664E-06_JPRB, 2.13483E-06_JPRB, 2.06536E-06_JPRB, 1.99814E-06_JPRB, &
155     & 1.93312E-06_JPRB, 1.87021E-06_JPRB, 1.80934E-06_JPRB, 1.75046E-06_JPRB/)
156      KAO_MN2(:, 8) = (/ &
157     & 2.84701E-06_JPRB, 2.77007E-06_JPRB, 2.69521E-06_JPRB, 2.62237E-06_JPRB, 2.55150E-06_JPRB, &
158     & 2.48254E-06_JPRB, 2.41545E-06_JPRB, 2.35017E-06_JPRB, 2.28666E-06_JPRB, 2.22486E-06_JPRB, &
159     & 2.16473E-06_JPRB, 2.10623E-06_JPRB, 2.04930E-06_JPRB, 1.99392E-06_JPRB, 1.94003E-06_JPRB, &
160     & 1.88760E-06_JPRB, 1.83659E-06_JPRB, 1.78695E-06_JPRB, 1.73866E-06_JPRB/)
161      KAO_MN2(:, 9) = (/ &
162     & 2.79917E-06_JPRB, 2.73207E-06_JPRB, 2.66658E-06_JPRB, 2.60266E-06_JPRB, 2.54027E-06_JPRB, &
163     & 2.47937E-06_JPRB, 2.41994E-06_JPRB, 2.36192E-06_JPRB, 2.30530E-06_JPRB, 2.25004E-06_JPRB, &
164     & 2.19610E-06_JPRB, 2.14346E-06_JPRB, 2.09208E-06_JPRB, 2.04193E-06_JPRB, 1.99298E-06_JPRB, &
165     & 1.94520E-06_JPRB, 1.89857E-06_JPRB, 1.85306E-06_JPRB, 1.80864E-06_JPRB/)
166      KAO_MN2(:,10) = (/ &
167     & 2.74910E-06_JPRB, 2.64462E-06_JPRB, 2.54412E-06_JPRB, 2.44743E-06_JPRB, 2.35442E-06_JPRB, &
168     & 2.26495E-06_JPRB, 2.17887E-06_JPRB, 2.09606E-06_JPRB, 2.01641E-06_JPRB, 1.93978E-06_JPRB, &
169     & 1.86606E-06_JPRB, 1.79514E-06_JPRB, 1.72692E-06_JPRB, 1.66129E-06_JPRB, 1.59815E-06_JPRB, &
170     & 1.53742E-06_JPRB, 1.47899E-06_JPRB, 1.42278E-06_JPRB, 1.36871E-06_JPRB/)
171      KAO_MN2(:,11) = (/ &
172     & 2.63952E-06_JPRB, 2.60263E-06_JPRB, 2.56626E-06_JPRB, 2.53039E-06_JPRB, 2.49503E-06_JPRB, &
173     & 2.46016E-06_JPRB, 2.42578E-06_JPRB, 2.39188E-06_JPRB, 2.35845E-06_JPRB, 2.32549E-06_JPRB, &
174     & 2.29299E-06_JPRB, 2.26094E-06_JPRB, 2.22934E-06_JPRB, 2.19819E-06_JPRB, 2.16747E-06_JPRB, &
175     & 2.13717E-06_JPRB, 2.10731E-06_JPRB, 2.07786E-06_JPRB, 2.04882E-06_JPRB/)
176      KAO_MN2(:,12) = (/ &
177     & 2.94106E-06_JPRB, 2.82819E-06_JPRB, 2.71966E-06_JPRB, 2.61528E-06_JPRB, 2.51492E-06_JPRB, &
178     & 2.41841E-06_JPRB, 2.32560E-06_JPRB, 2.23635E-06_JPRB, 2.15053E-06_JPRB, 2.06800E-06_JPRB, &
179     & 1.98863E-06_JPRB, 1.91232E-06_JPRB, 1.83893E-06_JPRB, 1.76836E-06_JPRB, 1.70049E-06_JPRB, &
180     & 1.63524E-06_JPRB, 1.57248E-06_JPRB, 1.51214E-06_JPRB, 1.45411E-06_JPRB/)
181      KAO_MN2(:,13) = (/ &
182     & 2.94607E-06_JPRB, 2.87369E-06_JPRB, 2.80309E-06_JPRB, 2.73422E-06_JPRB, 2.66705E-06_JPRB, &
183     & 2.60152E-06_JPRB, 2.53760E-06_JPRB, 2.47526E-06_JPRB, 2.41445E-06_JPRB, 2.35513E-06_JPRB, &
184     & 2.29726E-06_JPRB, 2.24082E-06_JPRB, 2.18577E-06_JPRB, 2.13207E-06_JPRB, 2.07969E-06_JPRB, &
185     & 2.02859E-06_JPRB, 1.97875E-06_JPRB, 1.93014E-06_JPRB, 1.88272E-06_JPRB/)
186      KAO_MN2(:,14) = (/ &
187     & 2.58051E-06_JPRB, 2.48749E-06_JPRB, 2.39782E-06_JPRB, 2.31139E-06_JPRB, 2.22807E-06_JPRB, &
188     & 2.14775E-06_JPRB, 2.07033E-06_JPRB, 1.99570E-06_JPRB, 1.92376E-06_JPRB, 1.85441E-06_JPRB, &
189     & 1.78756E-06_JPRB, 1.72313E-06_JPRB, 1.66101E-06_JPRB, 1.60114E-06_JPRB, 1.54342E-06_JPRB, &
190     & 1.48778E-06_JPRB, 1.43415E-06_JPRB, 1.38245E-06_JPRB, 1.33262E-06_JPRB/)
191      KAO_MN2(:,15) = (/ &
192     & 3.03447E-06_JPRB, 2.88559E-06_JPRB, 2.74401E-06_JPRB, 2.60938E-06_JPRB, 2.48135E-06_JPRB, &
193     & 2.35961E-06_JPRB, 2.24384E-06_JPRB, 2.13375E-06_JPRB, 2.02906E-06_JPRB, 1.92951E-06_JPRB, &
194     & 1.83484E-06_JPRB, 1.74481E-06_JPRB, 1.65921E-06_JPRB, 1.57780E-06_JPRB, 1.50039E-06_JPRB, &
195     & 1.42677E-06_JPRB, 1.35677E-06_JPRB, 1.29020E-06_JPRB, 1.22690E-06_JPRB/)
196      KAO_MN2(:,16) = (/ &
197     & 1.48655E-06_JPRB, 1.48283E-06_JPRB, 1.47913E-06_JPRB, 1.47543E-06_JPRB, 1.47174E-06_JPRB, &
198     & 1.46806E-06_JPRB, 1.46439E-06_JPRB, 1.46072E-06_JPRB, 1.45707E-06_JPRB, 1.45343E-06_JPRB, &
199     & 1.44979E-06_JPRB, 1.44617E-06_JPRB, 1.44255E-06_JPRB, 1.43894E-06_JPRB, 1.43534E-06_JPRB, &
200     & 1.43176E-06_JPRB, 1.42817E-06_JPRB, 1.42460E-06_JPRB, 1.42104E-06_JPRB/)
201      KBO_MN2(:, 1) = (/ &
202     & 5.12042E-08_JPRB, 5.51239E-08_JPRB, 5.93436E-08_JPRB, 6.38863E-08_JPRB, 6.87767E-08_JPRB, &
203     & 7.40415E-08_JPRB, 7.97093E-08_JPRB, 8.58110E-08_JPRB, 9.23797E-08_JPRB, 9.94513E-08_JPRB, &
204     & 1.07064E-07_JPRB, 1.15260E-07_JPRB, 1.24083E-07_JPRB, 1.33581E-07_JPRB, 1.43807E-07_JPRB, &
205     & 1.54815E-07_JPRB, 1.66666E-07_JPRB, 1.79424E-07_JPRB, 1.93159E-07_JPRB/)
206      KBO_MN2(:, 2) = (/ &
207     & 2.30938E-07_JPRB, 2.41696E-07_JPRB, 2.52955E-07_JPRB, 2.64738E-07_JPRB, 2.77071E-07_JPRB, &
208     & 2.89978E-07_JPRB, 3.03486E-07_JPRB, 3.17623E-07_JPRB, 3.32419E-07_JPRB, 3.47904E-07_JPRB, &
209     & 3.64111E-07_JPRB, 3.81072E-07_JPRB, 3.98824E-07_JPRB, 4.17402E-07_JPRB, 4.36846E-07_JPRB, &
210     & 4.57196E-07_JPRB, 4.78494E-07_JPRB, 5.00784E-07_JPRB, 5.24112E-07_JPRB/)
211      KBO_MN2(:, 3) = (/ &
212     & 6.70458E-07_JPRB, 7.04274E-07_JPRB, 7.39795E-07_JPRB, 7.77109E-07_JPRB, 8.16304E-07_JPRB, &
213     & 8.57476E-07_JPRB, 9.00724E-07_JPRB, 9.46154E-07_JPRB, 9.93876E-07_JPRB, 1.04400E-06_JPRB, &
214     & 1.09666E-06_JPRB, 1.15197E-06_JPRB, 1.21008E-06_JPRB, 1.27111E-06_JPRB, 1.33522E-06_JPRB, &
215     & 1.40256E-06_JPRB, 1.47331E-06_JPRB, 1.54761E-06_JPRB, 1.62567E-06_JPRB/)
216      KBO_MN2(:, 4) = (/ &
217     & 1.84182E-06_JPRB, 1.89203E-06_JPRB, 1.94360E-06_JPRB, 1.99658E-06_JPRB, 2.05101E-06_JPRB, &
218     & 2.10692E-06_JPRB, 2.16435E-06_JPRB, 2.22335E-06_JPRB, 2.28396E-06_JPRB, 2.34622E-06_JPRB, &
219     & 2.41017E-06_JPRB, 2.47587E-06_JPRB, 2.54337E-06_JPRB, 2.61270E-06_JPRB, 2.68392E-06_JPRB, &
220     & 2.75708E-06_JPRB, 2.83224E-06_JPRB, 2.90944E-06_JPRB, 2.98875E-06_JPRB/)
221      KBO_MN2(:, 5) = (/ &
222     & 3.41996E-06_JPRB, 3.32758E-06_JPRB, 3.23770E-06_JPRB, 3.15024E-06_JPRB, 3.06515E-06_JPRB, &
223     & 2.98235E-06_JPRB, 2.90180E-06_JPRB, 2.82341E-06_JPRB, 2.74715E-06_JPRB, 2.67294E-06_JPRB, &
224     & 2.60074E-06_JPRB, 2.53049E-06_JPRB, 2.46214E-06_JPRB, 2.39563E-06_JPRB, 2.33092E-06_JPRB, &
225     & 2.26796E-06_JPRB, 2.20670E-06_JPRB, 2.14709E-06_JPRB, 2.08910E-06_JPRB/)
226      KBO_MN2(:, 6) = (/ &
227     & 3.38746E-06_JPRB, 3.25966E-06_JPRB, 3.13669E-06_JPRB, 3.01836E-06_JPRB, 2.90449E-06_JPRB, &
228     & 2.79491E-06_JPRB, 2.68947E-06_JPRB, 2.58801E-06_JPRB, 2.49037E-06_JPRB, 2.39642E-06_JPRB, &
229     & 2.30601E-06_JPRB, 2.21902E-06_JPRB, 2.13530E-06_JPRB, 2.05475E-06_JPRB, 1.97723E-06_JPRB, &
230     & 1.90264E-06_JPRB, 1.83086E-06_JPRB, 1.76179E-06_JPRB, 1.69532E-06_JPRB/)
231      KBO_MN2(:, 7) = (/ &
232     & 3.17530E-06_JPRB, 3.07196E-06_JPRB, 2.97199E-06_JPRB, 2.87527E-06_JPRB, 2.78170E-06_JPRB, &
233     & 2.69118E-06_JPRB, 2.60360E-06_JPRB, 2.51887E-06_JPRB, 2.43690E-06_JPRB, 2.35759E-06_JPRB, &
234     & 2.28087E-06_JPRB, 2.20664E-06_JPRB, 2.13483E-06_JPRB, 2.06536E-06_JPRB, 1.99814E-06_JPRB, &
235     & 1.93312E-06_JPRB, 1.87021E-06_JPRB, 1.80934E-06_JPRB, 1.75046E-06_JPRB/)
236      KBO_MN2(:, 8) = (/ &
237     & 2.84701E-06_JPRB, 2.77007E-06_JPRB, 2.69521E-06_JPRB, 2.62237E-06_JPRB, 2.55150E-06_JPRB, &
238     & 2.48254E-06_JPRB, 2.41545E-06_JPRB, 2.35017E-06_JPRB, 2.28666E-06_JPRB, 2.22486E-06_JPRB, &
239     & 2.16473E-06_JPRB, 2.10623E-06_JPRB, 2.04930E-06_JPRB, 1.99392E-06_JPRB, 1.94003E-06_JPRB, &
240     & 1.88760E-06_JPRB, 1.83659E-06_JPRB, 1.78695E-06_JPRB, 1.73866E-06_JPRB/)
241      KBO_MN2(:, 9) = (/ &
242     & 2.79917E-06_JPRB, 2.73207E-06_JPRB, 2.66658E-06_JPRB, 2.60266E-06_JPRB, 2.54027E-06_JPRB, &
243     & 2.47937E-06_JPRB, 2.41994E-06_JPRB, 2.36192E-06_JPRB, 2.30530E-06_JPRB, 2.25004E-06_JPRB, &
244     & 2.19610E-06_JPRB, 2.14346E-06_JPRB, 2.09208E-06_JPRB, 2.04193E-06_JPRB, 1.99298E-06_JPRB, &
245     & 1.94520E-06_JPRB, 1.89857E-06_JPRB, 1.85306E-06_JPRB, 1.80864E-06_JPRB/)
246      KBO_MN2(:,10) = (/ &
247     & 2.74910E-06_JPRB, 2.64462E-06_JPRB, 2.54412E-06_JPRB, 2.44743E-06_JPRB, 2.35442E-06_JPRB, &
248     & 2.26495E-06_JPRB, 2.17887E-06_JPRB, 2.09606E-06_JPRB, 2.01641E-06_JPRB, 1.93978E-06_JPRB, &
249     & 1.86606E-06_JPRB, 1.79514E-06_JPRB, 1.72692E-06_JPRB, 1.66129E-06_JPRB, 1.59815E-06_JPRB, &
250     & 1.53742E-06_JPRB, 1.47899E-06_JPRB, 1.42278E-06_JPRB, 1.36871E-06_JPRB/)
251      KBO_MN2(:,11) = (/ &
252     & 2.63952E-06_JPRB, 2.60263E-06_JPRB, 2.56626E-06_JPRB, 2.53039E-06_JPRB, 2.49503E-06_JPRB, &
253     & 2.46016E-06_JPRB, 2.42578E-06_JPRB, 2.39188E-06_JPRB, 2.35845E-06_JPRB, 2.32549E-06_JPRB, &
254     & 2.29299E-06_JPRB, 2.26094E-06_JPRB, 2.22934E-06_JPRB, 2.19819E-06_JPRB, 2.16747E-06_JPRB, &
255     & 2.13717E-06_JPRB, 2.10731E-06_JPRB, 2.07786E-06_JPRB, 2.04882E-06_JPRB/)
256      KBO_MN2(:,12) = (/ &
257     & 2.94106E-06_JPRB, 2.82819E-06_JPRB, 2.71966E-06_JPRB, 2.61528E-06_JPRB, 2.51492E-06_JPRB, &
258     & 2.41841E-06_JPRB, 2.32560E-06_JPRB, 2.23635E-06_JPRB, 2.15053E-06_JPRB, 2.06800E-06_JPRB, &
259     & 1.98863E-06_JPRB, 1.91232E-06_JPRB, 1.83893E-06_JPRB, 1.76836E-06_JPRB, 1.70049E-06_JPRB, &
260     & 1.63524E-06_JPRB, 1.57248E-06_JPRB, 1.51214E-06_JPRB, 1.45411E-06_JPRB/)
261      KBO_MN2(:,13) = (/ &
262     & 2.94607E-06_JPRB, 2.87369E-06_JPRB, 2.80309E-06_JPRB, 2.73422E-06_JPRB, 2.66705E-06_JPRB, &
263     & 2.60152E-06_JPRB, 2.53760E-06_JPRB, 2.47526E-06_JPRB, 2.41445E-06_JPRB, 2.35513E-06_JPRB, &
264     & 2.29726E-06_JPRB, 2.24082E-06_JPRB, 2.18577E-06_JPRB, 2.13207E-06_JPRB, 2.07969E-06_JPRB, &
265     & 2.02859E-06_JPRB, 1.97875E-06_JPRB, 1.93014E-06_JPRB, 1.88272E-06_JPRB/)
266      KBO_MN2(:,14) = (/ &
267     & 2.58051E-06_JPRB, 2.48749E-06_JPRB, 2.39782E-06_JPRB, 2.31139E-06_JPRB, 2.22807E-06_JPRB, &
268     & 2.14775E-06_JPRB, 2.07033E-06_JPRB, 1.99570E-06_JPRB, 1.92376E-06_JPRB, 1.85441E-06_JPRB, &
269     & 1.78756E-06_JPRB, 1.72313E-06_JPRB, 1.66101E-06_JPRB, 1.60114E-06_JPRB, 1.54342E-06_JPRB, &
270     & 1.48778E-06_JPRB, 1.43415E-06_JPRB, 1.38245E-06_JPRB, 1.33262E-06_JPRB/)
271      KBO_MN2(:,15) = (/ &
272     & 3.03447E-06_JPRB, 2.88559E-06_JPRB, 2.74401E-06_JPRB, 2.60938E-06_JPRB, 2.48135E-06_JPRB, &
273     & 2.35961E-06_JPRB, 2.24384E-06_JPRB, 2.13375E-06_JPRB, 2.02906E-06_JPRB, 1.92951E-06_JPRB, &
274     & 1.83484E-06_JPRB, 1.74481E-06_JPRB, 1.65921E-06_JPRB, 1.57780E-06_JPRB, 1.50039E-06_JPRB, &
275     & 1.42677E-06_JPRB, 1.35677E-06_JPRB, 1.29020E-06_JPRB, 1.22690E-06_JPRB/)
276      KBO_MN2(:,16) = (/ &
277     & 1.48655E-06_JPRB, 1.48283E-06_JPRB, 1.47913E-06_JPRB, 1.47543E-06_JPRB, 1.47174E-06_JPRB, &
278     & 1.46806E-06_JPRB, 1.46439E-06_JPRB, 1.46072E-06_JPRB, 1.45707E-06_JPRB, 1.45343E-06_JPRB, &
279     & 1.44979E-06_JPRB, 1.44617E-06_JPRB, 1.44255E-06_JPRB, 1.43894E-06_JPRB, 1.43534E-06_JPRB, &
280     & 1.43176E-06_JPRB, 1.42817E-06_JPRB, 1.42460E-06_JPRB, 1.42104E-06_JPRB/)
281
282
283!     The array SELFREFO contains the coefficient of the water vapor
284!     self-continuum (including the energy term).  The first index
285!     refers to temperature in 7.2 degree increments.  For instance,
286!     JT = 1 refers to a temperature of 245.6, JT = 2 refers to 252.8,
287!     etc.  The second index runs over the g-channel (1 to 16).
288
289      SELFREFO(:, 1) = (/ &
290     & 2.16803E+00_JPRB, 1.98236E+00_JPRB, 1.81260E+00_JPRB, 1.65737E+00_JPRB, 1.51544E+00_JPRB, &
291     & 1.38567E+00_JPRB, 1.26700E+00_JPRB, 1.15850E+00_JPRB, 1.05929E+00_JPRB, 9.68576E-01_JPRB/)
292      SELFREFO(:, 2) = (/ &
293     & 3.70149E+00_JPRB, 3.43145E+00_JPRB, 3.18110E+00_JPRB, 2.94902E+00_JPRB, 2.73387E+00_JPRB, &
294     & 2.53441E+00_JPRB, 2.34951E+00_JPRB, 2.17810E+00_JPRB, 2.01919E+00_JPRB, 1.87188E+00_JPRB/)
295      SELFREFO(:, 3) = (/ &
296     & 6.17433E+00_JPRB, 5.62207E+00_JPRB, 5.11920E+00_JPRB, 4.66131E+00_JPRB, 4.24438E+00_JPRB, &
297     & 3.86474E+00_JPRB, 3.51906E+00_JPRB, 3.20430E+00_JPRB, 2.91769E+00_JPRB, 2.65672E+00_JPRB/)
298      SELFREFO(:, 4) = (/ &
299     & 6.56459E+00_JPRB, 5.94787E+00_JPRB, 5.38910E+00_JPRB, 4.88282E+00_JPRB, 4.42410E+00_JPRB, &
300     & 4.00848E+00_JPRB, 3.63190E+00_JPRB, 3.29070E+00_JPRB, 2.98155E+00_JPRB, 2.70145E+00_JPRB/)
301      SELFREFO(:, 5) = (/ &
302     & 6.49581E+00_JPRB, 5.91114E+00_JPRB, 5.37910E+00_JPRB, 4.89494E+00_JPRB, 4.45436E+00_JPRB, &
303     & 4.05344E+00_JPRB, 3.68860E+00_JPRB, 3.35660E+00_JPRB, 3.05448E+00_JPRB, 2.77956E+00_JPRB/)
304      SELFREFO(:, 6) = (/ &
305     & 6.50189E+00_JPRB, 5.89381E+00_JPRB, 5.34260E+00_JPRB, 4.84294E+00_JPRB, 4.39001E+00_JPRB, &
306     & 3.97944E+00_JPRB, 3.60727E+00_JPRB, 3.26990E+00_JPRB, 2.96409E+00_JPRB, 2.68687E+00_JPRB/)
307      SELFREFO(:, 7) = (/ &
308     & 6.64768E+00_JPRB, 6.01719E+00_JPRB, 5.44650E+00_JPRB, 4.92993E+00_JPRB, 4.46236E+00_JPRB, &
309     & 4.03914E+00_JPRB, 3.65605E+00_JPRB, 3.30930E+00_JPRB, 2.99543E+00_JPRB, 2.71134E+00_JPRB/)
310      SELFREFO(:, 8) = (/ &
311     & 6.43744E+00_JPRB, 5.87166E+00_JPRB, 5.35560E+00_JPRB, 4.88490E+00_JPRB, 4.45557E+00_JPRB, &
312     & 4.06397E+00_JPRB, 3.70679E+00_JPRB, 3.38100E+00_JPRB, 3.08384E+00_JPRB, 2.81281E+00_JPRB/)
313      SELFREFO(:, 9) = (/ &
314     & 6.55466E+00_JPRB, 5.99777E+00_JPRB, 5.48820E+00_JPRB, 5.02192E+00_JPRB, 4.59525E+00_JPRB, &
315     & 4.20484E+00_JPRB, 3.84759E+00_JPRB, 3.52070E+00_JPRB, 3.22158E+00_JPRB, 2.94787E+00_JPRB/)
316      SELFREFO(:,10) = (/ &
317     & 6.84510E+00_JPRB, 6.26933E+00_JPRB, 5.74200E+00_JPRB, 5.25902E+00_JPRB, 4.81667E+00_JPRB, &
318     & 4.41152E+00_JPRB, 4.04046E+00_JPRB, 3.70060E+00_JPRB, 3.38933E+00_JPRB, 3.10424E+00_JPRB/)
319      SELFREFO(:,11) = (/ &
320     & 6.83128E+00_JPRB, 6.25536E+00_JPRB, 5.72800E+00_JPRB, 5.24510E+00_JPRB, 4.80291E+00_JPRB, &
321     & 4.39799E+00_JPRB, 4.02722E+00_JPRB, 3.68770E+00_JPRB, 3.37681E+00_JPRB, 3.09212E+00_JPRB/)
322      SELFREFO(:,12) = (/ &
323     & 7.35969E+00_JPRB, 6.61719E+00_JPRB, 5.94960E+00_JPRB, 5.34936E+00_JPRB, 4.80968E+00_JPRB, &
324     & 4.32445E+00_JPRB, 3.88817E+00_JPRB, 3.49590E+00_JPRB, 3.14321E+00_JPRB, 2.82610E+00_JPRB/)
325      SELFREFO(:,13) = (/ &
326     & 7.50064E+00_JPRB, 6.80749E+00_JPRB, 6.17840E+00_JPRB, 5.60744E+00_JPRB, 5.08925E+00_JPRB, &
327     & 4.61894E+00_JPRB, 4.19210E+00_JPRB, 3.80470E+00_JPRB, 3.45310E+00_JPRB, 3.13399E+00_JPRB/)
328      SELFREFO(:,14) = (/ &
329     & 7.40801E+00_JPRB, 6.71328E+00_JPRB, 6.08370E+00_JPRB, 5.51316E+00_JPRB, 4.99613E+00_JPRB, &
330     & 4.52759E+00_JPRB, 4.10298E+00_JPRB, 3.71820E+00_JPRB, 3.36950E+00_JPRB, 3.05351E+00_JPRB/)
331      SELFREFO(:,15) = (/ &
332     & 7.51895E+00_JPRB, 6.68846E+00_JPRB, 5.94970E+00_JPRB, 5.29254E+00_JPRB, 4.70796E+00_JPRB, &
333     & 4.18795E+00_JPRB, 3.72538E+00_JPRB, 3.31390E+00_JPRB, 2.94787E+00_JPRB, 2.62227E+00_JPRB/)
334      SELFREFO(:,16) = (/ &
335     & 7.84774E+00_JPRB, 6.80673E+00_JPRB, 5.90380E+00_JPRB, 5.12065E+00_JPRB, 4.44138E+00_JPRB, &
336     & 3.85223E+00_JPRB, 3.34122E+00_JPRB, 2.89800E+00_JPRB, 2.51357E+00_JPRB, 2.18014E+00_JPRB/)
337
338
339IF (LHOOK) CALL DR_HOOK('RRTM_KGB1',1,ZHOOK_HANDLE)
340RETURN
341
3421000 CONTINUE
343CALL ABOR1("RRTM_KGB1:ERROR OPENING FILE RADRRTM")
3441001 CONTINUE
345CALL ABOR1("RRTM_KGB1:ERROR READING FILE RADRRTM")
346
347!     -----------------------------------------------------------------
348END SUBROUTINE RRTM_KGB1
Note: See TracBrowser for help on using the repository browser.