Skip to content

Commit

Permalink
Round cloud-fractions to avoid McICA sampling error. In RRTMG as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinswales committed Dec 17, 2019
1 parent 5b02c9e commit 4d3515d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions physics/radlw_main.f
Original file line number Diff line number Diff line change
Expand Up @@ -1022,6 +1022,8 @@ subroutine rrtmg_lw_run &
& cldfmc, taucld &
& )
cldfmc = ceiling(cldfmc)
! --- ... save computed layer cloud optical depth for output
! rrtm band-7 is apprx 10mu channel (or use spectral mean of bands 6-8)
Expand Down
2 changes: 2 additions & 0 deletions physics/radsw_main.f
Original file line number Diff line number Diff line change
Expand Up @@ -1084,6 +1084,8 @@ subroutine rrtmg_sw_run &
! --- outputs:
& taucw, ssacw, asycw, cldfrc, cldfmc &
& )

cldfmc = ceiling(cldfmc)

! --- ... save computed layer cloud optical depth for output
! rrtm band 10 is approx to the 0.55 mu spectrum
Expand Down

0 comments on commit 4d3515d

Please sign in to comment.