source: LMDZ6/trunk/libf/phylmd/ecrad/yoerrto2.F90 @ 4744

Last change on this file since 4744 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.3 KB
Line 
1MODULE YOERRTO2
2
3USE PARKIND1  ,ONLY : JPIM     ,JPRB, JPRD
4
5IMPLICIT NONE
6
7PUBLIC
8
9SAVE
10
11!     -----------------------------------------------------------------
12!*    ** *YOERRTO2* - RRTM ORIGINAL COEFFICIENTS FOR INTERVAL 2
13!     BAND 2:  250-500 cm-1 (low - H2O; high - H2O)
14! ABozzo May 2013 updated to rrtmg v4.85
15!     band 2:  350-500 cm-1 (low key - h2o; high key - h2o)
16!     -----------------------------------------------------------------
17
18INTEGER(KIND=JPIM), PARAMETER :: NO2  = 16
19
20!     The ith set of reference fractions are from the ith reference
21!     pressure level.
22REAL(KIND=JPRB) :: FRACREFAO(NO2), FRACREFBO(NO2)
23REAL(KIND=JPRB) :: KAO(5,13,NO2)
24REAL(KIND=JPRB) :: KBO(5,13:59,NO2)
25REAL(KIND=JPRD) :: KAO_D(5,13,NO2)
26REAL(KIND=JPRD) :: KBO_D(5,13:59,NO2)
27REAL(KIND=JPRB) :: SELFREFO(10,NO2) , FORREFO(4,NO2)
28
29
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!FRACREFAO: REAL   
39!FRACREFBO: REAL
40! KAO     : REAL     
41! KBO     : REAL     
42! SELFREFO: REAL
43! FORREFO : REAL 
44!     -----------------------------------------------------------------
45END MODULE YOERRTO2
Note: See TracBrowser for help on using the repository browser.