Skip to content

Commit

Permalink
Allow lakes off for Gridded
Browse files Browse the repository at this point in the history
  • Loading branch information
rcabell committed Jan 8, 2025
1 parent b1841e1 commit deed24b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Routing/module_RT.F90
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ subroutine getChanDim(did)

return

endif
endif


allocate(CH_NETLNK(ixrt,jxrt))
Expand All @@ -589,6 +589,11 @@ subroutine getChanDim(did)
call get_NLINKSL(rt_domain(did)%NLINKSL, nlst(did)%channel_option, nlst(did)%route_link_f)
#endif

if (nlst(did)%lake_option == 0) then
write(6,*) "Lakes have been disabled -- NLAKES will be set to zero."
rt_domain(did)%nlakes = 0
end if

#ifdef HYDRO_D
write(6,*) "before rt_allocate after READ_ROUTEDIM"
#endif
Expand Down

0 comments on commit deed24b

Please sign in to comment.