diff --git a/swash/processing/sws_npz.py b/swash/processing/sws_npz.py index 4768472..dc10174 100644 --- a/swash/processing/sws_npz.py +++ b/swash/processing/sws_npz.py @@ -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)) vel = read_nohead_vect(sws_out.joinpath("vel.dat"), n_x) -botl.savez_compressed(inp.joinpath("botl")) -dep.savez_compressed(inp.joinpath("dep")) -vel.savez_compressed(inp.joinpath("vel")) +np.savez_compressed(inp.joinpath("sws"), botl=botl, dep=dep, vel=vel)