diff options
-rwxr-xr-x | makeBoundary.py | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/makeBoundary.py b/makeBoundary.py index ad0478a..646af68 100755 --- a/makeBoundary.py +++ b/makeBoundary.py @@ -110,18 +110,15 @@ for p in range(num_panels): # print(zregion) # print(xin[12:20]) -# minimum height in channel: -zmin = zregion[channel].min() -# overtopping height (minimum of left bank and right bank heights): -zmax = min(zregion[channel][0], zregion[channel][-1]) - ztol - -zmax_west = zmax -zmax_east = zmax +zmin = [] +for p in range(num_panels): + # identify minimum heights within each panel: + zmin.append(zregion[p].min()) -zmin_west = zregion_west.min() -zmin_east = zregion_east.min() +print(zmin[1]) -print(zmin_east) +# overtopping height (minimum of left bank and right bank heights): +zmax = min(zregion[channel][0], zregion[channel][-1]) - ztol numH = 50 # number of height intervals |