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