Skip to content

Commit

Permalink
Merge pull request #1 from climbfuji/gcycle_tanya_update_from_dom_1
Browse files Browse the repository at this point in the history
Gcycle tanya update from dom 1
  • Loading branch information
tanyasmirnova committed Sep 2, 2020
2 parents 361cc15 + 922c05f commit 7669914
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion physics/rte-rrtmgp
26 changes: 14 additions & 12 deletions physics/sfcsub.F
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,20 @@ module sfccyc_module
integer :: veg_type_landice
integer :: soil_type_landice
!
!
contains

function message(prefix,index)
implicit none
character(len=*), intent(in) :: prefix
integer, intent(in) :: index
character(len=10) :: message
!
! probably need to implement a check that len(prefix) + '-' + length of
! string representation of index <= len(message)
write(message,fmt='(a,a,i0)') trim(prefix), '-', index
end function message

end module sfccyc_module

!>\ingroup mod_GFS_phys_time_vary
Expand Down Expand Up @@ -8608,16 +8622,4 @@ subroutine snodpth2(glacir,snwmax,snoanl, len, me)
return
end

!>\ingroup mod_sfcsub
function message(prefix,index)
implicit none
character(len=*), intent(in) :: prefix
integer, intent(in) :: index
character(len=10) :: message
!
! probably need to implement a check that len(prefix) + '-' + length of
! string representation of index <= len(message)
write(message,fmt='(a,a,i0)') trim(prefix), '-', index
end function message

!>@}

0 comments on commit 7669914

Please sign in to comment.