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 | END MODULE YOMSCM |
---|