-
when i use xarry to open a nc file, i meet ValueError: Failed to decode variable 'time': unable to decode time units 'days since 1800-1-1 00:00:00' with 'the default calendar'. Try opening your dataset with decode_times=False or installing cftime if it is not installed. my code is just xr.opendataset("").the question is yesterday it was ok, i dont change anything ,,today it is not work. I searched some actions to solve it ,such as decode_times= False, but i need to do groupby('time.dayofyear'),i dont work again. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is not easy to answer because we don't have enough information (and I'm also not an expert on this). Usually, if something works then stops working there's something that changed, either the data or the software. If you're using Can post the string representation of |
Beta Was this translation helpful? Give feedback.
thanks for your answer. i use decode_times=False and update pandas,i have solved this problem.thank you again