Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
119 commits
Select commit Hold shift + click to select a range
193435b
initialize Ferrier-Aligo MP scheme implementation from HWRF V4.0
mzhangw Jul 1, 2019
e77c0a1
add fer_hires wrapper module
mzhangw Jul 19, 2019
d0d4035
initialize FER_HIRES implementation
mzhangw Jul 31, 2019
63f07c4
Merge branch 'gmtb/develop' of https://github.com/NCAR/ccpp-physics i…
mzhangw Jul 31, 2019
d666a3e
pass prebuild
mzhangw Jul 31, 2019
970ae66
change file name
mzhangw Jul 31, 2019
d06f755
minor fix
mzhangw Aug 1, 2019
bbac675
Merge branch 'gmtb/develop' of https://github.com/NCAR/ccpp-physics i…
mzhangw Aug 5, 2019
7c481b5
initialize FER_HIRES scheme
mzhangw Aug 15, 2019
dbabee7
update
mzhangw Aug 19, 2019
b78a1a2
Merge branch 'gmtb/develop' of https://github.com/NCAR/ccpp-physics i…
mzhangw Aug 19, 2019
8b886b9
delete HWRF F-A scheme
mzhangw Aug 21, 2019
c29c3cd
convert USE ESMF to ccpp mpi method; temporary constant treatment
mzhangw Aug 26, 2019
473ff9e
dimension fixed
mzhangw Aug 26, 2019
80fedc4
further constants fix
mzhangw Aug 26, 2019
fb011da
Aligo-use the dx of the 1st i poit to set an integer value of dx to b…
mzhangw Aug 26, 2019
d5f8a62
minor fix
mzhangw Aug 26, 2019
73f95a6
fortran format fix
mzhangw Aug 27, 2019
6b88864
Fixed bug to allow both Qi and Qc to be updated from CU scheme.
ericaligo-NOAA Aug 27, 2019
9aaa575
minor fix
mzhangw Aug 27, 2019
4e0d9bd
Merge branch 'gmtb/develop' of https://github.com/NCAR/ccpp-physics i…
mzhangw Aug 27, 2019
c7faeb7
mp_fer_hires.F90: changed the definitions for f_ice, f_rain and f_rimef.
ChunxiZhang-NOAA Aug 29, 2019
1426c6e
fix omp message and pass F-A scheme
mzhangw Aug 30, 2019
3a26975
Merge branch 'chunxi_physics' of https://github.com/ChunxiZhang-NOAA/…
mzhangw Aug 30, 2019
ec729e8
make consistent standard name as Chunxis implementation
mzhangw Aug 30, 2019
727417c
GFS_MP_generic.F90: recalculate srflag
ChunxiZhang-NOAA Aug 30, 2019
1808226
tracer treatment fix
mzhangw Aug 31, 2019
44137a3
Merge branch 'gmtb/develop' of https://github.com/NCAR/ccpp-physics i…
mzhangw Sep 3, 2019
1f8a26a
bug fixed in augument list of FER_HIRES
mzhangw Sep 4, 2019
bed9c0e
Merge branch 'HAFS_fer_hires' of https://github.com/mzhangw/ccpp-phys…
mzhangw Sep 4, 2019
dff5b0f
Merge branch 'chunxi_physics' of https://github.com/ChunxiZhang-NOAA/…
mzhangw Sep 4, 2019
d749a68
Merge branch 'gmtb/develop' of https://github.com/NCAR/ccpp-physics i…
mzhangw Sep 10, 2019
9fc5ac1
initialize Doxygen documentation in F-A scheme
mzhangw Sep 11, 2019
08662ae
add vars to meta table
mzhangw Sep 11, 2019
2b8d9e4
Merge branch 'HAFS_fer_hires' of https://github.com/mzhangw/ccpp-phys…
mzhangw Sep 11, 2019
bbbf155
F-A scheme modification related to meta data file update
mzhangw Sep 12, 2019
370d49f
use progcld5 for F-A in GFS_rrtmg_pre
mzhangw Sep 17, 2019
957ff82
turn on/off spec_adv option is working in CCPP F-A scheme.
mzhangw Sep 19, 2019
1a024b7
fix ccpp_control crashed problem
mzhangw Sep 21, 2019
fc744d3
Merge branch 'gmtb/develop' of https://github.com/NCAR/ccpp-physics i…
mzhangw Sep 23, 2019
dfccc5b
fix bugs in GFS_PBL_generic
mzhangw Sep 29, 2019
1656aac
revert MP_generic to original version to obtain B4B for control/csawm…
mzhangw Sep 30, 2019
53fba5b
1. recalculate some FAmp tables which depend on physics time step in …
mzhangw Oct 7, 2019
258fceb
Merge branch 'gmtb/develop' of https://github.com/NCAR/ccpp-physics i…
mzhangw Oct 7, 2019
1ff46c7
add update_moist() module to F-A suite
mzhangw Oct 9, 2019
a5b5fa9
Merge branch 'gmtb/develop' of https://github.com/NCAR/ccpp-physics i…
mzhangw Oct 18, 2019
bfedaab
add meta files for FA scheme and HAFS_update_moist
mzhangw Oct 23, 2019
327b07f
minor fix
mzhangw Oct 24, 2019
6777489
add Chunxi GFS_MP_generic change related to FA scheme
mzhangw Nov 7, 2019
f2c9271
Merge branch 'dtc/develop' of https://github.com/NCAR/ccpp-physics in…
mzhangw Nov 7, 2019
a312444
Chunxi's email 11/07/2019: the srflag is based on sr. so we need to
mzhangw Nov 11, 2019
380229c
1. do some code cleanup
mzhangw Nov 14, 2019
482a43b
Merge branch 'dtc/develop' of https://github.com/NCAR/ccpp-physics in…
mzhangw Nov 18, 2019
db9e3a7
cleanup FA codes
mzhangw Nov 18, 2019
ab52b26
delete update_moist module
mzhangw Nov 22, 2019
db7fc8d
minor change
mzhangw Nov 22, 2019
4c2abd1
Merge branch 'dtc/develop' of https://github.com/NCAR/ccpp-physics in…
mzhangw Nov 22, 2019
bd4a30c
monir format fix
mzhangw Nov 22, 2019
f497d40
Merge branch 'dtc/develop' of https://github.com/NCAR/ccpp-physics in…
mzhangw Nov 25, 2019
f9e3ee0
From Eric: convert wet mixing ratios of cloud species to mixing ratio
mzhangw Nov 25, 2019
92d9edf
chunxi fix : f_rimef = qg in FA code
mzhangw Nov 25, 2019
41086af
Merge branch 'dtc/develop' of https://github.com/NCAR/ccpp-physics in…
mzhangw Dec 5, 2019
7c6a472
output mass weighted RF in GFS_suite_stateout_update_run, it will use…
mzhangw Dec 5, 2019
76b5475
Merge branch 'dtc/develop' of https://github.com/NCAR/ccpp-physics in…
mzhangw Dec 11, 2019
67ad5a5
consolidate with Chunxis version
mzhangw Dec 11, 2019
5ca808e
initialize HWRF sasas scheme using preprocessor directives controlled
mzhangw Dec 13, 2019
bff2547
add preprocessor directives for HWRF in samfshalcnv
mzhangw Dec 14, 2019
a4ac852
fix bugs to pass compilation
mzhangw Dec 18, 2019
beb3a33
delete HWRF ensemble capability
mzhangw Dec 18, 2019
c825f5f
remove if outside of loop per Doms suggestion
mzhangw Dec 20, 2019
029f448
bug fix
mzhangw Dec 26, 2019
9648204
Merge branch 'master' into support/HAFS
BinLiu-NOAA Jan 23, 2020
1274c44
Merge branch 'feature/hafs_ccpp' into support/HAFS
BinLiu-NOAA Jan 27, 2020
8d87e55
FA scientific documentation
mzhangw Feb 7, 2020
27c1fcb
Merge branch 'dtc/develop' of https://github.com/NCAR/ccpp-physics in…
mzhangw Feb 7, 2020
982a11d
FA sci doc updates
mzhangw Feb 7, 2020
05c5331
sci doc updates
mzhangw Feb 11, 2020
8ba1c3c
Changes to EDMF-HAFS and EDMF-TKE to OutputEddy Diffusivity
Mar 4, 2020
3419162
Merge pull request #1 from hafs-community/feature/add_km
JiliDong-NOAA Mar 5, 2020
25b3f66
modify stateout update of FA scheme
mzhangw Mar 16, 2020
682fab9
Merge branch 'dtc/develop' of https://github.com/NCAR/ccpp-physics in…
mzhangw Mar 16, 2020
c8a345a
physics/dcyc2.meta: bugfix for levr < levs
climbfuji Mar 17, 2020
bdc2c70
Further bugfixes for levr<levs for other physics schemes
climbfuji Mar 17, 2020
3d45390
Merge pull request #410 from climbfuji/update_ncar_master_from_dtc_de…
climbfuji Mar 18, 2020
9f851be
Merge pull request #1 from NCAR/master
pjpegion Mar 20, 2020
322f5b1
make rain/snow tendency consistent with accumulated rain/snow
pjpegion Mar 20, 2020
f143b81
Updates of CCPP code to regain bit-for-bit identical results for coup…
climbfuji Mar 24, 2020
31a294a
Merge branch 'master' into support/HAFS
BinLiu-NOAA Mar 24, 2020
53c1071
Merge branch 'coupled_stochy_fixes' of https://github.com/pjpegion/cc…
climbfuji Mar 24, 2020
091d475
physics/GFS_stochastics.F90: update comment
climbfuji Mar 24, 2020
bde224d
Remove interstitial variables for seaice coupling
climbfuji Mar 25, 2020
5c134c1
physics/GFS_surface_generic.F90: remove old code that no longer exist…
climbfuji Mar 25, 2020
efb68b5
Merge pull request #417 from climbfuji/coupled_model_ipd_ccpp_b4b
climbfuji Mar 27, 2020
178ce50
Merge branch 'man_hafs_sas_without_updates_of_dtc_develop_029f4489d4f…
climbfuji Apr 1, 2020
bccf301
physics/samfdeepcnv.f: bugfix, ca_deep only allocated when do_ca is .…
climbfuji Apr 1, 2020
1df7376
Update CODEOWNERS for HWRF physics development
climbfuji Apr 3, 2020
71eace1
physics/samfshalcnv.f: bugfix, move assignment inside if block as in …
climbfuji Apr 3, 2020
10867d1
add hurricane-specific code to moninedmf.f
grantfirl Dec 10, 2019
cce995d
clean up logic to better align with HAFS version from Bin Liu, Chunxi…
grantfirl Feb 3, 2020
e839247
send constants through the argument list
grantfirl Feb 6, 2020
78c03e0
send constants through physcons module; sending constants through the…
grantfirl Mar 26, 2020
b492f72
physics/moninedmf.{f,meta}: apply missing updates that were hidden in…
climbfuji Apr 6, 2020
b61ea19
physics/GFS_debug.F90: add capability to debug 1-d logical arrays
climbfuji Apr 6, 2020
0346c38
Merge pull request #428 from climbfuji/dtc-hwrf-physics-add-moninedmf
climbfuji Apr 7, 2020
a8a2ab8
enable icloud=3 capability
mzhangw Feb 11, 2020
9309fc6
add exponential cloud overlapping for LW component
mzhangw Feb 13, 2020
5597b2c
finalize HWRF RRTMG LW capability
mzhangw Feb 16, 2020
bb68108
HWRF RRTMG cloud-rad interaction
mzhangw Mar 17, 2020
c47c2cb
add progcld6 for GSD suite
mzhangw Mar 21, 2020
ac32ce0
remove the connection of iovrlw/iovrsw with physparam
mzhangw Mar 24, 2020
5404462
add new radlw/radsw main with modern fortran
mzhangw Apr 7, 2020
28d1bc2
Clean up HWRF RRTMG additions
climbfuji Apr 7, 2020
2933be7
Cleanup comments in newly added/modified radiation code
climbfuji Apr 8, 2020
6c27ff2
Merge pull request #430 from climbfuji/dtc_hwrf-physics_add_rrtmg
climbfuji Apr 9, 2020
ffc2755
Merge branch 'man_hafs_sas_for_master' of https://github.com/climbfuj…
climbfuji Apr 10, 2020
02bede0
Merge remote-tracking branch 'ncar/dtc/hwrf-physics' into merge_hwrf-…
climbfuji Apr 10, 2020
dd891d8
Merge pull request #433 from climbfuji/merge_hwrf-sasas_into_dtc_hwrf…
climbfuji Apr 13, 2020
406f740
FA uses progcld5
mzhangw Apr 14, 2020
4edbf01
Merge branch 'dtc/hwrf-physics' of https://github.com/NCAR/ccpp-physi…
mzhangw Apr 14, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# These owners will be the default owners for everything in the repo.
#* @defunkt
* @climbfuji @llpcarson @grantfirl @JulieSchramm
* @climbfuji @llpcarson @grantfirl @mzhangw

