1
Fork 0

Fixed mkdir position in sws_npz

This commit is contained in:
Edgar P. Burkhart 2022-03-29 10:52:42 +02:00
parent 5e26d5de02
commit e83c7507ff
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -22,6 +22,7 @@ config.read(args.config)
sws_out = pathlib.Path(config.get("swash", "out"))
inp = pathlib.Path(config.get("post", "inp"))
inp.mkdir(parents=True, exist_ok=True)
log.info(f"Reading swash output from '{sws_out}'")
rsws = ReadSwash()
@ -39,7 +40,6 @@ var = {
"vz": rsws.read_scalar_lay,
}
inp.mkdir(parents=True, exist_ok=True)
with ThreadPool() as pool:
log.info("Converting all data")
pool.map(