Skip to content

Commit

Permalink
Merge singhbalwinder/atm/v2compset' (PR #2789)
Browse files Browse the repository at this point in the history
Implements remaining changes for gustiness feature for EAMv2

Remerged following an update to fix NFBF due to changes in camsrfexch.F90

[BFB]
  • Loading branch information
wlin7 committed Mar 13, 2019
2 parents 0630487 + 751d2f5 commit 78b1396
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/cam/src/control/camsrfexch.F90
Original file line number Diff line number Diff line change
Expand Up @@ -472,8 +472,8 @@ subroutine cam_export(state,cam_out,pbuf)
cam_out%tbot(i) = state%t(i,pver)
cam_out%thbot(i) = state%t(i,pver) * state%exner(i,pver)
cam_out%zbot(i) = state%zm(i,pver)
cam_out%ubot(i) = state%u(i,pver) * (vmag_gust(i)+vmag(i))/vmag(i)
cam_out%vbot(i) = state%v(i,pver) * (vmag_gust(i)+vmag(i))/vmag(i)
cam_out%ubot(i) = state%u(i,pver) * ((vmag_gust(i)+vmag(i))/vmag(i))
cam_out%vbot(i) = state%v(i,pver) * ((vmag_gust(i)+vmag(i))/vmag(i))
cam_out%pbot(i) = state%pmid(i,pver)
cam_out%rho(i) = cam_out%pbot(i)/(rair*cam_out%tbot(i))
psm1(i,lchnk) = state%ps(i)
Expand Down

0 comments on commit 78b1396

Please sign in to comment.