LMDZ
yomscm.F90
Go to the documentation of this file.
1 MODULE yomscm
2 
3 USE parkind1 ,ONLY : jpim ,jprb
4 
5 IMPLICIT NONE
6 
7 SAVE
8 
9 !-------------------------------------------------
10 ! SCM: extraction of Single Column Model profiles from 3D model.
11 !-------------------------------------------------
12 
13 ! NFRSCM
14 ! NSCMTS
15 
16 ! NSCM_SPACE_S < 0: choose one profile over -NSCM_SPACE_S.
17 ! NSCM_SPACE_S = 0: choose profiles close to the location
18 ! given by (GSCM_LON1,GSCM_LAT1) (in rad).
19 ! NSCM_SPACE_S = 1: choose profiles inside a given box (in (lon, lat)).
20 ! NSCM_SPACE_S = 10: choose profiles depending on physical output,
21 ! for example precipitating profiles.
22 !-------------------------------------------------
23 
24 ! NSCM_SPACE_S: kind of space sampling.
25 
26 ! NSCM_SPACE_S < 0: choose one profile over -NSCM_SPACE_S.
27 ! NSCM_SPACE_S = 0: choose profiles close to the location
28 ! given by (GSCM_LON1,GSCM_LAT1) (in rad).
29 ! NSCM_SPACE_S = 1: choose profiles inside a given box (in (lon, lat)).
30 ! NSCM_SPACE_S = 10: choose profiles depending on physical output,
31 ! for example precipitating profiles.
32 !-------------------------------------------------
33 ! GSCM_LON1: longitude in rad [-pi,pi].
34 ! GSCM_LON2: longitude in rad [-pi,pi].
35 ! GSCM_LAT1: latitude in rad [-pi/2,pi/2].
36 ! GSCM_LAT2: latitude in rad [-pi/2,pi/2].
37 !-------------------------------------------------
38 ! GSCM_RADIUS: search radius in meters (case NSCM_SPACE_S = 0).
39 !-------------------------------------------------
40 
41 LOGICAL :: lgscm
42 INTEGER(KIND=JPIM) :: nfrscm
43 INTEGER(KIND=JPIM), PARAMETER :: jpnpst=240
44 INTEGER(KIND=JPIM) :: nscmts(0:jpnpst)
45 INTEGER(KIND=JPIM) :: nscm_space_s
46 REAL(KIND=JPRB) :: gscm_lon1
47 REAL(KIND=JPRB) :: gscm_lon2
48 REAL(KIND=JPRB) :: gscm_lat1
49 REAL(KIND=JPRB) :: gscm_lat2
50 REAL(KIND=JPRB) :: gscm_radius
51 INTEGER(KIND=JPIM) :: nscm_add_sampl
52 
53 !$OMP THREADPRIVATE(gscm_lat1,gscm_lat2,gscm_lon1,gscm_lon2,gscm_radius,lgscm,nfrscm,nscm_add_sampl,nscm_space_s,nscmts)
54 END MODULE yomscm
real(kind=jprb) gscm_lat2
Definition: yomscm.F90:49
integer(kind=jpim), dimension(0:jpnpst) nscmts
Definition: yomscm.F90:44
real(kind=jprb) gscm_lon2
Definition: yomscm.F90:47
logical lgscm
Definition: yomscm.F90:41
integer(kind=jpim) nscm_add_sampl
Definition: yomscm.F90:51
integer, parameter jprb
Definition: parkind1.F90:31
Definition: yomscm.F90:1
real(kind=jprb) gscm_radius
Definition: yomscm.F90:50
integer(kind=jpim) nscm_space_s
Definition: yomscm.F90:45
real(kind=jprb) gscm_lon1
Definition: yomscm.F90:46
integer(kind=jpim) nfrscm
Definition: yomscm.F90:42
integer(kind=jpim), parameter jpnpst
Definition: yomscm.F90:43
real(kind=jprb) gscm_lat1
Definition: yomscm.F90:48
integer, parameter jpim
Definition: parkind1.F90:13