Fixed typo in sws_npz
This commit is contained in:
parent
134b05e17a
commit
c60251b541
1 changed files with 2 additions and 2 deletions
|
@ -29,8 +29,8 @@ n_x = bathy.index.size
|
|||
|
||||
log.info(f"Reading swash output from '{sws_out}'")
|
||||
botl_np = read_nohead_scalar(sws_out.joinpath("botl.dat"), n_x)
|
||||
dep = np.maximum(0, read_nohead_scalar(sws_out.joinpath("dep.dat"), n))
|
||||
vel = read_nohead_vect(sws_out.joinpath("vel.dat"), n)
|
||||
dep = np.maximum(0, read_nohead_scalar(sws_out.joinpath("dep.dat"), n_x))
|
||||
vel = read_nohead_vect(sws_out.joinpath("vel.dat"), n_x)
|
||||
|
||||
botl.savez_compressed(inp.joinpath("botl"))
|
||||
dep.savez_compressed(inp.joinpath("dep"))
|
||||
|
|
Loading…
Reference in a new issue