From 3a14639017881e3ab2e5abe8b22b66d66aa949cc Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Fri, 4 Mar 2022 10:25:05 +0100 Subject: [PATCH] Added progress info to sws_npz --- swash/processing/sws_npz.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/swash/processing/sws_npz.py b/swash/processing/sws_npz.py index 077b045..fd6328f 100644 --- a/swash/processing/sws_npz.py +++ b/swash/processing/sws_npz.py @@ -26,16 +26,27 @@ rsws = ReadSwash() rsws.read_time(sws_out.joinpath("tsec.dat")) rsws.read_x(sws_out.joinpath("xp.dat")) +log.info("Reading 'dep'") rsws.read_scalar(sws_out.joinpath("dep.dat")) +log.info("Reading 'botl'") rsws.read_scalar(sws_out.joinpath("botl.dat")) +log.info("Reading 'watl'") rsws.read_scalar(sws_out.joinpath("watl.dat")) +log.info("Reading 'press'") rsws.read_scalar(sws_out.joinpath("press.dat")) +log.info("Reading 'disch'") rsws.read_vector(sws_out.joinpath("disch.dat")) +log.info("Reading 'ustar'") rsws.read_scalar(sws_out.joinpath("ustar.dat")) +log.info("Reading 'vel'") rsws.read_vector(sws_out.joinpath("vel.dat")) +log.info("Reading 'vz'") rsws.read_scalar_lay(sws_out.joinpath("vz.dat")) +log.info("Reading 'velk'") rsws.read_vector_lay(sws_out.joinpath("velk.dat")) +log.info("Reading 'zk'") rsws.read_scalar_lay(sws_out.joinpath("zk.dat")) +log.info("Reading 'brkp'") rsws.read_scalar(sws_out.joinpath("brkp.dat")) log.info(f"Writing npz file in '{inp}'")