Commit 1c254f43 authored by Georg Siemund's avatar Georg Siemund
Browse files

Upload New File

parent 9bdca3db
%% Cell type:code id: tags:
``` python
import zarr
import fsspec
import numpy as np
import pandas as pd
from contextlib import contextmanager
import pandas as pd
import intake
import time
import seaborn as sns
import dask
from matplotlib import pyplot as plt
from intake import open_catalog
```
%% Cell type:code id: tags:
``` python
cat = open_catalog("https://raw.githubusercontent.com/pangeo-data/pangeo-datastore/master/intake-catalogs/ocean/GFDL_CM2.6.yaml")
```
%% Cell type:code id: tags:
``` python
list(cat)
```
%%%% Output: execute_result
['GFDL_CM2_6_control_ocean',
'GFDL_CM2_6_control_ocean_surface',
'GFDL_CM2_6_control_ocean_3D',
'GFDL_CM2_6_control_ocean_transport',
'GFDL_CM2_6_control_ocean_boundary_flux',
'GFDL_CM2_6_control_ocean_budgets',
'GFDL_CM2_6_one_percent_ocean',
'GFDL_CM2_6_one_percent_ocean_surface',
'GFDL_CM2_6_one_percent_ocean_3D',
'GFDL_CM2_6_one_percent_ocean_transport',
'GFDL_CM2_6_one_percent_ocean_boundary_flux',
'GFDL_CM2_6_one_percent_ocean_budgets',
'GFDL_CM2_6_grid']
%% Cell type:code id: tags:
``` python
item = cat["GFDL_CM2_6_control_ocean"]
```
%%%% Output: error
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-6-25e7a114d769> in <module>
----> 1 item = cat["GFDL_CM2_6_control_ocean"]
/work/bk1088/b381359/kernels/zarr_test/lib/python3.7/site-packages/intake/catalog/base.py in __getitem__(self, key)
385 e._catalog = self
386 e._pmode = self.pmode
--> 387 return e()
388 if isinstance(key, str) and '.' in key:
389 key = key.split('.')
/work/bk1088/b381359/kernels/zarr_test/lib/python3.7/site-packages/intake/catalog/entry.py in __call__(self, persist, **kwargs)
75 raise ValueError('Persist value (%s) not understood' % persist)
76 persist = persist or self._pmode
---> 77 s = self.get(**kwargs)
78 if persist != 'never' and s.has_been_persisted:
79 from ..container.persist import store
/work/bk1088/b381359/kernels/zarr_test/lib/python3.7/site-packages/intake/catalog/local.py in get(self, **user_parameters)
278 def get(self, **user_parameters):
279 """Instantiate the DataSource for the given parameters"""
--> 280 plugin, open_args = self._create_open_args(user_parameters)
281 data_source = plugin(**open_args)
282 data_source.catalog_object = self._catalog
/work/bk1088/b381359/kernels/zarr_test/lib/python3.7/site-packages/intake/catalog/local.py in _create_open_args(self, user_parameters)
259 'at https://intake.readthedocs.io/en/latest/plugin'
260 '-directory.html .'
--> 261 % self._driver)
262 elif isinstance(self._plugin, list):
263 plugin = self._plugin[0]
ValueError: No plugins loaded for this entry: zarr
A listing of installable plugins can be found at https://intake.readthedocs.io/en/latest/plugin-directory.html .
%% Cell type:code id: tags:
``` python
```
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment