From a187a7fbe3b4bc39e4f34f7ef045458447cb0314 Mon Sep 17 00:00:00 2001 From: j-emils <83228835+j-emils@users.noreply.github.com> Date: Thu, 2 Oct 2025 14:43:07 +0200 Subject: [PATCH] Set is_scale to True for time in dsres.py When loading results from dymola or openmodelica in the .mat format the time variable should be set as a scale. --- src/sdf/dsres.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sdf/dsres.py b/src/sdf/dsres.py index 93b88ca..8f78783 100644 --- a/src/sdf/dsres.py +++ b/src/sdf/dsres.py @@ -147,6 +147,7 @@ def _load_mat(filename: str) -> Group: unit=unit, display_unit=display_unit, data=data, + is_scale=True, ) ds_time = ds elif d == 1: