Skip to content

Commit

Permalink
Another simple but wrong mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
billsacks committed Sep 6, 2024
1 parent 8212f49 commit b570c6f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tools/mksurfdata_esmf/src/mksoiltexMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,11 @@ subroutine get_dominant_mapunit(dynamicMaskList, dynamicSrcMaskValue, dynamicDst

if (associated(dynamicMaskList)) then
do no = 1, size(dynamicMaskList)
dynamicMaskList(no)%dstElement = size(dynamicMaskList(no)%factor)
if (size(dynamicMaskList(no)%factor) > 0) then
dynamicMaskList(no)%factor = dynamicMaskList(no)%srcElement(1)
else
dynamicMaskList(no)%factor = -999
end if
end do
end if

Expand Down

0 comments on commit b570c6f

Please sign in to comment.