source: LMDZ5/branches/testing/libf/phylmd/rrtm/srtm_cmbgb26.F90

Last change on this file was 1999, checked in by Laurent Fairhead, 11 years ago

Merged trunk changes r1920:1997 into testing branch

  • 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: 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.