Skip to content

Commit

Permalink
Merge remote-tracking branch 'matt/Icepack' into dev/esmg
Browse files Browse the repository at this point in the history
  • Loading branch information
kshedstrom committed Mar 17, 2021
2 parents b662f69 + 184036d commit 12432e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 2 additions & 0 deletions src/SIS_transport.F90
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,8 @@ subroutine finish_ice_transport(CAS, IST, TrReg, G, US, IG, dt, CS, rdg_rate)
if (CS%do_ridging) then
! Compress the ice using the ridging scheme taken from the CICE-Icepack module
call ice_ridging(IST, G, IG, CAS%m_ice, CAS%m_snow, CAS%m_pond, TrReg, US, dt, IST%rdg_rate)
! Clean up any residuals
call compress_ice(IST%part_size, IST%mH_ice, IST%mH_snow, IST%mH_pond, TrReg, G, US, IG, CS, CAS)
else

! Compress the ice where the fractional coverage exceeds 1, starting with the
Expand Down
5 changes: 0 additions & 5 deletions src/ice_ridge.F90
Original file line number Diff line number Diff line change
Expand Up @@ -444,11 +444,6 @@ subroutine ice_ridging(IST, G, IG, mca_ice, mca_snow, mca_pond, TrReg, US, dt, r

endif ! have tracers to unload

if (sum(aicen(1:nCat))>1.0) then
call SIS_error(WARNING,'Ice cover exceeds 1 after call to ice ridge. Renormalizing.')
aicen(1:ncat)=aicen(1:ncat)/sum(aicen(1:ncat))
endif

! ! output: snow/ice masses/thicknesses
do k=1,nCat

Expand Down

0 comments on commit 12432e3

Please sign in to comment.