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

enable xarray_kwargs #30

Closed
aaronspring opened this issue Apr 13, 2021 · 1 comment · Fixed by #32
Closed

enable xarray_kwargs #30

aaronspring opened this issue Apr 13, 2021 · 1 comment · Fixed by #32
Labels
enhancement New feature or request

Comments

@aaronspring
Copy link
Collaborator

likely connected to #26

currently there is no way to specify kwargs to be passed to xarray.open_dataset.

import intake_xarray

intake_xarray.NetCDFSource('simplecache::https://www.ncei.noaa.gov/thredds/fileServer/model-gefs-003/202008/20200831/gensanl-b_3_20200831_1800_000_20.grb2',
                           xarray_kwargs=dict(engine='cfgrib', backend_kwargs=dict(filter_by_keys={'typeOfLevel': 'meanSea'})),
).to_dask()

but we do not allow such xarray_kwargs in intake-thredds

@aaronspring aaronspring added the enhancement New feature or request label Apr 13, 2021
@aaronspring
Copy link
Collaborator Author

How to fix: intake/intake-xarray#52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant