aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPaul Garlick <pgarlick@tourbillion-technology.com>2020-07-24 13:00:29 +0100
committerPaul Garlick <pgarlick@tourbillion-technology.com>2020-07-24 13:00:29 +0100
commitb1cb110508c197e163e4f8fe772e91d33b6e296a (patch)
treed37ccf765df535d09ba8ba96bc3accd076e7b7c5 /python
parent77c3871333498d4e969b045493682dc747e7e5a1 (diff)
downloadfullSWOF-utils-b1cb110508c197e163e4f8fe772e91d33b6e296a.tar.gz
python: makeBoundary: Re-name "maximum depth".
* python/makeBoundary (plot_region): Use "water level". (format): Use "water level".
Diffstat (limited to 'python')
-rwxr-xr-xpython/makeBoundary8
1 files changed, 4 insertions, 4 deletions
diff --git a/python/makeBoundary b/python/makeBoundary
index f2f8840..b960343 100755
--- a/python/makeBoundary
+++ b/python/makeBoundary
@@ -271,7 +271,7 @@ for p in range(num_panels):
zmax)
if plotting:
plot_region(
- h_i[p]-zmin[p], 'maximum depth / m',
+ h_i[p]-zmin[p], 'water level / m',
r_h[p], 'hydraulic radius / m',
K_i[p], r'conveyance / $m^3/s$',
Q_i[p], r'discharge / $m^3/s$',
@@ -279,10 +279,10 @@ for p in range(num_panels):
if printing:
ratingCurveFileName = 'panel{}_{}.dat'.format(p,args.location)
with open(ratingCurveFileName, 'w') as f:
- f.write('{:16} {:18} {:12} {:10}\n'.format(
- '#maximum depth', 'hydraulic radius',
+ f.write('{:14} {:18} {:12} {:10}\n'.format(
+ '#water level', 'hydraulic radius',
'conveyance', 'discharge'))
- f.write('{:16} {:18} {:12} {:10}\n'.format(
+ f.write('{:14} {:18} {:12} {:10}\n'.format(
'#/ m', '/ m', '/ m^3/s', '/ m^3/s'))
for h in range(numH):
f.write('{:7.6f} {:16.6f} {:19.6f} {:11.6f}\n'.format(