1 | |
---|
2 | ! |
---|
3 | ! $Id: conf_phys.F90 1356 2010-04-14 13:27:53Z musat $ |
---|
4 | ! |
---|
5 | ! |
---|
6 | ! |
---|
7 | module conf_phys_m |
---|
8 | |
---|
9 | implicit none |
---|
10 | |
---|
11 | contains |
---|
12 | |
---|
13 | subroutine conf_phys(ok_journe, ok_mensuel, ok_instan, ok_hf, & |
---|
14 | ok_LES,& |
---|
15 | solarlong0,seuil_inversion, & |
---|
16 | fact_cldcon, facttemps,ok_newmicro,iflag_radia,& |
---|
17 | iflag_cldcon, & |
---|
18 | iflag_ratqs,ratqsbas,ratqshaut,tau_ratqs, & |
---|
19 | ok_ade, ok_aie, aerosol_couple, & |
---|
20 | flag_aerosol, new_aod, & |
---|
21 | bl95_b0, bl95_b1,& |
---|
22 | iflag_thermals,nsplit_thermals,tau_thermals, & |
---|
23 | iflag_thermals_ed,iflag_thermals_optflux, & |
---|
24 | iflag_coupl,iflag_clos,iflag_wake, read_climoz, & |
---|
25 | alp_offset) |
---|
26 | |
---|
27 | use IOIPSL |
---|
28 | USE surface_data |
---|
29 | USE phys_cal_mod |
---|
30 | USE carbon_cycle_mod, ONLY : carbon_cycle_tr, carbon_cycle_cpl |
---|
31 | use control_mod |
---|
32 | |
---|
33 | include "conema3.h" |
---|
34 | include "fisrtilp.h" |
---|
35 | include "nuage.h" |
---|
36 | include "YOMCST.h" |
---|
37 | include "YOMCST2.h" |
---|
38 | !IM : on inclut/initialise les taux de CH4, N2O, CFC11 et CFC12 |
---|
39 | include "clesphys.h" |
---|
40 | include "compbl.h" |
---|
41 | include "comsoil.h" |
---|
42 | ! |
---|
43 | ! Configuration de la "physique" de LMDZ a l'aide de la fonction |
---|
44 | ! GETIN de IOIPSL |
---|
45 | ! |
---|
46 | ! LF 05/2001 |
---|
47 | ! |
---|
48 | |
---|
49 | ! |
---|
50 | ! type_ocean: type d'ocean (force, slab, couple) |
---|
51 | ! version_ocean: version d'ocean (opa8/nemo pour type_ocean=couple ou |
---|
52 | ! sicOBS pour type_ocean=slab) |
---|
53 | ! ok_veget: type de modele de vegetation |
---|
54 | ! ok_journe: sorties journalieres |
---|
55 | ! ok_hf: sorties haute frequence |
---|
56 | ! ok_mensuel: sorties mensuelles |
---|
57 | ! ok_instan: sorties instantanees |
---|
58 | ! ok_ade, ok_aie: apply or not aerosol direct and indirect effects |
---|
59 | ! bl95_b*: parameters in the formula to link CDNC to aerosol mass conc |
---|
60 | ! |
---|
61 | |
---|
62 | |
---|
63 | ! Sortie: |
---|
64 | logical :: ok_newmicro |
---|
65 | integer :: iflag_radia |
---|
66 | logical :: ok_journe, ok_mensuel, ok_instan, ok_hf |
---|
67 | logical :: ok_LES |
---|
68 | LOGICAL :: ok_ade, ok_aie, aerosol_couple |
---|
69 | INTEGER :: flag_aerosol |
---|
70 | LOGICAL :: new_aod |
---|
71 | REAL :: bl95_b0, bl95_b1 |
---|
72 | real :: fact_cldcon, facttemps,ratqsbas,ratqshaut,tau_ratqs |
---|
73 | integer :: iflag_cldcon |
---|
74 | integer :: iflag_ratqs |
---|
75 | |
---|
76 | character (len = 6),SAVE :: type_ocean_omp, version_ocean_omp, ocean_omp |
---|
77 | CHARACTER(len = 8),SAVE :: aer_type_omp |
---|
78 | logical,SAVE :: ok_veget_omp, ok_newmicro_omp |
---|
79 | logical,SAVE :: ok_journe_omp, ok_mensuel_omp, ok_instan_omp, ok_hf_omp |
---|
80 | logical,SAVE :: ok_LES_omp |
---|
81 | LOGICAL,SAVE :: ok_ade_omp, ok_aie_omp, aerosol_couple_omp |
---|
82 | INTEGER, SAVE :: flag_aerosol_omp |
---|
83 | LOGICAL, SAVE :: new_aod_omp |
---|
84 | REAL,SAVE :: bl95_b0_omp, bl95_b1_omp |
---|
85 | REAL,SAVE :: freq_ISCCP_omp, ecrit_ISCCP_omp |
---|
86 | REAL,SAVE :: freq_COSP_omp |
---|
87 | real,SAVE :: fact_cldcon_omp, facttemps_omp,ratqsbas_omp |
---|
88 | real,SAVE :: ratqshaut_omp |
---|
89 | real,SAVE :: tau_ratqs_omp |
---|
90 | integer,SAVE :: iflag_radia_omp |
---|
91 | integer,SAVE :: iflag_rrtm_omp |
---|
92 | integer,SAVE :: iflag_cldcon_omp, ip_ebil_phy_omp |
---|
93 | integer,SAVE :: iflag_ratqs_omp |
---|
94 | |
---|
95 | Real,SAVE :: f_cdrag_ter_omp,f_cdrag_oce_omp |
---|
96 | Real,SAVE :: f_rugoro_omp |
---|
97 | |
---|
98 | ! Local |
---|
99 | integer :: numout = 6 |
---|
100 | real :: zzz |
---|
101 | |
---|
102 | real :: seuil_inversion |
---|
103 | real,save :: seuil_inversion_omp |
---|
104 | |
---|
105 | integer :: iflag_thermals,nsplit_thermals |
---|
106 | integer,SAVE :: iflag_thermals_ed_omp,iflag_thermals_optflux_omp |
---|
107 | integer :: iflag_thermals_ed,iflag_thermals_optflux |
---|
108 | integer,SAVE :: iflag_thermals_omp,nsplit_thermals_omp |
---|
109 | real :: tau_thermals |
---|
110 | real,save :: tau_thermals_omp |
---|
111 | integer :: iflag_coupl |
---|
112 | integer :: iflag_clos |
---|
113 | integer :: iflag_wake |
---|
114 | real :: alp_offset |
---|
115 | REAL, SAVE :: alp_offset_omp |
---|
116 | integer,SAVE :: iflag_coupl_omp,iflag_clos_omp,iflag_wake_omp |
---|
117 | integer,SAVE :: iflag_cvl_sigd_omp |
---|
118 | REAL, SAVE :: supcrit1_omp, supcrit2_omp |
---|
119 | INTEGER, SAVE :: iflag_mix_omp |
---|
120 | real, save :: scut_omp, qqa1_omp, qqa2_omp, gammas_omp, Fmax_omp, alphas_omp |
---|
121 | |
---|
122 | REAL,SAVE :: R_ecc_omp,R_peri_omp,R_incl_omp,solaire_omp,co2_ppm_omp |
---|
123 | REAL,SAVE :: RCO2_omp,CH4_ppb_omp,RCH4_omp,N2O_ppb_omp,RN2O_omp,CFC11_ppt_omp |
---|
124 | REAL,SAVE :: RCFC11_omp,CFC12_ppt_omp,RCFC12_omp,epmax_omp |
---|
125 | LOGICAL,SAVE :: ok_adj_ema_omp |
---|
126 | INTEGER,SAVE :: iflag_clw_omp |
---|
127 | REAL,SAVE :: cld_lc_lsc_omp,cld_lc_con_omp,cld_tau_lsc_omp,cld_tau_con_omp |
---|
128 | REAL,SAVE :: ffallv_lsc_omp, ffallv_con_omp,coef_eva_omp |
---|
129 | LOGICAL,SAVE :: reevap_ice_omp |
---|
130 | INTEGER,SAVE :: iflag_pdf_omp |
---|
131 | REAL,SAVE :: rad_froid_omp, rad_chau1_omp, rad_chau2_omp |
---|
132 | REAL,SAVE :: t_glace_min_omp, t_glace_max_omp |
---|
133 | REAL,SAVE :: inertie_sol_omp,inertie_sno_omp,inertie_ice_omp |
---|
134 | REAL,SAVE :: qsol0_omp |
---|
135 | REAL :: solarlong0 |
---|
136 | REAL,SAVE :: solarlong0_omp |
---|
137 | INTEGER,SAVE :: top_height_omp,overlap_omp |
---|
138 | REAL,SAVE :: cdmmax_omp,cdhmax_omp,ksta_omp,ksta_ter_omp |
---|
139 | LOGICAL,SAVE :: ok_kzmin_omp |
---|
140 | REAL, SAVE :: fmagic_omp, pmagic_omp |
---|
141 | INTEGER,SAVE :: iflag_pbl_omp,lev_histhf_omp,lev_histday_omp,lev_histmth_omp |
---|
142 | Integer, save :: lev_histins_omp, lev_histLES_omp |
---|
143 | INTEGER, SAVE :: lev_histdayNMC_omp |
---|
144 | REAL, SAVE :: freq_outNMC_omp(3), freq_calNMC_omp(3) |
---|
145 | CHARACTER*4, SAVE :: type_run_omp |
---|
146 | LOGICAL,SAVE :: ok_isccp_omp |
---|
147 | LOGICAL,SAVE :: ok_cosp_omp |
---|
148 | REAL,SAVE :: lonmin_ins_omp, lonmax_ins_omp, latmin_ins_omp, latmax_ins_omp |
---|
149 | REAL,SAVE :: ecrit_hf_omp, ecrit_day_omp, ecrit_mth_omp, ecrit_reg_omp |
---|
150 | REAL,SAVE :: ecrit_ins_omp |
---|
151 | REAL,SAVE :: ecrit_LES_omp |
---|
152 | REAL,SAVE :: ecrit_tra_omp |
---|
153 | REAL,SAVE :: cvl_corr_omp |
---|
154 | LOGICAL,SAVE :: ok_lic_melt_omp |
---|
155 | ! |
---|
156 | LOGICAL,SAVE :: cycle_diurne_omp,soil_model_omp,new_oliq_omp |
---|
157 | LOGICAL,SAVE :: ok_orodr_omp, ok_orolf_omp, ok_limitvrai_omp |
---|
158 | INTEGER, SAVE :: nbapp_rad_omp, iflag_con_omp |
---|
159 | LOGICAL,SAVE :: ok_strato_omp |
---|
160 | LOGICAL,SAVE :: ok_hines_omp |
---|
161 | LOGICAL,SAVE :: carbon_cycle_tr_omp |
---|
162 | LOGICAL,SAVE :: carbon_cycle_cpl_omp |
---|
163 | |
---|
164 | integer, intent(out):: read_climoz ! read ozone climatology, OpenMP shared |
---|
165 | ! Allowed values are 0, 1 and 2 |
---|
166 | ! 0: do not read an ozone climatology |
---|
167 | ! 1: read a single ozone climatology that will be used day and night |
---|
168 | ! 2: read two ozone climatologies, the average day and night |
---|
169 | ! climatology and the daylight climatology |
---|
170 | |
---|
171 | !$OMP MASTER |
---|
172 | !Config Key = type_ocean |
---|
173 | !Config Desc = Type d'ocean |
---|
174 | !Config Def = force |
---|
175 | !Config Help = Type d'ocean utilise: force, slab,couple |
---|
176 | ! |
---|
177 | type_ocean_omp = 'force ' |
---|
178 | call getin('type_ocean', type_ocean_omp) |
---|
179 | ! |
---|
180 | !Config Key = version_ocean |
---|
181 | !Config Desc = Version d'ocean |
---|
182 | !Config Def = xxxxxx |
---|
183 | !Config Help = Version d'ocean utilise: opa8/nemo/sicOBS/xxxxxx |
---|
184 | ! |
---|
185 | version_ocean_omp = 'xxxxxx' |
---|
186 | call getin('version_ocean', version_ocean_omp) |
---|
187 | |
---|
188 | !Config Key = OCEAN |
---|
189 | !Config Desc = Old parameter name for type_ocean |
---|
190 | !Config Def = yyyyyy |
---|
191 | !Config Help = This is only for testing purpose |
---|
192 | ! |
---|
193 | ocean_omp = 'yyyyyy' |
---|
194 | call getin('OCEAN', ocean_omp) |
---|
195 | IF (ocean_omp /= 'yyyyyy') THEN |
---|
196 | WRITE(numout,*)'ERROR!! Old variable name OCEAN used in parmeter file.' |
---|
197 | WRITE(numout,*)'Variable OCEAN has been replaced by the variable type_ocean.' |
---|
198 | WRITE(numout,*)'You have to update your parameter file physiq.def to succed running' |
---|
199 | CALL abort_gcm('conf_phys','Variable OCEAN no longer existing, use variable name type_ocean',1) |
---|
200 | END IF |
---|
201 | |
---|
202 | ! |
---|
203 | !Config Key = VEGET |
---|
204 | !Config Desc = Type de modele de vegetation |
---|
205 | !Config Def = .false. |
---|
206 | !Config Help = Type de modele de vegetation utilise |
---|
207 | ! |
---|
208 | ok_veget_omp = .false. |
---|
209 | call getin('VEGET', ok_veget_omp) |
---|
210 | ! |
---|
211 | !Config Key = OK_journe |
---|
212 | !Config Desc = Pour des sorties journalieres |
---|
213 | !Config Def = .false. |
---|
214 | !Config Help = Pour creer le fichier histday contenant les sorties |
---|
215 | ! journalieres |
---|
216 | ! |
---|
217 | ok_journe_omp = .false. |
---|
218 | call getin('OK_journe', ok_journe_omp) |
---|
219 | ! |
---|
220 | !Config Key = ok_hf |
---|
221 | !Config Desc = Pour des sorties haute frequence |
---|
222 | !Config Def = .false. |
---|
223 | !Config Help = Pour creer le fichier histhf contenant les sorties |
---|
224 | ! haute frequence ( 3h ou 6h) |
---|
225 | ! |
---|
226 | ok_hf_omp = .false. |
---|
227 | call getin('ok_hf', ok_hf_omp) |
---|
228 | ! |
---|
229 | !Config Key = OK_mensuel |
---|
230 | !Config Desc = Pour des sorties mensuelles |
---|
231 | !Config Def = .true. |
---|
232 | !Config Help = Pour creer le fichier histmth contenant les sorties |
---|
233 | ! mensuelles |
---|
234 | ! |
---|
235 | ok_mensuel_omp = .true. |
---|
236 | call getin('OK_mensuel', ok_mensuel_omp) |
---|
237 | ! |
---|
238 | !Config Key = OK_instan |
---|
239 | !Config Desc = Pour des sorties instantanees |
---|
240 | !Config Def = .false. |
---|
241 | !Config Help = Pour creer le fichier histins contenant les sorties |
---|
242 | ! instantanees |
---|
243 | ! |
---|
244 | ok_instan_omp = .false. |
---|
245 | call getin('OK_instan', ok_instan_omp) |
---|
246 | ! |
---|
247 | !Config Key = ok_ade |
---|
248 | !Config Desc = Aerosol direct effect or not? |
---|
249 | !Config Def = .false. |
---|
250 | !Config Help = Used in radlwsw.F |
---|
251 | ! |
---|
252 | ok_ade_omp = .false. |
---|
253 | call getin('ok_ade', ok_ade_omp) |
---|
254 | |
---|
255 | ! |
---|
256 | !Config Key = ok_aie |
---|
257 | !Config Desc = Aerosol indirect effect or not? |
---|
258 | !Config Def = .false. |
---|
259 | !Config Help = Used in nuage.F and radlwsw.F |
---|
260 | ! |
---|
261 | ok_aie_omp = .false. |
---|
262 | call getin('ok_aie', ok_aie_omp) |
---|
263 | |
---|
264 | ! |
---|
265 | !Config Key = aerosol_couple |
---|
266 | !Config Desc = read aerosol in file or calcul by inca |
---|
267 | !Config Def = .false. |
---|
268 | !Config Help = Used in physiq.F |
---|
269 | ! |
---|
270 | aerosol_couple_omp = .false. |
---|
271 | CALL getin('aerosol_couple',aerosol_couple_omp) |
---|
272 | |
---|
273 | ! |
---|
274 | !Config Key = flag_aerosol |
---|
275 | !Config Desc = which aerosol is use for coupled model |
---|
276 | !Config Def = 1 |
---|
277 | !Config Help = Used in physiq.F |
---|
278 | ! |
---|
279 | ! - flag_aerosol=1 => so4 only (defaut) |
---|
280 | ! - flag_aerosol=2 => bc only |
---|
281 | ! - flag_aerosol=3 => pom only |
---|
282 | ! - flag_aerosol=4 => seasalt only |
---|
283 | ! - flag_aerosol=5 => dust only |
---|
284 | ! - flag_aerosol=6 => all aerosol |
---|
285 | |
---|
286 | flag_aerosol_omp = 1 |
---|
287 | CALL getin('flag_aerosol',flag_aerosol_omp) |
---|
288 | |
---|
289 | ! Temporary variable for testing purpose!! |
---|
290 | !Config Key = new_aod |
---|
291 | !Config Desc = which calcul of aeropt |
---|
292 | !Config Def = false |
---|
293 | !Config Help = Used in physiq.F |
---|
294 | ! |
---|
295 | new_aod_omp = .true. |
---|
296 | CALL getin('new_aod',new_aod_omp) |
---|
297 | |
---|
298 | ! |
---|
299 | !Config Key = aer_type |
---|
300 | !Config Desc = Use a constant field for the aerosols |
---|
301 | !Config Def = scenario |
---|
302 | !Config Help = Used in readaerosol.F90 |
---|
303 | ! |
---|
304 | aer_type_omp = 'scenario' |
---|
305 | call getin('aer_type', aer_type_omp) |
---|
306 | |
---|
307 | ! |
---|
308 | !Config Key = bl95_b0 |
---|
309 | !Config Desc = Parameter in CDNC-maer link (Boucher&Lohmann 1995) |
---|
310 | !Config Def = .false. |
---|
311 | !Config Help = Used in nuage.F |
---|
312 | ! |
---|
313 | bl95_b0_omp = 2. |
---|
314 | call getin('bl95_b0', bl95_b0_omp) |
---|
315 | |
---|
316 | !Config Key = bl95_b1 |
---|
317 | !Config Desc = Parameter in CDNC-maer link (Boucher&Lohmann 1995) |
---|
318 | !Config Def = .false. |
---|
319 | !Config Help = Used in nuage.F |
---|
320 | ! |
---|
321 | bl95_b1_omp = 0.2 |
---|
322 | call getin('bl95_b1', bl95_b1_omp) |
---|
323 | |
---|
324 | !Config Key = freq_ISCCP |
---|
325 | !Config Desc = Frequence d'appel du simulateur ISCCP en secondes; |
---|
326 | ! par defaut 10800, i.e. 3 heures |
---|
327 | !Config Def = 10800. |
---|
328 | !Config Help = Used in ini_histISCCP.h |
---|
329 | ! |
---|
330 | freq_ISCCP_omp = 10800. |
---|
331 | call getin('freq_ISCCP', freq_ISCCP_omp) |
---|
332 | ! |
---|
333 | !Config Key = ecrit_ISCCP |
---|
334 | !Config Desc = Frequence d'ecriture des resultats du simulateur ISCCP en nombre de jours; |
---|
335 | ! par defaut 1., i.e. 1 jour |
---|
336 | !Config Def = 1. |
---|
337 | !Config Help = Used in ini_histISCCP.h |
---|
338 | ! |
---|
339 | ! |
---|
340 | ecrit_ISCCP_omp = 1. |
---|
341 | call getin('ecrit_ISCCP', ecrit_ISCCP_omp) |
---|
342 | |
---|
343 | !Config Key = freq_COSP |
---|
344 | !Config Desc = Frequence d'appel du simulateur COSP en secondes; |
---|
345 | ! par defaut 10800, i.e. 3 heures |
---|
346 | !Config Def = 10800. |
---|
347 | !Config Help = Used in ini_histdayCOSP.h |
---|
348 | ! |
---|
349 | freq_COSP_omp = 10800. |
---|
350 | call getin('freq_COSP', freq_COSP_omp) |
---|
351 | |
---|
352 | ! |
---|
353 | !Config Key = ip_ebil_phy |
---|
354 | !Config Desc = Niveau de sortie pour les diags bilan d'energie |
---|
355 | !Config Def = 0 |
---|
356 | !Config Help = |
---|
357 | ! |
---|
358 | ip_ebil_phy_omp = 0 |
---|
359 | call getin('ip_ebil_phy', ip_ebil_phy_omp) |
---|
360 | ! |
---|
361 | !Config Key = seuil_inversion |
---|
362 | !Config Desc = Seuil ur dTh pour le choix entre les schemas de CL |
---|
363 | !Config Def = -0.1 |
---|
364 | !Config Help = |
---|
365 | ! |
---|
366 | seuil_inversion_omp = -0.1 |
---|
367 | call getin('seuil_inversion', seuil_inversion_omp) |
---|
368 | |
---|
369 | !! |
---|
370 | !! Constante solaire & Parametres orbitaux & taux gaz effet de serre BEG |
---|
371 | !! |
---|
372 | !Config Key = R_ecc |
---|
373 | !Config Desc = Excentricite |
---|
374 | !Config Def = 0.016715 |
---|
375 | !Config Help = |
---|
376 | ! |
---|
377 | !valeur AMIP II |
---|
378 | R_ecc_omp = 0.016715 |
---|
379 | call getin('R_ecc', R_ecc_omp) |
---|
380 | !! |
---|
381 | !Config Key = R_peri |
---|
382 | !Config Desc = Equinoxe |
---|
383 | !Config Def = |
---|
384 | !Config Help = |
---|
385 | ! |
---|
386 | ! |
---|
387 | !valeur AMIP II |
---|
388 | R_peri_omp = 102.7 |
---|
389 | call getin('R_peri', R_peri_omp) |
---|
390 | !! |
---|
391 | !Config Key = R_incl |
---|
392 | !Config Desc = Inclinaison |
---|
393 | !Config Def = |
---|
394 | !Config Help = |
---|
395 | ! |
---|
396 | ! |
---|
397 | !valeur AMIP II |
---|
398 | R_incl_omp = 23.441 |
---|
399 | call getin('R_incl', R_incl_omp) |
---|
400 | !! |
---|
401 | !Config Key = solaire |
---|
402 | !Config Desc = Constante solaire en W/m2 |
---|
403 | !Config Def = 1365. |
---|
404 | !Config Help = |
---|
405 | ! |
---|
406 | ! |
---|
407 | !valeur AMIP II |
---|
408 | solaire_omp = 1365. |
---|
409 | call getin('solaire', solaire_omp) |
---|
410 | !! |
---|
411 | !Config Key = co2_ppm |
---|
412 | !Config Desc = concentration du gaz carbonique en ppmv |
---|
413 | !Config Def = 348. |
---|
414 | !Config Help = |
---|
415 | ! |
---|
416 | ! |
---|
417 | !valeur AMIP II |
---|
418 | co2_ppm_omp = 348. |
---|
419 | call getin('co2_ppm', co2_ppm_omp) |
---|
420 | !! |
---|
421 | !Config Key = RCO2 |
---|
422 | !Config Desc = Concentration du CO2 |
---|
423 | !Config Def = co2_ppm * 1.0e-06 * 44.011/28.97 |
---|
424 | !Config Def = 348. * 1.0e-06 * 44.011/28.97 |
---|
425 | !Config Help = |
---|
426 | ! |
---|
427 | ! RCO2 = 5.286789092164308E-04 |
---|
428 | !ancienne valeur |
---|
429 | RCO2_omp = co2_ppm_omp * 1.0e-06 * 44.011/28.97 ! pour co2_ppm=348. |
---|
430 | |
---|
431 | !! call getin('RCO2', RCO2) |
---|
432 | !! |
---|
433 | !Config Key = RCH4 |
---|
434 | !Config Desc = Concentration du CH4 |
---|
435 | !Config Def = 1.65E-06* 16.043/28.97 |
---|
436 | !Config Help = |
---|
437 | ! |
---|
438 | ! |
---|
439 | !valeur AMIP II |
---|
440 | !OK RCH4 = 1.65E-06* 16.043/28.97 |
---|
441 | ! RCH4 = 9.137366240938903E-07 |
---|
442 | ! |
---|
443 | !ancienne valeur |
---|
444 | ! RCH4 = 1.72E-06* 16.043/28.97 |
---|
445 | !OK call getin('RCH4', RCH4) |
---|
446 | zzz = 1650. |
---|
447 | call getin('CH4_ppb', zzz) |
---|
448 | CH4_ppb_omp = zzz |
---|
449 | RCH4_omp = CH4_ppb_omp * 1.0E-09 * 16.043/28.97 |
---|
450 | !! |
---|
451 | !Config Key = RN2O |
---|
452 | !Config Desc = Concentration du N2O |
---|
453 | !Config Def = 306.E-09* 44.013/28.97 |
---|
454 | !Config Help = |
---|
455 | ! |
---|
456 | ! |
---|
457 | !valeur AMIP II |
---|
458 | !OK RN2O = 306.E-09* 44.013/28.97 |
---|
459 | ! RN2O = 4.648939592682085E-07 |
---|
460 | ! |
---|
461 | !ancienne valeur |
---|
462 | ! RN2O = 310.E-09* 44.013/28.97 |
---|
463 | !OK call getin('RN2O', RN2O) |
---|
464 | zzz=306. |
---|
465 | call getin('N2O_ppb', zzz) |
---|
466 | N2O_ppb_omp = zzz |
---|
467 | RN2O_omp = N2O_ppb_omp * 1.0E-09 * 44.013/28.97 |
---|
468 | !! |
---|
469 | !Config Key = RCFC11 |
---|
470 | !Config Desc = Concentration du CFC11 |
---|
471 | !Config Def = 280.E-12* 137.3686/28.97 |
---|
472 | !Config Help = |
---|
473 | ! |
---|
474 | ! |
---|
475 | !OK RCFC11 = 280.E-12* 137.3686/28.97 |
---|
476 | zzz = 280. |
---|
477 | call getin('CFC11_ppt',zzz) |
---|
478 | CFC11_ppt_omp = zzz |
---|
479 | RCFC11_omp=CFC11_ppt_omp* 1.0E-12 * 137.3686/28.97 |
---|
480 | ! RCFC11 = 1.327690990680013E-09 |
---|
481 | !OK call getin('RCFC11', RCFC11) |
---|
482 | !! |
---|
483 | !Config Key = RCFC12 |
---|
484 | !Config Desc = Concentration du CFC12 |
---|
485 | !Config Def = 484.E-12* 120.9140/28.97 |
---|
486 | !Config Help = |
---|
487 | ! |
---|
488 | ! |
---|
489 | !OK RCFC12 = 484.E-12* 120.9140/28.97 |
---|
490 | zzz = 484. |
---|
491 | call getin('CFC12_ppt',zzz) |
---|
492 | CFC12_ppt_omp = zzz |
---|
493 | RCFC12_omp = CFC12_ppt_omp * 1.0E-12 * 120.9140/28.97 |
---|
494 | ! RCFC12 = 2.020102726958923E-09 |
---|
495 | !OK call getin('RCFC12', RCFC12) |
---|
496 | |
---|
497 | |
---|
498 | |
---|
499 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
---|
500 | ! FH 2008/05/09 On elimine toutes les clefs physiques dans la dynamique |
---|
501 | ! Constantes precedemment dans dyn3d/conf_gcm |
---|
502 | |
---|
503 | !Config Key = cycle_diurne |
---|
504 | !Config Desc = Cycle ddiurne |
---|
505 | !Config Def = y |
---|
506 | !Config Help = Cette option permet d'eteidre le cycle diurne. |
---|
507 | !Config Peut etre util pour accelerer le code ! |
---|
508 | cycle_diurne_omp = .TRUE. |
---|
509 | CALL getin('cycle_diurne',cycle_diurne_omp) |
---|
510 | |
---|
511 | !Config Key = soil_model |
---|
512 | !Config Desc = Modele de sol |
---|
513 | !Config Def = y |
---|
514 | !Config Help = Choix du modele de sol (Thermique ?) |
---|
515 | !Config Option qui pourait un string afin de pouvoir |
---|
516 | !Config plus de choix ! Ou meme une liste d'options ! |
---|
517 | soil_model_omp = .TRUE. |
---|
518 | CALL getin('soil_model',soil_model_omp) |
---|
519 | |
---|
520 | !Config Key = new_oliq |
---|
521 | !Config Desc = Nouvelle eau liquide |
---|
522 | !Config Def = y |
---|
523 | !Config Help = Permet de mettre en route la |
---|
524 | !Config nouvelle parametrisation de l'eau liquide ! |
---|
525 | new_oliq_omp = .TRUE. |
---|
526 | CALL getin('new_oliq',new_oliq_omp) |
---|
527 | |
---|
528 | !Config Key = ok_orodr |
---|
529 | !Config Desc = Orodr ??? |
---|
530 | !Config Def = y |
---|
531 | !Config Help = Y en a pas comprendre ! |
---|
532 | !Config |
---|
533 | ok_orodr_omp = .TRUE. |
---|
534 | CALL getin('ok_orodr',ok_orodr_omp) |
---|
535 | |
---|
536 | !Config Key = ok_orolf |
---|
537 | !Config Desc = Orolf ?? |
---|
538 | !Config Def = y |
---|
539 | !Config Help = Connais pas ! |
---|
540 | ok_orolf_omp = .TRUE. |
---|
541 | CALL getin('ok_orolf', ok_orolf_omp) |
---|
542 | |
---|
543 | !Config Key = ok_limitvrai |
---|
544 | !Config Desc = Force la lecture de la bonne annee |
---|
545 | !Config Def = n |
---|
546 | !Config Help = On peut forcer le modele a lire le |
---|
547 | !Config fichier SST de la bonne annee. C'est une tres bonne |
---|
548 | !Config idee, pourquoi ne pas mettre toujours a y ??? |
---|
549 | ok_limitvrai_omp = .FALSE. |
---|
550 | CALL getin('ok_limitvrai',ok_limitvrai_omp) |
---|
551 | |
---|
552 | !Config Key = nbapp_rad |
---|
553 | !Config Desc = Frequence d'appel au rayonnement |
---|
554 | !Config Def = 12 |
---|
555 | !Config Help = Nombre d'appels des routines de rayonnements |
---|
556 | !Config par jour. |
---|
557 | nbapp_rad_omp = 12 |
---|
558 | CALL getin('nbapp_rad',nbapp_rad_omp) |
---|
559 | |
---|
560 | !Config Key = iflag_con |
---|
561 | !Config Desc = Flag de convection |
---|
562 | !Config Def = 2 |
---|
563 | !Config Help = Flag pour la convection les options suivantes existent : |
---|
564 | !Config 1 pour LMD, |
---|
565 | !Config 2 pour Tiedtke, |
---|
566 | !Config 3 pour CCM(NCAR) |
---|
567 | iflag_con_omp = 2 |
---|
568 | CALL getin('iflag_con',iflag_con_omp) |
---|
569 | |
---|
570 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
---|
571 | !! |
---|
572 | !! Constante solaire & Parametres orbitaux & taux gaz effet de serre END |
---|
573 | !! |
---|
574 | !! KE |
---|
575 | ! |
---|
576 | |
---|
577 | !Config key = cvl_corr |
---|
578 | !Config Desc = Facteur multiplication des precip convectives dans KE |
---|
579 | !Config Def = 1.00 |
---|
580 | !Config Help = 1.02 pour un moderne ou un pre-ind. A ajuster pour un glaciaire |
---|
581 | cvl_corr_omp = 1.00 |
---|
582 | CALL getin('cvl_corr', cvl_corr_omp) |
---|
583 | |
---|
584 | |
---|
585 | !Config Key = epmax |
---|
586 | !Config Desc = Efficacite precip |
---|
587 | !Config Def = 0.993 |
---|
588 | !Config Help = |
---|
589 | ! |
---|
590 | epmax_omp = .993 |
---|
591 | call getin('epmax', epmax_omp) |
---|
592 | ! |
---|
593 | !Config Key = ok_adj_ema |
---|
594 | !Config Desc = |
---|
595 | !Config Def = false |
---|
596 | !Config Help = |
---|
597 | ! |
---|
598 | ok_adj_ema_omp = .false. |
---|
599 | call getin('ok_adj_ema',ok_adj_ema_omp) |
---|
600 | ! |
---|
601 | !Config Key = iflag_clw |
---|
602 | !Config Desc = |
---|
603 | !Config Def = 0 |
---|
604 | !Config Help = |
---|
605 | ! |
---|
606 | iflag_clw_omp = 0 |
---|
607 | call getin('iflag_clw',iflag_clw_omp) |
---|
608 | ! |
---|
609 | !Config Key = cld_lc_lsc |
---|
610 | !Config Desc = |
---|
611 | !Config Def = 2.6e-4 |
---|
612 | !Config Help = |
---|
613 | ! |
---|
614 | cld_lc_lsc_omp = 2.6e-4 |
---|
615 | call getin('cld_lc_lsc',cld_lc_lsc_omp) |
---|
616 | ! |
---|
617 | !Config Key = cld_lc_con |
---|
618 | !Config Desc = |
---|
619 | !Config Def = 2.6e-4 |
---|
620 | !Config Help = |
---|
621 | ! |
---|
622 | cld_lc_con_omp = 2.6e-4 |
---|
623 | call getin('cld_lc_con',cld_lc_con_omp) |
---|
624 | ! |
---|
625 | !Config Key = cld_tau_lsc |
---|
626 | !Config Desc = |
---|
627 | !Config Def = 3600. |
---|
628 | !Config Help = |
---|
629 | ! |
---|
630 | cld_tau_lsc_omp = 3600. |
---|
631 | call getin('cld_tau_lsc',cld_tau_lsc_omp) |
---|
632 | ! |
---|
633 | !Config Key = cld_tau_con |
---|
634 | !Config Desc = |
---|
635 | !Config Def = 3600. |
---|
636 | !Config Help = |
---|
637 | ! |
---|
638 | cld_tau_con_omp = 3600. |
---|
639 | call getin('cld_tau_con',cld_tau_con_omp) |
---|
640 | ! |
---|
641 | !Config Key = ffallv_lsc |
---|
642 | !Config Desc = |
---|
643 | !Config Def = 1. |
---|
644 | !Config Help = |
---|
645 | ! |
---|
646 | ffallv_lsc_omp = 1. |
---|
647 | call getin('ffallv_lsc',ffallv_lsc_omp) |
---|
648 | ! |
---|
649 | !Config Key = ffallv_con |
---|
650 | !Config Desc = |
---|
651 | !Config Def = 1. |
---|
652 | !Config Help = |
---|
653 | ! |
---|
654 | ffallv_con_omp = 1. |
---|
655 | call getin('ffallv_con',ffallv_con_omp) |
---|
656 | ! |
---|
657 | !Config Key = coef_eva |
---|
658 | !Config Desc = |
---|
659 | !Config Def = 2.e-5 |
---|
660 | !Config Help = |
---|
661 | ! |
---|
662 | coef_eva_omp = 2.e-5 |
---|
663 | call getin('coef_eva',coef_eva_omp) |
---|
664 | ! |
---|
665 | !Config Key = reevap_ice |
---|
666 | !Config Desc = |
---|
667 | !Config Def = .false. |
---|
668 | !Config Help = |
---|
669 | ! |
---|
670 | reevap_ice_omp = .false. |
---|
671 | call getin('reevap_ice',reevap_ice_omp) |
---|
672 | |
---|
673 | !Config Key = iflag_ratqs |
---|
674 | !Config Desc = |
---|
675 | !Config Def = 1 |
---|
676 | !Config Help = |
---|
677 | ! |
---|
678 | iflag_ratqs_omp = 1 |
---|
679 | call getin('iflag_ratqs',iflag_ratqs_omp) |
---|
680 | |
---|
681 | ! |
---|
682 | !Config Key = iflag_radia |
---|
683 | !Config Desc = |
---|
684 | !Config Def = 1 |
---|
685 | !Config Help = |
---|
686 | ! |
---|
687 | iflag_radia_omp = 1 |
---|
688 | call getin('iflag_radia',iflag_radia_omp) |
---|
689 | |
---|
690 | ! |
---|
691 | !Config Key = iflag_rrtm |
---|
692 | !Config Desc = |
---|
693 | !Config Def = 0 |
---|
694 | !Config Help = |
---|
695 | ! |
---|
696 | iflag_rrtm_omp = 0 |
---|
697 | call getin('iflag_rrtm',iflag_rrtm_omp) |
---|
698 | |
---|
699 | ! |
---|
700 | !Config Key = iflag_cldcon |
---|
701 | !Config Desc = |
---|
702 | !Config Def = 1 |
---|
703 | !Config Help = |
---|
704 | ! |
---|
705 | iflag_cldcon_omp = 1 |
---|
706 | call getin('iflag_cldcon',iflag_cldcon_omp) |
---|
707 | |
---|
708 | ! |
---|
709 | !Config Key = iflag_pdf |
---|
710 | !Config Desc = |
---|
711 | !Config Def = 0 |
---|
712 | !Config Help = |
---|
713 | ! |
---|
714 | iflag_pdf_omp = 0 |
---|
715 | call getin('iflag_pdf',iflag_pdf_omp) |
---|
716 | ! |
---|
717 | !Config Key = fact_cldcon |
---|
718 | !Config Desc = |
---|
719 | !Config Def = 0.375 |
---|
720 | !Config Help = |
---|
721 | ! |
---|
722 | fact_cldcon_omp = 0.375 |
---|
723 | call getin('fact_cldcon',fact_cldcon_omp) |
---|
724 | |
---|
725 | ! |
---|
726 | !Config Key = facttemps |
---|
727 | !Config Desc = |
---|
728 | !Config Def = 1.e-4 |
---|
729 | !Config Help = |
---|
730 | ! |
---|
731 | facttemps_omp = 1.e-4 |
---|
732 | call getin('facttemps',facttemps_omp) |
---|
733 | |
---|
734 | ! |
---|
735 | !Config Key = ok_newmicro |
---|
736 | !Config Desc = |
---|
737 | !Config Def = .true. |
---|
738 | !Config Help = |
---|
739 | ! |
---|
740 | ok_newmicro_omp = .true. |
---|
741 | call getin('ok_newmicro',ok_newmicro_omp) |
---|
742 | ! |
---|
743 | !Config Key = ratqsbas |
---|
744 | !Config Desc = |
---|
745 | !Config Def = 0.01 |
---|
746 | !Config Help = |
---|
747 | ! |
---|
748 | ratqsbas_omp = 0.01 |
---|
749 | call getin('ratqsbas',ratqsbas_omp) |
---|
750 | ! |
---|
751 | !Config Key = ratqshaut |
---|
752 | !Config Desc = |
---|
753 | !Config Def = 0.3 |
---|
754 | !Config Help = |
---|
755 | ! |
---|
756 | ratqshaut_omp = 0.3 |
---|
757 | call getin('ratqshaut',ratqshaut_omp) |
---|
758 | |
---|
759 | !Config Key = tau_ratqs |
---|
760 | !Config Desc = |
---|
761 | !Config Def = 1800. |
---|
762 | !Config Help = |
---|
763 | ! |
---|
764 | tau_ratqs_omp = 1800. |
---|
765 | call getin('tau_ratqs',tau_ratqs_omp) |
---|
766 | |
---|
767 | ! |
---|
768 | !----------------------------------------------------------------------- |
---|
769 | ! Longitude solaire pour le calcul de l'ensoleillement en degre |
---|
770 | ! si on veut imposer la saison. Sinon, solarlong0=-999.999 |
---|
771 | !Config Key = solarlong0 |
---|
772 | !Config Desc = |
---|
773 | !Config Def = -999.999 |
---|
774 | !Config Help = |
---|
775 | ! |
---|
776 | solarlong0_omp = -999.999 |
---|
777 | call getin('solarlong0',solarlong0_omp) |
---|
778 | ! |
---|
779 | !----------------------------------------------------------------------- |
---|
780 | ! Valeur imposee de l'humidite du sol pour le modele bucket. |
---|
781 | !Config Key = qsol0 |
---|
782 | !Config Desc = |
---|
783 | !Config Def = -1. |
---|
784 | !Config Help = |
---|
785 | ! |
---|
786 | qsol0_omp = -1. |
---|
787 | call getin('qsol0',qsol0_omp) |
---|
788 | ! |
---|
789 | !----------------------------------------------------------------------- |
---|
790 | ! |
---|
791 | !Config Key = inertie_ice |
---|
792 | !Config Desc = |
---|
793 | !Config Def = 2000. |
---|
794 | !Config Help = |
---|
795 | ! |
---|
796 | inertie_ice_omp = 2000. |
---|
797 | call getin('inertie_ice',inertie_ice_omp) |
---|
798 | ! |
---|
799 | !Config Key = inertie_sno |
---|
800 | !Config Desc = |
---|
801 | !Config Def = 2000. |
---|
802 | !Config Help = |
---|
803 | ! |
---|
804 | inertie_sno_omp = 2000. |
---|
805 | call getin('inertie_sno',inertie_sno_omp) |
---|
806 | ! |
---|
807 | !Config Key = inertie_sol |
---|
808 | !Config Desc = |
---|
809 | !Config Def = 2000. |
---|
810 | !Config Help = |
---|
811 | ! |
---|
812 | inertie_sol_omp = 2000. |
---|
813 | call getin('inertie_sol',inertie_sol_omp) |
---|
814 | |
---|
815 | ! |
---|
816 | !Config Key = rad_froid |
---|
817 | !Config Desc = |
---|
818 | !Config Def = 35.0 |
---|
819 | !Config Help = |
---|
820 | ! |
---|
821 | rad_froid_omp = 35.0 |
---|
822 | call getin('rad_froid',rad_froid_omp) |
---|
823 | |
---|
824 | ! |
---|
825 | !Config Key = rad_chau1 |
---|
826 | !Config Desc = |
---|
827 | !Config Def = 13.0 |
---|
828 | !Config Help = |
---|
829 | ! |
---|
830 | rad_chau1_omp = 13.0 |
---|
831 | call getin('rad_chau1',rad_chau1_omp) |
---|
832 | |
---|
833 | ! |
---|
834 | !Config Key = rad_chau2 |
---|
835 | !Config Desc = |
---|
836 | !Config Def = 9.0 |
---|
837 | !Config Help = |
---|
838 | ! |
---|
839 | rad_chau2_omp = 9.0 |
---|
840 | call getin('rad_chau2',rad_chau2_omp) |
---|
841 | |
---|
842 | ! |
---|
843 | !Config Key = t_glace_min |
---|
844 | !Config Desc = |
---|
845 | !Config Def = 258. |
---|
846 | !Config Help = |
---|
847 | ! |
---|
848 | t_glace_min_omp = 258. |
---|
849 | call getin('t_glace_min',t_glace_min_omp) |
---|
850 | |
---|
851 | ! |
---|
852 | !Config Key = t_glace_max |
---|
853 | !Config Desc = |
---|
854 | !Config Def = 273.13 |
---|
855 | !Config Help = |
---|
856 | ! |
---|
857 | t_glace_max_omp = 273.13 |
---|
858 | call getin('t_glace_max',t_glace_max_omp) |
---|
859 | |
---|
860 | ! |
---|
861 | !Config Key = top_height |
---|
862 | !Config Desc = |
---|
863 | !Config Def = 3 |
---|
864 | !Config Help = |
---|
865 | ! |
---|
866 | top_height_omp = 3 |
---|
867 | call getin('top_height',top_height_omp) |
---|
868 | |
---|
869 | ! |
---|
870 | !Config Key = overlap |
---|
871 | !Config Desc = |
---|
872 | !Config Def = 3 |
---|
873 | !Config Help = |
---|
874 | ! |
---|
875 | overlap_omp = 3 |
---|
876 | call getin('overlap',overlap_omp) |
---|
877 | |
---|
878 | |
---|
879 | ! |
---|
880 | ! |
---|
881 | !Config Key = cdmmax |
---|
882 | !Config Desc = |
---|
883 | !Config Def = 1.3E-3 |
---|
884 | !Config Help = |
---|
885 | ! |
---|
886 | cdmmax_omp = 1.3E-3 |
---|
887 | call getin('cdmmax',cdmmax_omp) |
---|
888 | |
---|
889 | ! |
---|
890 | !Config Key = cdhmax |
---|
891 | !Config Desc = |
---|
892 | !Config Def = 1.1E-3 |
---|
893 | !Config Help = |
---|
894 | ! |
---|
895 | cdhmax_omp = 1.1E-3 |
---|
896 | call getin('cdhmax',cdhmax_omp) |
---|
897 | |
---|
898 | !261103 |
---|
899 | ! |
---|
900 | !Config Key = ksta |
---|
901 | !Config Desc = |
---|
902 | !Config Def = 1.0e-10 |
---|
903 | !Config Help = |
---|
904 | ! |
---|
905 | ksta_omp = 1.0e-10 |
---|
906 | call getin('ksta',ksta_omp) |
---|
907 | |
---|
908 | ! |
---|
909 | !Config Key = ksta_ter |
---|
910 | !Config Desc = |
---|
911 | !Config Def = 1.0e-10 |
---|
912 | !Config Help = |
---|
913 | ! |
---|
914 | ksta_ter_omp = 1.0e-10 |
---|
915 | call getin('ksta_ter',ksta_ter_omp) |
---|
916 | |
---|
917 | ! |
---|
918 | !Config Key = ok_kzmin |
---|
919 | !Config Desc = |
---|
920 | !Config Def = .true. |
---|
921 | !Config Help = |
---|
922 | ! |
---|
923 | ok_kzmin_omp = .true. |
---|
924 | call getin('ok_kzmin',ok_kzmin_omp) |
---|
925 | |
---|
926 | ! |
---|
927 | !Config Key = fmagic |
---|
928 | !Config Desc = additionnal multiplicator factor used for albedo |
---|
929 | !Config Def = 1. |
---|
930 | !Config Help = additionnal multiplicator factor used in albedo.F |
---|
931 | ! |
---|
932 | fmagic_omp = 1. |
---|
933 | call getin('fmagic',fmagic_omp) |
---|
934 | |
---|
935 | ! |
---|
936 | !Config Key = pmagic |
---|
937 | !Config Desc = additional factor used for albedo |
---|
938 | !Config Def = 0. |
---|
939 | !Config Help = additional factor used in albedo.F |
---|
940 | ! |
---|
941 | pmagic_omp = 0. |
---|
942 | call getin('pmagic',pmagic_omp) |
---|
943 | |
---|
944 | |
---|
945 | !Config Key = ok_lic_melt |
---|
946 | !Config Desc = Prise en compte de la fonte de la calotte dans le bilan d'eau |
---|
947 | !Config Def = .false. |
---|
948 | !Config Help = mettre a .false. pour assurer la conservation en eau |
---|
949 | ok_lic_melt_omp = .false. |
---|
950 | call getin('ok_lic_melt', ok_lic_melt_omp) |
---|
951 | |
---|
952 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
---|
953 | ! PARAMETER FOR THE PLANETARY BOUNDARY LAYER |
---|
954 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
---|
955 | |
---|
956 | !Config Key = iflag_pbl |
---|
957 | !Config Desc = |
---|
958 | !Config Def = 1 |
---|
959 | !Config Help = |
---|
960 | ! |
---|
961 | iflag_pbl_omp = 1 |
---|
962 | call getin('iflag_pbl',iflag_pbl_omp) |
---|
963 | ! |
---|
964 | !Config Key = iflag_thermals |
---|
965 | !Config Desc = |
---|
966 | !Config Def = 0 |
---|
967 | !Config Help = |
---|
968 | ! |
---|
969 | iflag_thermals_omp = 0 |
---|
970 | call getin('iflag_thermals',iflag_thermals_omp) |
---|
971 | ! |
---|
972 | ! |
---|
973 | !Config Key = iflag_thermals_ed |
---|
974 | !Config Desc = |
---|
975 | !Config Def = 0 |
---|
976 | !Config Help = |
---|
977 | ! |
---|
978 | iflag_thermals_ed_omp = 0 |
---|
979 | call getin('iflag_thermals_ed',iflag_thermals_ed_omp) |
---|
980 | ! |
---|
981 | ! |
---|
982 | !Config Key = iflag_thermals_optflux |
---|
983 | !Config Desc = |
---|
984 | !Config Def = 0 |
---|
985 | !Config Help = |
---|
986 | ! |
---|
987 | iflag_thermals_optflux_omp = 0 |
---|
988 | call getin('iflag_thermals_optflux',iflag_thermals_optflux_omp) |
---|
989 | ! |
---|
990 | ! |
---|
991 | !Config Key = nsplit_thermals |
---|
992 | !Config Desc = |
---|
993 | !Config Def = 1 |
---|
994 | !Config Help = |
---|
995 | ! |
---|
996 | nsplit_thermals_omp = 1 |
---|
997 | call getin('nsplit_thermals',nsplit_thermals_omp) |
---|
998 | |
---|
999 | !Config Key = tau_thermals |
---|
1000 | !Config Desc = |
---|
1001 | !Config Def = 0. |
---|
1002 | !Config Help = |
---|
1003 | ! |
---|
1004 | tau_thermals_omp = 0. |
---|
1005 | call getin('tau_thermals',tau_thermals_omp) |
---|
1006 | |
---|
1007 | ! |
---|
1008 | !Config Key = iflag_coupl |
---|
1009 | !Config Desc = |
---|
1010 | !Config Def = 0 |
---|
1011 | !Config Help = |
---|
1012 | ! |
---|
1013 | iflag_coupl_omp = 0 |
---|
1014 | call getin('iflag_coupl',iflag_coupl_omp) |
---|
1015 | |
---|
1016 | ! |
---|
1017 | !Config Key = iflag_clos |
---|
1018 | !Config Desc = |
---|
1019 | !Config Def = 0 |
---|
1020 | !Config Help = |
---|
1021 | ! |
---|
1022 | iflag_clos_omp = 1 |
---|
1023 | call getin('iflag_clos',iflag_clos_omp) |
---|
1024 | ! |
---|
1025 | !Config Key = iflag_cvl_sigd |
---|
1026 | !Config Desc = |
---|
1027 | !Config Def = 0 |
---|
1028 | !Config Help = |
---|
1029 | ! |
---|
1030 | iflag_cvl_sigd_omp = 0 |
---|
1031 | call getin('iflag_cvl_sigd',iflag_cvl_sigd_omp) |
---|
1032 | |
---|
1033 | !Config Key = iflag_wake |
---|
1034 | !Config Desc = |
---|
1035 | !Config Def = 0 |
---|
1036 | !Config Help = |
---|
1037 | ! |
---|
1038 | iflag_wake_omp = 0 |
---|
1039 | call getin('iflag_wake',iflag_wake_omp) |
---|
1040 | |
---|
1041 | !Config Key = alp_offset |
---|
1042 | !Config Desc = |
---|
1043 | !Config Def = 0 |
---|
1044 | !Config Help = |
---|
1045 | ! |
---|
1046 | alp_offset_omp = 0. |
---|
1047 | call getin('alp_offset',alp_offset_omp) |
---|
1048 | |
---|
1049 | ! |
---|
1050 | !Config Key = lev_histhf |
---|
1051 | !Config Desc = |
---|
1052 | !Config Def = 1 |
---|
1053 | !Config Help = |
---|
1054 | ! |
---|
1055 | lev_histhf_omp = 1 |
---|
1056 | call getin('lev_histhf',lev_histhf_omp) |
---|
1057 | |
---|
1058 | ! |
---|
1059 | !Config Key = lev_histday |
---|
1060 | !Config Desc = |
---|
1061 | !Config Def = 1 |
---|
1062 | !Config Help = |
---|
1063 | ! |
---|
1064 | lev_histday_omp = 1 |
---|
1065 | call getin('lev_histday',lev_histday_omp) |
---|
1066 | |
---|
1067 | ! |
---|
1068 | !Config Key = lev_histmth |
---|
1069 | !Config Desc = |
---|
1070 | !Config Def = 2 |
---|
1071 | !Config Help = |
---|
1072 | ! |
---|
1073 | lev_histmth_omp = 2 |
---|
1074 | call getin('lev_histmth',lev_histmth_omp) |
---|
1075 | ! |
---|
1076 | !Config Key = lev_histins |
---|
1077 | !Config Desc = |
---|
1078 | !Config Def = 1 |
---|
1079 | !Config Help = |
---|
1080 | ! |
---|
1081 | lev_histins_omp = 1 |
---|
1082 | call getin('lev_histins',lev_histins_omp) |
---|
1083 | ! |
---|
1084 | !Config Key = lev_histLES |
---|
1085 | !Config Desc = |
---|
1086 | !Config Def = 1 |
---|
1087 | !Config Help = |
---|
1088 | ! |
---|
1089 | lev_histLES_omp = 1 |
---|
1090 | call getin('lev_histLES',lev_histLES_omp) |
---|
1091 | ! |
---|
1092 | !Config Key = lev_histdayNMC |
---|
1093 | !Config Desc = |
---|
1094 | !Config Def = 8 |
---|
1095 | !Config Help = |
---|
1096 | ! |
---|
1097 | lev_histdayNMC_omp = 8 |
---|
1098 | call getin('lev_histdayNMC',lev_histdayNMC_omp) |
---|
1099 | ! |
---|
1100 | !histNMC BEG |
---|
1101 | !Config Key = freq_outNMC |
---|
1102 | !Config Desc = freq_outNMC(1) = frequence de sortie fichiers histmthNMC |
---|
1103 | !Config Desc = freq_outNMC(2) = frequence de sortie fichiers histdayNMC |
---|
1104 | !Config Desc = freq_outNMC(3) = frequence de sortie fichiers histhfNMC |
---|
1105 | !Config Def = 2592000., 86400., 21600. |
---|
1106 | !Config Help = |
---|
1107 | ! |
---|
1108 | ! freq_outNMC_omp(1) = 2592000. |
---|
1109 | freq_outNMC_omp(1) = mth_len*86400. |
---|
1110 | freq_outNMC_omp(2) = 86400. |
---|
1111 | freq_outNMC_omp(3) = 21600. |
---|
1112 | call getin('freq_outNMC',freq_outNMC_omp) |
---|
1113 | ! |
---|
1114 | !Config Key = freq_calNMC |
---|
1115 | !Config Desc = freq_calNMC(1) = frequence de calcul fichiers histmthNMC |
---|
1116 | !Config Desc = freq_calNMC(2) = frequence de calcul fichiers histdayNMC |
---|
1117 | !Config Desc = freq_calNMC(3) = frequence de calcul fichiers histhfNMC |
---|
1118 | !Config Def = pasphys |
---|
1119 | !Config Help = |
---|
1120 | ! |
---|
1121 | freq_calNMC_omp(1) = pasphys |
---|
1122 | freq_calNMC_omp(2) = pasphys |
---|
1123 | freq_calNMC_omp(3) = pasphys |
---|
1124 | call getin('freq_calNMC',freq_calNMC_omp) |
---|
1125 | ! |
---|
1126 | !Config Key = type_run |
---|
1127 | !Config Desc = |
---|
1128 | !Config Def = 'AMIP'/'CFMIP' ou 'CLIM'/'ENSP' |
---|
1129 | !Config Help = |
---|
1130 | ! |
---|
1131 | type_run_omp = 'AMIP' |
---|
1132 | call getin('type_run',type_run_omp) |
---|
1133 | |
---|
1134 | ! |
---|
1135 | !Config Key = ok_isccp |
---|
1136 | !Config Desc = |
---|
1137 | !Config Def = .true. |
---|
1138 | !Config Help = |
---|
1139 | ! |
---|
1140 | ! ok_isccp = .true. |
---|
1141 | ok_isccp_omp = .false. |
---|
1142 | call getin('ok_isccp',ok_isccp_omp) |
---|
1143 | |
---|
1144 | ! |
---|
1145 | !Config Key = ok_cosp |
---|
1146 | !Config Desc = |
---|
1147 | !Config Def = .false. |
---|
1148 | !Config Help = |
---|
1149 | ! |
---|
1150 | ok_cosp_omp = .false. |
---|
1151 | call getin('ok_cosp',ok_cosp_omp) |
---|
1152 | |
---|
1153 | ! |
---|
1154 | ! coordonnees (lonmin_ins, lonmax_ins, latmin_ins, latmax_ins) pour la zone |
---|
1155 | ! avec sorties instantannees tous les pas de temps de la physique => "histbilKP_ins.nc" |
---|
1156 | ! |
---|
1157 | !Config Key = lonmin_ins |
---|
1158 | !Config Desc = 100. |
---|
1159 | !Config Def = longitude minimale sorties "bilKP_ins" |
---|
1160 | !Config Help = |
---|
1161 | ! |
---|
1162 | lonmin_ins_omp = 100. |
---|
1163 | call getin('lonmin_ins',lonmin_ins_omp) |
---|
1164 | ! |
---|
1165 | !Config Key = lonmax_ins |
---|
1166 | !Config Desc = 130. |
---|
1167 | !Config Def = longitude maximale sorties "bilKP_ins" |
---|
1168 | !Config Help = |
---|
1169 | ! |
---|
1170 | lonmax_ins_omp = 130. |
---|
1171 | call getin('lonmax_ins',lonmax_ins_omp) |
---|
1172 | ! |
---|
1173 | !Config Key = latmin_ins |
---|
1174 | !Config Desc = -20. |
---|
1175 | !Config Def = latitude minimale sorties "bilKP_ins" |
---|
1176 | !Config Help = |
---|
1177 | ! |
---|
1178 | latmin_ins_omp = -20. |
---|
1179 | call getin('latmin_ins',latmin_ins_omp) |
---|
1180 | ! |
---|
1181 | !Config Key = latmax_ins |
---|
1182 | !Config Desc = 20. |
---|
1183 | !Config Def = latitude maximale sorties "bilKP_ins" |
---|
1184 | !Config Help = |
---|
1185 | ! |
---|
1186 | latmax_ins_omp = 20. |
---|
1187 | call getin('latmax_ins',latmax_ins_omp) |
---|
1188 | ! |
---|
1189 | !Config Key = ecrit_hf |
---|
1190 | !Config Desc = |
---|
1191 | !Config Def = 1./8. !toutes les 3h |
---|
1192 | !Config Help = |
---|
1193 | ! |
---|
1194 | ecrit_hf_omp = 1./8. |
---|
1195 | call getin('ecrit_hf',ecrit_hf_omp) |
---|
1196 | ! |
---|
1197 | !Config Key = ecrit_ins |
---|
1198 | !Config Desc = |
---|
1199 | !Config Def = 1./48. ! toutes les 1/2 h |
---|
1200 | !Config Help = |
---|
1201 | ! |
---|
1202 | ecrit_ins_omp = 1./48. |
---|
1203 | call getin('ecrit_ins',ecrit_ins_omp) |
---|
1204 | ! |
---|
1205 | !Config Key = ecrit_day |
---|
1206 | !Config Desc = |
---|
1207 | !Config Def = 1.0 !tous les jours |
---|
1208 | !Config Help = nombre de jours pour ecriture fichier histday.nc |
---|
1209 | ! |
---|
1210 | ecrit_day_omp = 1.0 |
---|
1211 | call getin('ecrit_day',ecrit_day_omp) |
---|
1212 | ! |
---|
1213 | !Config Key = ecrit_mth |
---|
1214 | !Config Desc = |
---|
1215 | !Config Def = 30. !tous les 30jours (1 fois par mois) |
---|
1216 | !Config Help = |
---|
1217 | ! |
---|
1218 | ecrit_mth_omp = 30. |
---|
1219 | call getin('ecrit_mth',ecrit_mth_omp) |
---|
1220 | ! |
---|
1221 | !Config Key = ecrit_tra |
---|
1222 | !Config Desc = |
---|
1223 | !Config Def = 30. !tous les 30jours (1 fois par mois) |
---|
1224 | !Config Help = |
---|
1225 | ! |
---|
1226 | ecrit_tra_omp = 30. |
---|
1227 | call getin('ecrit_tra',ecrit_tra_omp) |
---|
1228 | ! |
---|
1229 | !Config Key = ecrit_reg |
---|
1230 | !Config Desc = |
---|
1231 | !Config Def = 0.25 !4 fois par jour |
---|
1232 | !Config Help = |
---|
1233 | ! |
---|
1234 | ecrit_reg_omp = 0.25 !4 fois par jour |
---|
1235 | call getin('ecrit_reg',ecrit_reg_omp) |
---|
1236 | ! |
---|
1237 | ! |
---|
1238 | ! |
---|
1239 | ! PARAMETRES CDRAG |
---|
1240 | ! |
---|
1241 | !Config Key = f_cdrag_ter |
---|
1242 | !Config Desc = |
---|
1243 | !Config Def = 0.8 |
---|
1244 | !Config Help = |
---|
1245 | ! |
---|
1246 | f_cdrag_ter_omp = 0.8 |
---|
1247 | call getin('f_cdrag_ter',f_cdrag_ter_omp) |
---|
1248 | ! |
---|
1249 | !Config Key = f_cdrag_oce |
---|
1250 | !Config Desc = |
---|
1251 | !Config Def = 0.8 |
---|
1252 | !Config Help = |
---|
1253 | ! |
---|
1254 | f_cdrag_oce_omp = 0.8 |
---|
1255 | call getin('f_cdrag_oce',f_cdrag_oce_omp) |
---|
1256 | ! |
---|
1257 | ! RUGORO |
---|
1258 | !Config Key = f_rugoro |
---|
1259 | !Config Desc = |
---|
1260 | !Config Def = 0. |
---|
1261 | !Config Help = |
---|
1262 | ! |
---|
1263 | f_rugoro_omp = 0. |
---|
1264 | call getin('f_rugoro',f_rugoro_omp) |
---|
1265 | |
---|
1266 | ! PARAMETERS FOR CONVECTIVE INHIBITION BY TROPOS. DRYNESS |
---|
1267 | ! |
---|
1268 | !Config Key = supcrit1 |
---|
1269 | !Config Desc = |
---|
1270 | !Config Def = .540 |
---|
1271 | !Config Help = |
---|
1272 | ! |
---|
1273 | supcrit1_omp = .540 |
---|
1274 | call getin('supcrit1',supcrit1_omp) |
---|
1275 | |
---|
1276 | ! |
---|
1277 | !Config Key = supcrit2 |
---|
1278 | !Config Desc = |
---|
1279 | !Config Def = .600 |
---|
1280 | !Config Help = |
---|
1281 | ! |
---|
1282 | supcrit2_omp = .600 |
---|
1283 | call getin('supcrit2',supcrit2_omp) |
---|
1284 | |
---|
1285 | ! |
---|
1286 | ! PARAMETERS FOR THE MIXING DISTRIBUTION |
---|
1287 | ! |
---|
1288 | ! |
---|
1289 | !Config Key = iflag_mix |
---|
1290 | !Config Desc = |
---|
1291 | !Config Def = 1 |
---|
1292 | !Config Help = |
---|
1293 | ! |
---|
1294 | iflag_mix_omp = 1 |
---|
1295 | call getin('iflag_mix',iflag_mix_omp) |
---|
1296 | |
---|
1297 | ! |
---|
1298 | !Config Key = scut |
---|
1299 | !Config Desc = |
---|
1300 | !Config Def = 0.95 |
---|
1301 | !Config Help = |
---|
1302 | ! |
---|
1303 | scut_omp = 0.95 |
---|
1304 | call getin('scut',scut_omp) |
---|
1305 | |
---|
1306 | ! |
---|
1307 | !Config Key = qqa1 |
---|
1308 | !Config Desc = |
---|
1309 | !Config Def = 1.0 |
---|
1310 | !Config Help = |
---|
1311 | ! |
---|
1312 | qqa1_omp = 1.0 |
---|
1313 | call getin('qqa1',qqa1_omp) |
---|
1314 | |
---|
1315 | ! |
---|
1316 | !Config Key = qqa2 |
---|
1317 | !Config Desc = |
---|
1318 | !Config Def = 0.0 |
---|
1319 | !Config Help = |
---|
1320 | ! |
---|
1321 | qqa2_omp = 0.0 |
---|
1322 | call getin('qqa2',qqa2_omp) |
---|
1323 | |
---|
1324 | ! |
---|
1325 | !Config Key = gammas |
---|
1326 | !Config Desc = |
---|
1327 | !Config Def = 0.05 |
---|
1328 | !Config Help = |
---|
1329 | ! |
---|
1330 | gammas_omp = 0.05 |
---|
1331 | call getin('gammas',gammas_omp) |
---|
1332 | |
---|
1333 | ! |
---|
1334 | !Config Key = Fmax |
---|
1335 | !Config Desc = |
---|
1336 | !Config Def = 0.65 |
---|
1337 | !Config Help = |
---|
1338 | ! |
---|
1339 | Fmax_omp = 0.65 |
---|
1340 | call getin('Fmax',Fmax_omp) |
---|
1341 | |
---|
1342 | ! |
---|
1343 | !Config Key = alphas |
---|
1344 | !Config Desc = |
---|
1345 | !Config Def = -5. |
---|
1346 | !Config Help = |
---|
1347 | ! |
---|
1348 | alphas_omp = -5. |
---|
1349 | call getin('alphas',alphas_omp) |
---|
1350 | |
---|
1351 | !Config key = ok_strato |
---|
1352 | !Config Desc = activation de la version strato |
---|
1353 | !Config Def = .FALSE. |
---|
1354 | !Config Help = active la version stratosphérique de LMDZ de F. Lott |
---|
1355 | |
---|
1356 | ok_strato_omp=.FALSE. |
---|
1357 | CALL getin('ok_strato',ok_strato_omp) |
---|
1358 | |
---|
1359 | !Config key = ok_hines |
---|
1360 | !Config Desc = activation de la parametrisation de hines |
---|
1361 | !Config Def = .FALSE. |
---|
1362 | !Config Help = Clefs controlant la parametrization de Hines |
---|
1363 | ! Et la sponge layer (Runs Stratospheriques) |
---|
1364 | |
---|
1365 | ok_hines_omp=.FALSE. |
---|
1366 | CALL getin('ok_hines',ok_hines_omp) |
---|
1367 | |
---|
1368 | !Config Key = OK_LES |
---|
1369 | !Config Desc = Pour des sorties LES |
---|
1370 | !Config Def = .false. |
---|
1371 | !Config Help = Pour creer le fichier histLES contenant les sorties |
---|
1372 | ! LES |
---|
1373 | ! |
---|
1374 | ok_LES_omp = .false. |
---|
1375 | call getin('OK_LES', ok_LES_omp) |
---|
1376 | ! |
---|
1377 | !Config Key = ecrit_LES |
---|
1378 | !Config Desc = Frequence d'ecriture des resultats du LES en nombre de jours; |
---|
1379 | ! par defaut 1., i.e. 1 jour |
---|
1380 | !Config Def = 1./8. |
---|
1381 | !Config Help = ... |
---|
1382 | ! |
---|
1383 | ! |
---|
1384 | ecrit_LES_omp = 1./8. |
---|
1385 | call getin('ecrit_LES', ecrit_LES_omp) |
---|
1386 | ! |
---|
1387 | read_climoz = 0 ! default value |
---|
1388 | call getin('read_climoz', read_climoz) |
---|
1389 | |
---|
1390 | carbon_cycle_tr_omp=.FALSE. |
---|
1391 | CALL getin('carbon_cycle_tr',carbon_cycle_tr_omp) |
---|
1392 | |
---|
1393 | carbon_cycle_cpl_omp=.FALSE. |
---|
1394 | CALL getin('carbon_cycle_cpl',carbon_cycle_cpl_omp) |
---|
1395 | |
---|
1396 | !$OMP END MASTER |
---|
1397 | !$OMP BARRIER |
---|
1398 | |
---|
1399 | R_ecc = R_ecc_omp |
---|
1400 | R_peri = R_peri_omp |
---|
1401 | R_incl = R_incl_omp |
---|
1402 | solaire = solaire_omp |
---|
1403 | co2_ppm = co2_ppm_omp |
---|
1404 | RCO2 = RCO2_omp |
---|
1405 | CH4_ppb = CH4_ppb_omp |
---|
1406 | RCH4 = RCH4_omp |
---|
1407 | N2O_ppb = N2O_ppb_omp |
---|
1408 | RN2O = RN2O_omp |
---|
1409 | CFC11_ppt = CFC11_ppt_omp |
---|
1410 | RCFC11 = RCFC11_omp |
---|
1411 | CFC12_ppt = CFC12_ppt_omp |
---|
1412 | RCFC12 = RCFC12_omp |
---|
1413 | |
---|
1414 | cycle_diurne = cycle_diurne_omp |
---|
1415 | soil_model = soil_model_omp |
---|
1416 | new_oliq = new_oliq_omp |
---|
1417 | ok_orodr = ok_orodr_omp |
---|
1418 | ok_orolf = ok_orolf_omp |
---|
1419 | ok_limitvrai = ok_limitvrai_omp |
---|
1420 | nbapp_rad = nbapp_rad_omp |
---|
1421 | iflag_con = iflag_con_omp |
---|
1422 | |
---|
1423 | epmax = epmax_omp |
---|
1424 | ok_adj_ema = ok_adj_ema_omp |
---|
1425 | iflag_clw = iflag_clw_omp |
---|
1426 | cld_lc_lsc = cld_lc_lsc_omp |
---|
1427 | cld_lc_con = cld_lc_con_omp |
---|
1428 | cld_tau_lsc = cld_tau_lsc_omp |
---|
1429 | cld_tau_con = cld_tau_con_omp |
---|
1430 | ffallv_lsc = ffallv_lsc_omp |
---|
1431 | ffallv_con = ffallv_con_omp |
---|
1432 | coef_eva = coef_eva_omp |
---|
1433 | reevap_ice = reevap_ice_omp |
---|
1434 | iflag_pdf = iflag_pdf_omp |
---|
1435 | solarlong0 = solarlong0_omp |
---|
1436 | qsol0 = qsol0_omp |
---|
1437 | inertie_sol = inertie_sol_omp |
---|
1438 | inertie_ice = inertie_ice_omp |
---|
1439 | inertie_sno = inertie_sno_omp |
---|
1440 | rad_froid = rad_froid_omp |
---|
1441 | rad_chau1 = rad_chau1_omp |
---|
1442 | rad_chau2 = rad_chau2_omp |
---|
1443 | t_glace_min = t_glace_min_omp |
---|
1444 | t_glace_max = t_glace_max_omp |
---|
1445 | top_height = top_height_omp |
---|
1446 | overlap = overlap_omp |
---|
1447 | cdmmax = cdmmax_omp |
---|
1448 | cdhmax = cdhmax_omp |
---|
1449 | ksta = ksta_omp |
---|
1450 | ksta_ter = ksta_ter_omp |
---|
1451 | ok_kzmin = ok_kzmin_omp |
---|
1452 | fmagic = fmagic_omp |
---|
1453 | pmagic = pmagic_omp |
---|
1454 | iflag_pbl = iflag_pbl_omp |
---|
1455 | lev_histhf = lev_histhf_omp |
---|
1456 | lev_histday = lev_histday_omp |
---|
1457 | lev_histmth = lev_histmth_omp |
---|
1458 | lev_histins = lev_histins_omp |
---|
1459 | lev_histLES = lev_histLES_omp |
---|
1460 | lev_histdayNMC = lev_histdayNMC_omp |
---|
1461 | freq_outNMC(:) = freq_outNMC_omp(:) |
---|
1462 | freq_calNMC(:) = freq_calNMC_omp(:) |
---|
1463 | |
---|
1464 | type_ocean = type_ocean_omp |
---|
1465 | version_ocean = version_ocean_omp |
---|
1466 | ok_veget = ok_veget_omp |
---|
1467 | ok_newmicro = ok_newmicro_omp |
---|
1468 | ok_journe = ok_journe_omp |
---|
1469 | ok_hf = ok_hf_omp |
---|
1470 | ok_mensuel = ok_mensuel_omp |
---|
1471 | ok_instan = ok_instan_omp |
---|
1472 | freq_ISCCP = freq_ISCCP_omp |
---|
1473 | ecrit_ISCCP = ecrit_ISCCP_omp |
---|
1474 | freq_COSP = freq_COSP_omp |
---|
1475 | ok_ade = ok_ade_omp |
---|
1476 | ok_aie = ok_aie_omp |
---|
1477 | aerosol_couple = aerosol_couple_omp |
---|
1478 | flag_aerosol=flag_aerosol_omp |
---|
1479 | new_aod=new_aod_omp |
---|
1480 | aer_type = aer_type_omp |
---|
1481 | bl95_b0 = bl95_b0_omp |
---|
1482 | bl95_b1 = bl95_b1_omp |
---|
1483 | fact_cldcon = fact_cldcon_omp |
---|
1484 | facttemps = facttemps_omp |
---|
1485 | ratqsbas = ratqsbas_omp |
---|
1486 | ratqshaut = ratqshaut_omp |
---|
1487 | tau_ratqs = tau_ratqs_omp |
---|
1488 | |
---|
1489 | iflag_radia = iflag_radia_omp |
---|
1490 | iflag_rrtm = iflag_rrtm_omp |
---|
1491 | iflag_cldcon = iflag_cldcon_omp |
---|
1492 | iflag_ratqs = iflag_ratqs_omp |
---|
1493 | ip_ebil_phy = ip_ebil_phy_omp |
---|
1494 | iflag_thermals = iflag_thermals_omp |
---|
1495 | iflag_thermals_ed = iflag_thermals_ed_omp |
---|
1496 | iflag_thermals_optflux = iflag_thermals_optflux_omp |
---|
1497 | nsplit_thermals = nsplit_thermals_omp |
---|
1498 | tau_thermals = tau_thermals_omp |
---|
1499 | iflag_coupl = iflag_coupl_omp |
---|
1500 | iflag_clos = iflag_clos_omp |
---|
1501 | iflag_wake = iflag_wake_omp |
---|
1502 | alp_offset = alp_offset_omp |
---|
1503 | iflag_cvl_sigd = iflag_cvl_sigd_omp |
---|
1504 | type_run = type_run_omp |
---|
1505 | ok_isccp = ok_isccp_omp |
---|
1506 | ok_cosp = ok_cosp_omp |
---|
1507 | seuil_inversion=seuil_inversion_omp |
---|
1508 | lonmin_ins = lonmin_ins_omp |
---|
1509 | lonmax_ins = lonmax_ins_omp |
---|
1510 | latmin_ins = latmin_ins_omp |
---|
1511 | latmax_ins = latmax_ins_omp |
---|
1512 | ecrit_hf = ecrit_hf_omp |
---|
1513 | ecrit_ins = ecrit_ins_omp |
---|
1514 | ecrit_day = ecrit_day_omp |
---|
1515 | ecrit_mth = ecrit_mth_omp |
---|
1516 | ecrit_tra = ecrit_tra_omp |
---|
1517 | ecrit_reg = ecrit_reg_omp |
---|
1518 | cvl_corr = cvl_corr_omp |
---|
1519 | ok_lic_melt = ok_lic_melt_omp |
---|
1520 | f_cdrag_ter=f_cdrag_ter_omp |
---|
1521 | f_cdrag_oce=f_cdrag_oce_omp |
---|
1522 | f_rugoro=f_rugoro_omp |
---|
1523 | supcrit1 = supcrit1_omp |
---|
1524 | supcrit2 = supcrit2_omp |
---|
1525 | iflag_mix = iflag_mix_omp |
---|
1526 | scut = scut_omp |
---|
1527 | qqa1 = qqa1_omp |
---|
1528 | qqa2 = qqa2_omp |
---|
1529 | gammas = gammas_omp |
---|
1530 | Fmax = Fmax_omp |
---|
1531 | alphas = alphas_omp |
---|
1532 | ok_strato = ok_strato_omp |
---|
1533 | ok_hines = ok_hines_omp |
---|
1534 | ok_LES = ok_LES_omp |
---|
1535 | ecrit_LES = ecrit_LES_omp |
---|
1536 | carbon_cycle_tr = carbon_cycle_tr_omp |
---|
1537 | carbon_cycle_cpl = carbon_cycle_cpl_omp |
---|
1538 | |
---|
1539 | ! Test of coherence between type_ocean and version_ocean |
---|
1540 | IF (type_ocean=='couple' .AND. (version_ocean/='opa8' .AND. version_ocean/='nemo') ) THEN |
---|
1541 | WRITE(numout,*)' ERROR version_ocean=',version_ocean,' not valid in coupled configuration' |
---|
1542 | CALL abort_gcm('conf_phys','version_ocean not valid',1) |
---|
1543 | END IF |
---|
1544 | |
---|
1545 | IF (type_ocean=='slab' .AND. version_ocean=='xxxxxx') THEN |
---|
1546 | version_ocean='sicOBS' |
---|
1547 | ELSE IF (type_ocean=='slab' .AND. version_ocean/='sicOBS') THEN |
---|
1548 | WRITE(numout,*)' ERROR version_ocean=',version_ocean,' not valid with slab ocean' |
---|
1549 | CALL abort_gcm('conf_phys','version_ocean not valid',1) |
---|
1550 | END IF |
---|
1551 | |
---|
1552 | ! Test sur new_aod. Ce flag permet de retrouver les resultats de l'AR4 |
---|
1553 | ! il n'est utilisable que lors du couplage avec le SO4 seul |
---|
1554 | IF (ok_ade .OR. ok_aie) THEN |
---|
1555 | IF ( .NOT. new_aod .AND. flag_aerosol .NE. 1) THEN |
---|
1556 | CALL abort_gcm('conf_phys','new_aod=.FALSE. not compatible avec flag_aerosol=1',1) |
---|
1557 | END IF |
---|
1558 | END IF |
---|
1559 | |
---|
1560 | !$OMP MASTER |
---|
1561 | |
---|
1562 | write(numout,*)' ##############################################' |
---|
1563 | write(numout,*)' Configuration des parametres de la physique: ' |
---|
1564 | write(numout,*)' Type ocean = ', type_ocean |
---|
1565 | write(numout,*)' Version ocean = ', version_ocean |
---|
1566 | write(numout,*)' Config veget = ', ok_veget |
---|
1567 | write(numout,*)' Sortie journaliere = ', ok_journe |
---|
1568 | write(numout,*)' Sortie haute frequence = ', ok_hf |
---|
1569 | write(numout,*)' Sortie mensuelle = ', ok_mensuel |
---|
1570 | write(numout,*)' Sortie instantanee = ', ok_instan |
---|
1571 | write(numout,*)' Frequence appel simulateur ISCCP, freq_ISCCP =', freq_ISCCP |
---|
1572 | write(numout,*)' Frequence appel simulateur ISCCP, ecrit_ISCCP =', ecrit_ISCCP |
---|
1573 | write(numout,*)' Frequence appel simulateur COSP, freq_COSP =', freq_COSP |
---|
1574 | write(numout,*)' Sortie bilan d''energie, ip_ebil_phy =', ip_ebil_phy |
---|
1575 | write(numout,*)' Excentricite = ',R_ecc |
---|
1576 | write(numout,*)' Equinoxe = ',R_peri |
---|
1577 | write(numout,*)' Inclinaison =',R_incl |
---|
1578 | write(numout,*)' Constante solaire =',solaire |
---|
1579 | write(numout,*)' co2_ppm =',co2_ppm |
---|
1580 | write(numout,*)' RCO2 = ',RCO2 |
---|
1581 | write(numout,*)' CH4_ppb =',CH4_ppb,' RCH4 = ',RCH4 |
---|
1582 | write(numout,*)' N2O_ppb =',N2O_ppb,' RN2O = ',RN2O |
---|
1583 | write(numout,*)' CFC11_ppt=',CFC11_ppt,' RCFC11 = ',RCFC11 |
---|
1584 | write(numout,*)' CFC12_ppt=',CFC12_ppt,' RCFC12 = ',RCFC12 |
---|
1585 | write(numout,*)' cvl_corr=', cvl_corr |
---|
1586 | write(numout,*)'ok_lic_melt=', ok_lic_melt |
---|
1587 | write(numout,*)'cycle_diurne=',cycle_diurne |
---|
1588 | write(numout,*)'soil_model=',soil_model |
---|
1589 | write(numout,*)'new_oliq=',new_oliq |
---|
1590 | write(numout,*)'ok_orodr=',ok_orodr |
---|
1591 | write(numout,*)'ok_orolf=',ok_orolf |
---|
1592 | write(numout,*)'ok_limitvrai=',ok_limitvrai |
---|
1593 | write(numout,*)'nbapp_rad=',nbapp_rad |
---|
1594 | write(numout,*)'iflag_con=',iflag_con |
---|
1595 | write(numout,*)' epmax = ', epmax |
---|
1596 | write(numout,*)' ok_adj_ema = ', ok_adj_ema |
---|
1597 | write(numout,*)' iflag_clw = ', iflag_clw |
---|
1598 | write(numout,*)' cld_lc_lsc = ', cld_lc_lsc |
---|
1599 | write(numout,*)' cld_lc_con = ', cld_lc_con |
---|
1600 | write(numout,*)' cld_tau_lsc = ', cld_tau_lsc |
---|
1601 | write(numout,*)' cld_tau_con = ', cld_tau_con |
---|
1602 | write(numout,*)' ffallv_lsc = ', ffallv_lsc |
---|
1603 | write(numout,*)' ffallv_con = ', ffallv_con |
---|
1604 | write(numout,*)' coef_eva = ', coef_eva |
---|
1605 | write(numout,*)' reevap_ice = ', reevap_ice |
---|
1606 | write(numout,*)' iflag_pdf = ', iflag_pdf |
---|
1607 | write(numout,*)' iflag_cldcon = ', iflag_cldcon |
---|
1608 | write(numout,*)' iflag_radia = ', iflag_radia |
---|
1609 | write(numout,*)' iflag_rrtm = ', iflag_rrtm |
---|
1610 | write(numout,*)' iflag_ratqs = ', iflag_ratqs |
---|
1611 | write(numout,*)' seuil_inversion = ', seuil_inversion |
---|
1612 | write(numout,*)' fact_cldcon = ', fact_cldcon |
---|
1613 | write(numout,*)' facttemps = ', facttemps |
---|
1614 | write(numout,*)' ok_newmicro = ',ok_newmicro |
---|
1615 | write(numout,*)' ratqsbas = ',ratqsbas |
---|
1616 | write(numout,*)' ratqshaut = ',ratqshaut |
---|
1617 | write(numout,*)' tau_ratqs = ',tau_ratqs |
---|
1618 | write(numout,*)' top_height = ',top_height |
---|
1619 | write(numout,*)' rad_froid = ',rad_froid |
---|
1620 | write(numout,*)' rad_chau1 = ',rad_chau1 |
---|
1621 | write(numout,*)' rad_chau2 = ',rad_chau2 |
---|
1622 | write(numout,*)' t_glace_min = ',t_glace_min |
---|
1623 | write(numout,*)' t_glace_max = ',t_glace_max |
---|
1624 | write(numout,*)' overlap = ',overlap |
---|
1625 | write(numout,*)' cdmmax = ',cdmmax |
---|
1626 | write(numout,*)' cdhmax = ',cdhmax |
---|
1627 | write(numout,*)' ksta = ',ksta |
---|
1628 | write(numout,*)' ksta_ter = ',ksta_ter |
---|
1629 | write(numout,*)' ok_kzmin = ',ok_kzmin |
---|
1630 | write(numout,*)' fmagic = ',fmagic |
---|
1631 | write(numout,*)' pmagic = ',pmagic |
---|
1632 | write(numout,*)' ok_ade = ',ok_ade |
---|
1633 | write(numout,*)' ok_aie = ',ok_aie |
---|
1634 | write(numout,*)' aerosol_couple = ', aerosol_couple |
---|
1635 | write(numout,*)' flag_aerosol = ', flag_aerosol |
---|
1636 | write(numout,*)' new_aod = ', new_aod |
---|
1637 | write(numout,*)' aer_type = ',aer_type |
---|
1638 | write(numout,*)' bl95_b0 = ',bl95_b0 |
---|
1639 | write(numout,*)' bl95_b1 = ',bl95_b1 |
---|
1640 | write(numout,*)' lev_histhf = ',lev_histhf |
---|
1641 | write(numout,*)' lev_histday = ',lev_histday |
---|
1642 | write(numout,*)' lev_histmth = ',lev_histmth |
---|
1643 | write(numout,*)' lev_histins = ',lev_histins |
---|
1644 | write(numout,*)' lev_histLES = ',lev_histLES |
---|
1645 | write(numout,*)' lev_histdayNMC = ',lev_histdayNMC |
---|
1646 | write(numout,*)' freq_outNMC = ',freq_outNMC |
---|
1647 | write(numout,*)' freq_calNMC = ',freq_calNMC |
---|
1648 | write(numout,*)' iflag_pbl = ', iflag_pbl |
---|
1649 | write(numout,*)' iflag_thermals = ', iflag_thermals |
---|
1650 | write(numout,*)' iflag_thermals_ed = ', iflag_thermals_ed |
---|
1651 | write(numout,*)' iflag_thermals_optflux = ', iflag_thermals_optflux |
---|
1652 | write(numout,*)' iflag_clos = ', iflag_clos |
---|
1653 | write(numout,*)' type_run = ',type_run |
---|
1654 | write(numout,*)' ok_isccp = ',ok_isccp |
---|
1655 | write(numout,*)' ok_cosp = ',ok_cosp |
---|
1656 | write(numout,*)' solarlong0 = ', solarlong0 |
---|
1657 | write(numout,*)' qsol0 = ', qsol0 |
---|
1658 | write(numout,*)' inertie_sol = ', inertie_sol |
---|
1659 | write(numout,*)' inertie_ice = ', inertie_ice |
---|
1660 | write(numout,*)' inertie_sno = ', inertie_sno |
---|
1661 | write(numout,*)' f_cdrag_ter = ',f_cdrag_ter |
---|
1662 | write(numout,*)' f_cdrag_oce = ',f_cdrag_oce |
---|
1663 | write(numout,*)' f_rugoro = ',f_rugoro |
---|
1664 | write(numout,*)' supcrit1 = ', supcrit1 |
---|
1665 | write(numout,*)' supcrit2 = ', supcrit2 |
---|
1666 | write(numout,*)' iflag_mix = ', iflag_mix |
---|
1667 | write(numout,*)' scut = ', scut |
---|
1668 | write(numout,*)' qqa1 = ', qqa1 |
---|
1669 | write(numout,*)' qqa2 = ', qqa2 |
---|
1670 | write(numout,*)' gammas = ', gammas |
---|
1671 | write(numout,*)' Fmax = ', Fmax |
---|
1672 | write(numout,*)' alphas = ', alphas |
---|
1673 | write(numout,*)' iflag_wake = ', iflag_wake |
---|
1674 | write(numout,*)' alp_offset = ', alp_offset |
---|
1675 | |
---|
1676 | write(numout,*)' lonmin lonmax latmin latmax bilKP_ins =',& |
---|
1677 | lonmin_ins, lonmax_ins, latmin_ins, latmax_ins |
---|
1678 | write(numout,*)' ecrit_ hf, ins, day, mth, reg, tra, ISCCP, LES',& |
---|
1679 | ecrit_hf, ecrit_ins, ecrit_day, ecrit_mth, ecrit_reg, ecrit_tra, ecrit_ISCCP, ecrit_LES |
---|
1680 | |
---|
1681 | write(numout,*) 'ok_strato = ', ok_strato |
---|
1682 | write(numout,*) 'ok_hines = ', ok_hines |
---|
1683 | write(numout,*) 'read_climoz = ', read_climoz |
---|
1684 | write(numout,*) 'carbon_cycle_tr = ', carbon_cycle_tr |
---|
1685 | write(numout,*) 'carbon_cycle_cpl = ', carbon_cycle_cpl |
---|
1686 | |
---|
1687 | !$OMP END MASTER |
---|
1688 | |
---|
1689 | return |
---|
1690 | |
---|
1691 | end subroutine conf_phys |
---|
1692 | |
---|
1693 | end module conf_phys_m |
---|
1694 | ! |
---|
1695 | !################################################################# |
---|
1696 | ! |
---|
1697 | |
---|
1698 | subroutine conf_interface(tau_calv) |
---|
1699 | |
---|
1700 | use IOIPSL |
---|
1701 | implicit none |
---|
1702 | |
---|
1703 | ! Configuration de l'interace atm/surf |
---|
1704 | ! |
---|
1705 | ! tau_calv: temps de relaxation pour la fonte des glaciers |
---|
1706 | |
---|
1707 | REAL :: tau_calv |
---|
1708 | REAL,SAVE :: tau_calv_omp |
---|
1709 | |
---|
1710 | ! Local |
---|
1711 | integer :: numout = 6 |
---|
1712 | ! |
---|
1713 | !Config Key = tau_calv |
---|
1714 | !Config Desc = temps de relaxation pour fonte des glaciers en jours |
---|
1715 | !Config Def = 1 an |
---|
1716 | !Config Help = |
---|
1717 | ! |
---|
1718 | tau_calv_omp = 360.*10. |
---|
1719 | !$OMP MASTER |
---|
1720 | call getin('tau_calv',tau_calv_omp) |
---|
1721 | !$OMP END MASTER |
---|
1722 | !$OMP BARRIER |
---|
1723 | |
---|
1724 | tau_calv=tau_calv_omp |
---|
1725 | |
---|
1726 | !$OMP MASTER |
---|
1727 | write(numout,*)' ##############################################' |
---|
1728 | WRITE(numout,*)' Configuration de l''interface atm/surfaces : ' |
---|
1729 | WRITE(numout,*)' tau_calv = ',tau_calv |
---|
1730 | !$OMP END MASTER |
---|
1731 | |
---|
1732 | return |
---|
1733 | |
---|
1734 | end subroutine conf_interface |
---|