LMDZ
val923.F90
Go to the documentation of this file.
1 SUBROUTINE val923(LDNEW)
2 
3 USE parkind1 ,ONLY : jpim ,jprb
4 USE yomhook ,ONLY : lhook, dr_hook
5 
6 USE yomcli , ONLY : ntpmer ,ntpgla ,ntpdes ,ntplac ,&
7  & smask ,smanq ,sther ,salbn ,salbx ,&
8  & salbm ,salbg ,salbb ,salbd ,semin ,&
9  & semix ,semim ,semig ,semib ,semid ,&
10  & sdepn ,sdepx ,sdepd ,sargn ,sargx ,&
11  & sargd ,ssabn ,ssabx ,ssabd ,srsmn ,&
12  & srsmx ,srsmd ,szz0n ,szz0m ,szz0b ,&
13  & szz0u ,szz0d
14 USE yomlun , ONLY : nulout
15 
16 #ifdef DOC
17 !**** *GEO923*
18 
19 ! PURPOSE.
20 ! --------
21 ! Compute the constants (YOMCLI) which are used by configuration 923.
22 
23 ! INTERFACE.
24 ! ----------
25 ! CALL VAL923(LDNEW)
26 ! LDNEW = .FALSE. if old fields required
27 ! Results in YOMCLI.
28 
29 ! AUTHORS.
30 ! --------
31 ! D. Giard 97-05-06
32 
33 ! MODIFICATIONS.
34 ! --------------
35 ! D. Giard 99-07-02 add values for desert and prints
36 ! S. Kertesz 99-12-16 new type for lakes
37 ! M.Hamrud 01-Oct-2003 CY28 Cleaning
38 
39 #endif
40 
41 IMPLICIT NONE
42 
43 LOGICAL ,INTENT(IN) :: LDNEW
44 REAL(KIND=JPRB) :: ZHOOK_HANDLE
45 
46 ! Threshold defining the mask
47 IF (lhook) CALL dr_hook('VAL923',0,zhook_handle)
48 smask= 0.5_jprb
49 ! Value for missing data + 1
50 smanq=-9998._jprb
51 ! Land-use types for sea, ice-cap, desert, lakes
52 ntpmer= 1
53 ntpgla= 2
54 ntpdes= 3
55 ntplac= 5
56 ! Roughness length : minimum, sea, sea-ice, urban areas, desert
57 szz0n= 0.001_jprb
58 szz0m= 0.001_jprb
59 szz0b= 0.001_jprb
60 szz0u= 2.500_jprb
61 szz0d= 0.001_jprb
62 ! Ration of thermal to kinetic roughness length
63 sther= 0.10_jprb
64 ! Albedo : minimum, maximum, sea, ice-cap, sea-ice, desert
65 IF (ldnew) THEN
66  salbn= 0.05_jprb
67  salbx= 0.80_jprb
68 ELSE
69  salbn= 0.07_jprb
70  salbx= 0.70_jprb
71 ENDIF
72 salbm= 0.07_jprb
73 salbg= 0.75_jprb
74 salbb= 0.65_jprb
75 salbd= 0.10_jprb
76 ! Emissivity : minimum, maximum, sea, ice-cap, sea-ice, desert
77 semin= 0.90_jprb
78 semix= 1.00_jprb
79 semim= 0.96_jprb
80 semig= 0.98_jprb
81 semib= 0.97_jprb
82 semid= 0.943_jprb
83 ! Soil depth : minimum, maximum, desert
84 sdepn= 0.10_jprb
85 sdepx= 8.00_jprb
86 sdepd= 0.10_jprb
87 ! Percentage of clay : minimum, maximum, desert
88 sargn= 3._jprb
89 sargx= 58._jprb
90 sargd= 3._jprb
91 ! Percentage of sand : minimum, maximum, desert
92 ssabn= 6._jprb
93 ssabx= 92._jprb
94 ssabd= 92._jprb
95 ! Minimum surface resistance : minimum, maximum, desert
96 srsmx=5000._jprb
97 srsmn= 1.0_jprb
98 srsmd=5000._jprb
99 
100 WRITE(unit=nulout,fmt=111) smask,smanq,sther,&
102 WRITE(unit=nulout,fmt=112) szz0n,szz0m,szz0b,szz0u,szz0d
103 WRITE(unit=nulout,fmt=113) salbn,salbx,salbm,salbg,salbb,salbd,&
105 WRITE(unit=nulout,fmt=114) sdepn,sdepx,sdepd,sargn,sargx,sargd,&
107 111 FORMAT(' COMMON YOMCLI',/,&
108  & ' SMASK=',f4.2,' SMANQ=',f6.0,' STHER=',f4.2,/&
109  & ' NTPMER=',i2,' NTPGLA=',i2,' NTPDES=',i2,' NTPLAC=',i2)
110 112 FORMAT(' LONGUEUR DE RUGOSITE :',/,&
111  & ' minimum mer banquise villes desert ',&
112  & /,5f9.3)
113 113 FORMAT(' ALBEDO ET EMISSIVITE :',/,&
114  & ' minimum maximum mer glacier banquise desert ',&
115  & 2(/,6f9.3))
116 114 FORMAT(' PROFONDEUR, % ARGILE, % SABLE, RESIS. MIN. :',/,&
117  & ' minimum maximum desert ',&
118  & 4(/,3f9.3))
119 
120 IF (lhook) CALL dr_hook('VAL923',1,zhook_handle)
121 END SUBROUTINE val923
integer(kind=jpim) ntpgla
Definition: yomcli.F90:62
real(kind=jprb) ssabx
Definition: yomcli.F90:98
real(kind=jprb) ssabn
Definition: yomcli.F90:97
real(kind=jprb) semin
Definition: yomcli.F90:85
real(kind=jprb) sargx
Definition: yomcli.F90:95
real(kind=jprb) szz0u
Definition: yomcli.F90:106
real(kind=jprb) smask
Definition: yomcli.F90:72
real(kind=jprb) szz0m
Definition: yomcli.F90:104
integer(kind=jpim) ntpdes
Definition: yomcli.F90:63
real(kind=jprb) szz0b
Definition: yomcli.F90:105
subroutine val923(LDNEW)
Definition: val923.F90:2
real(kind=jprb) srsmd
Definition: yomcli.F90:102
real(kind=jprb) semib
Definition: yomcli.F90:89
real(kind=jprb) srsmn
Definition: yomcli.F90:100
real(kind=jprb) semim
Definition: yomcli.F90:87
real(kind=jprb) sargn
Definition: yomcli.F90:94
real(kind=jprb) salbd
Definition: yomcli.F90:84
real(kind=jprb) sdepn
Definition: yomcli.F90:91
integer, parameter jprb
Definition: parkind1.F90:31
real(kind=jprb) szz0n
Definition: yomcli.F90:103
real(kind=jprb) szz0d
Definition: yomcli.F90:107
real(kind=jprb) sdepd
Definition: yomcli.F90:93
real(kind=jprb) ssabd
Definition: yomcli.F90:99
integer(kind=jpim) ntpmer
Definition: yomcli.F90:61
real(kind=jprb) sdepx
Definition: yomcli.F90:92
Definition: yomcli.F90:1
real(kind=jprb) srsmx
Definition: yomcli.F90:101
real(kind=jprb) sargd
Definition: yomcli.F90:96
Definition: yomlun.F90:1
real(kind=jprb) sther
Definition: yomcli.F90:78
logical lhook
Definition: yomhook.F90:12
real(kind=jprb) semig
Definition: yomcli.F90:88
real(kind=jprb) salbn
Definition: yomcli.F90:79
real(kind=jprb) salbg
Definition: yomcli.F90:82
real(kind=jprb) salbx
Definition: yomcli.F90:80
subroutine dr_hook(CDNAME, KSWITCH, PKEY)
Definition: yomhook.F90:17
integer, parameter jpim
Definition: parkind1.F90:13
real(kind=jprb) salbb
Definition: yomcli.F90:83
real(kind=jprb) semix
Definition: yomcli.F90:86
real(kind=jprb) smanq
Definition: yomcli.F90:73
integer(kind=jpim) ntplac
Definition: yomcli.F90:64
real(kind=jprb) salbm
Definition: yomcli.F90:81
!$Header!integer nvarmx s s unit
Definition: gradsdef.h:20
real(kind=jprb) semid
Definition: yomcli.F90:90