diff options
Diffstat (limited to 'python')
| -rwxr-xr-x | python/makeBoundary | 8 | 
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( | 
