Changeset 2231 for LMDZ5/trunk/libf/phylmd/rrtm
- Timestamp:
- Mar 12, 2015, 5:46:56 PM (10 years ago)
- Location:
- LMDZ5/trunk/libf/phylmd/rrtm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/rrtm/aeropt_6bands_rrtm.F90
r2216 r2231 473 473 tau_ae(i,k,id_ASSSM_phy,inu)+tau_ae(i,k,id_CSSSM_phy,inu)+ & 474 474 tau_ae(i,k,id_SSSSM_phy,inu)+ tau_ae(i,k,id_CIDUSTM_phy,inu) 475 tau_allaer(i,k,2,inu)=MAX(tau_allaer(i,k,2,inu),1e- 5)475 tau_allaer(i,k,2,inu)=MAX(tau_allaer(i,k,2,inu),1e-15) 476 476 477 477 piz_allaer(i,k,2,inu)=(tau_ae(i,k,id_ASSO4M_phy,inu)*piz_ae(i,k,id_ASSO4M_phy,inu)+ & … … 486 486 tau_ae(i,k,id_CIDUSTM_phy,inu)*piz_ae(i,k,id_CIDUSTM_phy,inu)) & 487 487 /tau_allaer(i,k,2,inu) 488 piz_allaer(i,k,2,inu)=MAX(piz_allaer(i,k,2,inu),0. 1)488 piz_allaer(i,k,2,inu)=MAX(piz_allaer(i,k,2,inu),0.01) 489 489 490 490 cg_allaer(i,k,2,inu)=(tau_ae(i,k,id_ASSO4M_phy,inu)*piz_ae(i,k,id_ASSO4M_phy,inu)*cg_ae(i,k,id_ASSO4M_phy,inu)+ & … … 506 506 tau_ae_pi(i,k,id_ASSSM_phy,inu)+tau_ae_pi(i,k,id_CSSSM_phy,inu)+ & 507 507 tau_ae_pi(i,k,id_SSSSM_phy,inu)+ tau_ae_pi(i,k,id_CIDUSTM_phy,inu) 508 tau_allaer(i,k,1,inu)=MAX(tau_allaer(i,k,1,inu),1e- 5)508 tau_allaer(i,k,1,inu)=MAX(tau_allaer(i,k,1,inu),1e-15) 509 509 510 510 piz_allaer(i,k,1,inu)=(tau_ae_pi(i,k,id_ASSO4M_phy,inu)*piz_ae(i,k,id_ASSO4M_phy,inu)+ & … … 519 519 tau_ae_pi(i,k,id_CIDUSTM_phy,inu)*piz_ae(i,k,id_CIDUSTM_phy,inu)) & 520 520 /tau_allaer(i,k,1,inu) 521 piz_allaer(i,k,1,inu)=MAX(piz_allaer(i,k,1,inu),0. 1)521 piz_allaer(i,k,1,inu)=MAX(piz_allaer(i,k,1,inu),0.01) 522 522 523 523 cg_allaer(i,k,1,inu)=(tau_ae_pi(i,k,id_ASSO4M_phy,inu)*piz_ae(i,k,id_ASSO4M_phy,inu)*cg_ae(i,k,id_ASSO4M_phy,inu)+ & -
LMDZ5/trunk/libf/phylmd/rrtm/aeropt_lw_rrtm.F90
r2214 r2231 9 9 IMPLICIT NONE 10 10 11 tau_aero_lw_rrtm(:,:,:,:) =0.011 tau_aero_lw_rrtm(:,:,:,:) = 1.e-15 12 12 13 13 END SUBROUTINE AEROPT_LW_RRTM -
LMDZ5/trunk/libf/phylmd/rrtm/readaerosolstrato_rrtm.F90
r2183 r2231 211 211 ENDDO 212 212 213 !--default SSA value if there is no aerosol 214 !--to avoid 0 values that seems to cause some problem to RRTM 215 WHERE (tau_aero_sw_rrtm.LT.1.e-14) 216 piz_aero_sw_rrtm = 1.0 217 ENDWHERE 218 219 !--in principle this should not be necessary 220 !--as these variables have min values already but just in case 221 !--put 1e-15 min value to both SW and LW AOD 222 tau_aero_sw_rrtm = MAX(tau_aero_sw_rrtm,1.e-15) 223 tau_aero_lw_rrtm = MAX(tau_aero_lw_rrtm,1.e-15) 224 213 225 end subroutine readaerosolstrato_rrtm
Note: See TracChangeset
for help on using the changeset viewer.