Skip to content

Commit

Permalink
CCPP: Update consistency checks and effective radii calculation for T…
Browse files Browse the repository at this point in the history
…hompson MP (#462)

* This PR updates the submodule pointer for ccpp-physics for the changes described in NCAR/ccpp-physics#786 (Update consistency checks and effective radii calculation for Thompson MP)
  • Loading branch information
climbfuji authored Jan 20, 2022
1 parent f1a35e1 commit 12a5441
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 34 deletions.
66 changes: 33 additions & 33 deletions ccpp/driver/GFS_diagnostics.F90
Original file line number Diff line number Diff line change
Expand Up @@ -3495,39 +3495,39 @@ subroutine GFS_externaldiag_populate (ExtDiag, Model, Statein, Stateout, Sfcprop
enddo
enddo

!! Cloud effective radii from Microphysics
!if (Model%imp_physics == Model%imp_physics_thompson .or. Model%imp_physics == Model%imp_physics_wsm6 .or. Model%imp_physics == Model%imp_physics_fer_hires) then
! idx = idx + 1
! ExtDiag(idx)%axes = 3
! ExtDiag(idx)%name = 'cleffr'
! ExtDiag(idx)%desc = 'effective radius of cloud liquid water particle'
! ExtDiag(idx)%unit = 'um'
! ExtDiag(idx)%mod_name = 'gfs_phys'
! allocate (ExtDiag(idx)%data(nblks))
! do nb = 1,nblks
! ExtDiag(idx)%data(nb)%var3 => Tbd(nb)%phy_f3d(:,:,Model%nleffr)
! enddo
! idx = idx + 1
! ExtDiag(idx)%axes = 3
! ExtDiag(idx)%name = 'cieffr'
! ExtDiag(idx)%desc = 'effective radius of stratiform cloud ice particle in um'
! ExtDiag(idx)%unit = 'um'
! ExtDiag(idx)%mod_name = 'gfs_phys'
! allocate (ExtDiag(idx)%data(nblks))
! do nb = 1,nblks
! ExtDiag(idx)%data(nb)%var3 => Tbd(nb)%phy_f3d(:,:,Model%nieffr)
! enddo
! idx = idx + 1
! ExtDiag(idx)%axes = 3
! ExtDiag(idx)%name = 'cseffr'
! ExtDiag(idx)%desc = 'effective radius of stratiform cloud snow particle in um'
! ExtDiag(idx)%unit = 'um'
! ExtDiag(idx)%mod_name = 'gfs_phys'
! allocate (ExtDiag(idx)%data(nblks))
! do nb = 1,nblks
! ExtDiag(idx)%data(nb)%var3 => Tbd(nb)%phy_f3d(:,:,Model%nseffr)
! enddo
!endif
! Cloud effective radii from Microphysics
if (Model%imp_physics == Model%imp_physics_thompson .or. Model%imp_physics == Model%imp_physics_fer_hires) then
idx = idx + 1
ExtDiag(idx)%axes = 3
ExtDiag(idx)%name = 'cleffr'
ExtDiag(idx)%desc = 'effective radius of cloud liquid water particle'
ExtDiag(idx)%unit = 'um'
ExtDiag(idx)%mod_name = 'gfs_phys'
allocate (ExtDiag(idx)%data(nblks))
do nb = 1,nblks
ExtDiag(idx)%data(nb)%var3 => Tbd(nb)%phy_f3d(:,:,Model%nleffr)
enddo
idx = idx + 1
ExtDiag(idx)%axes = 3
ExtDiag(idx)%name = 'cieffr'
ExtDiag(idx)%desc = 'effective radius of stratiform cloud ice particle in um'
ExtDiag(idx)%unit = 'um'
ExtDiag(idx)%mod_name = 'gfs_phys'
allocate (ExtDiag(idx)%data(nblks))
do nb = 1,nblks
ExtDiag(idx)%data(nb)%var3 => Tbd(nb)%phy_f3d(:,:,Model%nieffr)
enddo
idx = idx + 1
ExtDiag(idx)%axes = 3
ExtDiag(idx)%name = 'cseffr'
ExtDiag(idx)%desc = 'effective radius of stratiform cloud snow particle in um'
ExtDiag(idx)%unit = 'um'
ExtDiag(idx)%mod_name = 'gfs_phys'
allocate (ExtDiag(idx)%data(nblks))
do nb = 1,nblks
ExtDiag(idx)%data(nb)%var3 => Tbd(nb)%phy_f3d(:,:,Model%nseffr)
enddo
endif

!MYNN
if (Model%do_mynnedmf) then
Expand Down
2 changes: 1 addition & 1 deletion ccpp/physics

0 comments on commit 12a5441

Please sign in to comment.