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