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