From e428224864546c5cbba8afbef096a9b49b7884de Mon Sep 17 00:00:00 2001 From: "edward.safford" Date: Thu, 18 Apr 2024 19:55:42 +0000 Subject: [PATCH] Correct z_def range. --- src/eva/data/mon_data_space.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eva/data/mon_data_space.py b/src/eva/data/mon_data_space.py index 1f9f8e4c..a49dfff1 100644 --- a/src/eva/data/mon_data_space.py +++ b/src/eva/data/mon_data_space.py @@ -883,7 +883,7 @@ def get_dim_ranges(self, coords, dims, channo, datatypes): if dims['ydef'] > 0: y_range = channo if coords['ydef'] == 'Channel' else np.arange(1, dims['ydef']+1) - if dims['zdef'] > 1: + if dims['zdef'] > 0: z_range = np.arange(1, dims['zdef']+1) return x_range, y_range, z_range