Skip to content

Commit

Permalink
fix logging formatting lake csv files
Browse files Browse the repository at this point in the history
  • Loading branch information
JoostBuitink committed Nov 6, 2023
1 parent ca218b7 commit 87646bd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/reservoir_lake.jl
Original file line number Diff line number Diff line change
Expand Up @@ -376,14 +376,16 @@ function initialize_lake(config, nc, inds_riv, nriv, pits, Δt)
if lake_storfunc[i] == 2
csv_path = joinpath(path, "lake_sh_$lakeloc.csv")
@info(
"read a storage curve from CSV file $csv_path, for lake location $lakeloc"
"Read a storage curve from CSV file `$csv_path`, for lake location `$lakeloc`"
)
sh[i] = read_sh_csv(csv_path)
end

if lake_outflowfunc[i] == 1
csv_path = joinpath(path, "lake_hq_$lakeloc.csv")
@info("read a rating curve from CSV file $csv_path, for lake location $lakeloc")
@info(
"Read a rating curve from CSV file `$csv_path`, for lake location `$lakeloc`"
)
hq[i] = read_hq_csv(csv_path)
end

Expand Down

0 comments on commit 87646bd

Please sign in to comment.