ValueError: unrecognized engine zarr must be one of: [‘scipy‘, ‘store‘] 使用zarr以及xarray报错

 x = xr.open_zarr(data_name, consolidated=True)

在运行上述代码打开数据时遇到了报错……ValueError: unrecognized engine zarr must be one of: [‘scipy‘, ‘store‘] 使用zarr以及xarray报错_第1张图片

ValueError: unrecognized engine zarr must be one of: [‘scipy‘, ‘store‘] 使用zarr以及xarray报错_第2张图片

 查看了很多文章发现按照以下步骤将报错解决了!!!!

如果没有安装zarr包则 pip install zarr  安装包

实在不行就试试:pip install xarray[complete]

参考文章: ValueError: unrecognized engine zarr must be one of: ['netcdf4', 'scipy', 'store'] · Issue #5395 · pydata/xarray · GitHub  

你可能感兴趣的:(前端,开发语言,python)