Skip to content

Commit

Permalink
fix wflow_prepare.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
verseve committed Jun 21, 2022
1 parent d1194d5 commit 9ddf6ec
Show file tree
Hide file tree
Showing 3 changed files with 267 additions and 138 deletions.
Binary file added notebooks/wflow_gauges.map
Binary file not shown.
397 changes: 263 additions & 134 deletions notebooks/wflow_prepare.ipynb

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions wflow/wflow_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,13 @@ def lddcreate_save(
if os.path.exists(lddname) and not force:
if Verbose:
print(("Returning existing ldd", lddname))
return pcr.readmap(lddname)
return pcr.readmap(lddname)
else:
if Verbose:
print(("Creating ldd", lddname))
LDD = pcr.lddcreate(dem, 10.0e35, outflowdepth, 10.0e35, 10.0e35)
pcr.report(LDD, lddname)
return LDD
LDD = pcr.lddcreate(dem, 10.0e35, outflowdepth, 10.0e35, 10.0e35)
pcr.report(LDD, lddname)
return LDD


def configget(config, section, var, default):
Expand Down

0 comments on commit 9ddf6ec

Please sign in to comment.