- Timestamp:
- Nov 9, 2009, 4:24:36 PM (15 years ago)
- Location:
- LMDZ4/branches/LMDZ4-dev/libf/phylmd
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/branches/LMDZ4-dev/libf/phylmd/clesphys.h
r1229 r1258 54 54 REAL ecrit_LES 55 55 REAL freq_ISCCP, ecrit_ISCCP 56 REAL freq_COSP 56 57 INTEGER :: ip_ebil_phy, iflag_rrtm 57 58 LOGICAL :: ok_strato … … 71 72 & , ecrit_ins, ecrit_hf, ecrit_hf2mth, ecrit_day & 72 73 & , ecrit_mth, ecrit_tra, ecrit_reg & 73 & , freq_ISCCP, ecrit_ISCCP, ip_ebil_phy&74 & , freq_ISCCP, ecrit_ISCCP, freq_COSP, ip_ebil_phy & 74 75 & , ok_lic_melt, cvl_corr, aer_type & 75 76 & , qsol0, iflag_rrtm, ok_strato,ok_hines,ecrit_LES & -
LMDZ4/branches/LMDZ4-dev/libf/phylmd/conf_phys.F90
r1249 r1258 79 79 REAL,SAVE :: bl95_b0_omp, bl95_b1_omp 80 80 REAL,SAVE :: freq_ISCCP_omp, ecrit_ISCCP_omp 81 REAL,SAVE :: freq_COSP_omp 81 82 real,SAVE :: fact_cldcon_omp, facttemps_omp,ratqsbas_omp 82 83 real,SAVE :: ratqshaut_omp … … 324 325 ecrit_ISCCP_omp = 1. 325 326 call getin('ecrit_ISCCP', ecrit_ISCCP_omp) 327 328 !Config Key = freq_COSP 329 !Config Desc = Frequence d'appel du simulateur COSP en secondes; 330 ! par defaut 10800, i.e. 3 heures 331 !Config Def = 10800. 332 !Config Help = Used in ini_histdayCOSP.h 333 ! 334 freq_COSP_omp = 10800. 335 call getin('freq_COSP', freq_COSP_omp) 336 326 337 ! 327 338 !Config Key = ip_ebil_phy … … 1372 1383 freq_ISCCP = freq_ISCCP_omp 1373 1384 ecrit_ISCCP = ecrit_ISCCP_omp 1385 freq_COSP = freq_COSP_omp 1374 1386 ok_ade = ok_ade_omp 1375 1387 ok_aie = ok_aie_omp … … 1468 1480 write(numout,*)' Frequence appel simulateur ISCCP, freq_ISCCP =', freq_ISCCP 1469 1481 write(numout,*)' Frequence appel simulateur ISCCP, ecrit_ISCCP =', ecrit_ISCCP 1482 write(numout,*)' Frequence appel simulateur COSP, freq_COSP =', freq_COSP 1470 1483 write(numout,*)' Sortie bilan d''energie, ip_ebil_phy =', ip_ebil_phy 1471 1484 write(numout,*)' Excentricite = ',R_ecc -
LMDZ4/branches/LMDZ4-dev/libf/phylmd/newmicro.F
r1237 r1258 8 8 e mass_solu_aero, mass_solu_aero_pi, 9 9 e bl95_b0, bl95_b1, 10 s cldtaupi, re, fl) 10 s cldtaupi, re, fl, reliq, reice) 11 11 12 USE dimphy 12 13 IMPLICIT none … … 119 120 REAL rad_chaud_tab(klon, klev), zflwp_var, zfiwp_var 120 121 122 ! Abderrahmane oct 2009 123 Real reliq(klon, klev), reice(klon, klev) 124 121 125 c 122 126 c Calculer l'epaisseur optique et l'emmissivite des nuages … … 164 168 ! 165 169 cdnc_pi(i,k) = 10.**(bl95_b0+bl95_b1* 166 & log(MAX(mass_solu_aero_pi(i,k),1.e-4))/log(10.))*1.e6 !-m-3170 & log(MAX(mass_solu_aero_pi(i,k),1.e-4))/log(10.))*1.e6 !-m-3 167 171 cdnc_pi(i,k)=MIN(1000.e6,MAX(20.e6,cdnc_pi(i,k))) 168 172 ENDDO … … 178 182 & *((pqlwp(i,k)*pplay(i,k)/(RD * T(i,k))) 179 183 & /(4./3*RPI*1000.*cdnc(i,k)) )**(1./3.) 180 rad_chaud_tab(i,k) = MAX(rad_chaud_tab(i,k) * 1.e6, 5.)184 rad_chaud_tab(i,k) = MAX(rad_chaud_tab(i,k) * 1e6, 5.) 181 185 ENDDO 182 186 ENDDO … … 220 224 re(i,k) = rad_chaud_tab(i,k)*fl(i,k) 221 225 226 rel = 0. 227 rei = 0. 222 228 pclc(i,k) = 0.0 223 229 pcltau(i,k) = 0.0 … … 251 257 cldtaupi(i,k) = 3.0/2.0 * zflwp_var / radius 252 258 & + zfiwp_var * (3.448e-03 + 2.431/rei) 259 253 260 ENDIF ! ok_aie 254 261 ! For output diagnostics … … 279 286 c for ice clouds, Ebert & Curry (1992)] 280 287 281 282 283 288 if (zflwp_var.eq.0.) rel = 1. 289 if (zfiwp_var.eq.0. .or. rei.le.0.) rei = 1. 290 pcltau(i,k) = 3.0/2.0 * ( zflwp_var/rel ) 284 291 & + zfiwp_var * (3.448e-03 + 2.431/rei) 285 292 c -- cloud infrared emissivity: … … 295 302 296 303 ENDIF 297 304 reliq(i,k)=rel 305 reice(i,k)=rei 306 if (i.eq.1) then 307 print*,'Dans newmicro rel, rei :',rel, rei 308 print*,'Dans newmicro reliq, reice :', 309 $ reliq(i,k),reice(i,k) 310 endif 311 298 312 ENDDO 299 313 ENDDO -
LMDZ4/branches/LMDZ4-dev/libf/phylmd/phys_output_mod.F90
r1246 r1258 984 984 CALL histdef3d(iff,o_cldemi%flag,o_cldemi%name, "Cloud optical emissivity", "1") 985 985 !IM: bug ?? dimensionnement variables (klon,klev+1) pmflxr, pmflxs, prfl, psfl 986 ! CALL histdef3d(iff,o_pr_con_l%flag,o_pmflxr%name, "Convective precipitation lic", " ") 987 ! CALL histdef3d(iff,o_pr_con_i%flag,o_pmflxs%name, "Convective precipitation ice", " ") 988 ! CALL histdef3d(iff,o_pr_lsc_l%flag,o_prfl%name, "Large scale precipitation lic", " ") 989 ! CALL histdef3d(iff,o_pr_lsc_i%flag,o_psfl%name, "Large scale precipitation ice", " ") 990 986 CALL histdef3d(iff,o_pr_con_l%flag,o_pr_con_l%name, "Convective precipitation lic", " ") 987 CALL histdef3d(iff,o_pr_con_i%flag,o_pr_con_i%name, "Convective precipitation ice", " ") 988 CALL histdef3d(iff,o_pr_lsc_l%flag,o_pr_lsc_l%name, "Large scale precipitation lic", " ") 989 CALL histdef3d(iff,o_pr_lsc_i%flag,o_pr_lsc_i%name, "Large scale precipitation ice", " ") 991 990 !FH Sorties pour la couche limite 992 991 if (iflag_pbl>1) then -
LMDZ4/branches/LMDZ4-dev/libf/phylmd/phys_output_write.h
r1246 r1258 743 743 ENDIF 744 744 745 ! IF (o_pr_con_l%flag(iff)<=lev_files(iff)) THEN 746 ! CALL histwrite_phy(nid_files(iff),o_pmflxr%name,itau_w,pmflxr) 747 ! ENDIF 748 749 ! IF (o_pr_con_i%flag(iff)<=lev_files(iff)) THEN 750 ! CALL histwrite_phy(nid_files(iff),o_pmflxs%name,itau_w,pmflxs) 751 ! ENDIF 752 753 ! IF (o_pr_lsc_l%flag(iff)<=lev_files(iff)) THEN 754 ! CALL histwrite_phy(nid_files(iff),o_prfl%name,itau_w,prfl) 755 ! ENDIF 756 757 ! IF (o_pr_lsc_i%flag(iff)<=lev_files(iff)) THEN 758 ! CALL histwrite_phy(nid_files(iff),o_psfl%name,itau_w,psfl) 759 ! ENDIF 745 IF (o_pr_con_l%flag(iff)<=lev_files(iff)) THEN 746 CALL histwrite_phy(nid_files(iff), 747 s o_pr_con_l%name,itau_w,pmflxr(:,1:klev)) 748 ENDIF 749 750 IF (o_pr_con_i%flag(iff)<=lev_files(iff)) THEN 751 CALL histwrite_phy(nid_files(iff), 752 s o_pr_con_i%name,itau_w,pmflxs(:,1:klev)) 753 ENDIF 754 755 IF (o_pr_lsc_l%flag(iff)<=lev_files(iff)) THEN 756 CALL histwrite_phy(nid_files(iff), 757 s o_pr_lsc_l%name,itau_w,prfl(:,1:klev)) 758 ENDIF 759 760 IF (o_pr_lsc_i%flag(iff)<=lev_files(iff)) THEN 761 CALL histwrite_phy(nid_files(iff), 762 s o_pr_lsc_i%name,itau_w,psfl(:,1:klev)) 763 ENDIF 764 760 765 761 766 IF (o_rh2m%flag(iff)<=lev_files(iff)) THEN -
LMDZ4/branches/LMDZ4-dev/libf/phylmd/physiq.F
r1249 r1258 888 888 logical ok_newmicro 889 889 save ok_newmicro 890 real ref_liq(klon,klev), ref_ice(klon,klev) 890 891 c$OMP THREADPRIVATE(ok_newmicro) 891 892 save fact_cldcon,facttemps … … 1115 1116 cIM 100106 END : pouvoir sortir les ctes de la physique 1116 1117 c 1118 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 1119 c Declarations pour Simulateur COSP 1120 c============================================================ 1121 real :: mr_ozone(klon,klev) 1117 1122 c====================================================================== 1118 1123 ! Ecriture eventuelle d'un profil verticale en entree de la physique. … … 2875 2880 e mass_solu_aero, mass_solu_aero_pi, 2876 2881 e bl95_b0, bl95_b1, 2877 s cldtaupi, re, fl )2882 s cldtaupi, re, fl, ref_liq, ref_ice) 2878 2883 else 2879 2884 CALL nuage (paprs, pplay, … … 3168 3173 c 3169 3174 c 3175 !==================================================================== 3176 ! Interface Simulateur COSP (Calipso, ISCCP, MISR, ..) 3177 !==================================================================== 3178 ! Abderrahmane 24.08.09 3179 3180 ! IF (ok_cosp) THEN 3181 ! adeclarer 3182 #ifdef CPP_COSP 3183 IF (MOD(itap,NINT(freq_cosp/dtime)).EQ.0) THEN 3184 3185 print*,'freq_cosp',freq_cosp 3186 mr_ozone=wo * dobson_u * 1e3 / zmasse 3187 ! print*,'Dans physiq.F avant appel cosp ref_liq,ref_ice=', 3188 ! s ref_liq,ref_ice 3189 call phys_cosp(itap,dtime,freq_cosp, 3190 $ ecrit_mth,ecrit_day,ecrit_hf,overlap, 3191 $ klon,klev,rlon,rlat,presnivs, 3192 $ ref_liq,ref_ice, 3193 $ pctsrf(:,is_ter)+pctsrf(:,is_lic), 3194 $ zu10m,zv10m, 3195 $ zphi,paprs(:,1:klev),pplay,zxtsol,t_seri, 3196 $ qx(:,:,ivap),zx_rh,cldfra,rnebcon,flwc,fiwc, 3197 $ prfl(:,1:klev),psfl(:,1:klev), 3198 $ pmflxr(:,1:klev),pmflxs(:,1:klev), 3199 $ mr_ozone,cldtau, cldemi) 3200 ! L calipso2D,calipso3D,cfadlidar,parasolrefl,atb,betamol, 3201 ! L cfaddbze,clcalipso2,dbze,cltlidarradar, 3202 ! M clMISR, 3203 ! R clisccp2,boxtauisccp,boxptopisccp,tclisccp,ctpisccp, 3204 ! I tauisccp,albisccp,meantbisccp,meantbclrisccp) 3205 3206 ENDIF 3207 3208 ! ENDIF 3209 #endif 3210 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 3170 3211 cAA 3171 3212 cAA Installation de l'interface online-offline pour traceurs
Note: See TracChangeset
for help on using the changeset viewer.