From b1cb110508c197e163e4f8fe772e91d33b6e296a Mon Sep 17 00:00:00 2001 From: Paul Garlick Date: Fri, 24 Jul 2020 13:00:29 +0100 Subject: python: makeBoundary: Re-name "maximum depth". * python/makeBoundary (plot_region): Use "water level". (format): Use "water level". --- python/makeBoundary | 8 ++++---- 1 file 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( -- cgit