source: LMDZ6/trunk/libf/phylmd/ecrad/yoerrta3.F90 @ 4062

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