From aac1d54f6e292f61a375b8f2dfe777c19f39cf48 Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Mon, 14 Mar 2022 14:16:25 +0100 Subject: [PATCH] Switched side --- data/processing/projection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/processing/projection.py b/data/processing/projection.py index a172385..746862f 100644 --- a/data/processing/projection.py +++ b/data/processing/projection.py @@ -98,7 +98,7 @@ z[flt_x] = interpolate.griddata( (x[flt_x] - x[z_crossing] + bathy_hires[hires_crossing, 0]), ) -np.savetxt(out_root.joinpath("bathy.dat"), z, newline=" ") +np.savetxt(out_root.joinpath("bathy.dat"), z[::-1], newline=" ") np.savetxt(out_root.joinpath("hstru.dat"), np.zeros(z.shape), newline=" ") np.savetxt(out_root.joinpath("poro.dat"), np.zeros(z.shape), newline=" ") np.savetxt(out_root.joinpath("psize.dat"), np.zeros(z.shape), newline=" ")