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

speedup with xr.open_mfdataset kwargs #14

Closed
aaronspring opened this issue Sep 3, 2020 · 0 comments
Closed

speedup with xr.open_mfdataset kwargs #14

aaronspring opened this issue Sep 3, 2020 · 0 comments

Comments

@aaronspring
Copy link

nice code base. will definitely try the MPICluster soon.

saw the benchmark that Bjorn mentioned in the julia mattermost group. I have a speedup suggestion:

xarray takes much time in coordinate checking which can be circumvented.

ds = xr.open_mfdataset(files, parallel=True, coords="minimal", data_vars="minimal", compat='override')

pydata/xarray#1823

My own example on mistral with smaller data: https://gitlab.dkrz.de/m300524/pymistral/-/blob/master/notebooks/read_netcdf_fast.ipynb

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