-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue on page /index.html #107
Comments
Based on other issues, I reinstalled intake==0.7.0, intake-xarray==0.7.0 and zarr==2.12.0. DEBUG:fsspec.http:Retrieve file size for https://mastapp.site/intake/level1.yml But compatible version of zarr is reinstalled. Any solutions? |
Hi, I tried to use tutorial to "open and plot a shot" with debugging on.
"import matplotlib.pyplot as plt
dataset = catalog.level1.sources(url="s3://mast/level1/shots/30420.zarr/amc").to_dask()
plt.plot(dataset['time'], dataset['plasma_current'])"
and I get the following error. Would you kindly help me with a solution?
DEBUG:numcodecs:Registering codec 'zlib'
DEBUG:numcodecs:Registering codec 'gzip'
DEBUG:numcodecs:Registering codec 'bz2'
DEBUG:numcodecs:Registering codec 'lzma'
DEBUG:numcodecs:Registering codec 'blosc'
DEBUG:numcodecs:Registering codec 'zstd'
DEBUG:numcodecs:Registering codec 'lz4'
DEBUG:numcodecs:Registering codec 'astype'
DEBUG:numcodecs:Registering codec 'delta'
DEBUG:numcodecs:Registering codec 'quantize'
DEBUG:numcodecs:Registering codec 'fixedscaleoffset'
DEBUG:numcodecs:Registering codec 'packbits'
DEBUG:numcodecs:Registering codec 'categorize'
DEBUG:numcodecs:Registering codec 'pickle'
DEBUG:numcodecs:Registering codec 'base64'
DEBUG:numcodecs:Registering codec 'shuffle'
DEBUG:numcodecs:Registering codec 'bitround'
DEBUG:numcodecs:Registering codec 'crc32'
DEBUG:numcodecs:Registering codec 'adler32'
DEBUG:numcodecs:Registering codec 'jenkins_lookup3'
DEBUG:numcodecs:Registering codec 'json2'
DEBUG:numcodecs:Registering codec 'vlen-utf8'
DEBUG:numcodecs:Registering codec 'vlen-bytes'
DEBUG:numcodecs:Registering codec 'vlen-array'
DEBUG:numcodecs:Registering codec 'fletcher32'
DEBUG:numcodecs:Registering codec 'msgpack2'
DEBUG:numcodecs:Registering codec 'crc32c'
DEBUG:zarr.core.sync:Creating Zarr event loop
DEBUG:asyncio:Using proactor: IocpProactor
Traceback (most recent call last):
File "C:\Users\BROOZD\Desktop\MAST_shots\Tutorial_run_mastapp.py", line 39, in
).to_dask()
~~~~~~~^^
File "C:\Users\BROOZD\AppData\Local\Programs\Python\Python313\Lib\site-packages\intake_xarray\base.py", line 8, in to_dask
return self.reader(chunks={}).read()
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "C:\Users\BROOZD\AppData\Local\Programs\Python\Python313\Lib\site-packages\intake\readers\readers.py", line 121, in read
return self._read(*args, **kw)
~~~~~~~~~~^^^^^^^^^^^^^
File "C:\Users\BROOZD\AppData\Local\Programs\Python\Python313\Lib\site-packages\intake\readers\readers.py", line 1327, in _read
return open_dataset(data.url, **kw)
File "C:\Users\BROOZD\AppData\Local\Programs\Python\Python313\Lib\site-packages\xarray\backends\api.py", line 679, in open_dataset
backend_ds = backend.open_dataset(
filename_or_obj,
...<2 lines>...
**kwargs,
)
File "C:\Users\BROOZD\AppData\Local\Programs\Python\Python313\Lib\site-packages\xarray\backends\zarr.py", line 1564, in open_dataset
store = ZarrStore.open_group(
filename_or_obj,
...<10 lines>...
cache_members=cache_members,
)
File "C:\Users\BROOZD\AppData\Local\Programs\Python\Python313\Lib\site-packages\xarray\backends\zarr.py", line 703, in open_group
) = _get_open_params(
~~~~~~~~~~~~~~~~^
store=store,
^^^^^^^^^^^^
...<9 lines>...
zarr_format=zarr_format,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "C:\Users\BROOZD\AppData\Local\Programs\Python\Python313\Lib\site-packages\xarray\backends\zarr.py", line 1786, in _get_open_params
zarr_group = zarr.open_consolidated(store, **open_kwargs)
File "C:\Users\BROOZD\AppData\Local\Programs\Python\Python313\Lib\site-packages\zarr\api\synchronous.py", line 212, in open_consolidated
sync(async_api.open_consolidated(*args, use_consolidated=use_consolidated, **kwargs))
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\BROOZD\AppData\Local\Programs\Python\Python313\Lib\site-packages\zarr\core\sync.py", line 142, in sync
raise return_result
File "C:\Users\BROOZD\AppData\Local\Programs\Python\Python313\Lib\site-packages\zarr\core\sync.py", line 98, in _runner
return await coro
^^^^^^^^^^
File "C:\Users\BROOZD\AppData\Local\Programs\Python\Python313\Lib\site-packages\zarr\api\asynchronous.py", line 346, in open_consolidated
return await open_group(*args, use_consolidated=use_consolidated, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\BROOZD\AppData\Local\Programs\Python\Python313\Lib\site-packages\zarr\api\asynchronous.py", line 800, in open_group
store_path = await make_store_path(store, mode=mode, storage_options=storage_options, path=path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\BROOZD\AppData\Local\Programs\Python\Python313\Lib\site-packages\zarr\storage_common.py", line 305, in make_store_path
store = FsspecStore.from_url(
store_like, storage_options=storage_options, read_only=_read_only
)
File "C:\Users\BROOZD\AppData\Local\Programs\Python\Python313\Lib\site-packages\zarr\storage_fsspec.py", line 182, in from_url
return cls(fs=fs, path=path, read_only=read_only, allowed_exceptions=allowed_exceptions)
File "C:\Users\BROOZD\AppData\Local\Programs\Python\Python313\Lib\site-packages\zarr\storage_fsspec.py", line 96, in init
raise TypeError("Filesystem needs to support async operations.")
TypeError: Filesystem needs to support async operations.
The text was updated successfully, but these errors were encountered: