Note
Function that reads a digital surf file and turns it into a mask
subroutine make_msk() !================================================================================================ !<@note Function that reads a digital surf file and turns it into a mask !< !<@endnote !------------------------------------------------------------------------------------------------ implicit none integer(kind=I4) :: w, h w = PARAM%width h = PARAM%height allocate(PARAM%surf_msk(1:w, 1:h)) PARAM%surf_msk(1:w, 1:h) = nint( PARAM%surf(1:w, 1:h) ) return endsubroutine make_msk