1
Fork 0

Fixed np.savez_compressed

This commit is contained in:
Edgar P. Burkhart 2022-03-03 15:50:32 +01:00
parent ca5f3a4c6c
commit 948cb178de
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -32,6 +32,4 @@ botl = read_nohead_scalar(sws_out.joinpath("botl.dat"), n_x)
dep = np.maximum(0, read_nohead_scalar(sws_out.joinpath("dep.dat"), n_x)) 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) vel = read_nohead_vect(sws_out.joinpath("vel.dat"), n_x)
botl.savez_compressed(inp.joinpath("botl")) np.savez_compressed(inp.joinpath("sws"), botl=botl, dep=dep, vel=vel)
dep.savez_compressed(inp.joinpath("dep"))
vel.savez_compressed(inp.joinpath("vel"))