Skip to content

Commit

Permalink
get_time_dim conflicts with the resample function of newer xarray ver…
Browse files Browse the repository at this point in the history
…sions
  • Loading branch information
bdestombe committed Jul 27, 2023
1 parent 0c14a60 commit 0a8f235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dtscalibration/datastore.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0a8f235

Please sign in to comment.