source: LMDZ6/trunk/libf/phylmd/ecrad/yoerrta16.F90 @ 4163

Last change on this file since 4163 was 3908, checked in by idelkadi, 4 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.7 KB
Line 
1MODULE YOERRTA16
2
3USE PARKIND1  ,ONLY : JPIM     ,JPRB
4
5IMPLICIT NONE
6
7PUBLIC
8
9SAVE
10
11!     -----------------------------------------------------------------
12!*    ** *YOERRTA16* - RRTM COEFFICIENTS FOR INTERVAL 16
13!     BAND 16:  2600-3000 cm-1 (low - H2O,CH4; high - nothing)
14!     ABozzo 201306 updated to rrtmg v4.85
15!     band 16:  2600-3250 cm-1 (low key- h2o,ch4; high key - ch4)
16!     -----------------------------------------------------------------
17
18INTEGER(KIND=JPIM), PARAMETER :: NG16 = 2
19
20REAL(KIND=JPRB) :: FRACREFA(NG16,9)
21REAL(KIND=JPRB) , DIMENSION(NG16) :: FRACREFB
22
23REAL(KIND=JPRB) :: KA(9,5,13,NG16) ,ABSA(585,NG16)
24REAL(KIND=JPRB) :: KB(5,13:59,NG16), ABSB(235,NG16)
25REAL(KIND=JPRB) :: SELFREF(10,NG16)
26REAL(KIND=JPRB) :: FORREF(4,NG16)
27
28EQUIVALENCE (KA(1,1,1,1),ABSA(1,1)), (KB(1,13,1),ABSB(1,1))
29
30!     -----------------------------------------------------------------
31!        * E.C.M.W.F. PHYSICS PACKAGE ** RRTM LW RADIATION **
32
33!     J.-J. MORCRETTE       E.C.M.W.F.      98/07/14
34
35!  NAME     TYPE     PURPOSE
36!  ----   : ----   : ---------------------------------------------------
37! ABSA    : REAL     absorption coefficient of major absorber for M reference tropospheric
38!                    pressures and N reference tropospheric temperatures
39! FRACREFA: REAL     distance from r and T reference tabulated points (troposphere)
40! KA      : REAL     absorption coefficient of major absorber (equiv. to ABSA)   
41! SELFREF : REAL     self broadening coefficient for water vapour
42! STRRAT  : REAL     weighting factors for the transition between tropospheric
43!                    and stratospheric computations
44!     -----------------------------------------------------------------
45END MODULE YOERRTA16
Note: See TracBrowser for help on using the repository browser.