From ca5f3a4c6ca0877b80e5e81b350f21dbddc7f06e Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Thu, 3 Mar 2022 15:49:06 +0100 Subject: [PATCH] Fixed typo in sws_npz --- swash/processing/sws_npz.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swash/processing/sws_npz.py b/swash/processing/sws_npz.py index 24581b0..4768472 100644 --- a/swash/processing/sws_npz.py +++ b/swash/processing/sws_npz.py @@ -28,7 +28,7 @@ bathy = pd.read_hdf(data_out.joinpath("bathy.h5"), "bathy") n_x = bathy.index.size log.info(f"Reading swash output from '{sws_out}'") -botl_np = read_nohead_scalar(sws_out.joinpath("botl.dat"), n_x) +botl = read_nohead_scalar(sws_out.joinpath("botl.dat"), n_x) dep = np.maximum(0, read_nohead_scalar(sws_out.joinpath("dep.dat"), n_x)) vel = read_nohead_vect(sws_out.joinpath("vel.dat"), n_x)