source: LMDZ6/trunk/libf/phylmd/clesphys.h @ 4677

Last change on this file since 4677 was 4677, checked in by idelkadi, 9 months ago

Implementation in the LMDZ code of the double call of the ECRAD radiative transfer code to estimate the 3D radiative effect of clouds.

  • This double call of Ecrad is controlled by the ok_3Deffect logic key.
  • If this key is enabled, 2 files of parameter configuration "namelists" for ECRAD are required at runtime: namelist_ecrad and namelist_ecrad_s2.
  • If this key is deactivated, the configuration and initialization part (reading namelist and netcdf files) is performed only once during simulation (1st call to ECRAD). Otherwise, configuration and initialization are performed each time Ecrad is called.
  • Property copyright set to
    Name of program: LMDZ
    Creation date: 1984
    Version: LMDZ5
    License: CeCILL version 2
    Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
    See the license file in the root directory
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 7.6 KB
Line 
1! $Id: clesphys.h 4677 2023-09-07 11:07:27Z idelkadi $
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       ! threshold on to activate SSO schemes
11       REAL zrel_oro_t, zpmm_orodr_t, zpmm_orolf_t, zstd_orodr_t
12       INTEGER iflag_cycle_diurne
13       LOGICAL soil_model,new_oliq,ok_orodr,ok_orolf
14       LOGICAL ok_limitvrai
15       LOGICAL ok_all_xml
16       LOGICAL ok_lwoff
17       INTEGER nbapp_rad, iflag_con, nbapp_cv, nbapp_wk, iflag_ener_conserv
18       REAL co2_ppm, co2_ppm0, solaire
19       INTEGER iflag_thermals,nsplit_thermals
20       INTEGER iflag_physiq
21       REAL tau_thermals
22
23!FC
24       REAL Cd_frein
25       LOGICAL ok_suntime_rrtm
26       REAL(kind=8) RCO2, RCH4, RN2O, RCFC11, RCFC12 
27       REAL(kind=8) RCO2_act, RCH4_act, RN2O_act, RCFC11_act, RCFC12_act 
28       REAL(kind=8) CH4_ppb, N2O_ppb, CFC11_ppt, CFC12_ppt
29!IM ajout CFMIP2/CMIP5
30       REAL(kind=8) RCO2_per,RCH4_per,RN2O_per,RCFC11_per,RCFC12_per
31       REAL(kind=8) CH4_ppb_per,N2O_ppb_per,CFC11_ppt_per,CFC12_ppt_per
32
33!OM ---> correction du bilan d'eau global
34!OM Correction sur precip KE
35       REAL cvl_corr
36!OM Fonte calotte dans bilan eau
37       LOGICAL ok_lic_melt
38!OB Depot de vapeur d eau sur la calotte pour le bilan eau
39       LOGICAL ok_lic_cond
40
41!IM simulateur ISCCP
42       INTEGER top_height, overlap
43!IM seuils cdrm, cdrh
44       REAL cdmmax, cdhmax
45!IM param. stabilite s/ terres et en dehors
46       REAL ksta, ksta_ter, f_ri_cd_min
47!IM ok_kzmin : clef calcul Kzmin dans la CL de surface cf FH
48       LOGICAL ok_kzmin
49!IM, MAFo fmagic, pmagic : parametres - additionnel et multiplicatif - 
50!                          pour regler l albedo sur ocean
51       REAL fmagic, pmagic
52! Hauteur (imposee) du contenu en eau du sol
53           REAL qsol0,albsno0,evap0
54! Frottement au sol (Cdrag)
55       Real f_cdrag_ter,f_cdrag_oce
56       REAL min_wind_speed,f_gust_wk,f_gust_bl,f_qsat_oce,f_z0qh_oce
57       REAL z0m_seaice,z0h_seaice
58       REAL z0m_landice, z0h_landice
59       INTEGER iflag_gusts,iflag_z0_oce
60
61! Rugoro
62       Real f_rugoro,z0min
63
64! tau_gl : constante de rappel de la temperature a la surface de la glace
65       REAL tau_gl
66
67!IM lev_histhf  : niveau sorties 6h
68!IM lev_histday : niveau sorties journalieres
69!IM lev_histmth : niveau sorties mensuelles
70!IM lev_histdayNMC : on peut sortir soit sur 8 (comme AR5) ou bien
71!                    sur 17 niveaux de pression
72       INTEGER lev_histhf, lev_histday, lev_histmth
73       INTEGER lev_histdayNMC
74       Integer lev_histins, lev_histLES 
75!IM ok_histNMC  : sortie fichiers niveaux de pression (histmthNMC, histdayNMC, histhfNMC)
76!IM freq_outNMC : frequences de sortie fichiers niveaux de pression (histmthNMC, histdayNMC, histhfNMC)
77!IM freq_calNMC : frequences de calcul fis. hist*NMC.nc
78       LOGICAL ok_histNMC(3)
79       INTEGER levout_histNMC(3)
80       REAL freq_outNMC(3) , freq_calNMC(3)
81       CHARACTER(len=4) type_run
82! aer_type: pour utiliser un fichier constant dans readaerosol
83       CHARACTER(len=8) :: aer_type
84       LOGICAL ok_regdyn
85       REAL lonmin_ins, lonmax_ins, latmin_ins, latmax_ins
86       REAL ecrit_ins, ecrit_hf, ecrit_day
87       REAL ecrit_mth, ecrit_tra, ecrit_reg
88       REAL ecrit_LES
89       REAL freq_ISCCP, ecrit_ISCCP
90       REAL freq_COSP, freq_AIRS
91       LOGICAL :: ok_cosp,ok_mensuelCOSP,ok_journeCOSP,ok_hfCOSP
92       LOGICAL :: ok_airs
93       INTEGER :: ip_ebil_phy, iflag_rrtm, iflag_ice_thermo, NSW, iflag_albedo
94       LOGICAL :: ok_ice_sursat, ok_plane_h2o, ok_plane_contrail
95       LOGICAL :: ok_chlorophyll
96       LOGICAL :: ok_strato
97       LOGICAL :: ok_hines, ok_gwd_rando
98       LOGICAL :: ok_qch4
99       LOGICAL :: ok_conserv_q
100       LOGICAL :: adjust_tropopause
101       LOGICAL :: ok_daily_climoz
102       LOGICAL :: ok_new_lscp
103       LOGICAL :: ok_bs, ok_rad_bs
104! flag to bypass or not the phytrac module
105       INTEGER :: iflag_phytrac
106
107!AI flags pour ECRAD       
108       LOGICAL :: ok_3Deffect
109       CHARACTER(len=512) :: namelist_ecrad_file
110
111       COMMON/clesphys/                                                 &
112! REAL FIRST
113     &       co2_ppm, solaire                                           &
114     &     , RCO2, RCH4, RN2O, RCFC11, RCFC12                           &
115     &     , RCO2_act, RCH4_act, RN2O_act, RCFC11_act, RCFC12_act       &
116     &     , RCO2_per, RCH4_per, RN2O_per, RCFC11_per, RCFC12_per       &
117     &     , CH4_ppb, N2O_ppb, CFC11_ppt, CFC12_ppt                     &
118     &     , CH4_ppb_per, N2O_ppb_per, CFC11_ppt_per, CFC12_ppt_per     &
119     &     , cdmmax,cdhmax,ksta,ksta_ter,f_ri_cd_min                    &
120     &     , fmagic, pmagic                                             &
121     &     , f_cdrag_ter,f_cdrag_oce,f_rugoro,z0min,tau_gl              &
122     &     , min_wind_speed,f_gust_wk,f_gust_bl,f_qsat_oce,f_z0qh_oce   &
123     &     , z0m_seaice,z0h_seaice,z0m_landice,z0h_landice              &
124     &     , freq_outNMC, freq_calNMC                                   &
125     &     , lonmin_ins, lonmax_ins, latmin_ins, latmax_ins             &
126     &     , freq_ISCCP, ecrit_ISCCP, freq_COSP, freq_AIRS              &
127     &     , cvl_corr                                                   &
128     &     , qsol0,albsno0,evap0                                        &
129     &     , co2_ppm0                                                   &
130!FC
131     &     , Cd_frein,zrel_oro_t,zpmm_orodr_t,zpmm_orolf_t,zstd_orodr_t &
132     &     , ecrit_LES                                                  &
133     &     , ecrit_ins, ecrit_hf, ecrit_day                             &
134     &     , ecrit_mth, ecrit_tra, ecrit_reg                            &
135! THEN INTEGER AND LOGICALS
136     &     , top_height                                                 &
137     &     , iflag_cycle_diurne, soil_model, new_oliq                   &
138     &     , ok_orodr, ok_orolf, ok_limitvrai, nbapp_rad                &
139     &     , iflag_con, nbapp_cv, nbapp_wk                              &
140     &     , iflag_ener_conserv                                         &
141     &     , ok_suntime_rrtm                                            & 
142     &     , overlap                                                    &
143     &     , ok_kzmin                                                   &
144     &     , lev_histhf, lev_histday, lev_histmth                       &
145     &     , lev_histins, lev_histLES, lev_histdayNMC, levout_histNMC   &
146     &     , ok_histNMC                                                 &
147     &     , type_run, ok_regdyn, ok_cosp, ok_airs                      &
148     &     , ok_mensuelCOSP,ok_journeCOSP,ok_hfCOSP                     &
149     &     , ip_ebil_phy                                                &
150     &     , iflag_gusts ,iflag_z0_oce                                  &
151     &     , ok_lic_melt, ok_lic_cond, aer_type                         &
152     &     , iflag_rrtm, ok_strato,ok_hines, ok_qch4                    &
153     &     , iflag_ice_thermo, ok_ice_sursat                            & 
154     &     , ok_plane_h2o, ok_plane_contrail                            & 
155     &     , ok_gwd_rando, NSW, iflag_albedo                            &
156     &     , ok_chlorophyll,ok_conserv_q, adjust_tropopause             &
157     &     , ok_daily_climoz, ok_all_xml, ok_lwoff                      &
158     &     , iflag_phytrac, ok_new_lscp, ok_bs, ok_rad_bs               &
159     &     ,  iflag_thermals,nsplit_thermals, tau_thermals              &
160     &     , iflag_physiq, ok_3Deffect, namelist_ecrad_file
161       save /clesphys/
162!$OMP THREADPRIVATE(/clesphys/)
Note: See TracBrowser for help on using the repository browser.