diff --git a/swash/config-nb.ini b/swash/config-nb.ini index 11f2cc2..33812d4 100644 --- a/swash/config-nb.ini +++ b/swash/config-nb.ini @@ -8,7 +8,7 @@ out=out/spec_nb mpi=8 [post] -inp=inp_post +inp=inp_post/spec_nb compare=inp_post_nb out=out_post #nperseg=1024 diff --git a/swash/config.ini b/swash/config.ini index 9bf00a7..b7947c4 100644 --- a/swash/config.ini +++ b/swash/config.ini @@ -8,7 +8,7 @@ out=out/spec mpi=8 [post] -inp=inp_post +inp=inp_post/spec compare=inp_post_nb out=out_post #nperseg=1024 diff --git a/swash/processing/sws_npz.py b/swash/processing/sws_npz.py index 3c971ab..516e3a5 100644 --- a/swash/processing/sws_npz.py +++ b/swash/processing/sws_npz.py @@ -39,7 +39,7 @@ var = { "vz": rsws.read_scalar_lay, } -inp.mkdir(exist_ok=True) +inp.mkdir(parents=True, exist_ok=True) with ThreadPool() as pool: log.info("Converting all data") pool.map(