Changeset 2325
- Timestamp:
- Jul 8, 2015, 10:17:34 PM (10 years ago)
- Location:
- LMDZ5/trunk/libf/phylmd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/physiq.F90
r2321 r2325 3107 3107 !jq - Johannes Quaas, 27/11/2003 (quaas@lmd.jussieu.fr) 3108 3108 IF (flag_aerosol .gt. 0) THEN 3109 IF (iflag_rrtm .EQ. 0) THEN !--old radiation3109 IF (iflag_rrtm .EQ. 0) THEN !--old radiation 3110 3110 IF (.NOT. aerosol_couple) THEN 3111 3111 ! … … 3124 3124 ! 3125 3125 #ifdef CPP_RRTM 3126 IF (NSW.EQ.6) THEN 3127 !--new aerosol properties 3128 ! 3126 3129 CALL readaerosol_optic_rrtm( debut, aerosol_couple, & 3127 3130 new_aod, flag_aerosol, itap, jD_cur-jD_ref, & … … 3131 3134 tausum_aero, tau3d_aero) 3132 3135 3133 CALL aeropt_lw_rrtm 3136 ELSE IF (NSW.EQ.2) THEN 3137 !--for now we use the old aerosol properties 3138 ! 3139 CALL readaerosol_optic( & 3140 debut, new_aod, flag_aerosol, itap, jD_cur-jD_ref, & 3141 pdtphys, pplay, paprs, t_seri, rhcl, presnivs, & 3142 mass_solu_aero, mass_solu_aero_pi, & 3143 tau_aero, piz_aero, cg_aero, & 3144 tausum_aero, tau3d_aero) 3145 ! 3146 !--natural aerosols 3147 tau_aero_sw_rrtm(:,:,1,:)=tau_aero(:,:,3,:) 3148 piz_aero_sw_rrtm(:,:,1,:)=piz_aero(:,:,3,:) 3149 cg_aero_sw_rrtm (:,:,1,:)=cg_aero (:,:,3,:) 3150 !--all aerosols 3151 tau_aero_sw_rrtm(:,:,2,:)=tau_aero(:,:,2,:) 3152 piz_aero_sw_rrtm(:,:,2,:)=piz_aero(:,:,2,:) 3153 cg_aero_sw_rrtm (:,:,2,:)=cg_aero (:,:,2,:) 3154 ELSE 3155 abort_message='Only NSW=2 or 6 are possible with aerosols and iflag_rrtm=1' 3156 call abort_physic(modname,abort_message,1) 3157 ENDIF 3158 3159 CALL aeropt_lw_rrtm 3160 ! 3134 3161 #else 3135 3136 abort_message='You should compile with -rrtm if running with iflag_rrtm=1' 3137 call abort_physic(modname,abort_message,1) 3162 abort_message='You should compile with -rrtm if running with iflag_rrtm=1' 3163 call abort_physic(modname,abort_message,1) 3138 3164 #endif 3139 3165 ! -
LMDZ5/trunk/libf/phylmd/rrtm/readaerosol_optic_rrtm.F90
r2323 r2325 301 301 END DO 302 302 303 ! AI 12 juin 2015 304 ! Modif Olivier pour prendre en compte des prop optiq aero ancienne pour RRTM 2bds 305 306 IF (NSW.EQ.2) THEN 307 !--old aerosol properties 308 309 ! old aeropt_2bands for rrtm 310 CALL aeropt_2bands( & 311 pdel, m_allaer, pdtphys, rhcl, & 312 tau_aero, piz_aero, cg_aero, & 313 m_allaer_pi, flag_aerosol, & 314 pplay, t_seri, presnivs) 315 316 ! aeropt_5wv only for validation and diagnostics. 317 CALL aeropt_5wv( & 318 pdel, m_allaer, & 319 pdtphys, rhcl, aerindex, & 320 flag_aerosol, pplay, t_seri, & 321 tausum_aero, tau3d_aero, presnivs) 322 323 ELSEIF (NSW.EQ.6) THEN 324 !--new aerosol propertie 303 !--new aerosol properties 325 304 ! aeropt_6bands for rrtm 326 305 CALL aeropt_6bands_rrtm( & … … 336 315 flag_aerosol, pplay, t_seri, & 337 316 tausum_aero, tau3d_aero ) 338 339 ELSE340 341 PRINT *,'Cas NSW non prevu pour RRTM - NSW=',NSW342 STOP343 344 ENDIF345 317 346 318 ! Diagnostics calculation for CMIP5 protocol
Note: See TracChangeset
for help on using the changeset viewer.