source: LMDZ5/branches/IPSLCM5A2.1_ISO/libf/phyiso/rrtm/srtm_cmbgb26.F90 @ 5313

Last change on this file since 5313 was 3331, checked in by acozic, 6 years ago

Add modification for isotopes

  • Property svn:executable set to *
File size: 1.0 KB
Line 
1SUBROUTINE SRTM_CMBGB26
2
3!     BAND 26:  22650-29000 cm-1 (low - nothing; high - nothing)
4!-----------------------------------------------------------------------
5
6USE PARKIND1  ,ONLY : JPIM , JPRB
7USE YOMHOOK   ,ONLY : LHOOK, DR_HOOK
8
9USE YOESRTWN , ONLY : NGC, NGS, NGN, RWGT
10USE YOESRTA26, ONLY : SFLUXREF, RAYL, &
11                    & SFLUXREFC, RAYLC
12
13IMPLICIT NONE
14
15! Local variables
16INTEGER(KIND=JPIM) :: IGC, IPR, IPRSM
17REAL(KIND=JPRB)    :: ZSUMF1, ZSUMF2
18
19REAL(KIND=JPRB) :: ZHOOK_HANDLE
20!     ------------------------------------------------------------------
21IF (LHOOK) CALL DR_HOOK('SRTM_CMBGB26',0,ZHOOK_HANDLE)
22
23IPRSM = 0
24DO IGC = 1,NGC(11)
25  ZSUMF1 = 0.
26  ZSUMF2 = 0.
27  DO IPR = 1, NGN(NGS(10)+IGC)
28    IPRSM = IPRSM + 1
29    ZSUMF1 = ZSUMF1 + RAYL(IPRSM)*RWGT(IPRSM+160)
30    ZSUMF2 = ZSUMF2 + SFLUXREF(IPRSM)
31  ENDDO
32  RAYLC(IGC) = ZSUMF1
33  SFLUXREFC(IGC) = ZSUMF2
34ENDDO
35
36!     -----------------------------------------------------------------
37IF (LHOOK) CALL DR_HOOK('SRTM_CMBGB26',1,ZHOOK_HANDLE)
38END SUBROUTINE SRTM_CMBGB26
39
Note: See TracBrowser for help on using the repository browser.