You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.
I have a notebook that relies on esmlab.resample() that dies with ValueError: Cannot assign to the .data attribute of dimension coordinate a.k.a IndexVariable 'time'.
Sorry, my fingers slipped and I managed to use keyboard shortcuts to hit "submit" before I was ready... but I updated the issue to finish including requested info.
time = time.assign_coords(cftime.date2num(
time, units=self.time_attrs['units'], calendar=self.time_attrs['calendar']
))
(The syntax may be off by a little bit, I've been using Dataset.assign_coords rather than DataArray.assign_coords to fix similar errors in my notebooks). I'll play with it tomorrow and report back.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
I have a notebook that relies on
esmlab.resample()
that dies withValueError: Cannot assign to the .data attribute of dimension coordinate a.k.a IndexVariable 'time'.
What I Did
Cell
[6]
from this notebook:resulted in
Output of
esmlab.show_versions()
The text was updated successfully, but these errors were encountered: