Update README, plot

This commit is contained in:
Edgar P. Burkhart 2022-07-06 08:26:45 +02:00
parent d3358fa40d
commit f6ac178e86
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
2 changed files with 19 additions and 7 deletions

View file

@ -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()