Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23218

Why does ZarrArraySource get an unexpected argument when loading data with intake in VSCode?

$
0
0

I am using data from an Earth Model System called nextGEMS, but when I try to load it in VSCode I get the following message:

TypeError: ZarrArraySource.__init__() got an unexpected keyword argument 'consolidated'

Here is the code I have used:

import intakeimport xarray as xrimport zarrcat = intake.open_catalog("https://data.nextgems-h2020.eu/catalog.yaml")data = cat.IFS['IFS_4.4-FESOM_5-cycle3']data2 = data['2D_1h_native'].to_dask()

And then I get the following: Error message

If I run the same code in JupyterNotebook everything works well.


Viewing all articles
Browse latest Browse all 23218

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>