@@ -81,6 +81,7 @@ module crtm_interface
8181 n_aerosols_jac,aerosol_names_jac,rad_obs_type,cw_cv,ql_cv
8282use control_vectors, only: lcalc_gfdl_cfrac
8383use ncepnems_io, only: imp_physics
84+ use gsi_crtmcoupler_aeromod, only: Set_CRTM_Aerosol
8485
8586implicit none
8687
@@ -886,7 +887,8 @@ subroutine init_crtm(init_pass,mype_diaghdr,mype,nchanl,nreal,isis,obstype,radmo
886887 endif
887888
888889! Initial GFDL saturation water vapor pressure tables
889- if (n_actual_aerosols_wk> 0 .or. n_clouds_fwd_wk> 0 .and. imp_physics== 11 ) then
890+ if (imp_physics== 11 ) then
891+ if (n_actual_aerosols_wk> 0 .or. n_clouds_fwd_wk> 0 ) then
890892
891893 if (mype== 0 ) write (6 ,* )myname_,' :initial and load GFDL saturation water vapor pressure tables'
892894
@@ -907,6 +909,7 @@ subroutine init_crtm(init_pass,mype_diaghdr,mype,nchanl,nreal,isis,obstype,radmo
907909 des2 (length) = des2 (length - 1 )
908910 desw (length) = desw (length - 1 )
909911
912+ endif
910913 endif
911914
912915 return
@@ -1100,7 +1103,6 @@ subroutine call_crtm(obstype,obstime,data_s,nchanl,nreal,ich, &
11001103 use constants, only: zero,half,one,one_tenth,fv,r0_05,r10,r100,r1000,constoz,grav,rad2deg, &
11011104 sqrt_tiny_r_kind,two,three,four,five,t0c,rd,eps,rd_over_cp,rearth
11021105 use constants, only: max_varname_length,pi
1103- use set_crtm_aerosolmod, only: set_crtm_aerosol
11041106 use set_crtm_cloudmod, only: set_crtm_cloud
11051107 use crtm_module, only: limit_exp,o3_id,toa_pressure
11061108 use obsmod, only: iadate
0 commit comments