1
Fork 0

Fixed typo in sws_npz

This commit is contained in:
Edgar P. Burkhart 2022-03-03 15:48:01 +01:00
parent 5b0f05e9ec
commit 134b05e17a
Signed by: edpibu
GPG Key ID: 9833D3C5A25BD227
1 changed files with 3 additions and 3 deletions

View File

@ -28,9 +28,9 @@ bathy = pd.read_hdf(data_out.joinpath("bathy.h5"), "bathy")
n_x = bathy.index.size
log.info(f"Reading swash output from '{sws_out}'")
botl_np = read_nohead_scalar(root.joinpath("botl.dat"), n_x)
dep = np.maximum(0, read_nohead_scalar(root.joinpath("dep.dat"), n))
vel = read_nohead_vect(root.joinpath("vel.dat"), n)
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)
botl.savez_compressed(inp.joinpath("botl"))
dep.savez_compressed(inp.joinpath("dep"))