# Order is important. The last matching pattern has the most precedence.
# So if a pull request only touches javascript files, only these owners
Expand Down
25 changes: 9 additions & 16 deletions physics/GFS_MP_generic.F90
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,11 @@ subroutine GFS_MP_generic_post_run(im, ix, levs, kdt, nrcm, ncld, nncl, ntcw, nt
end if

if (lsm==lsm_ruc .or. lsm==lsm_noahmp) then
raincprv(:) = rainc(:)
rainncprv(:) = frain * rain1(:)
iceprv(:) = ice(:)
snowprv(:) = snow(:)
graupelprv(:) = graupel(:)
raincprv(:) = rainc(:)
rainncprv(:) = frain * rain1(:)
iceprv(:) = ice(:)
snowprv(:) = snow(:)
graupelprv(:) = graupel(:)
!for NoahMP, calculate precipitation rates from liquid water equivalent thickness for use in next time step
!Note (GJF): Precipitation LWE thicknesses are multiplied by the frain factor, and are thus on the dynamics time step, but the conversion as written
! (with dtp in the denominator) assumes the rate is calculated on the physics time step. This only works as expected when dtf=dtp (i.e. when frain=1).
Expand Down Expand Up @@ -341,8 +341,10 @@ subroutine GFS_MP_generic_post_run(im, ix, levs, kdt, nrcm, ncld, nncl, ntcw, nt

if (cplflx .or. cplchm) then
do i = 1, im
rain_cpl(i) = rain_cpl(i) + rain(i) * (one-srflag(i))
snow_cpl(i) = snow_cpl(i) + rain(i) * srflag(i)
drain_cpl(i) = rain(i) * (one-srflag(i))
dsnow_cpl(i) = rain(i) * srflag(i)
rain_cpl(i) = rain_cpl(i) + drain_cpl(i)
snow_cpl(i) = snow_cpl(i) + dsnow_cpl(i)
enddo
endif

Expand Down Expand Up @@ -376,15 +378,6 @@ subroutine GFS_MP_generic_post_run(im, ix, levs, kdt, nrcm, ncld, nncl, ntcw, nt
if (do_sppt) then
!--- radiation heating rate
dtdtr(1:im,:) = dtdtr(1:im,:) + dtdtc(1:im,:)*dtf
do i = 1, im
if (t850(i) > 273.16) then
!--- change in change in rain precip
drain_cpl(i) = rain(i) - drain_cpl(i)
else
!--- change in change in snow precip
dsnow_cpl(i) = rain(i) - dsnow_cpl(i)
endif
enddo
endif

end subroutine GFS_MP_generic_post_run
Expand Down
21 changes: 12 additions & 9 deletions physics/GFS_PBL_generic.F90
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,10 @@ subroutine GFS_PBL_generic_post_run (im, levs, nvdiff, ntrac,
character(len=*), intent(out) :: errmsg
integer, intent(out) :: errflg

real(kind=kind_phys), parameter :: huge=1.0d30, epsln = 1.0d-10
real(kind=kind_phys), parameter :: zero = 0.0d0
real(kind=kind_phys), parameter :: one = 1.0d0
real(kind=kind_phys), parameter :: huge = 9.9692099683868690E36 ! NetCDF float FillValue, same as in GFS_typedefs.F90
real(kind=kind_phys), parameter :: epsln = 1.0d-10 ! same as in GFS_physics_driver.F90
integer :: i, k, kk, k1, n
real(kind=kind_phys) :: tem, tem1, rho

Expand Down Expand Up @@ -486,7 +489,7 @@ subroutine GFS_PBL_generic_post_run (im, levs, nvdiff, ntrac,
if (cplchm) then
do i = 1, im
tem1 = max(q1(i), 1.e-8)
tem = prsl(i,1) / (rd*t1(i)*(1.0+fvirt*tem1))
tem = prsl(i,1) / (rd*t1(i)*(one+fvirt*tem1))
ushfsfci(i) = -cp * tem * hflx(i) ! upward sensible heat flux
enddo
! dkt_cpl has dimensions (1:im,1:levs), but dkt has (1:im,1:levs-1)
Expand All @@ -498,22 +501,22 @@ subroutine GFS_PBL_generic_post_run (im, levs, nvdiff, ntrac,

if (cplflx) then
do i=1,im
if (oceanfrac(i) > 0.0) then ! Ocean only, NO LAKES
if (fice(i) > 1.-epsln) then ! no open water, use results from CICE
if (oceanfrac(i) > zero) then ! Ocean only, NO LAKES
if (fice(i) > one - epsln) then ! no open water, use results from CICE
dusfci_cpl(i) = dusfc_cice(i)
dvsfci_cpl(i) = dvsfc_cice(i)
dtsfci_cpl(i) = dtsfc_cice(i)
dqsfci_cpl(i) = dqsfc_cice(i)
elseif (dry(i) .or. icy(i)) then ! use stress_ocean from sfc_diff for opw component at mixed point
elseif (icy(i) .or. dry(i)) then ! use stress_ocean from sfc_diff for opw component at mixed point
tem1 = max(q1(i), 1.e-8)
rho = prsl(i,1) / (rd*t1(i)*(1.0+fvirt*tem1))
if (wind(i) > 0.0) then
rho = prsl(i,1) / (rd*t1(i)*(one+fvirt*tem1))
if (wind(i) > zero) then
tem = - rho * stress_ocn(i) / wind(i)
dusfci_cpl(i) = tem * ugrs1(i) ! U-momentum flux
dvsfci_cpl(i) = tem * vgrs1(i) ! V-momentum flux
else
dusfci_cpl(i) = 0.0
dvsfci_cpl(i) = 0.0
dusfci_cpl(i) = zero
dvsfci_cpl(i) = zero
endif
dtsfci_cpl(i) = cp * rho * hflx_ocn(i) ! sensible heat flux over open ocean
dqsfci_cpl(i) = hvap * rho * evap_ocn(i) ! latent heat flux over open ocean
Expand Down
16 changes: 8 additions & 8 deletions physics/GFS_PBL_generic.meta
Original file line number Diff line number Diff line change
Expand Up @@ -1089,35 +1089,35 @@
intent = in
optional = F
[dusfc_cice]
standard_name = surface_x_momentum_flux_for_coupling_interstitial
long_name = sfc x momentum flux for coupling interstitial
standard_name = surface_x_momentum_flux_for_coupling
long_name = sfc x momentum flux for coupling
units = Pa
dimensions = (horizontal_dimension)
type = real
kind = kind_phys
intent = in
optional = F
[dvsfc_cice]
standard_name = surface_y_momentum_flux_for_coupling_interstitial
long_name = sfc y momentum flux for coupling interstitial
standard_name = surface_y_momentum_flux_for_coupling
long_name = sfc y momentum flux for coupling
units = Pa
dimensions = (horizontal_dimension)
type = real
kind = kind_phys
intent = in
optional = F
[dtsfc_cice]
standard_name = surface_upward_sensible_heat_flux_for_coupling_interstitial
long_name = sfc sensible heat flux for coupling interstitial
standard_name = surface_upward_sensible_heat_flux_for_coupling
long_name = sfc sensible heat flux for coupling
units = W m-2
dimensions = (horizontal_dimension)
type = real
kind = kind_phys
intent = in
optional = F
[dqsfc_cice]
standard_name = surface_upward_latent_heat_flux_for_coupling_interstitial
long_name = sfc latent heat flux for coupling interstitial
standard_name = surface_upward_latent_heat_flux_for_coupling
long_name = sfc latent heat flux for coupling
units = W m-2
dimensions = (horizontal_dimension)
type = real
Expand Down
50 changes: 47 additions & 3 deletions physics/GFS_debug.F90
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module GFS_diagtoscreen

interface print_var
module procedure print_logic_0d
module procedure print_logic_1d
module procedure print_int_0d
module procedure print_int_1d
module procedure print_real_0d
Expand Down Expand Up @@ -116,6 +117,7 @@ subroutine GFS_diagtoscreen_run (Model, Statein, Stateout, Sfcprop, Coupling,
do impi=0,mpisize-1
do iomp=0,ompsize-1
if (mpirank==impi .and. omprank==iomp) then
call print_var(mpirank,omprank, blkno, 'Model%kdt' , Model%kdt)
! Sfcprop
call print_var(mpirank,omprank, blkno, 'Sfcprop%slmsk' , Sfcprop%slmsk)
call print_var(mpirank,omprank, blkno, 'Sfcprop%oceanfrac', Sfcprop%oceanfrac)
Expand Down Expand Up @@ -402,7 +404,12 @@ subroutine GFS_diagtoscreen_run (Model, Statein, Stateout, Sfcprop, Coupling,
call print_var(mpirank,omprank, blkno, 'Coupling%rain_cpl', Coupling%rain_cpl)
call print_var(mpirank,omprank, blkno, 'Coupling%snow_cpl', Coupling%snow_cpl)
end if
if (Model%cplwav2atm) then
call print_var(mpirank,omprank, blkno, 'Coupling%zorlwav_cpl' , Coupling%zorlwav_cpl )
end if
if (Model%cplflx) then
call print_var(mpirank,omprank, blkno, 'Coupling%oro_cpl' , Coupling%oro_cpl )
call print_var(mpirank,omprank, blkno, 'Coupling%slmsk_cpl' , Coupling%slmsk_cpl )
call print_var(mpirank,omprank, blkno, 'Coupling%slimskin_cpl', Coupling%slimskin_cpl )
call print_var(mpirank,omprank, blkno, 'Coupling%dusfcin_cpl ', Coupling%dusfcin_cpl )
call print_var(mpirank,omprank, blkno, 'Coupling%dvsfcin_cpl ', Coupling%dvsfcin_cpl )
Expand Down Expand Up @@ -466,11 +473,24 @@ subroutine GFS_diagtoscreen_run (Model, Statein, Stateout, Sfcprop, Coupling,
call print_var(mpirank,omprank, blkno, 'Coupling%shum_wts', Coupling%shum_wts)
end if
if (Model%do_skeb) then
call print_var(mpirank,omprank, blkno, 'Coupling%skebu_wts', Coupling%skebu_wts)
call print_var(mpirank,omprank, blkno, 'Coupling%skebv_wts', Coupling%skebv_wts)
call print_var(mpirank,omprank, blkno, 'Coupling%skebu_wts', Coupling%skebu_wts )
call print_var(mpirank,omprank, blkno, 'Coupling%skebv_wts', Coupling%skebv_wts )
end if
if (Model%do_sfcperts) then
call print_var(mpirank,omprank, blkno, 'Coupling%sfc_wts', Coupling%sfc_wts)
call print_var(mpirank,omprank, blkno, 'Coupling%sfc_wts' , Coupling%sfc_wts )
end if
if (Model%do_ca) then
call print_var(mpirank,omprank, blkno, 'Coupling%tconvtend', Coupling%tconvtend )
call print_var(mpirank,omprank, blkno, 'Coupling%qconvtend', Coupling%qconvtend )
call print_var(mpirank,omprank, blkno, 'Coupling%uconvtend', Coupling%uconvtend )
call print_var(mpirank,omprank, blkno, 'Coupling%vconvtend', Coupling%vconvtend )
call print_var(mpirank,omprank, blkno, 'Coupling%ca_out ', Coupling%ca_out )
call print_var(mpirank,omprank, blkno, 'Coupling%ca_deep ', Coupling%ca_deep )
call print_var(mpirank,omprank, blkno, 'Coupling%ca_turb ', Coupling%ca_turb )
call print_var(mpirank,omprank, blkno, 'Coupling%ca_shal ', Coupling%ca_shal )
call print_var(mpirank,omprank, blkno, 'Coupling%ca_rad ', Coupling%ca_rad )
call print_var(mpirank,omprank, blkno, 'Coupling%ca_micro ', Coupling%ca_micro )
call print_var(mpirank,omprank, blkno, 'Coupling%cape ', Coupling%cape )
end if
if(Model%imp_physics == Model%imp_physics_thompson .and. Model%ltaerosol) then
call print_var(mpirank,omprank, blkno, 'Coupling%nwfa2d', Coupling%nwfa2d)
Expand Down Expand Up @@ -539,6 +559,30 @@ subroutine print_int_0d(mpirank,omprank,blkno,name,var)

end subroutine print_int_0d

subroutine print_logic_1d(mpirank,omprank,blkno,name,var)

use machine, only: kind_phys

implicit none

integer, intent(in) :: mpirank, omprank, blkno
character(len=*), intent(in) :: name
logical, intent(in) :: var(:)

integer :: i

#ifdef PRINT_SUM
write(0,'(2a,3i6,2i8)') 'XXX: ', trim(name), mpirank, omprank, blkno, size(var), count(var)
#elif defined(PRINT_CHKSUM)
write(0,'(2a,3i6,2i8)') 'XXX: ', trim(name), mpirank, omprank, blkno, size(var), count(var)
#else
do i=ISTART,min(IEND,size(var(:)))
write(0,'(2a,3i6,i6,1x,l)') 'XXX: ', trim(name), mpirank, omprank, blkno, i, var(i)
end do
#endif

end subroutine print_logic_1d

subroutine print_int_1d(mpirank,omprank,blkno,name,var)

use machine, only: kind_phys
Expand Down
Loading