Skip to content

Commit

Permalink
hydroTerrestrialMarginMask >= sea level
Browse files Browse the repository at this point in the history
Redfines hydroTerrestiralMarineMargin to AT or above sea level, whereas
hydroMarineMarginMask is exclusively below sea level.
  • Loading branch information
alexolinhager authored and matthewhoffman committed Feb 12, 2024
1 parent 4e72eaa commit 9358f6a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2227,10 +2227,10 @@ subroutine calc_hydro_mask(domain)
cell2 = cellsOnEdge(2, iEdge)
!Look for edges with 1 cell on grounding ice and the other cell on land without ice
if ((li_mask_is_grounded_ice(cellMask(cell1))) .and. ( .not. li_mask_is_ice(cellMask(cell2))) &
.and. (bedTopography(cell2) > config_sea_level)) then
.and. (bedTopography(cell2) >= config_sea_level)) then
hydroTerrestrialMarginMask(iEdge) = 1
elseif ((li_mask_is_grounded_ice(cellMask(cell2))) .and. ( .not. li_mask_is_ice(cellMask(cell1))) &
.and. (bedTopography(cell1) > config_sea_level)) then
.and. (bedTopography(cell1) >= config_sea_level)) then
hydroTerrestrialMarginMask(iEdge) = 1
endif
enddo
Expand Down

0 comments on commit 9358f6a

Please sign in to comment.