Installation¶
Optional dependencies¶
For netCDF and IO¶
For accelerating xray¶
- bottleneck: speeds up NaN-skipping aggregations by a large factor
- cyordereddict: speeds up most internal operations with xray data structures
For parallel computing¶
- dask.array: required for Out of core computation with dask.
Instructions¶
xray itself is a pure Python package, but its dependencies are not. The easiest way to get them installed is to use conda. You can then install xray with its recommended dependencies with the conda command line tool:
$ conda install xray dask netCDF4 bottleneck
If you don’t use conda, be sure you have the required dependencies (numpy and pandas) installed first. Then, install xray with pip:
$ pip install xray
To run the test suite after installing xray, install nose and run nosetests xray.