diff --git a/sorc/ncep_post.fd/CALVIS_GSD.f b/sorc/ncep_post.fd/CALVIS_GSD.f index 351997399..c2795a6e5 100644 --- a/sorc/ncep_post.fd/CALVIS_GSD.f +++ b/sorc/ncep_post.fd/CALVIS_GSD.f @@ -99,13 +99,13 @@ SUBROUTINE CALVIS_GSD(CZEN,VIS) use vrbls2d, only: sno, si, ustar use vrbls3d, only: qqw, qqi, qqs, qqr, qqg, t, pmid, q, u, v, extcof55, aextc55 use params_mod, only: h1, d608, rd, g - use ctlblk_mod, only: jm, im, jsta_2l, jend_2u, lm, modelname, spval,& + use ctlblk_mod, only: jm, im, jsta_2l, jend_2u, lm, modelname, spval, method_blsn,& ista_2l, iend_2u implicit none integer :: j, i, k, ll - integer :: method, method_blsn + integer :: method real :: tx, pol, esx, es, e REAL VIS(ista_2l:iend_2u,jsta_2l:jend_2u) REAL RHB(ista_2l:iend_2u,jsta_2l:jend_2u,LM) @@ -142,7 +142,6 @@ SUBROUTINE CALVIS_GSD(CZEN,VIS) ! Aerosol method (2), ! Smoke added to RH method for clear air (3) ! 3 - option to add reducted visibility from smoke-based aerosols. - method_blsn = 1 ! 1 for 'on', 0 for 'off' CELKEL = 273.15 TICE = CELKEL-10. @@ -355,7 +354,7 @@ SUBROUTINE CALVIS_GSD(CZEN,VIS) ! Addition of attenuation from aerosols if option selected if(method == 2 .or. method == 3)then ! aerosol method BETAV = BETAV + aextc55(i,j,lm)*1000. - if(method_blsn .eq. 1) then ! BLSN method, updated 8 August 2022 by Tim Corrie + if(method_blsn) then ! BLSN method, updated 8 August 2022 by Tim Corrie BETAV = BETAV + BETABLSN endif endif diff --git a/sorc/ncep_post.fd/CTLBLK.f b/sorc/ncep_post.fd/CTLBLK.f index 224742918..663a6d6eb 100644 --- a/sorc/ncep_post.fd/CTLBLK.f +++ b/sorc/ncep_post.fd/CTLBLK.f @@ -18,6 +18,7 @@ !> 2023-04-04 | Li(Kate Zhang) | Add namelist optoin for CCPP-Chem (UFS-Chem) and 2D diag. output (d2d_chem) for GEFS-Aerosols and CCPP-Chem model. !> 2023-04-17 | Eric James | Adding 160 and 320 m above ground to HTFD for RRFS output. !> 2023-08-16 | Yali Mao | Add gtg_on logical option +!> 2023-11-24 | Eric James | Add method_blsn logical option !----------------------------------------------------------------------- !> @defgroup CTLBLK_mod Sets default parameters that are used throughout the UPP code !----------------------------------------------------------------------- @@ -73,6 +74,7 @@ module CTLBLK_mod logical :: aqf_on !< Turn on Air Quality Forecasting (CMAQ-based). logical :: slrutah_on !< Calculate snow to liquid ratio (SLR) using method from University of Utah. logical :: gtg_on !< Turn on GTG (Graphical Turbulence Guidance) + logical :: method_blsn !< Turn on blowing snow effect on visibility diagnostic ! logical :: SIGMA !< No longer used/supported. logical :: RUN !< No longer used/supported. diff --git a/sorc/ncep_post.fd/WRFPOST.f b/sorc/ncep_post.fd/WRFPOST.f index d2b0ef546..30ca7af17 100644 --- a/sorc/ncep_post.fd/WRFPOST.f +++ b/sorc/ncep_post.fd/WRFPOST.f @@ -127,7 +127,7 @@ PROGRAM WRFPOST mdl2agl_tim, mdl2std_tim, mdl2thandpv_tim, calrad_wcloud_tim,nasa_on,gccpp_on, & fixed_tim, time_output, imin, surfce2_tim, komax, ivegsrc, d3d_on, gocart_on,rdaod, & readxml_tim, spval, fullmodelname, submodelname, hyb_sigp, filenameflat, aqf_on,numx, & - run_ifi_tim, slrutah_on, d2d_chem, gtg_on + run_ifi_tim, slrutah_on, d2d_chem, gtg_on, method_blsn use grib2_module, only: gribit2,num_pset,nrecout,first_grbtbl,grib_info_finalize use upp_ifi_mod, only: write_ifi_debug_files !- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -153,7 +153,7 @@ PROGRAM WRFPOST ! integer :: kpo,kth,kpv real,dimension(komax) :: po,th,pv - namelist/nampgb/kpo,po,kth,th,kpv,pv,fileNameAER,d3d_on,gocart_on,gccpp_on, nasa_on,gtg_on,popascal & + namelist/nampgb/kpo,po,kth,th,kpv,pv,fileNameAER,d3d_on,gocart_on,gccpp_on, nasa_on,gtg_on,method_blsn,popascal & ,hyb_sigp,rdaod,d2d_chem, aqf_on,slrutah_on, vtimeunits,numx,write_ifi_debug_files integer :: itag_ierr namelist/model_inputs/fileName,IOFORM,grib,DateStr,MODELNAME,SUBMODELNAME & @@ -261,6 +261,7 @@ PROGRAM WRFPOST aqf_on = .false. slrutah_on = .false. gtg_on = .false. + method_blsn = .true. popascal = .false. fileNameAER = '' rdaod = .false.