Add mkdir to subdomain
This commit is contained in:
parent
bda0615e6e
commit
59e33da9a6
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ log.debug(f"domain: {domain}")
|
||||||
|
|
||||||
inp_root = pathlib.Path(config.get("inp", "root"))
|
inp_root = pathlib.Path(config.get("inp", "root"))
|
||||||
out_root = pathlib.Path(config.get("out", "root"))
|
out_root = pathlib.Path(config.get("out", "root"))
|
||||||
|
out_root.mkdir(exist_ok=True)
|
||||||
bathy_inp = inp_root.joinpath(config.get("inp", "base"))
|
bathy_inp = inp_root.joinpath(config.get("inp", "base"))
|
||||||
bathy_out = out_root.joinpath(config.get("out", "sub"))
|
bathy_out = out_root.joinpath(config.get("out", "sub"))
|
||||||
log.info(f"Reading bathymetry from '{bathy_inp}'")
|
log.info(f"Reading bathymetry from '{bathy_inp}'")
|
||||||
|
|
Loading…
Reference in a new issue