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

cfgrib to_netcdf requires dask and scipy/netcdf4 to function #118

Open
alexamici opened this issue Dec 28, 2019 · 1 comment
Open

cfgrib to_netcdf requires dask and scipy/netcdf4 to function #118

alexamici opened this issue Dec 28, 2019 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@alexamici
Copy link
Contributor

I tested the cfgrib to_netcdf with C3S seasonal forecast data and it required dask and scipy to function. so the cfgrib install with conda would need some fixes in the requirements.

Originally posted by @mstrahl in #40 (comment)

@alexamici alexamici self-assigned this Dec 28, 2019
@alexamici alexamici added the bug Something isn't working label Dec 28, 2019
@alexamici
Copy link
Contributor Author

alexamici commented Dec 28, 2019

This issues need a few changes:

  • make dask optional by using xr.open_dataset when not present
  • raise an informative error message when one of the dependencies is missing: xarray, netcdf4 or scipy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant