Skip to content

Commit

Permalink
Merge branch 'NOAA-EMC:develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
DeniseWorthen authored Mar 12, 2024
2 parents 4596682 + 062f795 commit 4c6659e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
24 changes: 13 additions & 11 deletions ccpp/driver/GFS_diagnostics.F90
Original file line number Diff line number Diff line change
Expand Up @@ -4094,17 +4094,19 @@ subroutine GFS_externaldiag_populate (ExtDiag, Model, Statein, Stateout, Sfcprop
ExtDiag(idx)%data(nb)%var2 => sfcprop(nb)%vfrac(:)
enddo

idx = idx + 1
ExtDiag(idx)%axes = 2
ExtDiag(idx)%name = 'wetness'
ExtDiag(idx)%desc = 'soil moisture availability in top soil layer'
ExtDiag(idx)%unit = 'fraction'
ExtDiag(idx)%mod_name = 'gfs_sfc'
ExtDiag(idx)%cnvfac = cn_100
allocate (ExtDiag(idx)%data(nblks))
do nb = 1,nblks
ExtDiag(idx)%data(nb)%var2 => sfcprop(nb)%wetness(:)
enddo
if (Model%lsm==Model%lsm_ruc) then
idx = idx + 1
ExtDiag(idx)%axes = 2
ExtDiag(idx)%name = 'wetness'
ExtDiag(idx)%desc = 'soil moisture availability in top soil layer'
ExtDiag(idx)%unit = 'fraction'
ExtDiag(idx)%mod_name = 'gfs_sfc'
ExtDiag(idx)%cnvfac = cn_100
allocate (ExtDiag(idx)%data(nblks))
do nb = 1,nblks
ExtDiag(idx)%data(nb)%var2 => sfcprop(nb)%wetness(:)
enddo
end if

idx = idx + 1
ExtDiag(idx)%axes = 2
Expand Down
2 changes: 1 addition & 1 deletion ccpp/framework

0 comments on commit 4c6659e

Please sign in to comment.