-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Issue with get_mapper #5
Comments
Hi @wachsylon, |
This was actually working in the initial release. As the error message suggests, we need to return a byte-string and not a class. |
Using the mapper turned out to be bad for 100GB tars because the entire content is loaded into memory. With
I now had success with recent updates from the forked repo. |
The following should work for example: from intake import Catalog
from intake.catalog.local import LocalCatalogEntry
mycat = Catalog.from_dict({'testcat': LocalCatalogEntry('testfile',
'some showcase testfile', driver='netcdf',
args={'urlpath': 'tar://download_compressed.nc::slk:///arch/mh0010/m300408/showcase/download_compressed.tar'
, 'xarray_kwargs': {'engine': 'h5netcdf'}})})
ds = mycat.testcat.to_dask() |
Originally posted by @wachsylon in #3
Would be nice if mappers could work:
Originally posted by @wachsylon in #3 (comment)
The text was updated successfully, but these errors were encountered: