Changeset 2325 for LMDZ5/trunk/libf/phylmd/physiq.F90
- Timestamp:
- Jul 8, 2015, 10:17:34 PM (9 years ago)
- File:
-
- 1 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 !
Note: See TracChangeset
for help on using the changeset viewer.