diff options
author | Paul Garlick <pgarlick@tourbillion-technology.com> | 2019-10-28 15:48:51 +0000 |
---|---|---|
committer | Paul Garlick <pgarlick@tourbillion-technology.com> | 2019-10-28 15:49:25 +0000 |
commit | fb59407634f902083cff17b5af3363f7dc5b3786 (patch) | |
tree | eb91e178acde914a6f81eeb63b599ab3b872a2b8 /makeBoundary | |
parent | 463c62ab14d2fd094871e53186fb78b05792ad2a (diff) | |
download | fullSWOF-utils-fb59407634f902083cff17b5af3363f7dc5b3786.tar.gz |
use symbolic link to point to topography file instead of variable.
Diffstat (limited to 'makeBoundary')
-rwxr-xr-x | makeBoundary | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/makeBoundary b/makeBoundary index 6695404..cb27fd7 100755 --- a/makeBoundary +++ b/makeBoundary @@ -142,7 +142,6 @@ n_co = definition_dict["n_co"] # Manning's 'n' coefficients # TODO: use weighted mean 'n' values. See # http://help.floodmodeller.com/isis/ISIS/River_Section.htm (Eq. 4) # Note: weighted mean calculation requires roughness map. -height_data = definition_dict["height_data"] # topography markers = definition_dict["markers"] # distances from corner point panel = definition_dict["panel"] # panel fill order ztol = definition_dict["ztol"] # tolerance in overtopping height @@ -159,7 +158,7 @@ numH = definition_dict["numH"] # number of height intervals # print('gradient =', m, 'intercept =', c) # read topography: -with open(height_data, "r") as topo: +with open("./topography.txt", "r") as topo: xtp, ytp, ztp = np.loadtxt(topo, delimiter=' ', unpack=True) |