[1279] | 1 | ! $Id: clesphys.h 2989 2017-09-18 15:32:12Z fairhead $ |
---|
[524] | 2 | ! |
---|
[793] | 3 | ! ATTENTION!!!!: ce fichier include est compatible format fixe/format libre |
---|
[2110] | 4 | ! veillez \`a n'utiliser que des ! pour les commentaires |
---|
| 5 | ! et \`a bien positionner les & des lignes de continuation |
---|
[793] | 6 | ! (les placer en colonne 6 et en colonne 73) |
---|
| 7 | ! |
---|
| 8 | !..include cles_phys.h |
---|
| 9 | ! |
---|
[524] | 10 | LOGICAL cycle_diurne,soil_model,new_oliq,ok_orodr,ok_orolf |
---|
| 11 | LOGICAL ok_limitvrai |
---|
[2114] | 12 | LOGICAL ok_all_xml |
---|
[2730] | 13 | INTEGER nbapp_rad, iflag_con, nbapp_cv, nbapp_wk, iflag_ener_conserv |
---|
[1279] | 14 | REAL co2_ppm, co2_ppm0, solaire |
---|
[2952] | 15 | !FC |
---|
| 16 | REAL Cd_frein |
---|
[2524] | 17 | LOGICAL ok_suntime_rrtm |
---|
[1279] | 18 | REAL(kind=8) RCO2, RCH4, RN2O, RCFC11, RCFC12 |
---|
[1539] | 19 | REAL(kind=8) RCO2_act, RCH4_act, RN2O_act, RCFC11_act, RCFC12_act |
---|
[1279] | 20 | REAL(kind=8) CH4_ppb, N2O_ppb, CFC11_ppt, CFC12_ppt |
---|
[1539] | 21 | !IM ajout CFMIP2/CMIP5 |
---|
| 22 | REAL(kind=8) RCO2_per,RCH4_per,RN2O_per,RCFC11_per,RCFC12_per |
---|
| 23 | REAL(kind=8) CH4_ppb_per,N2O_ppb_per,CFC11_ppt_per,CFC12_ppt_per |
---|
[766] | 24 | |
---|
[793] | 25 | !OM ---> correction du bilan d'eau global |
---|
| 26 | !OM Correction sur precip KE |
---|
[766] | 27 | REAL cvl_corr |
---|
[793] | 28 | !OM Fonte calotte dans bilan eau |
---|
[766] | 29 | LOGICAL ok_lic_melt |
---|
[2946] | 30 | !OB Depot de vapeur d eau sur la calotte pour le bilan eau |
---|
| 31 | LOGICAL ok_lic_cond |
---|
[766] | 32 | |
---|
[793] | 33 | !IM simulateur ISCCP |
---|
[524] | 34 | INTEGER top_height, overlap |
---|
[793] | 35 | !IM seuils cdrm, cdrh |
---|
[524] | 36 | REAL cdmmax, cdhmax |
---|
[793] | 37 | !IM param. stabilite s/ terres et en dehors |
---|
[2126] | 38 | REAL ksta, ksta_ter, f_ri_cd_min |
---|
[793] | 39 | !IM ok_kzmin : clef calcul Kzmin dans la CL de surface cf FH |
---|
[524] | 40 | LOGICAL ok_kzmin |
---|
[900] | 41 | !IM, MAFo fmagic, pmagic : parametres - additionnel et multiplicatif - |
---|
| 42 | ! pour regler l albedo sur ocean |
---|
[2561] | 43 | REAL pbl_lmixmin_alpha |
---|
[900] | 44 | REAL fmagic, pmagic |
---|
[889] | 45 | ! Hauteur (imposee) du contenu en eau du sol |
---|
[1894] | 46 | REAL qsol0,albsno0,evap0 |
---|
[1279] | 47 | ! Frottement au sol (Cdrag) |
---|
| 48 | Real f_cdrag_ter,f_cdrag_oce |
---|
[2254] | 49 | REAL min_wind_speed,f_gust_wk,f_gust_bl,f_qsat_oce,f_z0qh_oce |
---|
[2243] | 50 | REAL z0m_seaice,z0h_seaice |
---|
| 51 | INTEGER iflag_gusts,iflag_z0_oce |
---|
[2240] | 52 | |
---|
[1279] | 53 | ! Rugoro |
---|
[2243] | 54 | Real f_rugoro,z0min |
---|
[1279] | 55 | |
---|
[793] | 56 | !IM lev_histhf : niveau sorties 6h |
---|
| 57 | !IM lev_histday : niveau sorties journalieres |
---|
| 58 | !IM lev_histmth : niveau sorties mensuelles |
---|
[1352] | 59 | !IM lev_histdayNMC : on peut sortir soit sur 8 (comme AR5) ou bien |
---|
| 60 | ! sur 17 niveaux de pression |
---|
[524] | 61 | INTEGER lev_histhf, lev_histday, lev_histmth |
---|
[1352] | 62 | INTEGER lev_histdayNMC |
---|
[1279] | 63 | Integer lev_histins, lev_histLES |
---|
[1374] | 64 | !IM ok_histNMC : sortie fichiers niveaux de pression (histmthNMC, histdayNMC, histhfNMC) |
---|
[1352] | 65 | !IM freq_outNMC : frequences de sortie fichiers niveaux de pression (histmthNMC, histdayNMC, histhfNMC) |
---|
| 66 | !IM freq_calNMC : frequences de calcul fis. hist*NMC.nc |
---|
| 67 | !IM pasphys : pas de temps de physique (secondes) |
---|
| 68 | REAL pasphys |
---|
[1374] | 69 | LOGICAL ok_histNMC(3) |
---|
[1828] | 70 | INTEGER levout_histNMC(3) |
---|
[1352] | 71 | REAL freq_outNMC(3) , freq_calNMC(3) |
---|
[1279] | 72 | CHARACTER(len=4) type_run |
---|
| 73 | ! aer_type: pour utiliser un fichier constant dans readaerosol |
---|
[1938] | 74 | CHARACTER(len=8) :: aer_type |
---|
[1877] | 75 | LOGICAL ok_regdyn |
---|
[644] | 76 | REAL lonmin_ins, lonmax_ins, latmin_ins, latmax_ins |
---|
[1563] | 77 | REAL ecrit_ins, ecrit_hf, ecrit_day |
---|
[684] | 78 | REAL ecrit_mth, ecrit_tra, ecrit_reg |
---|
[1054] | 79 | REAL ecrit_LES |
---|
[828] | 80 | REAL freq_ISCCP, ecrit_ISCCP |
---|
[2580] | 81 | REAL freq_COSP, freq_AIRS |
---|
[1368] | 82 | LOGICAL :: ok_cosp,ok_mensuelCOSP,ok_journeCOSP,ok_hfCOSP |
---|
[2580] | 83 | LOGICAL :: ok_airs |
---|
[2227] | 84 | INTEGER :: ip_ebil_phy, iflag_rrtm, iflag_ice_thermo, NSW, iflag_albedo |
---|
| 85 | LOGICAL :: ok_chlorophyll |
---|
[1001] | 86 | LOGICAL :: ok_strato |
---|
[1938] | 87 | LOGICAL :: ok_hines, ok_gwd_rando |
---|
[2136] | 88 | LOGICAL :: ok_qch4 |
---|
[2007] | 89 | LOGICAL :: ok_conserv_q |
---|
[2788] | 90 | LOGICAL :: adjust_tropopause |
---|
| 91 | LOGICAL :: ok_daily_climoz |
---|
[2973] | 92 | ! flag to bypass or not the phytrac module |
---|
| 93 | INTEGER :: iflag_phytrac |
---|
[524] | 94 | |
---|
[1961] | 95 | COMMON/clesphys/ & |
---|
| 96 | ! REAL FIRST |
---|
[2007] | 97 | & co2_ppm, solaire & |
---|
[1539] | 98 | & , RCO2, RCH4, RN2O, RCFC11, RCFC12 & |
---|
| 99 | & , RCO2_act, RCH4_act, RN2O_act, RCFC11_act, RCFC12_act & |
---|
| 100 | & , RCO2_per, RCH4_per, RN2O_per, RCFC11_per, RCFC12_per & |
---|
[793] | 101 | & , CH4_ppb, N2O_ppb, CFC11_ppt, CFC12_ppt & |
---|
[1539] | 102 | & , CH4_ppb_per, N2O_ppb_per, CFC11_ppt_per, CFC12_ppt_per & |
---|
[2561] | 103 | & , cdmmax,cdhmax,ksta,ksta_ter,f_ri_cd_min,pbl_lmixmin_alpha & |
---|
[1961] | 104 | & , fmagic, pmagic & |
---|
[2243] | 105 | & , f_cdrag_ter,f_cdrag_oce,f_rugoro,z0min & |
---|
[2254] | 106 | & , min_wind_speed,f_gust_wk,f_gust_bl,f_qsat_oce,f_z0qh_oce & |
---|
[2243] | 107 | & , z0m_seaice,z0h_seaice & |
---|
[1961] | 108 | & , pasphys , freq_outNMC, freq_calNMC & |
---|
| 109 | & , lonmin_ins, lonmax_ins, latmin_ins, latmax_ins & |
---|
[2580] | 110 | & , freq_ISCCP, ecrit_ISCCP, freq_COSP, freq_AIRS & |
---|
[1961] | 111 | & , cvl_corr & |
---|
| 112 | & , qsol0,albsno0,evap0 & |
---|
| 113 | & , co2_ppm0 & |
---|
[2952] | 114 | !FC |
---|
| 115 | & , Cd_frein & |
---|
[1961] | 116 | & , ecrit_LES & |
---|
| 117 | & , ecrit_ins, ecrit_hf, ecrit_day & |
---|
| 118 | & , ecrit_mth, ecrit_tra, ecrit_reg & |
---|
| 119 | ! THEN INTEGER AND LOGICALS |
---|
| 120 | & , top_height & |
---|
| 121 | & , cycle_diurne, soil_model, new_oliq & |
---|
[2707] | 122 | & , ok_orodr, ok_orolf, ok_limitvrai, nbapp_rad & |
---|
[2730] | 123 | & , iflag_con, nbapp_cv, nbapp_wk & |
---|
[1961] | 124 | & , iflag_ener_conserv & |
---|
[2524] | 125 | & , ok_suntime_rrtm & |
---|
[1961] | 126 | & , overlap & |
---|
| 127 | & , ok_kzmin & |
---|
[900] | 128 | & , lev_histhf, lev_histday, lev_histmth & |
---|
[1828] | 129 | & , lev_histins, lev_histLES, lev_histdayNMC, levout_histNMC & |
---|
[1961] | 130 | & , ok_histNMC & |
---|
[2580] | 131 | & , type_run, ok_regdyn, ok_cosp, ok_airs & |
---|
[1368] | 132 | & , ok_mensuelCOSP,ok_journeCOSP,ok_hfCOSP & |
---|
[1961] | 133 | & , ip_ebil_phy & |
---|
[2243] | 134 | & , iflag_gusts ,iflag_z0_oce & |
---|
[2946] | 135 | & , ok_lic_melt, ok_lic_cond, aer_type & |
---|
[2136] | 136 | & , iflag_rrtm, ok_strato,ok_hines, ok_qch4 & |
---|
[2227] | 137 | & , iflag_ice_thermo, ok_gwd_rando, NSW, iflag_albedo & |
---|
[2788] | 138 | & , ok_chlorophyll,ok_conserv_q, adjust_tropopause & |
---|
[2973] | 139 | & , ok_daily_climoz, ok_all_xml & |
---|
| 140 | & , iflag_phytrac |
---|
[766] | 141 | |
---|
[1572] | 142 | save /clesphys/ |
---|
[793] | 143 | !$OMP THREADPRIVATE(/clesphys/) |
---|