1 | ! |
---|
2 | ! $Header$ |
---|
3 | ! |
---|
4 | |
---|
5 | subroutine conf_phys(ocean, ok_veget, ok_journe, ok_mensuel, ok_instan, & |
---|
6 | & fact_cldcon, facttemps,ok_newmicro,iflag_cldcon, & |
---|
7 | & ratqsbas,ratqshaut) |
---|
8 | |
---|
9 | use IOIPSL |
---|
10 | implicit none |
---|
11 | |
---|
12 | #include "conema3.h" |
---|
13 | #include "fisrtilp.inc" |
---|
14 | ! |
---|
15 | ! Configuration de la "physique" de LMDZ a l'aide de la fonction |
---|
16 | ! GETIN de IOIPSL |
---|
17 | ! |
---|
18 | ! LF 05/2001 |
---|
19 | ! |
---|
20 | |
---|
21 | ! |
---|
22 | ! ocean: type d'ocean (force, slab, couple) |
---|
23 | ! ok_veget: type de modele de vegetation |
---|
24 | ! ok_journe: sorties journalieres |
---|
25 | ! ok_mensuel: sorties mensuelles |
---|
26 | ! ok_instan: sorties instantanees |
---|
27 | |
---|
28 | |
---|
29 | |
---|
30 | ! Sortie: |
---|
31 | character (len = 6) :: ocean |
---|
32 | logical :: ok_veget, ok_newmicro |
---|
33 | logical :: ok_journe, ok_mensuel, ok_instan |
---|
34 | real :: fact_cldcon, facttemps,ratqsbas,ratqshaut |
---|
35 | integer :: iflag_cldcon |
---|
36 | ! Local |
---|
37 | integer :: numout = 6 |
---|
38 | |
---|
39 | ! |
---|
40 | ! |
---|
41 | ! |
---|
42 | |
---|
43 | |
---|
44 | !Config Key = OCEAN |
---|
45 | !Config Desc = Type d'ocean |
---|
46 | !Config Def = force |
---|
47 | !Config Help = Type d'ocean utilise: force, slab,couple |
---|
48 | ! |
---|
49 | ocean = 'force ' |
---|
50 | call getin('OCEAN', ocean) |
---|
51 | ! |
---|
52 | !Config Key = VEGET |
---|
53 | !Config Desc = Type de modele de vegetation |
---|
54 | !Config Def = .false. |
---|
55 | !Config Help = Type de modele de vegetation utilise |
---|
56 | ! |
---|
57 | ok_veget = .false. |
---|
58 | call getin('VEGET', ok_veget) |
---|
59 | ! |
---|
60 | !Config Key = OK_journe |
---|
61 | !Config Desc = Pour des sorties journalieres |
---|
62 | !Config Def = .false. |
---|
63 | !Config Help = Pour creer le fichier histday contenant les sorties |
---|
64 | ! journalieres |
---|
65 | ! |
---|
66 | ok_journe = .false. |
---|
67 | call getin('OK_journe', ok_journe) |
---|
68 | ! |
---|
69 | !Config Key = OK_mensuel |
---|
70 | !Config Desc = Pour des sorties mensuelles |
---|
71 | !Config Def = .true. |
---|
72 | !Config Help = Pour creer le fichier histmth contenant les sorties |
---|
73 | ! mensuelles |
---|
74 | ! |
---|
75 | ok_mensuel = .true. |
---|
76 | call getin('OK_mensuel', ok_mensuel) |
---|
77 | ! |
---|
78 | !Config Key = OK_instan |
---|
79 | !Config Desc = Pour des sorties instantanees |
---|
80 | !Config Def = .false. |
---|
81 | !Config Help = Pour creer le fichier histins contenant les sorties |
---|
82 | ! instantanees |
---|
83 | ! |
---|
84 | ok_instan = .false. |
---|
85 | call getin('OK_instan', ok_instan) |
---|
86 | !! |
---|
87 | !! KE |
---|
88 | ! |
---|
89 | !Config Key = epmax |
---|
90 | !Config Desc = Efficacite precip |
---|
91 | !Config Def = 0.993 |
---|
92 | !Config Help = |
---|
93 | ! |
---|
94 | epmax = .993 |
---|
95 | call getin('epmax', epmax) |
---|
96 | ! |
---|
97 | !Config Key = ok_adj_ema |
---|
98 | !Config Desc = |
---|
99 | !Config Def = false |
---|
100 | !Config Help = |
---|
101 | ! |
---|
102 | ok_adj_ema = .false. |
---|
103 | call getin('ok_adj_ema',ok_adj_ema) |
---|
104 | ! |
---|
105 | !Config Key = iflag_clw |
---|
106 | !Config Desc = |
---|
107 | !Config Def = 0 |
---|
108 | !Config Help = |
---|
109 | ! |
---|
110 | iflag_clw = 0 |
---|
111 | call getin('iflag_clw',iflag_clw) |
---|
112 | ! |
---|
113 | !Config Key = cld_lc_lsc |
---|
114 | !Config Desc = |
---|
115 | !Config Def = 2.6e-4 |
---|
116 | !Config Help = |
---|
117 | ! |
---|
118 | cld_lc_lsc = 2.6e-4 |
---|
119 | call getin('cld_lc_lsc',cld_lc_lsc) |
---|
120 | ! |
---|
121 | !Config Key = cld_lc_con |
---|
122 | !Config Desc = |
---|
123 | !Config Def = 2.6e-4 |
---|
124 | !Config Help = |
---|
125 | ! |
---|
126 | cld_lc_con = 2.6e-4 |
---|
127 | call getin('cld_lc_con',cld_lc_con) |
---|
128 | ! |
---|
129 | !Config Key = cld_tau_lsc |
---|
130 | !Config Desc = |
---|
131 | !Config Def = 3600. |
---|
132 | !Config Help = |
---|
133 | ! |
---|
134 | cld_tau_lsc = 3600. |
---|
135 | call getin('cld_tau_lsc',cld_tau_lsc) |
---|
136 | ! |
---|
137 | !Config Key = cld_tau_con |
---|
138 | !Config Desc = |
---|
139 | !Config Def = 3600. |
---|
140 | !Config Help = |
---|
141 | ! |
---|
142 | cld_tau_con = 3600. |
---|
143 | call getin('cld_tau_con',cld_tau_con) |
---|
144 | ! |
---|
145 | !Config Key = ffallv_lsc |
---|
146 | !Config Desc = |
---|
147 | !Config Def = 1. |
---|
148 | !Config Help = |
---|
149 | ! |
---|
150 | ffallv_lsc = 1. |
---|
151 | call getin('ffallv_lsc',ffallv_lsc) |
---|
152 | ! |
---|
153 | !Config Key = ffallv_con |
---|
154 | !Config Desc = |
---|
155 | !Config Def = 1. |
---|
156 | !Config Help = |
---|
157 | ! |
---|
158 | ffallv_con = 1. |
---|
159 | call getin('ffallv_con',ffallv_con) |
---|
160 | ! |
---|
161 | !Config Key = coef_eva |
---|
162 | !Config Desc = |
---|
163 | !Config Def = 2.e-5 |
---|
164 | !Config Help = |
---|
165 | ! |
---|
166 | coef_eva = 2.e-5 |
---|
167 | call getin('coef_eva',coef_eva) |
---|
168 | ! |
---|
169 | !Config Key = reevap_ice |
---|
170 | !Config Desc = |
---|
171 | !Config Def = .false. |
---|
172 | !Config Help = |
---|
173 | ! |
---|
174 | reevap_ice = .false. |
---|
175 | call getin('reevap_ice',reevap_ice) |
---|
176 | ! |
---|
177 | !Config Key = iflag_cldcon |
---|
178 | !Config Desc = |
---|
179 | !Config Def = 1 |
---|
180 | !Config Help = |
---|
181 | ! |
---|
182 | iflag_cldcon = 1 |
---|
183 | call getin('iflag_cldcon',iflag_cldcon) |
---|
184 | |
---|
185 | ! |
---|
186 | !Config Key = iflag_pdf |
---|
187 | !Config Desc = |
---|
188 | !Config Def = 0 |
---|
189 | !Config Help = |
---|
190 | ! |
---|
191 | iflag_pdf = 0 |
---|
192 | call getin('iflag_pdf',iflag_pdf) |
---|
193 | ! |
---|
194 | !Config Key = fact_cldcon |
---|
195 | !Config Desc = |
---|
196 | !Config Def = 0.375 |
---|
197 | !Config Help = |
---|
198 | ! |
---|
199 | fact_cldcon = 0.375 |
---|
200 | call getin('fact_cldcon',fact_cldcon) |
---|
201 | |
---|
202 | ! |
---|
203 | !Config Key = facttemps |
---|
204 | !Config Desc = |
---|
205 | !Config Def = 1.e-4 |
---|
206 | !Config Help = |
---|
207 | ! |
---|
208 | facttemps = 1.e-4 |
---|
209 | call getin('facttemps',facttemps) |
---|
210 | |
---|
211 | ! |
---|
212 | !Config Key = ok_newmicro |
---|
213 | !Config Desc = |
---|
214 | !Config Def = .true. |
---|
215 | !Config Help = |
---|
216 | ! |
---|
217 | ok_newmicro = .true. |
---|
218 | call getin('ok_newmicro',ok_newmicro) |
---|
219 | ! |
---|
220 | !Config Key = ratqsbas |
---|
221 | !Config Desc = |
---|
222 | !Config Def = 0.01 |
---|
223 | !Config Help = |
---|
224 | ! |
---|
225 | ratqsbas = 0.01 |
---|
226 | call getin('ratqsbas',ratqsbas) |
---|
227 | ! |
---|
228 | !Config Key = ratqshaut |
---|
229 | !Config Desc = |
---|
230 | !Config Def = 0.3 |
---|
231 | !Config Help = |
---|
232 | ! |
---|
233 | ratqshaut = 0.3 |
---|
234 | call getin('ratqshaut',ratqshaut) |
---|
235 | |
---|
236 | ! |
---|
237 | ! |
---|
238 | ! |
---|
239 | |
---|
240 | write(numout,*)' ##############################################' |
---|
241 | write(numout,*)' Configuration des parametres de la physique: ' |
---|
242 | write(numout,*)' Config ocean = ', ocean |
---|
243 | write(numout,*)' Config veget = ', ok_veget |
---|
244 | write(numout,*)' Sortie journaliere = ', ok_journe |
---|
245 | write(numout,*)' Sortie mensuelle = ', ok_mensuel |
---|
246 | write(numout,*)' Sortie instantanee = ', ok_instan |
---|
247 | write(numout,*)' epmax = ', epmax |
---|
248 | write(numout,*)' ok_adj_ema = ', ok_adj_ema |
---|
249 | write(numout,*)' iflag_clw = ', iflag_clw |
---|
250 | write(numout,*)' cld_lc_lsc = ', cld_lc_lsc |
---|
251 | write(numout,*)' cld_lc_con = ', cld_lc_con |
---|
252 | write(numout,*)' cld_tau_lsc = ', cld_tau_lsc |
---|
253 | write(numout,*)' cld_tau_con = ', cld_tau_con |
---|
254 | write(numout,*)' ffallv_lsc = ', ffallv_lsc |
---|
255 | write(numout,*)' ffallv_con = ', ffallv_con |
---|
256 | write(numout,*)' coef_eva = ', coef_eva |
---|
257 | write(numout,*)' reevap_ice = ', reevap_ice |
---|
258 | write(numout,*)' iflag_pdf = ', iflag_pdf |
---|
259 | write(numout,*)' iflag_cldcon = ', iflag_cldcon |
---|
260 | write(numout,*)' fact_cldcon = ', fact_cldcon |
---|
261 | write(numout,*)' facttemps = ', facttemps |
---|
262 | write(numout,*)' ok_newmicro = ',ok_newmicro |
---|
263 | write(numout,*)' ratqsbas = ',ratqsbas |
---|
264 | write(numout,*)' ratqshaut = ',ratqshaut |
---|
265 | |
---|
266 | return |
---|
267 | |
---|
268 | end subroutine conf_phys |
---|
269 | |
---|