Changed output directories
This commit is contained in:
parent
588318e4ce
commit
420b9cfd4f
5 changed files with 6 additions and 9 deletions
|
@ -62,8 +62,8 @@ log.info(
|
|||
f"n: {bathy.index.size}"
|
||||
)
|
||||
|
||||
if config.has_section("out"):
|
||||
out = pathlib.Path(config.get("out", "root"))
|
||||
if config.has_option("data", "out"):
|
||||
out = pathlib.Path(config.get("data", "out"))
|
||||
log.info(f"Writing output data to '{out}'")
|
||||
out.mkdir(exist_ok=True)
|
||||
np.savetxt(out.joinpath("bathy.dat"), bathy.z, newline=" ")
|
||||
|
|
Reference in a new issue