mkdir in sws_npz
This commit is contained in:
parent
948cb178de
commit
bb4981ebf7
2 changed files with 1 additions and 100 deletions
|
@ -32,4 +32,5 @@ 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)
|
||||
|
||||
inp.mkdir(exist_ok=True)
|
||||
np.savez_compressed(inp.joinpath("sws"), botl=botl, dep=dep, vel=vel)
|
||||
|
|
Reference in a new issue