source: LMDZ6/branches/Ocean_skin/libf/phylmd/ecrad/yoerrta9.F90 @ 5185

Last change on this file since 5185 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: 2.2 KB
Line 
1MODULE YOERRTA9
2
3USE PARKIND1  ,ONLY : JPIM     ,JPRB
4
5IMPLICIT NONE
6
7PUBLIC
8
9SAVE
10
11!     -----------------------------------------------------------------
12!*    ** *YOERRTA9* - RRTM COEFFICIENTS FOR INTERVAL 9
13!     BAND 9:  1180-1390 cm-1 (low - H2O,CH4; high - CH4)
14!     -----------------------------------------------------------------
15
16INTEGER(KIND=JPIM), PARAMETER :: NG9  = 12
17
18REAL(KIND=JPRB) :: FRACREFA(NG9,9)
19
20REAL(KIND=JPRB) , DIMENSION(NG9) :: FRACREFB
21
22REAL(KIND=JPRB) :: KA(9,5,13,NG9) ,ABSA(585,NG9)
23REAL(KIND=JPRB) :: KB(5,13:59,NG9) ,ABSB(235,NG9)
24REAL(KIND=JPRB) :: KA_MN2O(9,19,NG9)
25REAL(KIND=JPRB) :: KB_MN2O(19,NG9)
26REAL(KIND=JPRB) :: SELFREF(10,NG9)
27REAL(KIND=JPRB) :: FORREF(4,NG9)
28
29EQUIVALENCE (KA(1,1,1,1),ABSA(1,1)),(KB(1,13,1),ABSB(1,1))
30
31!     -----------------------------------------------------------------
32!        * E.C.M.W.F. PHYSICS PACKAGE ** RRTM LW RADIATION **
33
34!     J.-J. MORCRETTE       E.C.M.W.F.      98/07/14
35
36!  NAME     TYPE     PURPOSE
37!  ----   : ----   : ---------------------------------------------------
38! ABSA    : REAL     absorption coefficient of major absorber for M reference tropospheric
39!                    pressures and N reference tropospheric temperatures
40! ABSB    : REAL     absorption coefficient of secondary absorber for M reference stratospheric
41!                    pressures and N reference stratospheric temperatures
42! ABSN2O  : REAL     absorption coefficient for N2O
43! CH4REF  : REAL     reference profile for CH4
44! ETAREF  : REAL     reference eta profile
45! FRACREFA: REAL     distance from r and T reference tabulated points (troposphere)
46! FRACREFB: REAL     distance from r and T reference tabulated points (stratosphere)
47! H2OREF  : REAL     reference profile for H2O
48! KA      : REAL     absorption coefficient of major absorber (equiv. to ABSA)   
49! KB      : REAL     absorption coefficient of secondary absorber (equiv. to ABSB)   
50! N2OREF  : REAL     reference profile for N2O
51! SELFREF : REAL     self broadening coefficient for water vapour
52! STRRAT  : REAL     weighting factors for the transition between tropospheric
53!                    and stratospheric computations
54!     -----------------------------------------------------------------
55END MODULE YOERRTA9
Note: See TracBrowser for help on using the repository browser.