From a9d6d39caa8143ef7c180aa9408c30092487f7ee Mon Sep 17 00:00:00 2001 From: Nicoletta Farabullini <41536517+nfarabullini@users.noreply.github.com> Date: Thu, 12 Dec 2024 16:28:59 +0100 Subject: [PATCH] small cleanup --- model/common/src/icon4py/model/common/io/writers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/model/common/src/icon4py/model/common/io/writers.py b/model/common/src/icon4py/model/common/io/writers.py index e96fb31868..8400ac6b2b 100644 --- a/model/common/src/icon4py/model/common/io/writers.py +++ b/model/common/src/icon4py/model/common/io/writers.py @@ -121,6 +121,7 @@ def initialize_dataset(self) -> None: icon4py.model.common.states.metadata.INTERFACE_LEVEL_STANDARD_NAME ) interface_levels[:] = np.arange(self.num_levels + 1, dtype=np.int32) + heights = self.dataset.createVariable("height", np.float64, (MODEL_INTERFACE_LEVEL,)) heights.units = "m" heights.positive = "up"