source: LMDZ5/trunk/libf/phylmd/rrtm/srtm_srtm_224gp.F90 @ 1992

Last change on this file since 1992 was 1990, checked in by Laurent Fairhead, 11 years ago

Corrections à la version r1989 pour permettre la compilation avec RRTM
Inclusion de la licence CeCILL_V2 pour RRTM


Changes to revision r1989 to enable RRTM code compilation
RRTM part put under CeCILL_V2 licence

  • Property copyright set to
    Name of program: LMDZ
    Creation date: 1984
    Version: LMDZ5
    License: CeCILL version 2
    Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
    See the license file in the root directory
File size: 13.0 KB
Line 
1SUBROUTINE SRTM_SRTM_224GP &
2 & ( KIDIA , KFDIA  , KLON  , KLEV  , KSW , KOVLP ,&
3 &   PAER  , PALBD  , PALBP , PAPH  , PAP ,&
4 &   PTS   , PTH    , PT    ,&
5 &   PQ    , PCCO2  , POZN  , PRMU0 ,&
6 &   PFRCL , PTAUC  , PASYC , POMGC ,&
7 &   PALBT , PFSUX  , PFSUC &
8 & ) 
9
10!-- interface to RRTM_SW
11!     JJMorcrette 030225
12
13USE PARKIND1  ,ONLY : JPIM     ,JPRB
14USE YOMHOOK   ,ONLY : LHOOK,   DR_HOOK
15
16USE PARSRTM  , ONLY : JPLAY
17USE YOERDI   , ONLY : RCH4   , RN2O   
18USE YOERAD   , ONLY : NAER
19USE YOESRTAER, ONLY : RSRTAUA, RSRPIZA, RSRASYA
20USE YOMPHY3  , ONLY : RII0
21USE YOMCST   , ONLY : RI0
22
23IMPLICIT NONE
24
25!-- Input arguments
26
27INTEGER(KIND=JPIM),INTENT(IN)    :: KLON
28INTEGER(KIND=JPIM)               :: KLEV! UNDETERMINED INTENT
29INTEGER(KIND=JPIM)               :: KSW! UNDETERMINED INTENT
30INTEGER(KIND=JPIM),INTENT(IN)    :: KIDIA
31INTEGER(KIND=JPIM),INTENT(IN)    :: KFDIA
32INTEGER(KIND=JPIM),INTENT(IN)    :: KOVLP
33REAL(KIND=JPRB)   ,INTENT(IN)    :: PAER(KLON,6,KLEV)    ! top to bottom
34REAL(KIND=JPRB)   ,INTENT(IN)    :: PALBD(KLON,KSW)
35REAL(KIND=JPRB)   ,INTENT(IN)    :: PALBP(KLON,KSW)
36REAL(KIND=JPRB)   ,INTENT(IN)    :: PAPH(KLON,KLEV+1)
37REAL(KIND=JPRB)   ,INTENT(IN)    :: PAP(KLON,KLEV)
38REAL(KIND=JPRB)   ,INTENT(IN)    :: PTS(KLON)
39REAL(KIND=JPRB)   ,INTENT(IN)    :: PTH(KLON,KLEV+1)
40REAL(KIND=JPRB)   ,INTENT(IN)    :: PT(KLON,KLEV)
41REAL(KIND=JPRB)   ,INTENT(IN)    :: PQ(KLON,KLEV)
42REAL(KIND=JPRB)   ,INTENT(IN)    :: PCCO2
43REAL(KIND=JPRB)   ,INTENT(IN)    :: POZN(KLON,KLEV)
44REAL(KIND=JPRB)   ,INTENT(IN)    :: PRMU0(KLON)
45REAL(KIND=JPRB)   ,INTENT(IN)    :: PFRCL(KLON,KLEV)     ! bottom to top
46REAL(KIND=JPRB)   ,INTENT(IN)    :: PTAUC(KLON,KSW,KLEV) ! bottom to top
47REAL(KIND=JPRB)   ,INTENT(IN)    :: PASYC(KLON,KSW,KLEV) ! bottom to top
48REAL(KIND=JPRB)   ,INTENT(IN)    :: POMGC(KLON,KSW,KLEV) ! bottom to top
49REAL(KIND=JPRB)                  :: PALBT(KLON,KSW) ! Argument NOT used
50REAL(KIND=JPRB)   ,INTENT(OUT)   :: PFSUX(KLON,2,KLEV+1)
51REAL(KIND=JPRB)   ,INTENT(OUT)   :: PFSUC(KLON,2,KLEV+1)
52!INTEGER_M :: KMOL, KCLDATM, KNFLAG, KCEFLAG, KIQFLAG, KSTR 
53
54!-- Output arguments
55
56!-----------------------------------------------------------------------
57
58!-- dummy integers
59
60INTEGER(KIND=JPIM) :: ICLDATM, INFLAG, ICEFLAG, I_LIQFLAG, I_NMOL, I_NSTR
61
62INTEGER(KIND=JPIM) :: IK, IMOL, J1, J2, JAE, JL, JK, JSW
63
64!-- dummy reals
65
66REAL(KIND=JPRB) :: Z_PZ(0:JPLAY)   , Z_TZ(0:JPLAY)   , Z_PAVEL(JPLAY)  , Z_TAVEL(JPLAY)
67REAL(KIND=JPRB) :: Z_COLDRY(JPLAY) , Z_COLMOL(JPLAY) , Z_WKL(35,JPLAY)
68REAL(KIND=JPRB) :: Z_CO2MULT(JPLAY), Z_COLCH4(JPLAY) , Z_COLCO2(JPLAY) , Z_COLH2O(JPLAY)
69REAL(KIND=JPRB) :: Z_COLN2O(JPLAY) , Z_COLO2(JPLAY)  , Z_COLO3(JPLAY)
70REAL(KIND=JPRB) :: Z_FORFAC(JPLAY) , Z_FORFRAC(JPLAY), Z_SELFFAC(JPLAY), Z_SELFFRAC(JPLAY)
71REAL(KIND=JPRB) :: Z_FAC00(JPLAY)  , Z_FAC01(JPLAY)  , Z_FAC10(JPLAY)  , Z_FAC11(JPLAY)
72REAL(KIND=JPRB) :: Z_TBOUND        , Z_ONEMINUS    , ZRMU0 , ZADJI0
73REAL(KIND=JPRB) :: ZALBD(KSW)    , ZALBP(KSW)    , ZFRCL(JPLAY)
74REAL(KIND=JPRB) :: ZTAUC(JPLAY,KSW), ZASYC(JPLAY,KSW), ZOMGC(JPLAY,KSW)
75REAL(KIND=JPRB) :: ZTAUA(JPLAY,KSW), ZASYA(JPLAY,KSW), ZOMGA(JPLAY,KSW)
76
77REAL(KIND=JPRB) :: ZBBCD(JPLAY+1), ZBBCU(JPLAY+1), ZBBFD(JPLAY+1), ZBBFU(JPLAY+1)
78REAL(KIND=JPRB) :: ZUVCD(JPLAY+1), ZUVCU(JPLAY+1), ZUVFD(JPLAY+1), ZUVFU(JPLAY+1)
79REAL(KIND=JPRB) :: ZVSCD(JPLAY+1), ZVSCU(JPLAY+1), ZVSFD(JPLAY+1), ZVSFU(JPLAY+1)
80REAL(KIND=JPRB) :: ZNICD(JPLAY+1), ZNICU(JPLAY+1), ZNIFD(JPLAY+1), ZNIFU(JPLAY+1)
81
82INTEGER(KIND=JPIM) :: I_LAYTROP, I_LAYSWTCH, I_LAYLOW
83INTEGER(KIND=JPIM) :: INDFOR(JPLAY), INDSELF(JPLAY)
84INTEGER(KIND=JPIM) :: JP(JPLAY), JT(JPLAY), JT1(JPLAY)
85
86REAL(KIND=JPRB) :: Z_AMD                  ! Effective molecular weight of dry air (g/mol)
87REAL(KIND=JPRB) :: Z_AMW                  ! Molecular weight of water vapor (g/mol)
88REAL(KIND=JPRB) :: Z_AMCO2                ! Molecular weight of carbon dioxide (g/mol)
89REAL(KIND=JPRB) :: Z_AMO                  ! Molecular weight of ozone (g/mol)
90REAL(KIND=JPRB) :: Z_AMCH4                ! Molecular weight of methane (g/mol)
91REAL(KIND=JPRB) :: Z_AMN2O                ! Molecular weight of nitrous oxide (g/mol)
92REAL(KIND=JPRB) :: Z_AMC11                ! Molecular weight of CFC11 (g/mol) - CFCL3
93REAL(KIND=JPRB) :: Z_AMC12                ! Molecular weight of CFC12 (g/mol) - CF2CL2
94REAL(KIND=JPRB) :: Z_AVGDRO               ! Avogadro's number (molecules/mole)
95REAL(KIND=JPRB) :: Z_GRAVIT               ! Gravitational acceleration (cm/sec2)
96REAL(KIND=JPRB) :: Z_AMM
97
98! Atomic weights for conversion from mass to volume mixing ratios; these
99!  are the same values used in ECRT to assure accurate conversion to vmr
100data Z_AMD   /  28.970_JPRB    /
101data Z_AMW   /  18.0154_JPRB   /
102data Z_AMCO2 /  44.011_JPRB    /
103data Z_AMO   /  47.9982_JPRB   /
104data Z_AMCH4 /  16.043_JPRB    /
105data Z_AMN2O /  44.013_JPRB    /
106data Z_AMC11 / 137.3686_JPRB   /
107data Z_AMC12 / 120.9140_JPRB   /
108data Z_AVGDRO/ 6.02214E23_JPRB /
109data Z_GRAVIT/ 9.80665E02_JPRB /
110
111REAL(KIND=JPRB) :: ZCLEAR, ZCLOUD, ZEPSEC, ZTOTCC
112
113INTEGER(KIND=JPIM) :: IOVLP
114REAL(KIND=JPRB) :: ZHOOK_HANDLE
115
116
117#include "srtm_setcoef.intfb.h"
118#include "srtm_spcvrt.intfb.h"
119
120
121!-----------------------------------------------------------------------
122!-- calculate information needed ny the radiative transfer routine
123
124IF (LHOOK) CALL DR_HOOK('SRTM_SRTM_224GP',0,ZHOOK_HANDLE)
125ZEPSEC  = 1.E-06_JPRB
126Z_ONEMINUS=1.0_JPRB -  ZEPSEC
127ZADJI0 = RII0 / RI0
128!-- overlap: 1=max-ran, 2=maximum, 3=random
129IOVLP=3
130
131!print *,'Entering srtm_srtm_224gp'
132
133ICLDATM = 1
134INFLAG    = 2
135ICEFLAG    = 3
136I_LIQFLAG = 1
137I_NMOL    = 6
138I_NSTR    = 2
139
140DO JL = KIDIA, KFDIA
141  ZRMU0=PRMU0(JL)
142  IF (ZRMU0 > 0.0_JPRB) THEN
143
144!- coefficients related to the cloud optical properties (original RRTM_SW)
145
146!  print *,'just before SRTM_CLDPROP'
147
148!  DO JK=1,KLEV
149!    CLDFRAC(JK) = PFRCL (JL,JK)
150!    CLDDAT1(JK) = PSCLA1(JL,JK)
151!    CLDDAT2(JK) = PSCLA2(JL,JK)
152!    CLDDAT3(JK) = PSCLA3(JL,JK)
153!    CLDDAT4(JK) = PSCLA4(JL,JK)
154!    DO JMOM=0,16
155!      CLDDATMOM(JMOM,JK)=PSCLMOM(JL,JMOM,JK)
156!    ENDDO
157!    print 9101,JK,CLDFRAC(JK),CLDDAT1(JK),CLDDAT2(JK),CLDDAT3(JK)&
158!    &,CLDDAT4(JK),(CLDDATMOM(JMOM,JK),JMOM=0,NSTR)
159    9101 format(1x,'srtm_srtm_224gp Cld :',I3,f7.4,7E12.5)
160!  ENDDO
161
162!  CALL SRTM_CLDPROP &
163!    &( KLEV, ICLDATM, INFLAG, ICEFLAG, LIQFLAG, NSTR &
164!    &, CLDFRAC, CLDDAT1, CLDDAT2, CLDDAT3, CLDDAT4, CLDDATMOM &
165!    &, TAUCLDORIG, TAUCLOUD, SSACLOUD, XMOM &
166!    &)
167
168!- coefficients for the temperature and pressure dependence of the
169! molecular absorption coefficients
170
171    DO J1=1,35
172      DO J2=1,KLEV
173        Z_WKL(J1,J2)=0.0_JPRB
174      ENDDO
175    ENDDO
176
177    Z_TBOUND=PTS(JL)
178    Z_PZ(0) = paph(JL,klev+1)/100._JPRB
179    Z_TZ(0) = pth (JL,klev+1)
180
181    ZCLEAR=1.0_JPRB
182    ZCLOUD=0.0_JPRB
183    ZTOTCC=0.0_JPRB
184    DO JK = 1, KLEV
185      Z_PAVEL(JK) = pap(JL,KLEV-JK+1) /100._JPRB
186      Z_TAVEL(JK) = pt (JL,KLEV-JK+1)
187      Z_PZ(JK)    = paph(JL,KLEV-JK+1)/100._JPRB
188      Z_TZ(JK)    = pth (JL,KLEV-JK+1)
189      Z_WKL(1,JK) = pq(JL,KLEV-JK+1)  *Z_AMD/Z_AMW
190      Z_WKL(2,JK) = pcco2             *Z_AMD/Z_AMCO2
191      Z_WKL(3,JK) = pozn(JL,KLEV-JK+1)*Z_AMD/Z_AMO
192      Z_WKL(4,JK) = rn2o              *Z_AMD/Z_AMN2O
193      Z_WKL(6,JK) = rch4              *Z_AMD/Z_AMCH4
194      Z_AMM = (1-Z_WKL(1,JK))*Z_AMD + Z_WKL(1,JK)*Z_AMW
195      Z_COLDRY(JK) = (Z_PZ(JK-1)-Z_PZ(JK))*1.E3_JPRB*Z_AVGDRO/(Z_GRAVIT*Z_AMM*(1+Z_WKL(1,JK)))
196!    print 9200,JK,PAVEL(JK),TAVEL(JK),(WKL(JA,JK),JA=1,4),WKL(6,JK),COLDRY(JK)
197      9200 format(1x,'SRTM ',I3,2F7.1,6E13.5)
198
199      IF (KOVLP == 1) THEN
200        ZCLEAR=ZCLEAR*(1.0_JPRB-MAX(PFRCL(JL,JK),ZCLOUD)) &
201         & /(1.0_JPRB-MIN(ZCLOUD,1.0_JPRB-ZEPSEC)) 
202        ZCLOUD=PFRCL(JL,JK)
203        ZTOTCC=1.0_JPRB-ZCLEAR
204      ELSEIF (KOVLP == 2) THEN
205        ZCLOUD=MAX(ZCLOUD,PFRCL(JL,JK))
206        ZCLEAR=1.0_JPRB-ZCLOUD
207        ZTOTCC=ZCLOUD
208      ELSEIF (KOVLP == 3) THEN
209        ZCLEAR=ZCLEAR*(1.0_JPRB-PFRCL(JL,JK))
210        ZCLOUD=1.0_JPRB-ZCLEAR
211        ZTOTCC=ZCLOUD
212      ENDIF
213
214    ENDDO
215
216!  print *,'ZTOTCC ZCLEAR : ',ZTOTCC,' ',ZCLEAR
217
218    DO IMOL=1,I_NMOL
219      DO JK=1,KLEV
220        Z_WKL(IMOL,JK)=Z_COLDRY(JK)* Z_WKL(IMOL,JK)
221      ENDDO
222    ENDDO
223
224!    IF (ZTOTCC == 0.0_JPRB) THEN
225!      DO JK=1,KLEV
226!        ZFRCL(JK)=0.0_JPRB   
227!      ENDDO
228!    ELSE
229!      DO JK=1,KLEV
230!        ZFRCL(JK)=PFRCL(JL,JK)/ZTOTCC
231!      ENDDO
232!    ENDIF
233
234!  print *,'just before SRTM_SETCOEF'
235
236    ZFRCL(1:KLEV)=PFRCL(JL,1:KLEV)
237    ZCLEAR=0._JPRB
238    ZCLOUD=1._JPRB
239
240    CALL SRTM_SETCOEF &
241     & ( KLEV   , I_NMOL,&
242     & Z_PAVEL  , Z_TAVEL   , Z_PZ     , Z_TZ     , Z_TBOUND,&
243     & Z_COLDRY , Z_WKL,&
244     & I_LAYTROP, I_LAYSWTCH, I_LAYLOW,&
245     & Z_CO2MULT, Z_COLCH4  , Z_COLCO2 , Z_COLH2O , Z_COLMOL  , Z_COLN2O  , Z_COLO2 , Z_COLO3,&
246     & Z_FORFAC , Z_FORFRAC , INDFOR , Z_SELFFAC, Z_SELFFRAC, INDSELF,&
247     & Z_FAC00  , Z_FAC01   , Z_FAC10  , Z_FAC11,&
248     & JP     , JT      , JT1     &
249     & ) 
250 
251!  print *,'just after SRTM_SETCOEF'
252
253!- call the radiation transfer routine
254 
255    DO JSW=1,KSW
256      ZALBD(JSW)=PALBD(JL,JSW)
257      ZALBP(JSW)=PALBP(JL,JSW)
258      DO JK=1,KLEV
259        ZTAUC(JK,JSW) = PTAUC(JL,JSW,JK)
260        ZASYC(JK,JSW) = PASYC(JL,JSW,JK)
261        ZOMGC(JK,JSW) = POMGC(JL,JSW,JK)
262!      print 9002,JSW,JK,ZFRCL(JK),ZTAUC(JK,JSW),ZASYC(JK,JSW),ZOMGC(JK,JSW)
263        9002  format(1x,'srtm_224gp ClOPropECmodel ',2I3,f8.4,3E12.5)
264      ENDDO
265    ENDDO
266
267!- mixing of aerosols
268 
269!  print *,'Aerosol optical properties computations'
270!  DO JSW=1,KSW
271!    print 9012,JSW,(JAE,RSRTAUA(JSW,JAE),RSRPIZA(JSW,JAE),RSRASYA(JSW,JAE),JAE=1,6)
272    9012 format(I3,(/,I3,3E13.5))
273!  ENDDO
274
275!  DO JK=1,KLEV
276!    print 9013,JK,(PAER(JL,JAE,JK),JAE=1,6)
277    9013 format(1x,I3,6E12.5)
278!  ENDDO
279
280    IF (NAER == 0) THEN
281      DO JSW=1,KSW
282        DO JK=1,KLEV
283          ZTAUA(JK,JSW)= 0.0_JPRB
284          ZASYA(JK,JSW)= 0.0_JPRB
285          ZOMGA(JK,JSW)= 1.0_JPRB
286        ENDDO
287      ENDDO
288    ELSE
289      DO JSW=1,KSW
290        DO JK=1,KLEV
291          IK=KLEV+1-JK
292          ZTAUA(JK,JSW)=0.0_JPRB
293          ZASYA(JK,JSW)=0.0_JPRB
294          ZOMGA(JK,JSW)=0.0_JPRB
295          DO JAE=1,6
296            ZTAUA(JK,JSW)=ZTAUA(JK,JSW)+RSRTAUA(JSW,JAE)*PAER(JL,JAE,IK)
297            ZOMGA(JK,JSW)=ZOMGA(JK,JSW)+RSRTAUA(JSW,JAE)*PAER(JL,JAE,IK) &
298             & *RSRPIZA(JSW,JAE) 
299            ZASYA(JK,JSW)=ZASYA(JK,JSW)+RSRTAUA(JSW,JAE)*PAER(JL,JAE,IK) &
300             & *RSRPIZA(JSW,JAE)*RSRASYA(JSW,JAE) 
301          ENDDO
302          IF (ZOMGA(JK,JSW) /= 0.0_JPRB) THEN
303            ZASYA(JK,JSW)=ZASYA(JK,JSW)/ZOMGA(JK,JSW)
304          ENDIF
305          IF (ZTAUA(JK,JSW) /= 0.0_JPRB) THEN
306            ZOMGA(JK,JSW)=ZOMGA(JK,JSW)/ZTAUA(JK,JSW)
307          ENDIF
308!      print 9003,JSW,JK,ZTAUA(JK,JSW),ZOMGA(JK,JSW),ZASYA(JK,JSW)
3099003  format(1x,'Aerosols ',2I3,3F10.4)
310        ENDDO
311      ENDDO
312    ENDIF
313
314    DO JK=1,KLEV+1
315      ZBBCU(JK)=0.0_JPRB
316      ZBBCD(JK)=0.0_JPRB
317      ZBBFU(JK)=0.0_JPRB
318      ZBBFD(JK)=0.0_JPRB
319      ZUVCU(JK)=0.0_JPRB
320      ZUVCD(JK)=0.0_JPRB
321      ZUVFU(JK)=0.0_JPRB
322      ZUVFD(JK)=0.0_JPRB
323      ZVSCU(JK)=0.0_JPRB
324      ZVSCD(JK)=0.0_JPRB
325      ZVSFU(JK)=0.0_JPRB
326      ZVSFD(JK)=0.0_JPRB
327      ZNICU(JK)=0.0_JPRB
328      ZNICD(JK)=0.0_JPRB
329      ZNIFU(JK)=0.0_JPRB
330      ZNIFD(JK)=0.0_JPRB
331    ENDDO
332
333!  print *,'just before calling STRM_SPCVRT for JL=',JL,' and ZRMU0=',ZRMU0
334
335    CALL SRTM_SPCVRT &
336     & ( KLEV   , I_NMOL    , KSW    , Z_ONEMINUS,&
337     & Z_PAVEL  , Z_TAVEL   , Z_PZ     , Z_TZ     , Z_TBOUND  , ZALBD   , ZALBP,&
338     & ZFRCL  , ZTAUC   , ZASYC  , ZOMGC  , ZTAUA   , ZASYA   , ZOMGA , ZRMU0,&
339     & Z_COLDRY , Z_WKL,&
340     & I_LAYTROP, I_LAYSWTCH, I_LAYLOW,&
341     & Z_CO2MULT, Z_COLCH4  , Z_COLCO2 , Z_COLH2O , Z_COLMOL  , Z_COLN2O  , Z_COLO2 , Z_COLO3,&
342     & Z_FORFAC , Z_FORFRAC , INDFOR , Z_SELFFAC, Z_SELFFRAC, INDSELF,&
343     & Z_FAC00  , Z_FAC01   , Z_FAC10  , Z_FAC11,&
344     & JP     , JT      , JT1,&
345     & ZBBFD  , ZBBFU   , ZUVFD  , ZUVFU  , ZVSFD   , ZVSFU   , ZNIFD , ZNIFU,&
346     & ZBBCD  , ZBBCU   , ZUVCD  , ZUVCU  , ZVSCD   , ZVSCU   , ZNICD , ZNICU &
347     & ) 
348
349!  print *,'SRTM_SRTM_224GP before potential scaling'
350!    IF (IOVLP == 3) THEN
351!      DO JK=1,KLEV+1
352!!      print 9004,JK,ZBBCU(JK),ZBBCD(JK),ZBBFU(JK),ZBBFD(JK)
353        9004 format(1x,'Clear-sky and total fluxes U & D ',I3,4F10.3)
354!        PFSUC(JL,1,JK)=ZBBCU(JK)
355!        PFSUC(JL,2,JK)=ZBBCD(JK)
356!        PFSUX(JL,1,JK)=ZBBFU(JK)
357!        PFSUX(JL,2,JK)=ZBBFD(JK)
358!      ENDDO
359!    ELSE
360!    print *,'SRTM_SRTM_224GP after potential scaling'
361      DO JK=1,KLEV+1
362        PFSUC(JL,1,JK)=ZADJI0 * ZBBCU(JK)
363        PFSUC(JL,2,JK)=ZADJI0 * ZBBCD(JK)
364        PFSUX(JL,1,JK)=ZADJI0 * ( (1.0_JPRB-ZCLEAR)*ZBBFU(JK)+ZCLEAR*ZBBCU(JK) )
365        PFSUX(JL,2,JK)=ZADJI0 * ( (1.0_JPRB-ZCLEAR)*ZBBFD(JK)+ZCLEAR*ZBBCD(JK) )
366      ENDDO
367!    ENDIF
368
369!  DO JK=1,KLEV+1
370!    print 9005,JK,PFSUC(JL,1,JK),PFSUC(JL,2,JK),PFSUX(JL,1,JK),PFSUX(JL,2,JK)
371    9005 format(1x,'Clear-sky and total fluxes U & D ',I3,4F10.3)
372!  ENDDO
373 
374  ELSE
375    DO JK=1,KLEV+1
376      PFSUC(JL,1,JK)=0.0_JPRB
377      PFSUC(JL,2,JK)=0.0_JPRB
378      PFSUX(JL,1,JK)=0.0_JPRB
379      PFSUX(JL,2,JK)=0.0_JPRB
380    ENDDO
381  ENDIF
382ENDDO
383
384!PRINT *,'OUT OF SRTM_224GP'
385
386!-----------------------------------------------------------------------
387IF (LHOOK) CALL DR_HOOK('SRTM_SRTM_224GP',1,ZHOOK_HANDLE)
388END SUBROUTINE SRTM_SRTM_224GP
389
Note: See TracBrowser for help on using the repository browser.