diff --git a/data/processing/projection.py b/data/processing/projection.py index 7112d32..8e4f3ca 100644 --- a/data/processing/projection.py +++ b/data/processing/projection.py @@ -133,4 +133,5 @@ np.savetxt(out_root.joinpath("psize.dat"), psize[::-1], newline=" ") fig, ax = plt.subplots() ax.plot(-x, z, color="k") ax.fill_between(-x, z + hstru, z, color="k", alpha=0.2) +ax.set_title(f"N={z.size-1}, x=[{-x.max()};{-x.min()}]") fig.savefig(out_root.joinpath("bathy.pdf")) diff --git a/swash/config.ini b/swash/config.ini index 1a58cea..e4b8d3c 100644 --- a/swash/config.ini +++ b/swash/config.ini @@ -4,11 +4,11 @@ out=../data/out [swash] input=sws/SPEC_buoy.sws path=/data/code/swash -out=out/spec +out=out/spec_ot mpi=8 [post] -inp=inp_post/spec +inp=inp_post/spec_ot compare=inp_post_nb out=out_post #nperseg=1024 diff --git a/swash/sws/SPEC_buoy.sws b/swash/sws/SPEC_buoy.sws index 3ec0add..a127ccb 100644 --- a/swash/sws/SPEC_buoy.sws +++ b/swash/sws/SPEC_buoy.sws @@ -6,8 +6,8 @@ SET MAXERR 1 SET DEPMIN 0.001 MODE DYN ONED $************************ GRIDS *************************************** -CGRID REG -1450 0 0 1450 0 1450 0 -INPGRID BOT REG -1450 0 0 1450 0 1 0 $x0 y0 theta nx-1 ny-1 dx dy +CGRID REG -1450 0 0 1600 0 1600 0 +INPGRID BOT REG -1450 0 0 1600 0 1 0 $x0 y0 theta nx-1 ny-1 dx dy VERT 10 $nb couches READ BOTTOM -1 'bathy.dat' 3 0 FREE