Fixed mkdir position in sws_npz
This commit is contained in:
parent
5e26d5de02
commit
e83c7507ff
1 changed files with 1 additions and 1 deletions
|
@ -22,6 +22,7 @@ config.read(args.config)
|
||||||
|
|
||||||
sws_out = pathlib.Path(config.get("swash", "out"))
|
sws_out = pathlib.Path(config.get("swash", "out"))
|
||||||
inp = pathlib.Path(config.get("post", "inp"))
|
inp = pathlib.Path(config.get("post", "inp"))
|
||||||
|
inp.mkdir(parents=True, exist_ok=True)
|
||||||
|
|
||||||
log.info(f"Reading swash output from '{sws_out}'")
|
log.info(f"Reading swash output from '{sws_out}'")
|
||||||
rsws = ReadSwash()
|
rsws = ReadSwash()
|
||||||
|
@ -39,7 +40,6 @@ var = {
|
||||||
"vz": rsws.read_scalar_lay,
|
"vz": rsws.read_scalar_lay,
|
||||||
}
|
}
|
||||||
|
|
||||||
inp.mkdir(parents=True, exist_ok=True)
|
|
||||||
with ThreadPool() as pool:
|
with ThreadPool() as pool:
|
||||||
log.info("Converting all data")
|
log.info("Converting all data")
|
||||||
pool.map(
|
pool.map(
|
||||||
|
|
Loading…
Reference in a new issue