Change config
This commit is contained in:
parent
f896168071
commit
a94c68d414
3 changed files with 22 additions and 12 deletions
|
@ -33,8 +33,10 @@ domain[0] -= 0.002
|
|||
domain[1] += 0.002
|
||||
log.debug(f"domain: {domain}")
|
||||
|
||||
bathy_inp = pathlib.Path(config.get("bathy", "inp"))
|
||||
bathy_out = pathlib.Path(config.get("bathy", "sub"))
|
||||
inp_root = pathlib.Path(config.get("inp", "root"))
|
||||
out_root = pathlib.Path(config.get("out", "root"))
|
||||
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}'")
|
||||
raw_bathy = np.genfromtxt(bathy_inp)
|
||||
log.debug(f"Initial size: {raw_bathy.shape}")
|
||||
|
|
Reference in a new issue