From 0a8f235f317036dc91dd9e3fb7db59554dc28fbd Mon Sep 17 00:00:00 2001 From: Bas des Tombe Date: Thu, 27 Jul 2023 20:33:43 +0200 Subject: [PATCH] get_time_dim conflicts with the resample function of newer xarray versions --- src/dtscalibration/datastore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dtscalibration/datastore.py b/src/dtscalibration/datastore.py index fe403bd0..cec07a83 100644 --- a/src/dtscalibration/datastore.py +++ b/src/dtscalibration/datastore.py @@ -103,7 +103,7 @@ def __init__(self, *args, autofill_dim_attrs=True, **kwargs): ideal_dim.append('x') all_dim.pop(all_dim.index('x')) - time_dim = self.get_time_dim() + time_dim = "time" if time_dim: if time_dim in all_dim: ideal_dim.append(time_dim)