source: LMDZ6/trunk/libf/phylmd/ecrad.v1.5.1/yoerrtwn.F90 @ 5450

Last change on this file since 5450 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: 1008 bytes
Line 
1MODULE YOERRTWN
2
3USE PARKIND1  ,ONLY : JPIM     ,JPRB
4
5IMPLICIT NONE
6
7PUBLIC
8
9SAVE
10
11!    -------------------------------------------------------------------
12
13INTEGER(KIND=JPIM) , DIMENSION(16) :: NG
14INTEGER(KIND=JPIM) , DIMENSION(16) :: NSPA
15INTEGER(KIND=JPIM) , DIMENSION(16) :: NSPB
16
17REAL(KIND=JPRB) , DIMENSION(16) :: DELWAVE
18
19REAL(KIND=JPRB) , DIMENSION(181,16) :: TOTPLNK
20
21!     -----------------------------------------------------------------
22!        * E.C.M.W.F. PHYSICS PACKAGE ** RRTM LW RADIATION **
23
24!     J.-J. MORCRETTE       E.C.M.W.F.      98/01/15
25
26!  NAME     TYPE     PURPOSE
27!  ----   : ----    : -------
28!  NG     : INTEGER : Number of k-coefficients in spectral intervals
29!  NSPA   : INTEGER :
30!  NSPB   : INTEGER :
31! WAVENUM1: REAL    : Lower wavenumber spectral limit
32! WAVENUM2: REAL    : Higher wavenumber spectral limit
33! DELWAVE : REAL    : Spectral interval width
34! TOTPLNK : REAL    :
35!     -----------------------------------------------------------------
36END MODULE YOERRTWN
Note: See TracBrowser for help on using the repository browser.