SURFEX v8.1
General documentation of Surfex
rttov_ec_mod.F90
Go to the documentation of this file.
1 MODULE rttov_ec_mod
2 
3 ! Purpose.
4 ! --------
5 
6 ! Types used in the interface between IFS and SATRAD projects, e.g.
7 ! where RADTR_ML calls RTTOV_EC. Defaults are for ECMWF normal usage.
8 
9 ! Author.
10 ! -------
11 ! A.Geer ECMWF
12 
13 ! Modifications.
14 ! --------------
15 ! Original: 2013-06-27
16 ! 05/07/2014 Inclusion of cldstr_threshold (S. Migliorini)
17 ! ------------------------------------------------------------------
18 
19 USE parkind1 , ONLY : jpim, jprb
20 
21 IMPLICIT NONE
22 
23 SAVE
24 
26 
27  ! switch for cloud computations
28  LOGICAL :: lcloud = .false.
29 
30  ! when lcldstr_simple is false, only streams whose weight is larger than cldstr_threshold are considered
31  REAL(KIND=JPRB) :: cldstr_threshold = -1.0_jprb
32 
33  ! switch for internal rttov interpolation
34  LOGICAL :: linterp = .true.
35 
36  ! switch for tracers
37  LOGICAL, DIMENSION(4) :: ltracer = (/.false.,.false.,.false.,.false./)
38 
39  ! For complex cloudy IR, true uses 2-column, false uses full cloudy streams method
40  LOGICAL :: lcldstr_simple = .true.
41 
42 END TYPE rttov_ec_opts
43 
44 ! Key to the contents of the pav array
46  INTEGER(KIND=JPIM) :: t ! Temperature
47  INTEGER(KIND=JPIM) :: q ! Humidity
48  INTEGER(KIND=JPIM) :: o3 ! Ozone
49  INTEGER(KIND=JPIM) :: l ! Cloud liquid water
50  INTEGER(KIND=JPIM) :: i ! Cloud ice water
51  INTEGER(KIND=JPIM) :: a ! Cloud fraction
52  INTEGER(KIND=JPIM) :: co2
53  INTEGER(KIND=JPIM) :: n2o
54  INTEGER(KIND=JPIM) :: ch4
55  INTEGER(KIND=JPIM) :: co
56 END TYPE
57 
58 TYPE(type_pav_key), PARAMETER :: ipav=type_pav_key(1,2,3,4,5,6,7,8,9,10)
59 
60 END MODULE rttov_ec_mod
ERROR in a
Definition: ecsort_shared.h:90
integer, parameter jpim
Definition: parkind1.F90:13
integer, parameter jprb
Definition: parkind1.F90:32
type(type_pav_key), parameter ipav
subroutine t(CDPREF, CDSUFF, KCODPA, LDNIVA, PMULTI)
Definition: faicor.F90:567