From 038937b46b231b1ce4869b14db6c72b61fdc3b04 Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Tue, 15 Mar 2022 10:29:55 +0100 Subject: [PATCH] Add other useful variables to sws_npz --- swash/processing/sws_npz.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/swash/processing/sws_npz.py b/swash/processing/sws_npz.py index 815d138..7211bb5 100644 --- a/swash/processing/sws_npz.py +++ b/swash/processing/sws_npz.py @@ -35,6 +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 'zk'") +rsws.read_scalar_lay(sws_out.joinpath("zk.dat")) +log.info("Reading 'velk'") +rsws.read_vector_lay(sws_out.joinpath("zk.dat")) log.info(f"Writing npz file in '{inp}'") inp.mkdir(exist_ok=True)