1
Fork 0

Fixed typo in sws_npz

This commit is contained in:
Edgar P. Burkhart 2022-03-03 15:48:30 +01:00
parent 134b05e17a
commit c60251b541
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -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"))