source: LMDZ6/trunk/libf/phylmd/ecrad/yoerrta14.F90 @ 4190

Last change on this file since 4190 was 3908, checked in by idelkadi, 3 years ago

Online implementation of the radiative transfer code ECRAD in the LMDZ model.

  • Inclusion of the ecrad directory containing the sources of the ECRAD code
    • interface routine : radiation_scheme.F90
  • Adaptation of compilation scripts :
    • compilation under CPP key CPP_ECRAD
    • compilation with option "-rad ecard" or "-ecard true"
    • The "-rad old/rtm/ecran" build option will need to replace the "-rrtm true" and "-ecrad true" options in the future.
  • Runing LMDZ simulations with ecrad, you need :
    • logical key iflag_rrtm = 2 in physiq.def
    • namelist_ecrad (DefLists?)
    • the directory "data" containing the configuration files is temporarily placed in ../libfphylmd/ecrad/
  • Compilation and execution are tested in the 1D case. The repository under svn would allow to continue the implementation work: tests, verification of the results, ...
File size: 1.8 KB
Line 
1MODULE YOERRTA14
2
3USE PARKIND1  ,ONLY : JPIM     ,JPRB
4
5IMPLICIT NONE
6
7PUBLIC
8
9SAVE
10
11!     -----------------------------------------------------------------
12!*    ** *YOERRTA14* - RRTM COEFFICIENTS FOR INTERVAL 14
13!     BAND 14:  2250-2380 cm-1 (low - CO2; high - CO2)
14!     ABozzo 201306 updated to rrtmg v4.85
15!     -----------------------------------------------------------------
16
17INTEGER(KIND=JPIM), PARAMETER :: NG14 = 2
18
19REAL(KIND=JPRB) , DIMENSION(NG14) :: FRACREFA
20REAL(KIND=JPRB) , DIMENSION(NG14) :: FRACREFB
21
22REAL(KIND=JPRB) :: KA(5,13,NG14)   ,ABSA(65,NG14)
23REAL(KIND=JPRB) :: KB(5,13:59,NG14),ABSB(235,NG14)
24REAL(KIND=JPRB) :: SELFREF(10,NG14)
25REAL(KIND=JPRB) :: FORREF(4,NG14)
26
27EQUIVALENCE (KA(1,1,1),ABSA(1,1)), (KB(1,13,1),ABSB(1,1))
28
29!     -----------------------------------------------------------------
30!        * E.C.M.W.F. PHYSICS PACKAGE *
31
32!     J.-J. MORCRETTE       E.C.M.W.F.      98/01/15
33
34!  NAME     TYPE     PURPOSE
35!  ----   : ----   : ---------------------------------------------------
36! ABSA    : REAL     absorption coefficient of major absorber for M reference tropospheric
37!                    pressures and N reference tropospheric temperatures
38! ABSB    : REAL     absorption coefficient of secondary absorber for M reference stratospheric
39!                    pressures and N reference stratospheric temperatures
40! FRACREFA: REAL     distance from r and T reference tabulated points (troposphere)
41! FRACREFB: REAL     distance from r and T reference tabulated points (stratosphere)
42! KA      : REAL     absorption coefficient of major absorber (equiv. to ABSA)   
43! KB      : REAL     absorption coefficient of secondary absorber (equiv. to ABSB)   
44! SELFREF : REAL     self broadening coefficient for water vapour
45!     -----------------------------------------------------------------
46END MODULE YOERRTA14
47
Note: See TracBrowser for help on using the repository browser.