Update README, plot
This commit is contained in:
parent
d3358fa40d
commit
f6ac178e86
2 changed files with 19 additions and 7 deletions
|
|
@ -25,11 +25,6 @@ config.read(args.config)
|
|||
inp_root = pathlib.Path(config.get("inp", "root"))
|
||||
out_root = pathlib.Path(config.get("out", "root"))
|
||||
bathy_inp = out_root.joinpath(config.get("out", "sub"))
|
||||
hires_inp = inp_root.joinpath(config.get("inp", "hires"))
|
||||
hstru_inp = inp_root.joinpath(config.get("inp", "hstru"))
|
||||
poro_inp = inp_root.joinpath(config.get("inp", "poro"))
|
||||
psize_inp = inp_root.joinpath(config.get("inp", "psize"))
|
||||
bathy_out = inp_root.joinpath(config.get("out", "out"))
|
||||
|
||||
log.info(f"Loading bathymetry from {bathy_inp}")
|
||||
bathy_curvi = np.load(bathy_inp)
|
||||
|
|
@ -72,5 +67,5 @@ fig.colorbar(c, label="z (m)")
|
|||
ax.set_aspect("equal")
|
||||
ax.set_rasterization_zorder(1.5)
|
||||
|
||||
fig.savefig("bathy2d.pdf")
|
||||
fig.savefig(out_root.joinpath("bathy2d.pdf"))
|
||||
plt.show()
|
||||
|
|
|
|||
Reference in a new issue