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