1
Fork 0

Add mkdir to subdomain

This commit is contained in:
Edgar P. Burkhart 2022-03-28 17:37:08 +02:00
parent bda0615e6e
commit 59e33da9a6
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -35,6 +35,7 @@ log.debug(f"domain: {domain}")
inp_root = pathlib.Path(config.get("inp", "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_out = out_root.joinpath(config.get("out", "sub"))
log.info(f"Reading bathymetry from '{bathy_inp}'")