Skip to content

Commit

Permalink
Merge pull request #259 from Deltares/fix_initialize_lake
Browse files Browse the repository at this point in the history
fix initialize lake function name
  • Loading branch information
verseve authored May 10, 2023
2 parents 3bdad55 + 5c2d8df commit 6f3b26b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ UnPack = "3a884ed6-31ef-47d7-9d2a-63182c4928ed"
[compat]
BasicModelInterface = "0.1"
CFTime = "0.1"
DelimitedFiles = "1.6"
FieldMetadata = "0.3"
Glob = "1.3"
Graphs = "1.4"
Expand Down
2 changes: 1 addition & 1 deletion src/flextopo_model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ function initialize_flextopo_model(config::Config)
# lakes
if do_lakes
lakes, lakeindex, lake, pits =
initialize_natural_lake(config, nc, inds_riv, nriv, pits, tosecond(Δt))
initialize_lake(config, nc, inds_riv, nriv, pits, tosecond(Δt))
else
lake = ()
lakes = nothing
Expand Down
2 changes: 1 addition & 1 deletion src/hbv_model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ function initialize_hbv_model(config::Config)
# lakes
if do_lakes
lakes, lakeindex, lake, pits =
initialize_natural_lake(config, nc, inds_riv, nriv, pits, tosecond(Δt))
initialize_lake(config, nc, inds_riv, nriv, pits, tosecond(Δt))
else
lake = ()
lakes = nothing
Expand Down
2 changes: 1 addition & 1 deletion src/sbm_gwf_model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function initialize_sbm_gwf_model(config::Config)
# lakes
if do_lakes
lakes, lakeindex, lake, pits =
initialize_natural_lake(config, nc, inds_riv, nriv, pits, tosecond(Δt))
initialize_lake(config, nc, inds_riv, nriv, pits, tosecond(Δt))
else
lake = ()
lakes = nothing
Expand Down
2 changes: 1 addition & 1 deletion src/sbm_model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function initialize_sbm_model(config::Config)
# lakes
if do_lakes
lakes, lakeindex, lake, pits =
initialize_natural_lake(config, nc, inds_riv, nriv, pits, tosecond(Δt))
initialize_lake(config, nc, inds_riv, nriv, pits, tosecond(Δt))
else
lake = ()
lakes = nothing
Expand Down

0 comments on commit 6f3b26b

Please sign in to comment.