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