| 
 
	积分41831贡献 精华在线时间 小时注册时间2019-5-13最后登录1970-1-1 
 | 
 
| 
本帖最后由 一大碗年糕 于 2022-4-11 11:20 编辑
x
登录后查看更多精彩内容~您需要 登录 才可以下载或查看,没有帐号?立即注册 
  
 之前用xr.concat的时候有时候会出现maximum recursion depth exceeded报错,设置sys.setrecursionlimit()也没用,一直没弄明白啥原因,今天一查发现是和concat的不同模式的混合日期索引有关有关,简单解决办法读入的时候decode_times=False,然后重新赋值成统一的日期格式。附上链接:https://github.com/pydata/xarray/issues/3666
 
 This suggests that the RecursionError in [color=var(--color-fg-default)]@keewis example is a result of trying to concatenate datasets with mixed DatetimeIndex & CFTimeIndex indexes.
 
 
 | 
 |