From 91c17ce00f174c1b27a69db3b33fdeca6e82dec8 Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Tue, 15 Mar 2022 10:31:18 +0100 Subject: [PATCH] Fixed typo (pres, velk) --- swash/processing/sws_npz.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/swash/processing/sws_npz.py b/swash/processing/sws_npz.py index 7211bb5..0e12d5d 100644 --- a/swash/processing/sws_npz.py +++ b/swash/processing/sws_npz.py @@ -35,12 +35,12 @@ log.info("Reading 'watl'") rsws.read_scalar(sws_out.joinpath("watl.dat")) log.info("Reading 'vel'") rsws.read_vector(sws_out.joinpath("vel.dat")) -log.info("Reading 'pres'") -rsws.read_scalar(sws_out.joinpath("pres.dat")) +log.info("Reading 'press'") +rsws.read_scalar(sws_out.joinpath("press.dat")) log.info("Reading 'zk'") rsws.read_scalar_lay(sws_out.joinpath("zk.dat")) log.info("Reading 'velk'") -rsws.read_vector_lay(sws_out.joinpath("zk.dat")) +rsws.read_vector_lay(sws_out.joinpath("velk.dat")) log.info(f"Writing npz file in '{inp}'") inp.mkdir(exist_ok=True)