Skip to content
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

file: part3/chunking_introduction #19

Closed
5 of 6 tasks
Tracked by #15
tinaok opened this issue Oct 25, 2023 · 8 comments
Closed
5 of 6 tasks
Tracked by #15

file: part3/chunking_introduction #19

tinaok opened this issue Oct 25, 2023 · 8 comments

Comments

@tinaok
Copy link
Collaborator

tinaok commented Oct 25, 2023

  • Update obsolete commands
  • Put visibilities of 'Zarr' in table of contents and/or title
  • Fix warning on hdf.SingleHdf5ToZarr
  • update example for exporting zarr,
  • add intake
  • put intake catalogue on s3? update file path name update from foss4g to ?
@tinaok tinaok mentioned this issue Oct 25, 2023
22 tasks
@tinaok
Copy link
Collaborator Author

tinaok commented Oct 25, 2023

The data we use to show chunking explanation could be better if we can use data from former 3 notebooks.

@acocac acocac changed the title file: part/chunking_introduction file: part3/chunking_introduction Oct 25, 2023
@tinaok
Copy link
Collaborator Author

tinaok commented Oct 25, 2023

The title of this section also include 'zarr'.

@tinaok
Copy link
Collaborator Author

tinaok commented Oct 25, 2023

on pangeo-eosc cluster
fsspec 2022.7.1
kerchunk '0.0.7'

on my Mac-m1 local enviroment
fsspec 2023.3.0
kerchunk 0.1.2
This works, but with my new local enviroment (same version as https://github.com/pangeo-data/pangeo-docker-images/blob/master/pangeo-notebook/packages.txt)
fsspec==2023.10.0
kerchunk==0.2.1

Kerchunk shows warning and does not translate all informations

UserWarning: The following excepion was caught and quashed while traversing HDF5
'SingleHdf5ToZarr' object has no attribute 'decoders'
Traceback (most recent call last):
File "/Users/todaka/micromamba/envs/bids23/lib/python3.11/site-packages/kerchunk/hdf.py", line 262, in _translator
filters = self._decode_filters(h5obj)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/todaka/micromamba/envs/bids23/lib/python3.11/site-packages/kerchunk/hdf.py", line 246, in _decode_filters
f" not supported by kerchunk., supported filters are {self.decoders.keys()}"
^^^^^^^^^^^^^
AttributeError: 'SingleHdf5ToZarr' object has no attribute 'decoders'
warnings.warn(msg)

@tinaok
Copy link
Collaborator Author

tinaok commented Oct 25, 2023

on pangeo-eosc cluster fsspec 2022.7.1 kerchunk '0.0.7'

on my Mac-m1 local enviroment fsspec 2023.3.0 kerchunk 0.1.2 This works, but with my new local enviroment (same version as https://github.com/pangeo-data/pangeo-docker-images/blob/master/pangeo-notebook/packages.txt) fsspec==2023.10.0 kerchunk==0.2.1

Kerchunk shows warning and does not translate all informations

UserWarning: The following excepion was caught and quashed while traversing HDF5
'SingleHdf5ToZarr' object has no attribute 'decoders'
Traceback (most recent call last):
File "/Users/todaka/micromamba/envs/bids23/lib/python3.11/site-packages/kerchunk/hdf.py", line 262, in _translator
filters = self._decode_filters(h5obj)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/todaka/micromamba/envs/bids23/lib/python3.11/site-packages/kerchunk/hdf.py", line 246, in _decode_filters
f" not supported by kerchunk., supported filters are {self.decoders.keys()}"
^^^^^^^^^^^^^
AttributeError: 'SingleHdf5ToZarr' object has no attribute 'decoders'
warnings.warn(msg)

Fixed with fsspec/kerchunk#382
kerchunk==0.2.2

@tinaok
Copy link
Collaborator Author

tinaok commented Oct 25, 2023

Update data set, and xarray kerchunk backend will be later

@tinaok
Copy link
Collaborator Author

tinaok commented Oct 25, 2023

#22

@tinaok tinaok closed this as completed Oct 25, 2023
@tinaok tinaok reopened this Oct 25, 2023
@tinaok
Copy link
Collaborator Author

tinaok commented Oct 31, 2023

#41
for updating zarr, and update with snow example.

@tinaok
Copy link
Collaborator Author

tinaok commented Nov 1, 2023

we will keep kerchunk, and to do so we will go back to original NVDI example.

@tinaok tinaok closed this as completed Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant